Cisco Cisco Packet Data Gateway (PDG)
BGP MPLS VPNs
▀ VPN-Related CLI Commands
▄ ASR 5000 System Administration Guide, StarOS Release 16
306
VPN-Related CLI Commands
VPN-related features and functions are supported across several CLI command modes. The following tables identify
commands associated with configuration and monitoring of VPN-related functions.
commands associated with configuration and monitoring of VPN-related functions.
For detailed information regarding the use of the commands listed below, see the Command Line Interface Reference.
Table 40.
VPN-Related Configuration Commands
CLI Mode
Command
Description
BGP Address-
Family (IPv4/IPv6)
Configuration
Mode
Family (IPv4/IPv6)
Configuration
Mode
neighbor <ip_address> activate
Enables the exchange of routing information with a peer router.
BGP Address-
Family (IPv4/IPv6)
Configuration
Mode
Family (IPv4/IPv6)
Configuration
Mode
neighbor <ip_address> send
community { both | extended |
standard }
community { both | extended |
standard }
Sends the community attributes to a peer router (neighbor).
BGP Address-
Family (IPv4/IPv6)
Configuration
Mode
Family (IPv4/IPv6)
Configuration
Mode
redistribute connected
Redistributes routes into BGP from another protocol as BGP
neighbors.
neighbors.
BGP Address-
Family (VPNv4)
Configuration
Mode
Family (VPNv4)
Configuration
Mode
neighbor <ip_address> activate
Enables the exchange of routing information with a peer router.
BGP Address-
Family (VPNv4)
Configuration
Mode
Family (VPNv4)
Configuration
Mode
neighbor <ip_address> send
community { both | extended |
standard }
community { both | extended |
standard }
Sends the extended-community attribute to a peer router. In
VPN, route-distinguisher and route-target are encoded in the
BGP extended-community. This command enables sending of
BGP routes with extended community to a neighbor.
VPN, route-distinguisher and route-target are encoded in the
BGP extended-community. This command enables sending of
BGP routes with extended community to a neighbor.
BGP Address-
Family (VRF)
Configuration
Mode
Family (VRF)
Configuration
Mode
neighbor <ip_address> activate
Enables the exchange of routing information with a peer router.
BGP Address-
Family (VRF)
Configuration
Mode
Family (VRF)
Configuration
Mode
neighbor <ip_address> send
community { both | extended |
standard }
community { both | extended |
standard }
Sends the extended-community attribute to a peer router. In
VPN, route-distinguisher and route-target are encoded in the
BGP extended-community. This command enables sending of
BGP routes with extended community to a neighbor.
VPN, route-distinguisher and route-target are encoded in the
BGP extended-community. This command enables sending of
BGP routes with extended community to a neighbor.
BGP Address-
Family (VRF)
Configuration
Mode
Family (VRF)
Configuration
Mode
redistribute connected
Redistributes routes into BGP from another protocol as BGP
neighbors.
neighbors.
BGP Configuration
Mode
Mode
address-family { ipv4 vrf <vrf_name>
| vpnv4 }
| vpnv4 }
Enables the exchange of IPv4 VRF routing information. There is
a different mode for each address-family.
a different mode for each address-family.