Руководство Администратора для Cisco Cisco Packet Data Gateway (PDG)
BGP MPLS VPNs
▀ VPN-Related CLI Commands
▄ Cisco ASR 5500 System Administration Guide
270
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 37. 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.
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.
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 }
vrf_name | vpnv4 }
Enables the exchange of IPv4 VRF routing information. There is a
different mode for each address-family.
different mode for each address-family.
BGP Configuration
Mode
Mode
address-family { ipv6 vrf
vrf_name | vpnv6 }
vrf_name | vpnv6 }
Configures a VPNv6 address family and IPv6 VRF routing in BGP.
BGP Configuration
Mode
Mode
ip vrf vrf_name
Adds a VRF to BGP and switches to the VRF Configuration mode
to allow configuration of BGP attributes for the VRF.
to allow configuration of BGP attributes for the VRF.