Cisco Systems IOS XR User Manual Page 23

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 22
Implementing BGP on Cisco IOS XR Software
Information About Implementing BGP on Cisco IOS XR Software
RC-7
Cisco IOS XR Routing Configuration Guide
Commands entered at the session group level define address family-independent commands (the
same commands as in the neighbor submode).
Commands entered at the address family group level define address family-dependent commands
for a specified address family (the same commands as in the neighbor-address family configuration
submode).
Commands entered at the neighbor group level define address family-independent commands and
address family-dependent commands for each address family (the same as all available neighbor
commands), and define the use command for the address family group and session group commands.
Template Inheritance Rules
In Cisco IOS XR software, BGP neighbors or groups inherit configuration from other configuration
groups.
For address family-independent configurations:
Neighbors can inherit from session groups and neighbor groups.
Neighbor groups can inherit from session groups and other neighbor groups.
Session groups can inherit from other session groups.
If a neighbor uses a session group and a neighbor group, the configurations in the session group are
preferred over the global address family configurations in the neighbor group.
For address family-dependent configurations:
Address family groups can inherit from other address family groups.
Neighbor groups can inherit from address family groups and other neighbor groups.
Neighbors can inherit from address family groups and neighbor groups.
Configuration group inheritance rules are numbered in order of precedence as follows:
1. If the item is configured directly on the neighbor, that value is used. In the example that follows, the
advertisement interval is configured both on the neighbor group and neighbor configuration and the
advertisement interval being used is from the neighbor configuration:
RP/0/RP0/CPU0:router(config)# router /jointfilesconvert/86220/bgp 140
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp)# neighbor-group AS_1
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbrgrp)# advertisement-interval 15
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbrgrp)# exit
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp)# neighbor 10.1.1.1
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbr)# remote-as 1
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbr)# use neighbor-group AS_1
RP/0/RP0/CPU0:router(config-/jointfilesconvert/86220/bgp-nbr)# advertisement-interval 20
The following output from the show /jointfilesconvert/86220/bgp neighbors command shows that the advertisement interval
used is 20 seconds:
RP/0/RP0/CPU0:router# show /jointfilesconvert/86220/bgp neighbors 10.1.1.1
BGP neighbor is 10.1.1.1, remote AS 1, local AS 140, external link
Remote router ID 0.0.0.0
BGP state = Idle
Last read 00:00:00, hold time is 180, keepalive interval is 60 seconds
Received 0 messages, 0 notifications, 0 in queue
Sent 0 messages, 0 notifications, 0 in queue
Minimum time between advertisement runs is 20 seconds
For Address Family: IPv4 Unicast
BGP neighbor version 0
Page view 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 281 282

Comments to this Manuals

No comments