Configuring BGP Configuring Local Routes (Networks)
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007 page 4-33
Configuring Local Routes (Networks)
A local BGP network is used to indicate to BGP that a network should originate from a specified router. A
network must be known to the local BGP speaker; it also must originate from the local BGP speaker.
Networks have some parameters that can be configured, such as local-preference, community, and
metric.
Adding the Network
To add a local network to a BGP speaker, use the IP address and mask of the local network in conjunction
with the ip bgp network command, as shown:
-> ip bgp network 172.20.2.0 255.255.255.0
In this example, network 172.20.2.0 with a mask of 255.255.255.0 is the local network for this BGP
speaker.
To remove the same network from the speaker, enter the same command with the no keyword, as shown:
-> no ip bgp network 172.20.2.0 255.255.255.0
The network would now no longer be associated as the local network for this BGP speaker.
Enabling the Network
Once the network has been added to the speaker, it must be enabled on the speaker. To do this, enter the IP
address and mask of the local network in conjunction with the ip bgp network status command, as
shown:
-> ip bgp network 172.20.2.0 255.255.255.0 status enable
In this example, network 172.20.2.0 with a mask of 255.255.255.0 has now been enabled.
To disable the same network, enter the following:
-> ip bgp network 172.20.2.0 255.255.255.0 status disable
The network would now be disabled, though not removed from the speaker.