beautypg.com

Route-map continue clauses for bgp4 routes, Neighbors – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 473

background image

Setting an administrative distance for a static BGP4 network

When a static BGP4 network route is configured, its type is local BGP4 route and has a default
administrative distance value of 200. To change the administrative distance value, change the value of
all local BGP4 routes using the distance command at the router bgp level of the CLI, and set a new
value for local routes. You can also assign a specific administrative distance value for each static
network using the distance option as shown.

device(config)# router bgp

device(config-bgp)# static-network 10.157.22.26/16 distance 100

Syntax: [no] static-network ipAddressPrefix/mask distance distance-value

The ipAddress and mask variables are the IPv4 address prefix and mask of the static BGP4 network for
which you are setting an administrative distance.

The distance-value sets the administrative distance of the static BGP4 network route. The range for this
value is 1 - 255.

Limiting advertisement of a static BGP4 network to selected neighbors

You can control the advertisement of a static BGP4 network to BGP4 neighbors that are configured as
Service Edge Devices. When this feature is configured for a BGP4 neighbor, static BGP4 network
routes that are installed in the routing table as DROP routes are not advertised to that neighbor. When
this feature is configured, the route is only advertised to identified Service Edge devices if it is installed
as a forward route, such as the routes described in these steps.

1. There is a learned route from a customer BGP4 peering.
2. There is a valid learned route from another Services Edge device as a result of a customer route

present on that device.

To configure a BGP4 neighbor to limit the advertisement of Static BGP4 Network routes, enter the
static-network-edge command as shown.

device(config)# router bgp

device(config-bgp)# neighbor 10.2.3.4 static-network-edge

Syntax: [no] neighbor ip-address | peer-group-name static-network-edge

The ip-addr and peer-group-name variables indicate whether you are configuring an individual
neighbor or a peer group. If you specify a neighbor IP address, you are configuring that individual
neighbor. If you specify a peer group name, you are configuring a peer group.

Route-map continue clauses for BGP4 routes

A continuation clause in a route-map directs program flow to skip over route-map instances to another,
user-specified instance. If a matched instance contains a continue clause, the system looks for the
instance that is identified in the continue clause.

The continue clause in a matching instance initiates another traversal at the instance that you specify in
the continue clause. The system records all of the matched instances and, if no deny statements are
encountered, proceeds to execute the set clauses of the matched instances.

If the system scans all route map instances but finds no matches, or if a deny condition is encountered,
then it does not update the routes. Whenever a matched instance contains a deny parameter, the
current traversal terminates, and none of the updates specified in the set clauses of the matched
instances in both current and previous traversals are applied to the routes.

Setting an administrative distance for a static BGP4 network

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

473

53-1003087-04