Command Reference Guide
BGP AF Neighbor Command Set
Before they can be assigned to a BGP AF neighbor, prefix lists must first be defined using the ip prefix-list
<name> seq <number> or ipv6 prefix-list <name> seq <number> command. Refer to the command
ip
prefix-list <name> seq <number> on page 1067
or
ipv6 prefix-list <name> seq <number> on page 1222
for
more information.
Usage Examples
The following example uses the MyList prefix list to filter all BGP updates received by the IPv4 BGP AF
neighbor on the default VRF instance:
(config)#router bgp 100
(config-bgp)#address-family ipv4
(config-bgp-ipv4)#neighbor 192.22.73.101
(config-bgp-ipv4-neighbor)#prefix-list MyList in
The following example uses the MyList prefix list to filter all BGP updates received by the IPv4 BGP AF
neighbor on the nondefault VRF instance named RED1:
(config)#vrf RED1 route-distinguisher ip 192.17.250.24:33
(config)#router bgp 100
(config-bgp)#vrf RED1
(config-bgp-vrf)#address-family ipv4
(config-bgp-vrf-ipv4)#neighbor 10.20.1.1
(config-bgp-vrf-ipv4-neighbor)#prefix-list MyList in
60000CRG0-35E
Copyright © 2012 ADTRAN, Inc.
2928