C613-50631-01 Rev A Command Reference for IE340 Series 1523
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
NETWORK
(BGP AND BGP4+)
Usage notes It does not matter how the route is arranged in the IP or IPv6 routing table. The
route can arrive in the IP routing table by a static route, or the route can be learned
from OSPF or OSPFv3 or RIP or RIPng routing.
If you configure a route-map, then that route-map will be used in filtering the
network, or the route-map will be used to modify the attributes that are advertised
with the route.
Example [BGP] The following example illustrates a Class-A address configured as a network route.
The natural Class-A network prefix mask length of 8 will be internally derived, that
is, 2.0.0.0/8.
awplus(config)# router bgp 100
awplus(config-router)# network 2.0.0.0
Output [BGP] Figure 30-1: Example output from the show running-config command after
entering network 2.0.0.0
Example [BGP] The following example illustrates a network address which does not fall into its
natural class boundary, and hence, is perceived as a host route, that is,
192.0.2.224/27.
awplus(config)# router bgp 100
awplus(config-router)# network 192.0.2.224 mask 255.255.255.224
Output [BGP] Figure 30-2: Example output from the show running-config command after
entering network 192.0.2.224 mask 255.255.255.224
Example [BGP] The following example is the same as the previous example for host route
192.0.2.224/27, but is entered in prefix/length format using slash notation (instead
of prefix plus mask in dotted decimal format using the mask keyword before the
network mask in dotted decimal format):
awplus(config)# router bgp 100
awplus(config-router)# network 192.0.2.224/27
Example [BGP4+] The following example is the same as the previous example for host route
2001:db8::/32:
awplus(config)# router bgp 100
awplus(config-router)# address-family ipv6
awplus(config-router-af)# network 2001:db8::/32
awplus#show running-configď€
ď€
router bgp 100ď€
network 2.0.0.0/8ď€
awplus#show running-configď€
ď€
router bgp 100ď€
network 192.0.2.224/27ď€