BGP NETWORK COMMAND
http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-ospf.html
The network command controls the networks that originate from this box. This concept is different than the familiar configuration with Interior Gateway Routing Protocol (IGRP) and RIP. With this command, you do not try to run BGP on a certain interface. Instead, you try to indicate to BGP what networks BGP should originate from this box. The command uses a mask portion because BGP version 4 (BGP4) can handle subnetting and supernetting. A maximum of 200 entries of the network command are acceptable.
The network command works if the router knows the network that you attempt to advertise, whether connected, static, or learned dynamically.
An example of the network command is:
Note: You need the static route to get the router to generate 192.213.0.0 because the static route puts a matching entry in the routing table.
http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-ospf.html
The network command controls the networks that originate from this box. This concept is different than the familiar configuration with Interior Gateway Routing Protocol (IGRP) and RIP. With this command, you do not try to run BGP on a certain interface. Instead, you try to indicate to BGP what networks BGP should originate from this box. The command uses a mask portion because BGP version 4 (BGP4) can handle subnetting and supernetting. A maximum of 200 entries of the network command are acceptable.
The network command works if the router knows the network that you attempt to advertise, whether connected, static, or learned dynamically.
An example of the network command is:
This example indicates that router A generates a network entry for 192.213.0.0/16. The /16 indicates that you use a supernet of the class C address and you advertise the first two octets, or first 16 bits.RTA# router bgp 1 network 192.213.0.0 mask 255.255.0.0 ip route 192.213.0.0 255.255.0.0 null 0
Note: You need the static route to get the router to generate 192.213.0.0 because the static route puts a matching entry in the routing table.
No comments:
Post a Comment