Implementing BGP On ASR 9K
Implementing BGP On ASR 9K
Implementing BGP On ASR 9K
Note
For more information about BGP and complete descriptions of the BGP commands listed in this module,
see the Related Documents section of this module. To locate documentation for other commands that
might appear while performing a configuration task, search online in the
Cisco ASR 9000 Series Routers software master command index.
Feature History for Implementing BGP on Cisco ASR 9000 Series Routers
Release
Modification
Release 3.7.2
Contents
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-1
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-2
OL-17300-01
Any two routers forming a TCP connection to exchange BGP routing information are called peers or
neighbors. BGP peers initially exchange their full BGP routing tables. After this exchange, incremental
updates are sent as the routing table changes. BGP keeps a version number of the BGP table, which is
the same for all of its BGP peers. The version number changes whenever BGP updates the table due to
routing information changes. Keepalive packets are sent to ensure that the connection is alive between
the BGP peers and notification packets are sent in response to error or special conditions.
Note
For information on configuring BGP to distribute Multiprotocol Label Switching (MPLS) Layer 3
virtual private network (VPN) information, see the Cisco ASR 9000 Series Aggregation Services Router
MPLS Configuration Guide.
Note
For information on BGP support for Bidirectional Forwarding Detection (BFD), see the
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Configuration Guide and
the Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Command Reference.
By means of the address configured using the bgp router-id command in router configuration mode.
By using the highest IPv4 address on a loopback interface in the system if the router is booted with
saved loopback address configuration.
By using the primary IPv4 address of the first loopback address that gets configured if there are not
any in the saved configuration.
If none of these methods for obtaining a router ID succeeds, BGP does not have a router ID and cannot
establish any peering sessions with BGP neighbors. In such an instance, an error message is entered in
the system log, and the show bgp summary command displays a router ID of 0.0.0.0.
After BGP has obtained a router ID, it continues to use it even if a better router ID becomes available.
This usage avoids unnecessary flapping for all BGP sessions. However, if the router ID currently in use
becomes invalid (because the interface goes down or its configuration is changed), BGP selects a new
router ID (using the rules described) and all established peering sessions are reset.
Note
We strongly recommend that the bgp router-id command is configured to prevent unnecessary changes
to the router ID (and consequent flapping of BGP sessions).
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-3
The default maximum number of peers that can be configured is 4000. The default can be changed
using the bgp maximum neighbor command. The limit range is 1 to 15000. Any attempt to
configure additional peers beyond the maximum limit or set the maximum limit to a number that is
less than the number of peers currently configured will fail.
To prevent a peer from flooding BGP with advertisements, a limit is placed on the number of
prefixes that are accepted from a peer for each supported address family. The default limits can be
overridden through configuration of the maximum-prefix limit command for the peer for the
appropriate address family. The following default limits are used if the user does not configure the
maximum number of prefixes for the address family:
512K (524,288) prefixes for IPv4 unicast
128K (131,072) prefixes for IPv4 multicast
128K (131,072) prefixes for IPv6 unicast
512K (524,288) prefixes for VPNv4 unicast
A cease notification message is sent to the neighbor and the peering with the neighbor is terminated
when the number of prefixes received from the peer for a given address family exceeds the maximum
limit (either set by default or configured by the user) for that address family.
It is possible that the maximum number of prefixes for a neighbor for a given address family has been
configured after the peering with the neighbor has been established and a certain number of prefixes have
already been received from the neighbor for that address family. A cease notification message is sent to
the neighbor and peering with the neighbor is terminated immediately after the configuration if the
configured maximum number of prefixes is fewer than the number of prefixes that have already been
received from the neighbor for the address family.
Find the fully recursed IGP metric to the next hop (used in the best-path calculation).
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-4
OL-17300-01
Note
Critical events are related to the reachability (reachable and unreachable), connectivity (connected
and unconnected), and locality (local and nonlocal) of the next hops. Notifications for these events
are not delayed.
Noncritical events include only the IGP metric changes. These events are sent at an interval of 3
seconds. A metric change event is batched and sent 3 seconds after the last one was sent.
The next-hop trigger delay for critical and noncritical events can be configured to specify a minimum
batching interval for critical and noncritical events using the nexthop trigger-delay command. The
trigger delay is address family dependent.
The BGP next-hop tracking feature allows you to specify that BGP routes are resolved using only next
hops whose routes have the following characteristics:
To avoid the aggregate routes, the prefix length must be greater than a specified value.
The source protocol must be from a selected list, ensuring that BGP routes are not used to resolve
next hops that could lead to oscillation.
This route policy filtering is possible because RIB identifies the source protocol of route that resolved a
next hop as well as the mask length associated with the route. The nexthop route-policy command is
used to specify the route-policy.
For information on route policy filtering for next hops using the next-hop attach point, see the
Implementing Routing Policy on Cisco ASR 9000 Series Routers module of the Cisco ASR 9000 Series
Aggregation Services Router Routing Configuration Guide (this publication).
IPv4 tunnel
VPNv4 unicast
IPv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-5
IPv4 multicast
IPv6 unicast
BGP Configuration
BGP in Cisco IOS XR software follows a neighbor-based configuration model that requires that all
configurations for a particular neighbor be grouped in one place under the neighbor configuration. Peer
groups are not supported for either sharing configuration between neighbors or for sharing update
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-6
OL-17300-01
messages. The concept of peer group has been replaced by a set of configuration groups to be used as
templates in BGP configuration and automatically generated update groups to share update messages
between neighbors.
Configuration Modes
BGP configurations are grouped into modes. The following sections show how to enter some of the BGP
configuration modes. From a mode, you can enter the ? command to display the commands available in
that mode.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-7
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:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.23.1.2
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 2002
RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 multicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-8
OL-17300-01
An address family configuration submode inside the neighbor configuration submode is available
for entering address family-specific neighbor configurations. In Cisco IOS XR software, the
configuration is as follows:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 2002::2
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 2023
RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv6 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# next-hop-self
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-policy one in
You must enter neighbor-specific IPv4, IPv6, VPNv4, or VPNv6 commands in neighbor
address-family configuration submode. In Cisco IOS XR software, the configuration is as follows:
RP/0/RSP0/CPU0:router(config)# router bgp 109
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.168.40.24
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# maximum-prefix 1000
You must enter neighbor-specific IPv4 and IPv6 commands in VRF neighbor address-family
configuration submode. In Cisco IOS XR software, the configuration is as follows:
RP/0/RSP0/CPU0:router(config)# router bgp 110
RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_A
RP/0/RSP0/CPU0:router(config-bgp-vrf)# neighbor 11.0.1.2
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)# route-policy pass all in
Configuration Templates
The af-group, session-group, and neighbor-group configuration commands provide template support
for the neighbor configuration in Cisco IOS XR software.
The af-group command is used to group address family-specific neighbor commands within an IPv4,
IPv6, VPNv4, or VPNv6 address family. Neighbors that have the same address family configuration are
able to use the address family group (af-group) name for their address family-specific configuration. A
neighbor inherits the configuration from an address family group by way of the use command. If a
neighbor is configured to use an address family group, the neighbor (by default) inherits the entire
configuration from the address family group. However, a neighbor does not inherit all of the
configuration from the address family group if items are explicitly configured for the neighbor. The
address family group configuration is entered under the BGP router configuration mode. The following
example shows how to enter address family group configuration mode.
RP/0/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# af-group afmcast1 address-family ipv4 multicast
RP/0/RSP0/CPU0:router(config-bgp-afgrp)#
The session-group command allows you to create a session group from which neighbors can inherit
address family-independent configuration. A neighbor inherits the configuration from a session group
by way of the use command. If a neighbor is configured to use a session group, the neighbor (by default)
inherits the entire configuration of the session group. A neighbor does not inherit all of the configuration
from a session group if a configuration is done directly on that neighbor. The following example shows
how to enter session group configuration mode:
RP/0/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# session-group session1
RP/0/RSP0/CPU0:router(config-bgp-sngrp)#
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-9
The neighbor-group command helps you apply the same configuration to one or more neighbors.
Neighbor groups can include session groups and address family groups and can comprise the complete
configuration for a neighbor. After a neighbor group is configured, a neighbor can inherit the
configuration of the group using the use command. If a neighbor is configured to use a neighbor group,
the neighbor inherits the entire BGP configuration of the neighbor group.
The following example shows how to enter neighbor group configuration mode:
RP/0/RSP0/CPU0:router(config)# router bgp 123
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group nbrgroup1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)#
The following example shows how to enter neighbor group address family configuration mode:
RP/0/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group nbrgroup1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)#
However, a neighbor does not inherit all of the configuration from the neighbor group if items are
explicitly configured for the neighbor. In addition, some part of the configuration of the neighbor
group could be hidden if a session group or address family group was also being used.
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.
Neighbor groups can inherit from session groups and other neighbor 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.
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.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-10
OL-17300-01
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/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group AS_1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# advertisement-interval 15
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.1.1.1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group AS_1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# advertisement-interval 20
The following output from the show bgp neighbors command shows that the advertisement interval
used is 20 seconds:
RP/0/RSP0/CPU0:router# show 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
Update group: 0.1
eBGP neighbor with no inbound or outbound policy; defaults to 'drop'
Route refresh request: received 0, sent 0
0 accepted prefixes
Prefix advertised 0, suppressed 0, withdrawn 0, maximum limit 524288
Threshold for warning message 75%
Connections established 0; dropped 0
Last reset 00:00:14, due to BGP neighbor initialized
External BGP neighbor not directly connected.
2.
Otherwise, if the neighbor uses a session group or address family group, the configuration value is
obtained from the session group or address family group. If the address family group or session
group has a parent and an item is configured on the parent, the parent configuration is used. If the
item is not configured on the parent but is configured on the parent of the parent, the configuration
of the parent of the parent is used, and so on. In the example that follows, the advertisement interval
is configured on a neighbor group and a session group and the advertisement interval value being
used is from the session group:
RP/0/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# session-group AS_2
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# advertisement-interval 15
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group AS_1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# advertisement-interval 20
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.168.0.1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use session-group AS_2
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group AS_1
The following output from the show bgp neighbors command shows that the advertisement interval
used is 15 seconds:
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-11
3.
Otherwise, if the neighbor uses a neighbor group and does not use a session group or address family
group, the configuration value can be obtained from the neighbor group either directly or through
inheritance. In the example that follows, the advertisement interval from the neighbor group is used
because it is not configured directly on the neighbor and no session group is used:
RP/0/RSP0/CPU0:router(config)# router bgp 150
RP/0/RSP0/CPU0:router(config-bgp)# session-group AS_2
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# advertisement-interval 20
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group AS_1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# advertisement-interval 15
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.168.1.1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group AS_1
The following output from the show bgp neighbors command shows that the advertisement interval
used is 15 seconds:
RP/0/RSP0/CPU0:router# show bgp neighbors 192.168.1.1
BGP neighbor is 192.168.2.2, 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 15 seconds
For Address Family: IPv4 Unicast
BGP neighbor version 0
Update group: 0.1
eBGP neighbor with no outbound policy; defaults to 'drop'
Route refresh request: received 0, sent 0
Inbound path policy configured
Policy for incoming advertisements is POLICY_1
0 accepted prefixes
Prefix advertised 0, suppressed 0, withdrawn 0, maximum limit 524288
Threshold for warning message 75%
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-12
OL-17300-01
To illustrate the same rule, the following example shows how to set the advertisement interval to 15
(from the session group) and 25 (from the neighbor group). The advertisement interval set in the
session group overrides the one set in the neighbor group. The inbound policy is set to POLICY_1
from the neighbor group.
RP/0/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# session-group ADV
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# advertisement-interval 15
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group ADV_2
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# advertisement-interval 25
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# route-policy POLICY_1 in
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# exit
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.168.2.2
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use session-group ADV
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group TIMER
The following output from the show bgp neighbors command shows that the advertisement interval
used is 15 seconds:
RP/0/RSP0/CPU0:router# show bgp neighbors 192.168.2.2
BGP neighbor is 192.168.2.2, 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 15 seconds
For Address Family: IPv4 Unicast
BGP neighbor version 0
Update group: 0.1
eBGP neighbor with no inbound or outbound policy; defaults to 'drop'
Route refresh request: received 0, sent 0
0 accepted prefixes
Prefix advertised 0, suppressed 0, withdrawn 0, maximum limit 524288
Threshold for warning message 75%
Connections established 0; dropped 0
Last reset 00:02:03, due to BGP neighbor initialized
External BGP neighbor not directly connected.
4.
Otherwise, the default value is used. In the example that follows, neighbor 10.0.101.5 has the
minimum time between advertisement runs set to 30 seconds (default) because the neighbor is not
configured to use the neighbor configuration or the neighbor group configuration:
RP/0/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group AS_1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# remote-as 1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group adv_15
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# remote-as 10
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# advertisement-interval 15
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-13
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.0.101.5
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group AS_1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 10.0.101.10
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group adv_15
The following output from the show bgp neighbors command shows that the advertisement interval
used is 30 seconds:
RP/0/RSP0/CPU0:router# show bgp neighbors 10.0.101.5
BGP neighbor is 10.0.101.5, 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 30 seconds
For Address Family: IPv4 Unicast
BGP neighbor version 0
Update group: 0.2
eBGP neighbor with no inbound or outbound policy; defaults to 'drop'
Route refresh request: received 0, sent 0
0 accepted prefixes
Prefix advertised 0, suppressed 0, withdrawn 0, maximum limit 524288
Threshold for warning message 75%
Connections established 0; dropped 0
Last reset 00:00:25, due to BGP neighbor initialized
External BGP neighbor not directly connected.
The inheritance rules used when groups are inheriting configuration from other groups are the same
as the rules given for neighbors inheriting from groups.
Use the configuration keyword to display the effective configuration for the neighbor, including any
settings that have been inherited from session groups, neighbor groups, or address family groups
used by this neighbor.
Use the inheritance keyword to display the session groups, neighbor groups, and address family
groups from which this neighbor is capable of inheriting configuration.
The show bgp neighbors command examples that follow are based on this sample configuration:
RP/0/RSP0/CPU0:router(config)# router bgp 142
RP/0/RSP0/CPU0:router(config-bgp)# af-group GROUP_3 address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-14
OL-17300-01
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# next-hop-self
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# route-policy POLICY_1 in
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# session-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# advertisement-interval 15
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group GROUP_1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# use session-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# ebgp-multihop 3
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# weight 100
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# send-community-ebgp
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# exit
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# address-family ipv4 multicast
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# default-originate
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# exit
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.168.0.1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 2
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use neighbor-group GROUP_1
RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# use af-group GROUP_3
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# weight 200
The following example displays sample output from the show bgp neighbors command using the
inheritance keyword. The example shows that the neighbor inherits session parameters from neighbor
group GROUP_1, which in turn inherits from session group GROUP_2. The neighbor inherits IPv4
unicast parameters from address family group GROUP_3 and IPv4 multicast parameters from neighbor
group GROUP_1:
RP/0/RSP0/CPU0:router# show bgp neighbors 192.168.0.1 inheritance
Session:
n:GROUP_1 s:GROUP_2
IPv4 Unicast:
a:GROUP_3
IPv4 Multicast: n:GROUP_1
The following example displays sample output from the show bgp neighbors command using the
configuration keyword. The example shows from where each item of configuration was inherited, or if
it was configured directly on the neighbor (indicated by [ ]). For example, the ebgp-multihop 3
command was inherited from neighbor group GROUP_1 and the next-hop-self command was inherited
from the address family group GROUP_3:
RP/0/RSP0/CPU0:router# show bgp neighbors 192.168.0.1 configuration
neighbor 192.168.0.1
remote-as 2
advertisement-interval 15
ebgp-multihop 3
address-family ipv4 unicast
next-hop-self
route-policy POLICY_1
in
weight 200
address-family ipv4 multicast
default-originate
[]
[n:GROUP_1 s:GROUP_2]
[n:GROUP_1]
[]
[a:GROUP_3]
[a:GROUP_3]
[]
[n:GROUP_1]
[n:GROUP_1]
Use the configuration keyword to display the effective configuration for the address family group,
including any settings that have been inherited from address family groups used by this address
family group.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-15
Use the inheritance keyword to display the address family groups from which this address family
group is capable of inheriting configuration.
Use the users keyword to display the neighbors, neighbor groups, and address family groups that
inherit configuration from this address family group.
The show bgp af-group sample commands that follow are based on this sample configuration:
RP/0/RSP0/CPU0:router(config)# router bgp 140
RP/0/RSP0/CPU0:router(config-bgp)# af-group GROUP_3 address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# remove-private-as
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# route-policy POLICY_1 in
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# af-group GROUP_1 address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# use af-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# maximum-prefix 2500 75 warning-only
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# default-originate
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# af-group GROUP_2 address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# use af-group GROUP_3
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# send-community-ebgp
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# send-extended-community-ebgp
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# capability orf prefix both
The following example displays sample output from the show bgp af-group command using the
configuration keyword. This example shows from where each configuration item was inherited. The
default-originate command was configured directly on this address family group (indicated by [ ]). The
remove-private-as command was inherited from address family group GROUP_2, which in turn
inherited from address family group GROUP_3:
RP/0/RSP0/CPU0:router# show bgp af-group GROUP_1 configuration
af-group GROUP_1 address-family ipv4 unicast
capability orf prefix-list both
[a:GROUP_2]
default-originate
[]
maximum-prefix 2500 75 warning-only
[]
route-policy POLICY_1 in
[a:GROUP_2 a:GROUP_3]
remove-private-AS
[a:GROUP_2 a:GROUP_3]
send-community-ebgp
[a:GROUP_2]
send-extended-community-ebgp
[a:GROUP_2]
The following example displays sample output from the show bgp af-group command using the users
keyword:
RP/0/RSP0/CPU0:router# show bgp af-group GROUP_2 users
IPv4 Unicast: a:GROUP_1
The following example displays sample output from the show bgp af-group command using the
inheritance keyword. This shows that the specified address family group GROUP_1 directly uses the
GROUP_2 address family group, which in turn uses the GROUP_3 address family group:
RP/0/RSP0/CPU0:router# show bgp af-group GROUP_1 inheritance
IPv4 Unicast: a:GROUP_2 a:GROUP_3
Use the configuration keyword to display the effective configuration for the session group,
including any settings that have been inherited from session groups used by this session group.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-16
OL-17300-01
Use the inheritance keyword to display the session groups from which this session group is capable
of inheriting configuration.
Use the users keyword to display the session groups, neighbor groups, and neighbors that inherit
configuration from this session group.
The output from the show bgp session-group command is based on the following session group
configuration:
RP/0/RSP0/CPU0:router(config)# router bgp 113
RP/0/RSP0/CPU0:router(config-bgp)# session-group GROUP_1
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# use session-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# update-source Loopback 0
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# session-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# use session-group GROUP_3
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# ebgp-multihop 2
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# session-group GROUP_3
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# dmz-link-bandwidth
The following is sample output from the show bgp session-group command with the configuration
keyword in EXEC mode:
RP/0/RSP0/CPU0:router# show bgp session-group GROUP_1 configuration
session-group GROUP_1
ebgp-multihop 2
[s:GROUP_2]
update-source Loopback0 []
dmz-link-bandwidth
[s:GROUP_2 s:GROUP_3]
The following is sample output from the show bgp session-group command with the inheritance
keyword showing that the GROUP_1 session group inherits session parameters from the GROUP_3 and
GROUP_2 session groups:
RP/0/RSP0/CPU0:router# show bgp session-group GROUP_1 inheritance
Session: s:GROUP_2 s:GROUP_3
The following is sample output from the show bgp session-group command with the users keyword
showing that both the GROUP_1 and GROUP_2 session groups inherit session parameters from the
GROUP_3 session group:
RP/0/RSP0/CPU0:router# show bgp session-group GROUP_3 users
Session: s:GROUP_1 s:GROUP_2
Use the configuration keyword to display the effective configuration for the neighbor group,
including any settings that have been inherited from neighbor groups used by this neighbor group.
Use the inheritance keyword to display the address family groups, session groups, and neighbor
groups from which this neighbor group is capable of inheriting configuration.
Use the users keyword to display the neighbors and neighbor groups that inherit configuration from
this neighbor group.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-17
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# remove-private-as
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# soft-reconfiguration inbound
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# af-group GROUP_2 address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# use af-group GROUP_3
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# send-community-ebgp
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# send-extended-community-ebgp
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# capability orf prefix both
RP/0/RSP0/CPU0:router(config-bgp-afgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# session-group GROUP_3
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# timers 30 90
RP/0/RSP0/CPU0:router(config-bgp-sngrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group GROUP_1
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# remote-as 1982
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# use neighbor-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# exit
RP/0/RSP0/CPU0:router(config-nbrgrp)# exit
RP/0/RSP0/CPU0:router(config-bgp)# neighbor-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# use session-group GROUP_3
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# use af-group GROUP_2
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)# weight 100
The following is sample output from the show bgp neighbor-group command with the configuration
keyword. The configuration setting source is shown to the right of each command. In the output shown
previously, the remote autonomous system is configured directly on neighbor group GROUP_1, and the
send community setting is inherited from neighbor group GROUP_2, which in turn inherits the setting
from address family group GROUP_3:
RP/0/RSP0/CPU0:router# show bgp neighbor-group GROUP_1 configuration
neighbor-group GROUP_1
remote-as 1982
timers 30 90
address-family ipv4 unicast
capability orf prefix-list both
remove-private-AS
send-community-ebgp
send-extended-community-ebgp
soft-reconfiguration inbound
weight 100
[]
[n:GROUP_2 s:GROUP_3]
[]
[n:GROUP_2 a:GROUP_2]
[n:GROUP_2 a:GROUP_2 a:GROUP_3]
[n:GROUP_2 a:GROUP_2]
[n:GROUP_2 a:GROUP_2]
[n:GROUP_2 a:GROUP_2 a:GROUP_3]
[n:GROUP_2]
The following is sample output from the show bgp neighbor-group command with the inheritance
keyword. This output shows that the specified neighbor group GROUP_1 inherits session (address
family-independent) configuration parameters from neighbor group GROUP_2. Neighbor group
GROUP_2 inherits its session parameters from session group GROUP_3. It also shows that the
GROUP_1 neighbor group inherits IPv4 unicast configuration parameters from the GROUP_2 neighbor
group, which in turn inherits them from the GROUP_2 address family group, which itself inherits them
from the GROUP_3 address family group:
RP/0/RSP0/CPU0:router# show bgp neighbor-group GROUP_1 inheritance
Session:
n:GROUP-2 s:GROUP_3
IPv4 Unicast: n:GROUP_2 a:GROUP_2 a:GROUP_3
The following is sample output from the show bgp neighbor-group command with the users keyword.
This output shows that the GROUP_1 neighbor group inherits session (address family-independent)
configuration parameters from the GROUP_2 neighbor group. The GROUP_1 neighbor group also
inherits IPv4 unicast configuration parameters from the GROUP_2 neighbor group:
RP/0/RSP0/CPU0:router# show bgp neighbor-group GROUP_2 users
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-18
OL-17300-01
Session:
n:GROUP_1
IPv4 Unicast: n:GROUP_1
Note
This enforcement affects only eBGP neighbors (neighbors in a different autonomous system than this
router). For internal BGP (iBGP) neighbors (neighbors in the same autonomous system), all routes are
accepted or advertised if there is no policy.
In the following example, for an eBGP neighbor, if all routes should be accepted and advertised with no
modifications, a simple pass-all policy is configured:
RP/0/RSP0/CPU0:router(config)# route-policy pass-all
RP/0/RSP0/CPU0:router(config-rpl)# pass
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
RP/0/RSP0/CPU0:router(config)# commit
Use the route-policy (BGP) command in the neighbor address-family configuration mode to apply the
pass-all policy to a neighbor. The following example shows how to allow all IPv4 unicast routes to be
received from neighbor 192.168.40.42 and advertise all IPv4 unicast routes back to it:
RP/0/RSP0/CPU0:router(config)# router bgp 1
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 192.168.40.42
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 21
RP/0/RSP0/CPU0:router(config-bgp-nbr)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-policy pass-all in
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# route-policy pass-all out
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# commit
Use the show bgp summary command to display eBGP neighbors that do not have both an inbound and
outbound policy for every active address family. In the following example, such eBGP neighbors are
indicated in the output with an exclamation (!) mark:
RP/0/RSP0/CPU0:router# show bgp all all summary
Address Family: IPv4 Unicast
============================
BGP router identifier 10.0.0.1, local AS number 1
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-19
BGP
BGP
BGP
BGP
Process
Speaker
RecvTblVer
41
Neighbor
10.0.101.1
10.0.101.2
Spk
0
0
bRIB/RIB
41
SendTblVer
41
AS MsgRcvd MsgSent
1
919
925
2
0
0
TblVer
41
0
Process
Speaker
RecvTblVer
1
bRIB/RIB
1
SendTblVer
1
Spk
0
AS MsgRcvd MsgSent
2
0
0
TblVer
0
Process
Speaker
RecvTblVer
2
Neighbor
2222::2
2222::4
Spk
0
0
bRIB/RIB
2
SendTblVer
2
AS MsgRcvd MsgSent
2
920
918
3
0
0
TblVer
2
0
Process
Speaker
RecvTblVer
1
bRIB/RIB
1
SendTblVer
1
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-20
OL-17300-01
Spk
0
0
AS MsgRcvd MsgSent
2
920
918
3
0
0
TblVer
0
0
Table Policy
The table policy feature in BGP allows you to configure traffic index values on routes as they are
installed in the global routing table. This feature is enabled using the table-policy command.
Table policy also provides the ability to drop routes from the RIB based on match criteria. This feature
can be useful in certain applications and should be used with caution as it can easily create a routing
black hole where BGP advertises routes to neighbors that BGP does not install in its global routing
table and forwarding table.
Update Groups
The BGP Update Groups feature contains an algorithm that dynamically calculates and optimizes update
groups of neighbors that share outbound policies and can share the update messages. The BGP Update
Groups feature separates update group replication from peer group configuration, improving
convergence time and flexibility of neighbor configuration.
To use this feature, you must understand the following concepts:
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-21
aggregate-address
redistribute
network
How BGP Cost Community Influences the Best Path Selection Process
The cost community attribute influences the BGP best-path selection process at the point of insertion
(POI). By default, the POI follows the Interior Gateway Protocol (IGP) metric comparison. When BGP
receives multiple paths to the same destination, it uses the best-path selection process to determine which
path is the best path. BGP automatically makes the decision and installs the best path in the routing table.
The POI allows you to assign a preference to a specific path when multiple equal cost paths are available.
If the POI is not valid for local best-path selection, the cost community attribute is silently ignored.
Cost communities are sorted first by POI then by community ID. Multiple paths can be configured with
the cost community attribute for the same POI. The path with the lowest cost community ID is
considered first. In other words, all cost community paths for a specific POI are considered, starting with
the one with the lowest cost community. Paths that do not contain the cost community cost (for the POI
and community ID being evaluated) are assigned the default community cost value (2147483647). If the
cost community values are equal, then cost community comparison proceeds to the next lowest
community ID for this POI.
To select the path with the lower cost community, simultaneously walk through the cost communities of
both paths. This is done by maintaining two pointers to the cost community chain, one for each path, and
advancing both pointers to the next applicable cost community at each step of the walk for the given POI,
in order of community ID, and stop when a best path is chosen or the comparison is a tie. At each step
of the walk, the following checks are done:
If neither pointer refers to a cost community,
Declare a tie;
Elseif a cost community is found for one path but not for the other,
Choose the path with cost community as best path;
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-22
OL-17300-01
Elseif the Community ID from one path is less than the other,
Choose the path with the lesser Community ID as best path;
Elseif the Cost from one path is less than the other,
Choose the path with the lesser Cost as best path;
Else Continue.
Note
Paths that are not configured with the cost community attribute are considered by the best-path selection
process to have the default cost value (half of the maximum value [4294967295] or 2147483647).
Applying the cost community attribute at the POI allows you to assign a value to a path originated or
learned by a peer in any part of the local autonomous system or confederation. The cost community can
be used as a tie breaker during the best-path selection process. Multiple instances of the cost
community can be configured for separate equal cost paths within the same autonomous system or
confederation. For example, a lower cost community value can be applied to a specific exit path in a
network with multiple equal cost exit points, and the specific exit path is preferred by the BGP best-path
selection process. See the scenario described in the Influencing Route Preference in a Multiexit IGP
Network section on page RC-24.
Note
The cost community comparison in BGP is enabled by default. Use the bgp bestpath cost-community
ignore command to disable the comparison.
See the BGP Best Path Algorithm section on page RC-26 for information on the BGP best-path
selection process.
10.0.0.1
POI=IGP
cost community ID=1
cost number=100
192.168.0.1
POI=IGP
cost community ID=1
cost number=200
If these component routes are aggregated or configured as a multipath, the cost value 200 is advertised,
because it has the highest cost.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-23
If one or more component routes do not carry the cost community attribute or the component routes are
configured with different IDs, then the default value (2147483647) is advertised for the aggregate or
multipath route. For example, the following three component routes are configured with the cost
community attribute using an inbound route policy. However, the component routes are configured with
two different IDs.
10.0.0.1
POI=IGP
cost community ID=1
cost number=100
172.16.0.1
POI=IGP
cost community ID=2
cost number=100
192.168.0.1
POI=IGP
cost community ID=1
cost number=200
The single advertised path includes the aggregate cost communities as follows:
{POI=IGP, ID=1, Cost=2147483647} {POI-IGP, ID=2, Cost=2147483647}
ISP2 PE1
ASBR2
ASBR1
172.19.20/24
ISP1 PE1
10.8/16
ISP2 PE2
ISP1 PE2
172.19.20/24
10.8/16
89045
Figure 1
Both paths are considered to be equal by BGP. If multipath loadsharing is configured, both paths to the
routing table are installed and are used to balance the load of traffic. If multipath load balancing is not
configured, the BGP selects the path that was learned first as the best path and installs this path to the
routing table. This behavior may not be desirable under some conditions. For example, the path is
learned from ISP1 PE2 first, but the link between ISP1 PE2 and ASBR1 is a low-speed link.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-24
OL-17300-01
The configuration of the cost community attribute can be used to influence the BGP best-path selection
process by applying a lower-cost community value to the path learned by ASBR2. For example, the
following configuration is applied to ASBR2:
RP/0/RSP0/CPU0:router(config)# route-policy ISP2_PE1
RP/0/RSP0/CPU0:router(config-rpl)# set extcommunity cost (1:1)
The preceding route policy applies a cost community number of 1 to the 10.8.0.0 route. By default, the
path learned from ASBR1 is assigned a cost community number of 2147483647. Because the path
learned from ASBR2 has a lower-cost community number, the path is preferred.
BGP Cost Community Support for EIGRP MPLS VPN PE-CE with Back-door Links
Back-door links in an EIGRP MPLS VPN topology is preferred by BGP if the back-door link is learned
first. (A back-door link, or route, is a connection that is configured outside of the VPN between a remote
and main site; for example, a WAN leased line that connects a remote site to the corporate network.)
The prebest path point of insertion (POI) in the BGP cost community feature supports mixed EIGRP
VPN network topologies that contain VPN and back-door links. This POI is applied automatically to
EIGRP routes that are redistributed into BGP. The prebest path POI carries the EIGRP route type and
metric. This POI influences the best-path calculation process by influencing BGP to consider the POI
before any other comparison step. No configuration is required. This feature is enabled automatically for
EIGRP VPN sites when Cisco IOS XR software is installed on a PE, CE, or back-door router.
For information about configuring EIGRP MPLS VPNs, see the Cisco ASR 9000 Series
Aggregation Services Router MPLS Configuration Guide.
Figure 2 shows how cost community can be used to support backdoor links in a network.
Network Showing How Cost Community Can be Used to Support Backdoor Links
ISP2 PE1
ASBR2
ASBR1
172.19.20/24
ISP1 PE1
10.8/16
ISP2 PE2
ISP1 PE2
172.19.20/24
10.8/16
89045
Figure 2
PE1 learns IPv4 prefix 10.1.1.0/24 from CE1 through EIGRP running a virtual routing and
forwarding (VRF) instance. EIGRP selects and installs the best path in the RIB. It also encodes
the cost-extended community and adds the information to the RIB.
2.
The route is redistributed into BGP (assuming that IGP-to-BGP redistribution is configured).
BGP also receives the cost-extended community from the route through the redistribution
process.
3.
After BGP has determined the best path for the newly redistributed prefix, the path is advertised
to PE peers (PE2).
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-25
4.
PE2 receives the BGP VPNv4 prefix route_distinguisher:10.1.1.0/24 along with the cost
community. It is likely that CE2 advertises the same prefix (because of the back-door link
between CE1 and CE2) to PE2 through EIGRP. PE2 BGP would have already learned the CE
route through the redistribution process along with the cost community value.
5.
PE2 has two paths within BGP: one with cost community cost1 through multipath BGP (PE1)
and another with cost community cost2 through the EIGRP neighbor (CE2).
6.
7.
PE2 installs the best path in the RIB passing the appropriate cost community value.
8.
PE2 RIB has two paths for 10.1.1.0/24: one with cost community cost2 added by EIGRP and
another with the cost community cost1 added by BGP. Because both the route paths have cost
community, RIB compares the costs first. The BGP path has the lower cost community, so it is
selected and downloaded to the RIB.
9.
PE2 RIB redistributes the BGP path into EIGRP with VRF. EIGRP runs a diffusing update
algorithm (DUAL) because there are two paths, and selects the BGP-redistributed path.
10.
PE2 EIGRP advertises the path to CE2 making the path the next hop for the prefix to send the
traffic over the MPLS network.
Part 2Iterates over all paths and determines which order to compare the paths to select the overall
best path.
Part 3Determines whether the old and new best paths differ enough so that the new best path
should be used.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-26
OL-17300-01
Note
The order of comparison determined by Part 2 is important because the comparison operation is not
transitive; that is, if three paths, A, B, and C exist, such that when A and B are compared, A is better,
and when B and C are compared, B is better, it is not necessarily the case that when A and C are
compared, A is better. This nontransitivity arises because the multi exit discriminator (MED) is
compared only among paths from the same neighboring autonomous system (AS) and not among all
paths.
If either path is invalid (for example, a path has the maximum possible MED value or it has an
unreachable next hop), then the other path is chosen (provided that the path is valid).
2.
If the paths have unequal pre-bestpath cost communities, the path with the lower pre-bestpath cost
community is selected as the best path.
Note
3.
Note
See the BGP Cost Community section on page RC-22 for details on how cost communities are
compared.
If the paths have unequal weights, the path with the highest weight is chosen.
The weight is entirely local to the router, and can be set with the weight command or using a
routing policy.
4.
If the paths have unequal local preferences, the path with the higher local preference is chosen. Note:
If a local preference attribute was received with the path or was set by a routing policy, then that
value is used in this comparison. Otherwise, the default local preference value of 100 is used. The
default value can be changed using the bgp default local-preference command.
5.
If one of the paths is a redistributed path, which results from a redistribute or network command,
then it is chosen. Otherwise, if one of the paths is a locally generated aggregate, which results from
an aggregate-address command, it is chosen.
Note
6.
Note
Step 1 through Step 4 implement the Degree of Preference calculation from Section 9.1.1 of
draft-ietf-idr-bgp4-24.txt.
If the paths have unequal AS path lengths, the path with the shorter AS path is chosen. This step is
skipped if bgp bestpath as-path ignore command is configured.
When calculating the length of the AS path, confederation segments are ignored, and AS sets
count as 1. (See Section 9.1.2.2a of draft-ietf-idr-bgp4-24.txt.)
7.
If the paths have different origins, the path with the lower origin is selected. Interior Gateway
Protocol (IGP) is considered lower than EGP, which is considered lower than INCOMPLETE. (See
Section 9.1.2.2b of draft-ietf-idr-bgp4-24.txt.)
8.
If appropriate, the MED of the paths is compared. If they are unequal, the path with the lower MED
is chosen.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-27
A number of configuration options exist that affect whether or not this step is performed. In general,
the MED is compared if both paths were received from neighbors in the same AS; otherwise the
MED comparison is skipped. However, this behavior is modified by certain configuration options,
and there are also some corner cases to consider. (See Section 9.1.2.2c of draft-ietf-idr-bgp4-24.txt.)
If the bgp bestpath med always command is configured, then the MED comparison is always
performed, regardless of neighbor AS in the paths. Otherwise, MED comparison depends on the AS
paths of the two paths being compared, as follows:
a. If a path has no AS path or the AS path starts with an AS_SET, then the path is considered to
the sequence, and the MED is compared with other paths that have the same neighbor AS.
c. If the AS path contains only confederation segments or starts with confederation segments
followed by an AS_SET, then the MED is not compared with any other path unless the bgp
bestpath med confed command is configured. In that case, the path is considered internal and
the MED is compared with other internal paths.
d. If the AS path starts with confederation segments followed by an AS_SEQUENCE, then the
neighbor AS is the first AS number in the AS_SEQUENCE, and the MED is compared with
other paths that have the same neighbor AS.
Note
9.
If no MED attribute was received with the path, then the MED is considered to be 0 unless the
bgp bestpath med missing-as-worst command is configured. In that case, if no MED attribute
was received, the MED is considered to be the highest possible value.
If one path is received from an external peer and the other is received from an internal (or
confederation) peer, the path from the external peer is chosen. (See Section 9.1.2.2d of
draft-ietf-idr-bgp4-24.txt.)
10. If the paths have different IGP metrics to their next hops, the path with the lower IGP metric is
Note
See the BGP Cost Community section on page RC-22 for details on how cost communities are
compared.
12. If all path parameters in Step 1 through Step 10 are the same, then the router IDs are compared. If
the path was received with an originator attribute, then that is used as the router ID to compare;
otherwise, the router ID of the neighbor from which the path was received is used. If the paths have
different router IDs, the path with the lower router ID is chosen.
Note
Where the originator is used as the router ID, it is possible to have two paths with the same router
ID. It is also possible to have two BGP sessions with the same peer router, and therefore receive
two paths with the same router ID. (See Section 9.1.2.2f of draft-ietf-idr-bgp4-24.txt.)
13. If the paths have different cluster lengths, the path with the shorter cluster length is selected. If a
path was not received with a cluster list attribute, it is considered to have a cluster length of 0.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-28
OL-17300-01
14. Finally, the path received from the neighbor with the lower IP address is chosen. Locally generated
paths (for example, redistributed paths) are considered to have a neighbor IP address of 0. (See
Section 9.1.2.2g of draft-ietf-idr-bgp4-24.txt.)
Order of Comparisons
The second part of the BGP best-path algorithm implementation determines the order in which the paths
should be compared. The order of comparison is determined as follows:
1.
The paths are partitioned into groups such that within each group the MED can be compared among
all paths. The same rules as in the Comparing Pairs of Paths section on page RC-27 are used to
determine whether MED can be compared between any two paths. Normally, this comparison results
in one group for each neighbor AS. If the bgp bestpath med always command is configured, then
there is just one group containing all the paths.
2.
The best path in each group is determined. Determining the best path is achieved by iterating through
all paths in the group and keeping track of the best one seen so far. Each path is compared with the
best-so-far, and if it is better, it becomes the new best-so-far and is compared with the next path in
the group.
3.
A set of paths is formed containing the best path selected from each group in Step 2. The overall
best path is selected from this set of paths, by iterating through them as in Step 2.
Note
This suppression behavior does not comply with the IETF Networking Working Group
draft-ietf-idr-bgp4-24.txt document, but is specified in the IETF Networking Working Group
draft-ietf-idr-avoid-transition-00.txt document.
The suppression behavior can be turned off by configuring the bgp bestpath compare-routerid
command. If this command is configured, the new best path is always preferred to the existing one.
Otherwise, the following steps are used to determine whether the best-path change can be suppressed:
1.
If the existing best path is no longer valid, the change cannot be suppressed.
2.
If either the existing or new best paths were received from internal (or confederation) peers or were
locally generated (for example, by redistribution), then the change cannot be suppressed. That is,
suppression is possible only if both paths were received from external peers.
3.
If the paths were received from the same peer (the paths would have the same router-id), the change
cannot be suppressed. The router ID is calculated using rules in the Comparing Pairs of Paths
section on page RC-27.
4.
If the paths have different weights, local preferences, origins, or IGP metrics to their next hops, then
the change cannot be suppressed. Note that all these values are calculated using the rules in the
Comparing Pairs of Paths section on page RC-27.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-29
5.
If the paths have different-length AS paths and the bgp bestpath as-path ignore command is not
configured, then the change cannot be suppressed. Again, the AS path length is calculated using the
rules in the Comparing Pairs of Paths section on page RC-27.
6.
If the MED of the paths can be compared and the MEDs are different, then the change cannot be
suppressed. The decision as to whether the MEDs can be compared is exactly the same as the rules
in the Comparing Pairs of Paths section on page RC-27, as is the calculation of the MED value.
7.
If all path parameters in Step 1 through Step 6 do not apply, the change can be suppressed.
Administrative Distance
An administrative distance is a rating of the trustworthiness of a routing information source. In general,
the higher the value, the lower the trust rating. For information on specifying the administrative distance
for BGP, see the BGP Commands on Cisco ASR 9000 Series Routers module of the
Cisco ASR 9000 Series Aggregation Services Router Routing Command Reference.
Normally, a route can be learned through more than one protocol. Administrative distance is used to
discriminate between routes learned from more than one protocol. The route with the lowest
administrative distance is installed in the IP routing table. By default, BGP uses the administrative
distances shown in Table 1.
Table 1
Note
Distance
Default Value
Function
External
20
Internal
200
Local
200
Distance does not influence the BGP path selection algorithm, but it does influence whether
BGP-learned routes are installed in the IP routing table.
In most cases, when a route is learned through eBGP, it is installed in the IP routing table because of its
distance (20). Sometimes, however, two ASs have an IGP-learned back-door route and an eBGP-learned
route. Their policy might be to use the IGP-learned path as the preferred path and to use the
eBGP-learned path when the IGP path is down. See Figure 3.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-30
OL-17300-01
Figure 3
AS 200
160.10.0.0
AS 100
150.10.0.0
IGP
Router A
Router B
2.2.2.2
3.3.3.3
eBGP
eBGP
AS 300
170.10.0.0
3.3.3.1
Router C
149547
2.2.2.1
In Figure 3, Routers A and C and Routers B and C are running eBGP. Routers A and B are running an
IGP (such as Routing Information Protocol [RIP], Interior Gateway Routing Protocol [IGRP], Enhanced
IGRP, or Open Shortest Path First [OSPF]). The default distances for RIP, IGRP, Enhanced IGRP, and
OSPF are 120, 100, 90, and 110, respectively. All these distances are higher than the default distance of
eBGP, which is 20. Usually, the route with the lowest distance is preferred.
Router A receives updates about 160.10.0.0 from two routing protocols: eBGP and IGP. Because the
default distance for eBGP is lower than the default distance of the IGP, Router A chooses the
eBGP-learned route from Router C. If you want Router A to learn about 160.10.0.0 from Router B (IGP),
establish a BGP back door. See Indicating BGP Back-door Routes section on page RC-55.
In the following example, a network back door is configured:
RP/0/RSP0/CPU0:router(config)# router bgp 100
RP/0/RSP0/CPU0:router(config-bgp)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-bgp-af)# network 160.10.0.0/16 backdoor
Router A treats the eBGP-learned route as local and installs it in the IP routing table with a distance of
200. The network is also learned through Enhanced IGRP (with a distance of 90), so the Enhanced IGRP
route is successfully installed in the IP routing table and is used to forward traffic. If the Enhanced
IGRP-learned route goes down, the eBGP-learned route is installed in the IP routing table and is used to
forward traffic.
Although BGP treats network 160.10.0.0 as a local entry, it does not advertise network 160.10.0.0 as it
normally would advertise a local entry.
Multiprotocol BGP
Multiprotocol BGP is an enhanced BGP that carries routing information for multiple network layer
protocols and IP multicast routes. BGP carries two sets of routes, one set for unicast routing and one set
for multicast routing. The routes associated with multicast routing are used by the Protocol Independent
Multicast (PIM) feature to build data distribution trees.
Multiprotocol BGP is useful when you want a link dedicated to multicast traffic, perhaps to limit which
resources are used for which traffic. Multiprotocol BGP allows you to have a unicast routing topology
different from a multicast routing topology providing more control over your network and resources.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-31
In BGP, the only way to perform interdomain multicast routing was to use the BGP infrastructure that
was in place for unicast routing. Perhaps you want all multicast traffic exchanged at one network access
point (NAP). If those routers were not multicast capable, or there were differing policies for which you
wanted multicast traffic to flow, multicast routing could not be supported without multiprotocol BGP.
Note
It is possible to configure BGP peers that exchange both unicast and multicast network layer reachability
information (NLRI), but you cannot connect multiprotocol BGP clouds with a BGP cloud. That is, you
cannot redistribute multiprotocol BGP routes into BGP.
Figure 4 illustrates simple unicast and multicast topologies that are incongruent, and therefore are not
possible without multiprotocol BGP.
Autonomous systems 100, 200, and 300 are each connected to two NAPs that are FDDI rings. One is
used for unicast peering (and therefore the exchange of unicast traffic). The Multicast Friendly
Interconnect (MFI) ring is used for multicast peering (and therefore the exchange of multicast traffic).
Each router is unicast and multicast capable.
Figure 4
FDDI
Unicast
MFI
AS 200
AS 300
ISP A
ISP B
ISP C
12238
AS 100
Figure 5 is a topology of unicast-only routers and multicast-only routers. The two routers on the left are
unicast-only routers (that is, they do not support or are not configured to perform multicast routing). The
two routers on the right are multicast-only routers. Routers A and B support both unicast and multicast
routing. The unicast-only and multicast-only routers are connected to a single NAP.
In Figure 5, only unicast traffic can travel from Router A to the unicast routers to Router B and back.
Multicast traffic could not flow on that path, so another routing table is required. Multicast traffic uses
the path from Router A to the multicast routers to Router B and back.
Figure 5 illustrates a multiprotocol BGP environment with a separate unicast route and multicast route
from Router A to Router B. Multiprotocol BGP allows these routes to be incongruent. Both of the
autonomous systems must be configured for internal multiprotocol BGP (IMBGP) in the figure.
A multicast routing protocol, such as PIM, uses the multicast BGP database to perform Reverse Path
Forwarding (RPF) lookups for multicast-capable sources. Thus, packets can be sent and accepted on the
multicast topology but not on the unicast topology.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-32
OL-17300-01
Figure 5
AS 200
Unicast
router
IMBGP
Multicast
router
NAP
Unicast
router
IMBGP
Multicast
router
AS 100
Unicast route
Router A
11754
Multicast route
Route Dampening
Route dampening is a BGP feature that minimizes the propagation of flapping routes across an
internetwork. A route is considered to be flapping when it is repeatedly available, then unavailable, then
available, then unavailable, and so on.
For example, consider a network with three BGP autonomous systems: autonomous system 1,
autonomous system 2, and autonomous system 3. Suppose the route to network A in autonomous system
1 flaps (it becomes unavailable). Under circumstances without route dampening, the eBGP neighbor of
autonomous system 1 to autonomous system 2 sends a withdraw message to autonomous system 2. The
border router in autonomous system 2, in turn, propagates the withdrawal message to autonomous
system 3. When the route to network A reappears, autonomous system 1 sends an advertisement message
to autonomous system 2, which sends it to autonomous system 3. If the route to network A repeatedly
becomes unavailable, then available, many withdrawal and advertisement messages are sent. Route
flapping is a problem in an internetwork connected to the Internet, because a route flap in the Internet
backbone usually involves many routes.
Minimizing Flapping
The route dampening feature minimizes the flapping problem as follows. Suppose again that the route
to network A flaps. The router in autonomous system 2 (in which route dampening is enabled) assigns
network A a penalty of 1000 and moves it to history state. The router in autonomous system 2 continues
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-33
to advertise the status of the route to neighbors. The penalties are cumulative. When the route flaps so
often that the penalty exceeds a configurable suppression limit, the router stops advertising the route to
network A, regardless of how many times it flaps. Thus, the route is dampened.
The penalty placed on network A is decayed until the reuse limit is reached, upon which the route is once
again advertised. At half of the reuse limit, the dampening information for the route to network A is
removed.
Note
No penalty is applied to a BGP peer reset when route dampening is enabled, even though the reset
withdraws the route.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-34
OL-17300-01
Figure 6
Fully meshed
autonomous
system
Router C
Routes
Router A
Routes
advertised
External
BGP
speaker
Routes not
advertised
Router A
Routes
S4217
Router B
With route reflectors, all iBGP speakers need not be fully meshed because there is a method to pass
learned routes to neighbors. In this model, an iBGP peer is configured to be a route reflector responsible
for passing iBGP learned routes to a set of iBGP neighbors. In Figure 7, Router B is configured as a route
reflector. When the route reflector receives routes advertised from Router A, it advertises them to
Router C, and vice versa. This scheme eliminates the need for the iBGP session between routers A
and C.
Figure 7
Routes
Router A
Router C
External
BGP
speaker
Routes
Reflected
routes
S4219
Router A
Router B
Route
reflector
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-35
The internal peers of the route reflector are divided into two groups: client peers and all other routers in
the autonomous system (nonclient peers). A route reflector reflects routes between these two groups.
The route reflector and its client peers form a cluster. The nonclient peers must be fully meshed with
each other, but the client peers need not be fully meshed. The clients in the cluster do not communicate
with iBGP speakers outside their cluster.
Figure 8 illustrates a more complex route reflector scheme. Router A is the route reflector in a cluster
with routers B, C, and D. Routers E, F, and G are fully meshed, nonclient routers.
When the route reflector receives an advertised route, depending on the neighbor, it takes the following
actions:
A route from an external BGP speaker is advertised to all clients and nonclient peers.
A route from a client is advertised to all clients and nonclient peers. Hence, the clients need not be
fully meshed.
Figure 8
Partially meshed
autonomous system
Nonclient
Router G
Route reflector
Router A
Routes
advertised
Nonclient
Router F
Router A
External
BGP
speaker
Nonclient
Cluster
S4218
Router E
Router B
Client
Router C
Client
Router D
Client
Along with route reflector-aware BGP speakers, it is possible to have BGP speakers that do not
understand the concept of route reflectors. They can be members of either client or nonclient groups,
allowing an easy and gradual migration from the old BGP model to the route reflector model. Initially,
you could create a single cluster with a route reflector and a few clients. All other iBGP speakers could
be nonclient peers to the route reflector and then more clusters could be created gradually.
An autonomous system can have multiple route reflectors. A route reflector treats other route reflectors
just like other iBGP speakers. A route reflector can be configured to have other route reflectors in a client
group or nonclient group. In a simple configuration, the backbone could be divided into many clusters.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-36
OL-17300-01
Each route reflector would be configured with other route reflectors as nonclient peers (thus, all route
reflectors are fully meshed). The clients are configured to maintain iBGP sessions with only the route
reflector in their cluster.
Usually, a cluster of clients has a single route reflector. In that case, the cluster is identified by the router
ID of the route reflector. To increase redundancy and avoid a single point of failure, a cluster might have
more than one route reflector. In this case, all route reflectors in the cluster must be configured with the
cluster ID so that a route reflector can recognize updates from route reflectors in the same cluster. All
route reflectors serving a cluster should be fully meshed and all of them should have identical sets of
client and nonclient peers.
By default, the clients of a route reflector are not required to be fully meshed and the routes from a client
are reflected to other clients. However, if the clients are fully meshed, the route reflector need not reflect
routes to clients.
As the iBGP learned routes are reflected, routing information may loop. The route reflector model has
the following mechanisms to avoid routing loops:
Cluster-list is an optional, nontransitive BGP attribute. It is a sequence of cluster IDs that the route
has passed. When a route reflector reflects a route from its clients to nonclient peers, and vice versa,
it appends the local cluster ID to the cluster-list. If the cluster-list is empty, a new cluster-list is
created. Using this attribute, a route reflector can identify if routing information is looped back to
the same cluster due to misconfiguration. If the local cluster ID is found in the cluster-list, the
advertisement is ignored.
The parser automatically sets the default afi value to ipv4 and default safi value to unicast. It is
necessary to use only the parser commands to change the default afi value from ipv4 or default safi value
from unicast. Any afi or safi keyword specified in a show command overrides the values set using the
parser commands. Use the following command to check the currently set value of the afi and safi:
show default-afi-safi-vrf
Distributed BGP
Distributed BGP splits BGP functionality into three process types:
BGP process managerResponsible for verifying configuration changes and for calculating and
publishing the distribution of neighbors among BGP speaker processes.
There is a single instance of this process.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-37
bRIB processResponsible for performing the best-path calculation of routes (receives partial best
paths from the speaker). The best route is installed into the bRIB and is advertised back to all
speakers. See the BGP Best Path Algorithm section on page RC-26 for information on best-path
calculation. The bRIB process is also responsible for installing routes in the RIB, and for handling
routes redistributed from the RIB. To accommodate route leaking from one RIB to another, bRIB
may register for redistribution from multiple RIB routes into a single route in the bRIB process.
There is a single instance of this process for each address family.
BGP speaker processResponsible for handling all BGP connections to peers. The speaker stores
received paths in the RIB and performs a partial best-path calculation, advertising the partial best
paths to the bRIB (limited best-path calculation). Speakers perform a limited best-path calculation
because to compare MEDs, paths need to be compared from the same AS but may not be received
on the same speaker. Because BGP speakers do not have access to the entire BGP local RIB, BGP
speakers can perform only a limited best-path calculation. (These are Step 1 through Step 7 in the
BGP Best Path Algorithm section on page RC-26.) Only the best paths are advertised to the bRIB
to reduce speaker/bRIB interprocess communications (IPC) and to reduce the number of paths to be
processed in the bRIB. BGP speakers can only mark a path as active only after learning the result of
the full best-path calculation from the bRIB. Neighbor import and export policies are imposed by
the speaker.
If the bgp bestpath med always command is enabled, complete best-path calculation happens
inside speaker process. When the bgp bestpath med always command is not enabled, speakers
calculate partial best paths only (performs the best-path steps up to the MED comparison) and send
them to bRIB. bRIB calculates the final best path (performs all the steps in the best-path
calculation). When the bgp bestpath med always command is enabled, speakers can compare the
MED across all ASs, allowing the speaker to calculate a single best path to send it to bRIB. bRIB is
the ultimate process that calculates the final best path, but when the bgp bestpath med always
command is enabled, the speakers send a single best path instead of potentially sending multiple
partial best paths.
There are multiple instances of this process in which each instance is responsible for a subset of BGP
peer connections.
Up to a total 15 speakers for all address families and one bRIB for each address family (IPv4, IPv6, and
VPNv4) are supported.
Distributed BGP is used to reduce the impact that a fault in one address family has on another address
family. For example, you can have one speaker with only IPv6 neighbors (peering to IPv6 addresses) and
a separate speaker with only IPv4 neighbors (peering to IPv4 addresses), and yet another speaker with
only VPNv4 provider edge (PE) or customer edge (CE) neighbors (peering to IPv4 addresses distinct
from the non-VPN neighbors). In this scenario, there is no overlap in processes (bgp, brib, and rib)
between IPv4, IPv6, and VPNv4. Therefore, a bgp, brib, or rib process crash affects only one address
family. Distributed BGP also allows more CPU capacity for receiving, computing, and sending BGP
routing updates. When in distributed BGP mode, you can control the number of distributed speakers that
are enabled, as well as which neighbors are assigned to each speaker. If no distributed speakers are
enabled, BGP operates in standalone mode. If at least one distributed speaker is enabled, BGP operates
in distributed mode.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-38
OL-17300-01
A backbone carrier offers BGP/MPLS VPN services. The customer carrier can be either:
An Internet service provider (ISP) (By definition, an ISP does not provide VPN service.)
You can configure a CSC network to enable BGP to transport routes and MPLS labels between the
backbone carrier PE routers and the customer carrier CE routers using multiple paths. The benefits of
using BGP to distribute IPv4 routes and MPLS label routes are:
BGP takes the place of an Interior Gateway Protocol (IGP) and Label Distribution Protocol (LDP)
in a VPN routing and forwarding (VRF) table. You can use BGP to distribute routes and MPLS
labels. Using a single protocol instead of two simplifies the configuration and troubleshooting.
BGP is the preferred routing protocol for connecting two ISPs, mainly because of its routing policies
and ability to scale. ISPs commonly use BGP between two providers. This feature enables those
ISPs to use BGP.
For detailed information on configuring MPLS VPN CSC with BGP, see the Implementing MPLS
Layer 3 VPNs on Cisco ASR 9000 Series Routers module of the Cisco ASR 9000 Series
Aggregation Services Router MPLS Configuration Guide.
BGP Keychains
BGP keychains enable keychain authentication between two BGP peers. The BGP endpoints must both
comply with draft-bonica-tcp-auth-05.txt and a keychain on one endpoint and a password on the other
endpoint does not work.
See the Cisco ASR 9000 Series Aggregation Services Router System Security Guide for information on
keychain management.
BGP is able to use the keychain to implement hitless key rollover for authentication. The key rollover
specification is time based, and in the event of clock skew between the peers, the rollover process is
impacted. The configurable tolerance specification allows for the accept window to be extended (before
and after) by that margin. This accept window facilitates a hitless key rollover for applications (for
example, routing and management protocols).
The key rollover does not impact the BGP session, unless there is a keychain configuration mismatch at
the endpoints resulting in no common keys for the session traffic (send or accept).
Resetting an eBGP Session Immediately Upon Link Failure, page RC-46 (optional)
Changing the BGP Default Local Preference Value, page RC-48 (optional)
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-39
Applying Policy When Updating the Routing Table, page RC-66 (optional)
Configuring a VPN Routing and Forwarding Instance in BGP, page RC-91 (optional)
Resetting Neighbors Using BGP Inbound Soft Reset, page RC-116 (optional)
Resetting Neighbors Using BGP Outbound Soft Reset, page RC-116 (optional)
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-40
OL-17300-01
Note
At least one neighbor and at least one address family must be configured to enable BGP routing. At least
one neighbor with both a remote AS and an address family must be configured globally using the
address family and remote as commands.
Prerequisites
BGP must be able to obtain a router identifier (for example, a configured loopback address). At least,
one address family must be configured in the BGP router configuration and the same address family must
also be configured under the neighbor.
Restrictions
If the neighbor is configured as an external BGP (eBGP) peer, you must configure an inbound and
outbound route policy on the neighbor using the route-policy command.
SUMMARY STEPS
1.
configure
2.
route-policy route-policy-name
3.
end-policy
4.
end
or
commit
5.
configure
6.
7.
8.
9.
exit
or
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-41
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
route-policy route-policy-name
Example:
RP/0/RSP0/CPU0:router(config)# route-policy
drop-as-1234
RP/0/RSP0/CPU0:router(config-rpl)# if as-path
passes-through '1234' then
RP/0/RSP0/CPU0:router(config-rpl)# apply
check-communities
RP/0/RSP0/CPU0:router(config-rpl)# else
RP/0/RSP0/CPU0:router(config-rpl)# pass
RP/0/RSP0/CPU0:router(config-rpl)# endif
Step 3
end-policy
Example:
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
Step 4
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config)# end
or
RP/0/RSP0/CPU0:router(config)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-42
OL-17300-01
Step 5
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 6
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 7
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp
router-id 192.168.70.24
Step 8
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 9
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Step 10
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 11
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
Step 12
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-43
Step 13
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
route-policy drop-as-1234 in
Step 14
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-44
OL-17300-01
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp
confederation identifier 5
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-45
Step 4
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
confederation peers 1091
RP/0/RSP0/CPU0:router(config-bgp)#
confederation peers 1092
RP/0/RSP0/CPU0:router(config-bgp)#
confederation peers 1093
RP/0/RSP0/CPU0:router(config-bgp)#
confederation peers 1094
RP/0/RSP0/CPU0:router(config-bgp)#
confederation peers 1095
RP/0/RSP0/CPU0:router(config-bgp)#
confederation peers 1096
Step 5
bgp
bgp
bgp
bgp
bgp
bgp
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp)# end
or
RP/0/RSP0/CPU0:router(config-bgp)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-46
OL-17300-01
SUMMARY STEPS
1.
configure
2.
3.
4.
neighbor ip-address
5.
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 123
Step 3
Sets a default keepalive time and a default hold time for all
neighbors.
Example:
RP/0/RSP0/CPU0:router(config-bgp)# timers bgp
30 90
Step 4
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-47
Step 5
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# timers
60 220
Step 6
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr)# commit
SUMMARY STEPS
1.
configure
2.
3.
4.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-48
OL-17300-01
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
Step 4
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp)# end
or
RP/0/RSP0/CPU0:router(config-bgp)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-49
SUMMARY STEPS
1.
configure
2.
3.
default-metric value
4.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-50
OL-17300-01
Step 3
Command or Action
Purpose
default-metric value
Example:
RP/0/RSP0/CPU0:router(config-bgp)# default
metric 10
Step 4
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp)# end
or
RP/0/RSP0/CPU0:router(config-bgp)# commit
Restrictions
The clear bgp command must be used for the newly configured weight to take effect.
SUMMARY STEPS
1.
configure
2.
3.
neighbor ip-address
4.
remote-as as-number
5.
6.
weight weight-value
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-51
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
Step 5
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-52
OL-17300-01
Step 6
Command or Action
Purpose
weight weight-value
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
weight 41150
Step 7
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
6.
7.
8.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-53
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 126
Step 3
Example:
Step 4
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp bestpath
med always
Step 5
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp bestpath
med confed
Step 6
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp bestpath
as-path ignore
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-54
OL-17300-01
Step 7
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp bestpath
compare-routerid
Step 8
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp)# end
or
RP/0/RSP0/CPU0:router(config-bgp)# commit
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-55
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 4
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# network
172.20.0.0/16
Step 5
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-56
OL-17300-01
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-57
Step 4
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)#
aggregate-address 10.0.0.0/8 as-set
Step 5
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
Note
Caution
Use of the bgp redistribute-internal command requires the clear route * command to be issued to
reinstall all BGP routes into the IP routing table.
Redistributing iBGP routes into IGPs may cause routing loops to form within an autonomous system.
Use this command with caution.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-58
OL-17300-01
SUMMARY STEPS
1.
configure
2.
3.
bgp redistribute-internal
4.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
bgp redistribute-internal
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp
redistribute-internal
Step 4
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp)# end
or
RP/0/RSP0/CPU0:router(config-bgp)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-59
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-60
OL-17300-01
Step 3
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 4
or
or
redistribute isis process-id [level {1 |
1-inter-area | 2}] [metric metric-value]
[route-policy route-policy-name]
or
redistribute ospf process-id [match {external
[1 | 2] | internal | nssa-external [1 | 2]]}
[metric metric-value] [route-policy
route-policy-name]
or
redistribute ospfv3 process-id [match {external
[1 | 2] | internal | nssa-external [1 | 2]]}
[metric metric-value] [route-policy
route-policy-name]
or
redistribute rip [metric metric-value]
[route-policy route-policy-name]
or
redistribute static [metric metric-value]
[route-policy route-policy-name]
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)#
redistribute ospf 110
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-61
Step 5
Command or Action
Purpose
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
6.
show bgp [ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast | multicast
| all | labeled-unicast} | vpnv4 unicast [rd rd-address] | vrf {vrf-name | all} [ipv4 {unicast |
labeled-unicast} | ipv6 unicast]] flap-statistics
7.
show bgp [ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast | multicast
| all | labeled-unicast} | vpnv4 unicast [rd rd-address] | vrf {vrf-name | all} [ipv4 {unicast |
labeled-unicast} | ipv6 unicast]] flap-statistics regexp regular-expression
8.
show bgp [ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast | multicast
| all | labeled-unicast} | vpnv4 unicast [rd rd-address] | vrf {vrf-name | all} [ipv4 {unicast |
labeled-unicast} | ipv6 unicast]] flap-statistics route-policy route-policy-name
9.
show bgp [ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast | multicast
| all | labeled-unicast} | vpnv4 unicast [rd rd-address] | vrf {vrf-name | all} [ipv4 {unicast |
labeled-unicast} | ipv6 unicast]] flap-statistics {ip-address {mask | /prefix-length}}
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-62
OL-17300-01
10. show bgp [ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast | multicast
| all | labeled-unicast} | vpnv4 unicast [rd rd-address] | vrf {vrf-name | all} [ipv4 {unicast |
labeled-unicast} | ipv6 unicast]] flap-statistics {ip-address [{mask | /prefix-length}
[longer-prefixes]]}
11. clear bgp {ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast |
multicast | all | labeled-unicast} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast}} flap-statistics
12. clear bgp {ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast |
multicast | all | labeled-unicast} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast}} flap-statistics flap-statistics regexp regular-expression
13. clear bgp {ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast |
multicast | all | labeled-unicast} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast}} flap-statistics flap-statistics route-policy route-policy-name
14. clear bgp {ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast |
multicast | all | labeled-unicast} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast}} flap-statistics network/mask-length
15. clear bgp {ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast |
multicast | all | labeled-unicast} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast}} flap-statistics ip-address/mask-length
16. show bgp [ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast | multicast
| all | labeled-unicast} | vpnv4 unicast [rd rd-address] | vrf {vrf-name | all} [ipv4 {unicast |
labeled-unicast} | ipv6 unicast]] dampened-paths
17. clear bgp {ipv4 {unicast | multicast | labeled-unicast | all} | ipv6 unicast | all {unicast |
multicast | all | labeled-unicast} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 {unicast |
labeled-unicast} | ipv6 unicast}} flap-statistics dampening [ip-address/mask-length]
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-63
Step 4
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# bgp
dampening 30 1500 10000 120
Step 5
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
Step 6
Example:
RP/0/RSP0/CPU0:router# show bgp flap statistics
Step 7
Displays BGP flap statistics for all paths that match the
regular expression.
Example:
RP/0/RSP0/CPU0:router# show bgp flap-statistics
regexp _1$
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-64
OL-17300-01
Step 8
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config)# show bgp
flap-statistics route-policy policy_A
Step 9
Example:
RP/0/RSP0/CPU0:router# show bgp flap-statistics
172.20.1.1
Step 10
Displays BGP flap statistics for more specific entries for the
specified IP address.
Example:
RP/0/RSP0/CPU0:router# show bgp flap-statistics
172.20.1.1 longer-prefixes
Step 11
Example:
RP/0/RSP0/CPU0:router# clear bgp all all
flap-statistics
Step 12
Clears BGP flap statistics for all paths that match the
specified regular expression.
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics regexp _1$
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-65
Step 13
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics route-policy policy_A
Step 14
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics 192.168.40.0/24
Step 15
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast
flap-statistics 172.20.1.1
Step 16
Example:
RP/0/RSP0/CPU0:router# show bgp dampened paths
Step 17
Example:
RP/0/RSP0/CPU0:router# clear bgp dampening
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-66
OL-17300-01
Prerequisites
See the Implementing Routing Policy on Cisco ASR 9000 Series Routers module of Cisco ASR 9000
Series Aggregation Services Router Routing Configuration Guide (this publication) for a list of the
supported attributes and operations that are valid for table policy filtering.
SUMMARY STEPS
1.
configure
2.
3.
4.
table-policy policy-name
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120.6
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-67
Step 4
Command or Action
Purpose
table-policy policy-name
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)#
table-policy tbl-plcy-A
Step 5
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-68
OL-17300-01
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-69
Step 4
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# distance
bgp 20 20 200
Step 5
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-70
OL-17300-01
Note
All commands that can be configured under a specified neighbor group can be configured under a
neighbor.
SUMMARY STEPS
1.
configure
2.
3.
4.
exit
5.
neighbor-group name
6.
remote-as as-number
7.
8.
9.
exit
10. exit
11. neighbor ip-address
12. use neighbor-group group-name
13. remote-as as-number
14. end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 4
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-71
Step 5
Command or Action
Purpose
neighbor-group name
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
neighbor-group nbr-grp-A
Step 6
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)#
remote-as 2002
Step 7
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 8
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)#
route-policy drop-as-1234 in
Step 9
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)#
exit
Step 10
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
Step 11
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 12
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# use
neighbor-group nbr-grp-A
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-72
OL-17300-01
Step 13
Command or Action
Purpose
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
Step 14
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr)# commit
SUMMARY STEPS
1.
configure
2.
3.
4.
neighbor ip-address
5.
remote-as as-number
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-73
6.
7.
route-reflector-client
8.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp
cluster-id 192.168.70.1
Step 4
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 5
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2003
Step 6
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-74
OL-17300-01
Step 7
Command or Action
Purpose
route-reflector-client
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
route-reflector-client
Step 8
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
Prerequisites
See the Implementing Routing Policy on Cisco ASR 9000 Series Routers module of Cisco ASR 9000
Series Aggregation Services Router Routing Configuration Guide (this publication) for a list of the
supported attributes and operations that are valid for inbound and outbound neighbor policy filtering.
SUMMARY STEPS
1.
configure
2.
route-policy name
3.
end-policy
4.
5.
neighbor ip-address
6.
7.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-75
8.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
route-policy name
Example:
RP/0/RSP0/CPU0:router(config)# route-policy
drop-as-1234
RP/0/RSP0/CPU0:router(config-rpl)# if as-path
passes-through '1234' then
RP/0/RSP0/CPU0:router(config-rpl)# apply
check-communities
RP/0/RSP0/CPU0:router(config-rpl)# else
RP/0/RSP0/CPU0:router(config-rpl)# pass
RP/0/RSP0/CPU0:router(config-rpl)# endif
Step 3
end-policy
Example:
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
Step 4
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 5
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 6
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-76
OL-17300-01
Step 7
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
route-policy drop-as-1234 in
Step 8
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-77
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 4
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# nexthop
trigger-delay critical 15000
Step 5
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-78
OL-17300-01
Note
Next-hop processing can be disabled for address family group, neighbor group, or neighbor address
family.
SUMMARY STEPS
1.
configure
2.
3.
neighbor ip-address
4.
remote-as as-number
5.
6.
next-hop-self
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 206
Step 5
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-79
Step 6
Command or Action
Purpose
next-hop-self
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
next-hop-self
end
Example:
Step 7
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
Note
If the send-community-ebgp command is configured for a neighbor group or address family group, all
neighbors using the group inherit the configuration. Configuring the command specifically for a
neighbor overrides inherited values.
Note
BGP community and extended-community filtering cannot be configured for iBGP neighbors.
Communities and extended-communities are always sent to iBGP neighbors
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-80
OL-17300-01
SUMMARY STEPS
1.
configure
2.
3.
neighbor ip-address
4.
remote-as as-number
5.
6.
send-community-ebgp
7.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
Step 5
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-81
Step 6
Command or Action
Purpose
send-community-ebgp
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
send-community-ebgp
Step 7
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
SUMMARY STEPS
1.
configure
2.
route-policy name
3.
4.
end-policy
5.
6.
default-information originate
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
aggregate-address address/mask-length [as-set] [as-confed-set] [summary-only] [route-policy
route-policy-name]
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-82
OL-17300-01
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute connected [metric metric-value] [route-policy route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute eigrp process-id [match {external | internal}] [metric metric-value] [route-policy
route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute isis process-id [level {1 | 1-inter-area | 2}] [metric metric-value] [route-policy
route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute ospf process-id [match {external [1 | 2] | internal | nssa-external [1 | 2]}] [metric
metric-value] [route-policy route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute rip [metric metric-value] [route-policy route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute static [metric metric-value] [route-policy route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
network {ip-address/prefix-length | ip-address mask} [route-policy route-policy-name]
or
neighbor ip-address
remote-as as-number
address-family {ipv4 unicast | ipv4 multicast | ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
route-policy route-policy-name {in | out}
7.
end
or
commit
8.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-83
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
route-policy name
Example:
RP/0/RSP0/CPU0:router(config)# route-policy
costA
Step 3
Example:
RP/0/RSP0/CPU0:router(config)# set extcommunity
cost cost_A
Step 4
end-policy
Example:
RP/0/RSP0/CPU0:router(config)# end-policy
Step 5
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-84
OL-17300-01
Step 6
Command or Action
Purpose
default-information originate
or
aggregate-address address/mask-length [as-set]
[as-confed-set] [summary-only] [route-policy
route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast |
ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute connected [metric metric-value]
[route-policy route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast |
ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
or
address-family {ipv4 unicast | ipv4 multicast |
ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute isis process-id [level {1 |
1-inter-area | 2}] [metric metric-value]
[route-policy route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast |
ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute ospf process-id [match {external
[1 | 2] | internal | nssa-external [1 | 2]}]
[metric metric-value] [route-policy
route-policy-name]
or
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-85
Command or Action
Purpose
or
address-family {ipv4 unicast | ipv4 multicast |
ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
redistribute static [metric metric-value]
[route-policy route-policy-name]
or
address-family {ipv4 unicast | ipv4 multicast |
ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
network {ip-address/prefix-length | ip-address
mask} [route-policy route-policy-name]
or
neighbor ip-address
remote-as as-number
address-family {ipv4 unicast | ipv4 multicast |
ipv4 tunnel | ipv6 unicast | vpnv4 unicast}
route-policy route-policy-name {in | out}
or
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
default-information originate
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-86
OL-17300-01
Step 7
Command or Action
Purpose
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-af)# commit
Step 8
Example:
RP/0/RSP0/CPU0:router# show bgp 172.168.40.24
Note
Storing updates from a neighbor works only if either the neighbor is route refresh capable or the
soft-reconfiguration inbound command is configured. Even if the neighbor is route refresh capable and
the soft-reconfiguration inbound command is configured, the original routes are not stored unless the
always option is used with the command. The original routes can be easily retrieved with a route refresh
request. Route refresh sends a request to the peer to resend its routing information. The
soft-reconfiguration inbound command stores all paths received from the peer in an unmodified form
and refers to these stored paths during the clear. Soft reconfiguration is memory intensive.
SUMMARY STEPS
1.
configure
2.
3.
neighbor ip-address
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-87
4.
5.
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-88
OL-17300-01
Step 5
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
soft-reconfiguration inbound always
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
Restrictions
If BGP is running in standalone mode, the clear bgp current-mode or clear bgp vrf all * command
must be used to switch from standalone mode to distributed mode.
SUMMARY STEPS
1.
configure
2.
3.
distributed speaker id
4.
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-89
5.
6.
exit
7.
neighbor ip-address
8.
remote-as as-number
9.
speaker-id id
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
distributed speaker id
Example:
RP/0/RSP0/CPU0:router(config-bgp)# distributed
speaker 2
Step 4
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp)# commit
Step 5
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 6
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Step 7
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-90
OL-17300-01
Step 8
Command or Action
Purpose
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
Step 9
speaker-id id
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
speaker-id 2
Step 10
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 11
end
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
Example:
RP/0/RSP0/CPU0:router# clear bgp current-mode
Defining the Virtual Routing and Forwarding Tables in Provider Edge Routers, page RC-92
(required)
Configuring BGP to Advertise VRF Routes for Multicast VPN from PE to PE, page RC-95
(required)
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-91
Configuring Route Reflector to Hold Routes That Have a Defined Set of RT Communities,
page RC-102 (optional)
Defining the Virtual Routing and Forwarding Tables in Provider Edge Routers
Perform this task to define the VPN routing and forwarding (VRF) tables in the provider edge (PE)
routers.
SUMMARY STEPS
1.
configure
2.
vrf vrf-name
3.
4.
5.
6.
7.
8.
9.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config)# vrf vrf_pe
Step 3
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-92
OL-17300-01
Step 4
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)# maximum
prefix 2300
Step 5
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)# import
route-policy policy_a
Step 6
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)# import
route-target 234:222
Step 7
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)# export
route-policy policy_b
Step 8
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)# export
route-target 123;234
Step 9
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)# end
or
RP/0/RSP0/CPU0:router(config-vrf-af)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-93
SUMMARY STEPS
1.
configure
2.
3.
4.
vrf vrf-name
5.
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp
router-id 10.0.0.0
Step 4
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_pe
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-94
OL-17300-01
Step 5
Step 6
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf)# rd
345:567
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf)# end
or
RP/0/RSP0/CPU0:router(config-bgp-vrf)# commit
SUMMARY
1.
configure
2.
3.
4.
5.
exit
6.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-95
7.
exit
8.
neighbor ip-address
9.
remote-as as-number
or
redistribute eigrp process-id [match {external | internal}] [metric metric-value] [route-policy
route-policy-name]
or
redistribute isis process-id [level {1 | 1-inter-area | 2}] [metric metric-value] [route-policy
route-policy-name]
or
redistribute ospf process-id [match {external [1 | 2] | internal | nssa-external [1 | 2]}] [metric
metric-value] [route-policy route-policy-name]
or
redistribute rip [metric metric-value] [route-policy route-policy-name]
or
redistribute static [metric metric-value] [route-policy route-policy-name]
19. end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 100
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-96
OL-17300-01
Step 3
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp)# bgp
router-id 1.1.1.1
Step 4
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 5
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Step 6
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
address-family vpvnv4 unicast
Step 7
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Step 8
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.16.1.1
Step 9
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 100
Step 10
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
update-source loopback 0
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-97
Step 11
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 12
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# exit
Step 13
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
address-family vpnv4 unicast
Step 14
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# exit
Step 15
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# vrf vpn1
Step 16
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf)# rd 1:1
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-98
OL-17300-01
Step 18
Command or Action
Purpose
or
redistribute eigrp process-id [match {external
| internal}] [metric metric-value]
[route-policy route-policy-name]
or
redistribute isis process-id [level {1 |
1-inter-area | 2}] [metric metric-value]
[route-policy route-policy-name]
or
redistribute ospf process-id [match {external
[1 | 2] | internal | nssa-external [1 | 2]}]
[metric metric-value] [route-policy
route-policy-name]
or
redistribute rip [metric metric-value]
[route-policy route-policy-name]
or
redistribute static [metric metric-value]
[route-policy route-policy-name]
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)#
redistribute ospf 1
Step 19
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)#
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-99
SUMMARY STEPS
1.
configure
2.
3.
4.
exit
5.
neighbor ip-address
6.
remote-as as-number
7.
description text
8.
9.
shutdown
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-100
OL-17300-01
Step 3
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
address-family vpvn4 unicast
Step 4
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Step 5
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.16.1.1
Step 6
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 1
Step 7
description text
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
description neighbor 172.16.1.1
Step 8
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# password
encrypted 123abc
Step 9
shutdown
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# shutdown
Step 10
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# timers
12000 200
Step 11
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
update-source gigabitEthernet 0/1/5/0
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-101
Step 12
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
address-family vpvn4 unicast
Step 13
route-policy route-policy-name in
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
route-policy pe-pe-vpn-in in
Step 14
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
route-policy pe-pe-vpn-out out
Step 15
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
Configuring Route Reflector to Hold Routes That Have a Defined Set of RT Communities
A provider edge (PE) needs to hold the routes that match the import route targets (RTs) of the VPNs
configured on it. The PE router can discard all other VPNv4 routes. But, a route reflector (RR) must
retain all VPNv4 routes, because it might peer with PE routers and different PEs might require different
RT-tagged VPNv4 (making RRs nonscalable). You can configure an RR to only hold routes that have a
defined set of RT communities. Also, a number of the RRs can be configured to service a different set
of VPNs (thereby achieving some scalability). A PE is then made to peer with all RRs that service the
VRFs configured on the PE. When a new VRF is configured with an RT for which the PE does not
already hold routes, the PE issues route refreshes to the RRs and retrieves the relevant VPN routes.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-102
OL-17300-01
Note
Note that this process can be more efficient if the PE-RR session supports extended community outbound
route filter (ORF).
Perform this task to configure a reflector to retain routes tagged with specific RTs.
SUMMARY STEPS
1.
configure
2.
3.
4.
5.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
address-family vpvn4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-103
Step 4
Command or Action
Purpose
Example:
Step 5
RP/0/RSP0/CPU0:router(config-bgp-af)# retain
route-target route-policy rr_ext-comm
Note
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#
commit
SUMMARY STEPS
1.
configure
2.
3.
vrf vrf-name
4.
5.
label-allocation-mode per-ce
6.
7.
8.
aggregate-address address/mask-length
9.
exit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-104
OL-17300-01
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_pe_2
Step 4
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf)# bgp
router-id 172.16.9.9
Step 5
label-allocation-mode per-ce
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf)#
label-allocation-mode per-ce
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-105
Step 6
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 7
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)#
network 172.16.5.5/24
Step 8
aggregate-address address/mask-length
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)#
aggregate-address 10.0.0.0/24
Step 9
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)# exit
Step 10
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf)# neighbor
10.0.0.0
Step 11
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)#
remote-as 2
Step 12
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)#
password encrypted 234xyz
Step 13
ebgp-multihop [ttl-value]
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)#
ebgp-multihop 55
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-106
OL-17300-01
Step 14
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 15
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)#
site-of-origin 234:111
Step 16
as-override
Example:
Note
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)#
as-override
Step 17
allowas-in [as-occurrence-number]
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)#
allowas-in 5
Step 18
route-policy route-policy-name in
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)#
route-policy pe_ce_in_policy in
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-107
Step 19
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)#
route-policy pe_ce_out_policy out
Step 20
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)# e
nd
or
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr-af)#
commit
SUMMARY STEPS
1.
configure
2.
3.
vrf vrf-name
4.
5.
6.
exit
7.
neighbor ip-address
8.
dmz-link-bandwidth
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-108
OL-17300-01
9.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_a
Step 4
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Step 5
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)#
maximum-paths ebgp 3
exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)# exit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-109
Step 7
Command or Action
Purpose
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf)# neighbor
10.0.0.0
Step 8
dmz-link-bandwidth
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)#
dmz-link-bandwidth
Step 9
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)# end
or
RP/0/RSP0/CPU0:router(config-bgp-vrf-nbr)#
commit
SUMMARY STEPS
1.
configure
2.
3.
vrf vrf-name
4.
5.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-110
OL-17300-01
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
vrf vrf-name
Example:
RP/0/RSP0/CPU0:router(config-bgp)# vrf vrf_a
Step 4
Example:
RP/0/RSP0/CPU0:router(config-vrf)#
address-family ipv4 unicast
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-111
Step 5
Command or Action
Purpose
or
redistribute eigrp process-id [match {external
| internal}] [metric metric-value]
[route-policy route-policy-name]
or
redistribute isis process-id [level {1 |
1-inter-area | 2}] [metric metric-value]
[route-policy route-policy-name]
or
redistribute ospf process-id [match {external
[1 | 2] | internal | nssa-external [1 | 2]}]
[metric metric-value] [route-policy
route-policy-name]
or
redistribute rip [metric metric-value]
[route-policy route-policy-name]
or
redistribute static [metric metric-value]
[route-policy route-policy-name]
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)#
redistribute eigrp 23
Step 6
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)# end
or
RP/0/RSP0/CPU0:router(config-bgp-vrf-af)#
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-112
OL-17300-01
Note
If a keychain is configured for a neighbor group or a session group, a neighbor using the group inherits
the keychain. Values of commands configured specifically for a neighbor override inherited values.
SUMMARY STEPS
1.
configure
2.
3.
neighbor ip-address
4.
remote-as as-number
5.
keychain name
6.
end
or
commit
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 120
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#
remote-as 2002
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-113
Step 5
Command or Action
Purpose
keychain name
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# keychain
kych_a
Step 6
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr)# commit
SUMMARY STEPS
1.
configure
2.
3.
neighbor ip-address
4.
shutdown
5.
end
or
commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-114
OL-17300-01
DETAILED STEPS
Step 1
Command or Action
Purpose
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 127
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 4
shutdown
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# shutdown
Step 5
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# end
or
RP/0/RSP0/CPU0:router(config-bgp-nbr)# commit
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-115
SUMMARY STEPS
1.
2.
clear bgp {ipv4 {unicast | multicast | all | tunnel} | ipv6 unicast | all {unicast | multicast | all |
tunnel} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 unicast | ipv6 unicast } {* | ip-address | as
as-number | external} soft [in [prefix-filter] | out]
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# show bgp neighbors
Step 2
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast
10.0.0.1 soft in
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-116
OL-17300-01
SUMMARY STEPS
1.
2.
clear bgp {ipv4 {unicast | multicast | all | tunnel} | ipv6 unicast | all {unicast | multicast | all |
tunnel} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 unicast | ipv6 unicast } {* | ip-address | as
as-number | external} soft [in [prefix-filter] | out]
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# show bgp neighbors
Step 2
SUMMARY STEPS
1.
clear bgp {ipv4 {unicast | multicast | all | tunnel} | ipv6 unicast | all {unicast | multicast | all |
tunnel} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 unicast | ipv6 unicast } {* | ip-address | as
as-number | external} soft [in [prefix-filter] | out]
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-117
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4 unicast
10.0.0.3
SUMMARY STEPS
1.
clear bgp {ipv4 {unicast | multicast | all | tunnel} | ipv6 unicast | all {unicast | multicast | all |
tunnel} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 unicast | ipv6 unicast } ip-address
2.
3.
clear bgp *
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-118
OL-17300-01
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# clear bgp ipv4
172.20.1.1
Step 2
Example:
RP/0/RSP0/CPU0:router# clear bgp external
Step 3
clear bgp *
Example:
RP/0/RSP0/CPU0:router# clear bgp *
SUMMARY STEPS
1.
2.
3.
4.
show bgp
5.
6.
7.
8.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-119
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# show bgp cidr-only
Step 2
Example:
RP/0/RSP0/CPU0:router# show bgp community
1081:5 exact-match
Step 3
Example:
RP/0/RSP0/CPU0:router# show bgp regexp "^3 "
Step 4
show bgp
Example:
RP/0/RSP0/CPU0:router# show bgp
Step 5
Example:
RP/0/RSP0/CPU0:router# show bgp neighbors
10.0.101.1
Step 6
Example:
RP/0/RSP0/CPU0:router# show bgp paths
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-120
OL-17300-01
Step 7
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# show bgp neighbor-group
group_1 configuration
Step 8
Example:
RP/0/RSP0/CPU0:router# show bgp summary
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
7.
8.
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# show bgp process
Step 2
Example:
RP/0/RSP0/CPU0:router# show bgp ipv4 unicast
summary
Step 3
Example:
RP/0/RSP0/CPU0:router# show bgp vpnv4 unicast
summary
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-121
Step 4
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# show bgp vrf vrf_A
Step 5
Example:
RP/0/RSP0/CPU0:router# show bgp processes
detail
Step 6
Example:
RP/0/RSP0/CPU0:router# show bgp summary
Step 7
Example:
RP/0/RSP0/CPU0:router# show placement program
bgp
Step 8
Example:
RP/0/RSP0/CPU0:router# show placement program
brib
SUMMARY STEPS
1.
show bgp [ipv4 {unicast | multicast | all | tunnel} | ipv6 unicast | all {unicast | multicast | all |
tunnel} | vpnv4 unicast | vrf {vrf-name | all} {ipv4 unicast } | ipv6 unicast}] update-group
[neighbor ip-address | process-id.index [summary | performance-statistics]]
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-122
OL-17300-01
DETAILED STEPS
Step 1
Command or Action
Purpose
Example:
RP/0/RSP0/CPU0:router# show bgp update-group
0.0
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-123
else
drop
endif
end-policy
route-policy set_next_hop_agg_v6
set next-hop 2003::121
end-policy
route-policy set_next_hop_static_v6
if (destination in static) then
set next-hop 2011::121
else
drop
endif
end-policy
router bgp 65000
bgp fast-external-fallover disable
bgp confederation peers
65001
65002
bgp confederation identifier 1
bgp router-id 1.1.1.1
address-family ipv4 unicast
aggregate-address 10.2.0.0/24 route-policy set_next_hop_agg_v4
aggregate-address 10.3.0.0/24
redistribute static route-policy set_next_hop_static_v4
address-family ipv4 multicast
aggregate-address 10.2.0.0/24 route-policy set_next_hop_agg_v4
aggregate-address 10.3.0.0/24
redistribute static route-policy set_next_hop_static_v4
address-family ipv6 unicast
aggregate-address 2012::/64 route-policy set_next_hop_agg_v6
aggregate-address 2013::/64
redistribute static route-policy set_next_hop_static_v6
address-family ipv6 multicast
aggregate-address 2012::/64 route-policy set_next_hop_agg_v6
aggregate-address 2013::/64
redistribute static route-policy set_next_hop_static_v6
neighbor 10.0.101.60
remote-as 65000
address-family ipv4 unicast
address-family ipv4 multicast
neighbor 10.0.101.61
remote-as 65000
address-family ipv4 unicast
address-family ipv4 multicast
neighbor 10.0.101.62
remote-as 3
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
address-family ipv4 multicast
route-policy pass-all in
route-policy pass-all out
neighbor 10.0.101.64
remote-as 5
update-source Loopback0
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
address-family ipv4 multicast
route-policy pass-all in
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-124
OL-17300-01
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-125
In a BGP speaker in autonomous system 6002, the peers from autonomous systems 6001 and 6003 are
configured as special eBGP peers. Peer 171.17.70.1 is a normal iBGP peer, and peer 199.99.99.2 is a
normal eBGP peer from autonomous system 700.
router bgp 6002
bgp confederation identifier 666
bgp confederation peers
6001
6003
exit
address-family ipv4 unicast
neighbor 171.17.70.1
remote-as 6002
exit
address-family ipv4 unicast
neighbor 171.19.232.57
remote-as 6001
exit
address-family ipv4 unicast
neighbor 171.19.232.56
remote-as 6003
exit
address-family ipv4 unicast
neighbor 171.19.99.2
remote-as 700
exit
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-126
OL-17300-01
In a BGP speaker in autonomous system 6003, the peers from autonomous systems 6001 and 6002 are
configured as special eBGP peers. Peer 192.168.200.200 is a normal eBGP peer from autonomous
system 701.
router bgp 6003
bgp confederation identifier 666
bgp confederation peers
6001
6002
exit
address-family ipv4 unicast
neighbor 171.19.232.57
remote-as 6001
exit
address-family ipv4 unicast
neighbor 171.19.232.55
remote-as 6002
exit
address-family ipv4 unicast
neighbor 192.168.200.200
remote-as 701
exit
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
The following is a part of the configuration from the BGP speaker 192.168.200.205 from autonomous
system 701 in the same example. Neighbor 171.16.232.56 is configured as a normal eBGP speaker from
autonomous system 666. The internal division of the autonomous system into multiple autonomous
systems is not known to the peers external to the confederation.
router bgp 701
address-family ipv4 unicast
neighbor 172.16.232.56
remote-as 666
exit
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
exit
address-family ipv4 unicast
neighbor 192.168.200.205
remote-as 701
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-127
Where to Go Next
For detailed information about BGP commands, see Cisco ASR 9000 Series
Aggregation Services Router Routing Command Reference document.
Additional References
The following sections provide references related to implementing BGP for Cisco IOS XR software.
Related Documents
Related Topic
Document Title
BGP commands: complete command syntax, command Cisco ASR 9000 Series Aggregation Services Router Routing
modes, command history, defaults, usage guidelines,
Command Reference
and examples
Cisco Express Forwarding (CEF) commands: complete Cisco ASR 9000 Series Aggregation Services Router IP Addresses
command syntax, command modes, command history, and Services Command Reference
defaults, usage guidelines, and examples
MPLS VPN configuration information.
Task ID information.
Standards
Standards
Title
draft-bonica-tcp-auth-05.txt
draft-ietf-idr-bgp4-26.txt
draft-ietf-idr-bgp4-mib-15.txt
draft-ietf-idr-cease-subcode-05.txt
draft-ietf-idr-avoid-transition-00.txt
draft-ietf-idr-as4bytes-12.txt
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-128
OL-17300-01
MIBs
MIBs
MIBs Link
To locate and download MIBs using Cisco IOS XR software, use the
Cisco MIB Locator found at the following URL and choose a
platform under the Cisco Access Products menu:
http://cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
RFCs
RFCs
Title
RFC 1700
Assigned Numbers
RFC 1997
RFC 2385
RFC 2439
RFC 2545
RFC 2796
RFC 2858
RFC 2918
RFC 3065
RFC 3392
RFC 4271
RFC 4364
RFC 4724
Technical Assistance
Description
Link
http://www.cisco.com/techsupport
The Cisco Technical Support website contains
thousands of pages of searchable technical content,
including links to products, technologies, solutions,
technical tips, and tools. Registered Cisco.com users
can log in from this page to access even more content.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
OL-17300-01
RC-129
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide
RC-130
OL-17300-01