Changing the default metric used for route cost, Configuring a static bgp4 network, Configuring a static bgp4 – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 472: Network
Changing the default metric used for route cost
By default, BGP4 uses the BGP MED value as the route cost when adding the route to the RTM.
However, you can configure BGP4 to use the IGP cost instead.
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.
Changing the default metric used for route cost
472
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
53-1003087-04