Example:
RP/0/RSP0/CPU0:router(config)# l2vpn
Enters Layer 2 VPN configuration mode.
Step 3 pw-class class-name
Example:
RP/0/RSP0/CPU0:router(config-l2vpn)# pw-class class1
Enters pseudowire class submode, allowing you to define a pseudowire class template.
Step 4 encapsulation mpls
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-pwc)# encapsulation mpls
Configures the pseudowire encapsulation to MPLS.
Step 5 ipv4 source source-address
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-pwc-mpls)# ipv4 source 10.1.1.1
Sets the local source IPv4 address.
Step 6 Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Configuring PWHE Interface Parameters
Perform this task to configure PWHE interface parameters.
SUMMARY STEPS
1. configure
2. interface pw-ether id (or) interface pw-iw id
3. ipv4 address ip-address subnet-mask (or) (Only PW-Ether) ipv6 address ipv6-prefix/prefix-length
4. attach generic-interface-list interface_list_name
5. l2overhead bytes
6. load-interval seconds
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
298
Implementing Multipoint Layer 2 Services
Configuring PWHE Interface Parameters