5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1024
•
“maximum-prefix (BGP Router Config)”
•
“maximum-prefix (IPv6 Address Family Config)”
•
“neighbor default-originate (BGP Router Config)”
•
“neighbor filter-list (BGP Router Config)”
•
“neighbor maximum-prefix (BGP Router Config)”
•
•
“neighbor route-map (BGP Router Config)”
•
“neighbor route-map (IPv6 Address Family Config)”
•
“redistribute (IPv6 Address Family Config)”
•
address-family {ipv4 | ipv6}
Parameters
ipv4
Configure policy parameters to be applied to IPv4 routes.
ipv6
Configure policy parameters to be applied to IPv6 routes.
Default
The default is None.
Command Mode
Privileged EXEC
Example
In the following example of the command, the peer template AGGR sets the keepalive timer to 3 seconds,
the hold timer to 9 seconds, allows communities to be sent for both IPv4 and lPv6 routes, and configures
different inbound and outbound route maps for IPv4 and IPv6. Two neighbors, 172.20.1.2 and 172.20.2.2,
inherit these parameters from the template.
(R1)(ConFig)#rourer bgp 65000
(R1)(Config-router)#neighbor 172.20.1.2 remote-as 65001
(R1)(Config-router)#neighbor 172.20.2.2 remote-as 65001
(R1)(Config-router)#template peer AGGR
(R1)(Config-rtr-tmplt)#timers 3 9
(R1)(Config-rtr-tmplt)#address-family ipv4
(R1)(Config-rtr-tmplt-af)#send-community
(R1)(Config-rtr-tmplt-af)#route-map RM4-IN in
(R1)(Config-rtr-tmplt-af)#route-map RM4-OUT out
(R1)(Config-rtr-tmplt-af)#exit
(R1)(Config-rtr-tmplt)#address-family ipv6
(R1)(Config-rtr-tmplt-af)#send-community
(R1)(Config-rtr-tmplt-af)#route-map RM6-IN in
(R1)(Config-rtr-tmplt-af)#route-map RM6-OUT out
(R1)(Config-rtr-tmplt-af)#exit
(R1)(Config-rtr-tmplt)#exit
(R1)(Config-router)#neighbor 172.20.1.2 inherit peer AGGR
(R1)(Config-router)#neighbor 172.20.2.2 inherit peer AGGR
(R1)(Config-router)#address-family ipv6