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.
Conguring a static BGP4 network
This feature allows you to congure a static network in BGP4, creating a stable BGP4 network in the core. While a route congured with
this feature will never ap 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 congure 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 ipAddressPrex/mask
The ipAddress and mask variables are the IPv4 address prex 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 congured with the same
prex and mask.
When you congure 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 prex/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
congured, 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 specic 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 ipAddressPrex/mask distance distance-value
The ipAddress and mask variables are the IPv4 address prex 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.
Conguring a static BGP4 network
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 435