PurposeCommand or Action
Defines BGP parameters for PE to CE
routing sessions, and enter VRF
address-family mode.
address-family ipv4 vrf vrf-name
Example:
Device(config-router)# address-family ipv4
vrf vpn1
Step 6
Defines a BGP session between PE and CE
routers.
neighbor address remote-as as-number
Example:
Device(config-router)# neighbor 10.1.1.2
remote-as 2
Step 7
Activates the advertisement of the IPv4
address family.
neighbor address activate
Example:
Device(config-router)# neighbor 10.2.1.1
activate
Step 8
Returns to privileged EXEC mode.end
Example:
Device(config-router)# end
Step 9
Verifies BGP configuration.show ip bgp [ipv4] [neighbors]
Example:
Device# show ip bgp ipv4 neighbors
Step 10
(Optional) Saves your entries in the
configuration file.
copy running-config startup-config
Example:
Device# copy running-config startup-config
Step 11
Monitoring Multi-VRF CE
Table 19: Commands for Displaying Multi-VRF CE Information
Displays routing protocol information
associated with a VRF.
show ip protocols vrf vrf-name
Displays IP routing table information
associated with a VRF.
show ip route vrf vrf-name [connected] [protocol
[as-number]] [list] [mobile] [odr] [profile] [static] [summary]
[supernets-only]
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
175
Configuring IP Unicast Routing
Monitoring Multi-VRF CE