PurposeCommand or Action
Specifies either an IPv4 or IPv6 address family unicast and
enters address family configuration submode.
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
address-family ipv4 unicast
Step 3
To see a list of all the possible keywords and arguments
for this command, use the CLI help (?).
Exits the current configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Step 4
Places the router in neighbor group configuration mode.
neighbor-group name
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
neighbor-group nbr-grp-A
Step 5
Creates a neighbor and assigns a remote autonomous system
number to it.
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)#
remote-as 2002
Step 6
Specifies either an IPv4 or IPv6 address family unicast and
enters address family configuration submode.
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)#
address-family ipv4 unicast
Step 7
To see a list of all the possible keywords and arguments
for this command, use the CLI help (?).
(Optional) Applies the specified policy to inbound IPv4
unicast routes.
route-policy route-policy-name { in | out }
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)#
route-policy drop-as-1234 in
Step 8
Exits the current configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp-af)#
exit
Step 9
Exits the current configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbrgrp)# exit
Step 10
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
108
Implementing BGP
Configuring a BGP Neighbor Group and Neighbors