Cisco Systems 1000 Series Network Router User Manual


 
16-12
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
OL-16506-17
Chapter 16 Configuring MPLS Layer 2 VPNs
Virtual Private LAN Services
6. forward permit l2protocol all
7. neighbor ip-address vc-id {encapsulation mpls |pw-class pw-class-name}
DETAILED STEPS
Verifying an R-L2GP Configuration
The following examples show how to use the show commands to verify an R-L2GP configuration:
Router# show spanning-tree pseudo-information 46 configuration
remote_id 53
mst_region_id 0, port_count 2, update_flag 0x0
mrecord 0x3AF841EC, mrec_count 3:
msti 0: root_id 32768.0000.0000.0001, root_cost 0, update_flag 0x0
msti 1: root_id 32769.0000.0000.0002, root_cost 1, update_flag 0x0
Command Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password, if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
l2 vfi vfi-name manual
Example:
Router(config)# l2 vfi vfitest1 manual
Creates a Layer 2 Virtual Forwarding Instance (VFI) and
enters the Layer 2 VFI manual configuration submode.
Step 4
vpn id vpn_id
Example:
Router(config-vfi)# vpn id 303
Sets or updates a VPN ID on a VPN routing and
forwarding (VRF) instance.
Step 5
bridge-domain bridge_id
Example:
Router(config-vfi)# bridge-domain 100
Binds a service instance to a bridge domain instance.
Step 6
forward permit l2protocol all
Example:
Router(config-vfi)# forward permit l2protocol all
Defines the VPLS pseudowire that is used to transport
bridge protocol data unit (BPDU) information between
two network provider edge (N-PE) routers.
Step 7
neighbor ip-address vc-id {encapsulation mpls
|pw-class pw-class-name}
Example:
Router(config-vfi)# neighbor 10.10.10.10 1
encapsulation mpls
Specifies the routers that should form a point-to-point
Layer 2 virtual forwarding interface (VFI) connection.