NOTE
It is recommended that you change the default to IGP cost only in mixed-vendor environments, and that you change it on all
Brocade devices in the environment.
To change the route cost default from BGP MED to IGP cost, enter a command such as the following:
device(config-bgp)# install-igp-cost
Syntax:
[no] install-igp-cost
Use the
no
form of the command to revert to the default of BGP MED.
Configuring a static BGP4 network
This feature allows you to configure a static network in BGP4, creating a stable BGP4 network in the core. While a route configured with
this feature will never flap unless it is manually deleted, a "static" BGP4 network will not interrupt the normal BGP4 decision process on
other learned routes being installed into the RTM (Routing Table Manager). Consequently, when there is a route that can be resolved, it
will be installed into the RTM.
To configure a static BGP4 network, enter commands such as the following.
device(config)# router bgp
device(config-bgp)# static-network 10.157.22.26/16
Syntax:
[no] static-network
ipAddressPrefix
/
mask
The
ipAddress
and
mask
variables are the IPv4 address prefix and mask of the static BGP4 network you are creating.
Using the
no
option uninstalls a route (that was previously installed) from BGP4 RIB-IN and removes the corresponding drop route from
the RTM. If there is a new best route, it is advertised to peers if necessary. Otherwise, a withdraw message is sent.
NOTE
The BGP4 network route and the BGP4 static network route are mutually exclusive. They cannot be configured with the same
prefix and mask.
When you configure a route using the
static-network
command, BGP4 automatically generates a local route in BGP4 RIB-IN, and
installs a NULL0 route in the RTM if there is no other valid route with the same prefix/mask learned from any peer. Otherwise, the
learned BGP4 route will be installed in the RTM. In either situation, the new locally generated route will be the best route in RIB-IN and
will be advertised to peers if it passes the per-peer outbound policies.
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.
Configuring a static BGP4 network
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
435
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...