Cisco Systems IOS XR User Manual Page 21

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 20
Implementing BGP on Cisco IOS XR Software
Information About Implementing BGP on Cisco IOS XR Software
RC-5
Cisco IOS XR Routing Configuration Guide
Router Configuration Mode
The following example shows how to enter router configuration mode:
RP/0/RP0/CPU0:router# configuration
RP/0/RP0/CPU0:router(config)# router /jointfilesconvert/86220/bgp 140
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp)#
Global Address Family Configuration Mode
The following example shows how to enter global address family configuration mode:
RP/0/RP0/CPU0:router(config)# router /jointfilesconvert/86220/bgp 140
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp)# address-family ipv4 multicast
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-af)#
Neighbor Configuration Mode
The following example shows how to enter neighbor configuration mode:
RP/0/RP0/CPU0:router(config)# router /jointfilesconvert/86220/bgp 140
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp)# neighbor 10.0.0.1
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbr)#
Neighbor Address Family Configuration Mode
The following example shows how to enter neighbor address family configuration mode:
RP/0/RP0/CPU0:router(config)# router /jointfilesconvert/86220/bgp 140
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp)# neighbor 10.0.0.1
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbr)# address-family ipv4 unicast
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbr-af)#
Neighbor Submode
Cisco IOS XR BGP uses a neighbor submode to make it possible to enter configurations without having
to prefix every configuration with the neighbor keyword and the neighbor address:
Cisco IOS XR software has a submode available for neighbors in which it is not necessary for every
command to have a “neighbor x.x.x.x” prefix.
In Cisco IOS XR software, the configuration is as follows:
Router(config-/jointfilesconvert/86220/bgp-af)# neighbor 192.23.1.2
Router(config-/jointfilesconvert/86220/bgp-nbr)# remote-as 2002
Router(config-/jointfilesconvert/86220/bgp-nbr)# address-family ipv4 multicast
An address family configuration submode inside the neighbor configuration submode is available
for entering address family-specific neighbor configurations. In Cisco IOS XR, the configuration is
as follows:
Router(config-/jointfilesconvert/86220/bgp-af)# neighbor 2002::2
Router(config-/jointfilesconvert/86220/bgp-nbr)# remote-as 2002
Router(config-/jointfilesconvert/86220/bgp-nbr)# address-family ipv6 unicast
Router(config-/jointfilesconvert/86220/bgp-nbr-af)# next-hop-self
Router(config-/jointfilesconvert/86220/bgp-nbr-af)# route-policy one in
You must enter neighbor-specific IPv4 or IPv6 commands in neighbor address-family configuration
submode. In Cisco IOS XR software, the configuration is as follows:
Router(config-/jointfilesconvert/86220/bgp)# router /jointfilesconvert/86220/bgp 109
Router(config-/jointfilesconvert/86220/bgp)# neighbor 192.168.40.24
Page view 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 281 282

Comments to this Manuals

No comments