Cisco ios xr system monitoring command reference (433 pages)
Summary of Contents for Cisco XR 12000 Series
Page 1
Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x First Published: 2012-12-01 Last Modified: 2013-05-01 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000...
Page 2
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's New in Cisco Product Documentation RSS feed. RSS feeds are a free service. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 8
Preface Obtaining Documentation and Submitting a Service Request Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x viii OL-28460-01...
The following example shows how to configure L2TP authentication for the specified L2TP class name “cisco”: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2tp-class cisco RP/0/0/CPU0:router(config-l2tp-class)# authentication Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 13
(L2TP), on page 76 Configures the receive window size for the L2TP server. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 17
(L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. xconnect group, on page 151 Configures cross-connect groups. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to clear all L2TP state machine transition counters: RP/0/0/CPU0:router(config-l2vpn-xc-p2p-pw-backup)## clear l2tp counters control session fsm state transition Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 19
Clears L2TP control counters for a tunnel. clear l2vpn counters l2tp, on page 17 Clears L2VPN statistical information, such as, packets dropped. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router# clear l2tp counters control tunnel all Related Commands Command Description clear l2tp counters control session, on page 10 Clears L2TP control counters for a session. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 21
Command Description clear l2vpn counters l2tp, on page 17 Clears L2VPN statistical information, such as, packets dropped. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Task ID Operations l2vpn read, write Examples The following example shows how to clear all L2TP tunnels: RP/0/0/CPU0:router# clear l2tp tunnel all Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 23
Clears L2TP control counters for a session. clear l2tp counters control tunnel, on page 12 Clears L2TP control counters for a tunnel. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Description show l2vpn collaborators, on page 100 Displays information about the state of the interprocess communications connections between l2vpn_mgr and other processes. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Task ID Operations l2vpn read, write Examples The following example shows how to clear all L2TP counters: RP/0/0/CPU0:router# clear l2vpn counters l2tp Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 26
Description show l2vpn collaborators, on page 100 Displays information about the state of the interprocess communications connections between l2vpn_mgr and other processes. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to clear the MAC withdrawal statistics over all the bridges: RP/0/0/CPU0:router# clear l2vpn counters bridge mac-withdrawal all Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router# clear l2vpn forwarding counters Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Task ID Task ID Operations l2vpn read, write, execute Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 30
RP/0/0/CPU0:router# clear l2vpn forwarding mac-address location 1/1/1 Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router# clear l2vpn forwarding message counters location 0/6/CPU0 Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router# clear l2vpn forwarding table location 1/2/3/5 Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# description S-PE1 Related Commands Command Description description (XCONNECT), on page 26 Specifies the description of an l2vpn cross connect. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config-l2vpn-xc)# RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# description MS-PW from T-PE1 to T-PE2 Related Commands Command Description description (GLOBAL), on page 25 Specifies multisegment pseudowire global description. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
You can safely remove the old secret after you update all affected peer nodes with a new secret, Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 36
(L2TP), on page 76 Configures the receive window size for the L2TP server. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config)# l2tp-class cisco RP/0/0/CPU0:router(config-l2tp-class)# hello-interval 22 Related Commands Command Description authentication (L2TP), on page 4 Enables L2TP authentication for a specified L2TP class name. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 38
(L2TP), on page 76 Configures the receive window size for the L2TP server. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Configures the hello-interval value for L2TP (duration between control channel hello packets). hostname (L2TP), on page 33 Defines the name used in the L2TP hostname AVP. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 40
(L2TP), on page 76 Configures the receive window size for the L2TP server. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config)# l2tp-class cisco RP/0/0/CPU0:router(config-l2tp-class)# hostname cisco Related Commands Command Description authentication (L2TP), on page 4 Enables L2TP authentication for a specified L2TP class name. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 42
(L2TP), on page 76 Configures the receive window size for the L2TP server. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 44
RP/0/0/CPU0:router(config-l2vpn-xc)# p2p p001 RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# interface TenGigE 1/1/1/1 Related Commands Command Description p2p, on page 74 Enters p2p configuration submode to configure point-to-point cross-connects. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
This example shows how to configure an ethernet interface: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# Xconnect group grp1 RP/0/0/CPU0:router(config-l2vpn-xc)# p2p AC1_to_PW1 RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# interworking ethernet RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 47
Command Description p2p, on page 74 Enters p2p configuration submode to configure point-to-point cross-connects. interworking ipv4, on page 37 Configures IPv4 interworking. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
(in this case, the word “cisco” is used): RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2tp-class cisco RP/0/0/CPU0:router(config-l2tp-class)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Enables L2TP authentication for a specified L2TP class name. hello-interval (L2TP), on page 29 Configures the hello-interval value for L2TP (duration between control channel hello packets). Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 50
(L2TP), on page 76 Configures the receive window size for the L2TP server. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
After an interface or connection is set to Layer 2 switched, commands such as ipv4 address are not usable. Note If you configure routing commands on the interface, l2transport is rejected. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 52
RP/0/0/CPU0:router(config-if)# encapsulation dot1q 30 second-dot1q do1q vlan 999 any Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to configure L2VPN cell packing parameters: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0 RP/0/0/CPU0:router(config-if)# l2transport cell-packing 33 2 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 54
Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to propagate remote link status changes: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# interface GigabitEthernet 0/0/0/0 RP/0/0/CPU0:router(config-if)# l2transport propagate remote remote-status Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 56
Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Task ID Operations l2vpn read, write Examples The following example shows how to enter L2VPN configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 58
Related Commands Command Description show l2vpn forwarding, on page 105 Displays forwarding information from the layer2_fib manager on the line card. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to switch a primary pseudowire to a backup pseudowire: RP/0/0/CPU0:router# l2vpn switchover xconnect neighbor 10.1.1.1 pw-id 2 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 60
(L2VPN), on page 8 Specifies how long a backup pseudowire should wait before resuming operation after the primary pseudowire goes down. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Operations l2vpn read, write Examples The following example shows how to enable cross-connect logging: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# logging pseudowire status Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 62
Virtual Private Network Commands logging (l2vpn) Related Commands Command Description l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Operations l2vpn read, write Examples The following example shows how to enable non-stop routing logging: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# logging nsr Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 64
Virtual Private Network Commands logging nsr Related Commands Command Description l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. A cross-connect may have two segments: Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 68
(L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. xconnect group, on page 151 Configures cross-connect groups. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Task ID Operation l2vpn read, write Examples The following example shows how to configure non-stop routing: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# nsr Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 70
Virtual Private Network Commands nsr (L2VPN) Related Commands Command Description l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to define an unencrypted password using the word “cisco” for control channel authentication: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2tp-class sanjose RP/0/0/CPU0:router(config-l2tp-class)# password 0 cisco Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 72
(L2TP), on page 76 Configures the receive window size for the L2TP server. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to define a simple pseudowire class template: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# xconnect group l1vpn RP/0/0/CPU0:router(config-l2vpn-xc)# p2p rtrA_to_rtrB RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# neighbor 10.1.1.2 pw-id 1000 RP/0/0/CPU0:router(config-l2vpn-xc-p2p-pw)# pw-class kanata01 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 74
Virtual Private Network Commands pw-class (L2VPN) Related Commands Command Description p2p, on page 74 Enters p2p configuration submode to configure point-to-point cross-connects. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Configures the Time-to-live (TTL) value. Range is 1 to 255. Command Default None Command Modes L2VPN pseudowire class configuration Command History Release Modification Release 3.7.0 This command was introduced. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 76
(L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. pw-class encapsulation mpls, on page 69 Configures MPLS pseudowire encapsulation. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Ethernet or VLAN. vccv none Enables or disables the VCCV verification type. Command Default None Command Modes L2VPN pseudowire class configuration Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 78
(L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. pw-class encapsulation l2tpv3, on page 67 Configures L2TPv3 pseudowire encapsulation. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
This example shows the sample output of a PWHE Ethernet interface configuration in global configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# interface pw-ether 78 RP/0/0/CPU0:router(config-if)# attach generic-interface-list interfacelist1 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 80
RP/0/0/CPU0:router(config)# interface pw-ether 78 RP/0/0/CPU0:router(config-if)# bandwidth 256 Related Commands Command Description p2p, on page 74 Enters p2p configuration submode to configure point-to-point cross-connects. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config-l2vpn)# pw-grouping Related Commands Command Description l2vpn, on page 49 Enters L2VPN configuration mode. show l2vpn, on page 95 Displays L2VPN information Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows a point-to-point cross-connect configuration (including pseudowire configuration): RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# xconnect group group 1 RP/0/0/CPU0:router(config-l2vpn-xc)# p2p xc1 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 83
Virtual Private Network Commands Related Commands Command Description interface (p2p), on page 35 Configures an attachment circuit. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config)# l2tp-class cisco RP/0/0/CPU0:router(config-l2tp-class)# receive-window 10 Related Commands Command Description authentication (L2TP), on page 4 Enables L2TP authentication for a specified L2TP class name. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 85
Defines the password and password encryption type for control channel authentication. retransmit (L2TP), on page 78 Configures retransmit retry and timeout values. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 87
Defines the password and password encryption type for control channel authentication. receive-window (L2TP), on page 76 Configures the receive window size for the L2TP server. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to configure rollover times for a tunnel-template: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# tunnel-template kanata_9 RP/0/0/CPU0:router(config-tuntem) encapsulation l2tp RP/0/0/CPU0:router(config-tunencap-l2tp)# rollover Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 89
Virtual Private Network Commands rollover (L3VPN) Related Commands Command Description interface (p2p), on page 35 Configures an attachment circuit. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
10 to 20 seconds of traffic. All L2VPN configurations can be deleted using the no l2vpn command. Note Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 91
RP/0/0/CPU0:router(config-l2vpn-encap-mpls)# sequencing both Related Commands Command Description pw-class (L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Bundle-Ether2 - items pending 0, downloaded to FIB GigabitEthernet0/0/0/1 - items pending 0, downloaded to FIB Number of items: 400 List is downloaded to FIB Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 93
Number of items: 0 List is not downloaded to FIB Related Commands Command Description l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
60 (no) hostname (no) password (no) accounting (no) security crypto-profile (no) ip vrf receive-window 888 retransmit retries 15 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 95
Related Commands Command Description l2tp-class, on page 40 Enters L2TP class configuration mode where you can define an L2TP signaling template. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/RP00/CPU0:router(config-l2vpn)# LocID RemID TunID Pkts-In Pkts-Out Bytes-In Bytes-Out 22112 15584 14332 This table describes the significant fields shown in the display. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 97
Number of packets output in the session. Bytes-In Number of bytes input in the session. Bytes-Out Number of bytes output in the session. Related Commands Command Description #unique_79 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 99
Payload type is Ethernet, Name is GigabitEthernet0_2_0_1.101 Session vcid is 101 Circuit state is UP Local circuit state is UP Remote circuit state is UP Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 100
Virtual Private Network Commands show l2tp session Related Commands Command Description #unique_79 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config-l2vpn-encap-mpls)# show l2tp tunnel brief Tue Jun 10 12:46:04.421 UTC LocTunID RemTunID Remote Name State Vrf Name Remote Address Sessn L2TP Class/Count VPDN Group Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 102
Retransmit time distribution: 0 0 0 0 0 0 0 0 0 Control message authentication is disabled Related Commands Command Description show l2tp session, on page 90 Displays information about L2TP sessions. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Task ID Task ID Operations l2vpn read Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 106
Local PW Status: Up(0x0); Remote PW Status: Up(0x0) Peer FEC Failed: No LSP: Down Operational state: LDP session state: down TE tunnel transport: No VC in gr mode: No Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 107
12/13/2010 15:28:26 Connect Req 12/13/2010 15:28:26 Rewrite create 0x100000 12/13/2010 15:28:26 Got label 0x3e80 12/13/2010 15:28:26 Local Mtu 0x5e0 12/13/2010 15:28:26 Peer Up Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
This table describes the significant fields shown in the display. Table 6: show l2vpn collaborators Field Descriptions Field Description Name Abbreviated name of the task interacting with l2vpn_mgr. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 109
Related Commands Command Description clear l2vpn collaborators, on page 16 Clears the state change counters for L2VPN collaborators. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Displays multi-spanning tree mstp related forwarding information. Displays resource availability resource information in the layer2_fib manager. retry-list Displays retry list related information. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 114
Bridge MTU: 1500 bytes Number of bridge ports: 1 Number of MAC addresses: 0 Multi-spanning tree instance: 0 GigabitEthernet0/1/0/1.2, state: oper up Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 115
RP/0/0/CPU0:router# show l2vpn forwarding bridge detail location 0/0/CPU0 Bridge-domain name: pbb:pbb_core1, id: 10, state: up Type: pbb-core Number of associated pbb-edge BDs: 1 MAC learning: enabled Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 116
…. GigabitEthernet0/2/0/0.4, state: oper up RG-ID 1, active Number of MAC: 0 ….. Nbor 101.101.101.101 pw-id 5000 Backup Nbor 101.101.101.101 pw-id 5000 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 117
AC info: Base info: version=0xaabbcc11, flags=0x0, type=3, reserved=0 xcon_id=0xc000001, ifh= none, subifh= none, ac_id=0, ac_type=SPAN, ac_mtu=1500, iw_mode=none, adj_valid=FALSE, adj_addr none Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 118
Number of static macs: 5 Number of locally learned macs: 5 Number of remotely learned macs: 0 Number of total macs: 10 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 119
Virtual Private Network Commands show l2vpn forwarding Related Commands Command Description clear l2vpn forwarding counters, on page 20 Clears L2VPN forwarding counters. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows sample output for the show l2vpn forwarding l2tp command: RP/0/0/CPU0:router# show l2vpn forwarding l2tp disposition hardware location 0/3/1 Segment 1 Segment 2 ----------------------------------- Gi0/2/0/0 1 1.1.1.1 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 121
Virtual Private Network Commands show l2vpn forwarding l2tp Related Commands Command Description clear l2vpn forwarding counters, on page 20 Clears L2VPN forwarding counters. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
This example shows the sample output of the show l2vpn generic-interface-list detail command: RP/0/0/CPU0:router# show l2vpn generic-interface-list detail generic-interface-list: l1 (ID: 2, interfaces: 2) Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 123
(ID: 2, interfaces: 2) GigabitEthernet0/1/0/0 - items pending 2 GigabitEthernet0/1/0/1 - items pending 4 Number of items: 20 PW-Ether 1-10, 12-21 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Task ID Task ID Operations l2vpn read Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 125
Max number of ID mgr instances: 1 ID mgr instances in use: 1 Pool size: 65535 zombied IDs: 0 allocated IDs: 0 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
: Fri May 27 10:50:59 UTC 2016 (3d08h ago) IDT Done : Fri May 27 10:50:59 UTC 2016 (3d08h ago) Number of XIDs sent : Virtual AC: 0 MP2MP Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 127
Enters L2VPN configuration mode. nsr (L2VPN), on page 61 Configures non-stop routing. show l2vpn index, on page 116 Displays statistics about the index manager. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows sample output for the show l2vpn pw-class command: RP/0/0/CPU0:router# show l2vpn pw-class Name Encapsulation Protocol ------------------------- ---------- ---------- mplsclass_75 MPLS l2tp-dynamic L2TPv3 L2TPv3 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 131
Displays the encapsulation type. Protocol Displays the protocol type. Related Commands Command Description clear l2vpn forwarding counters, on page 20 Clears L2VPN forwarding counters. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
8: show l2vpn resource Command Field Descriptions, on page 126 Table 8: show l2vpn resource Command Field Descriptions Field Description Memory Displays memory status. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
(Optional) Displays AC information from the AC Manager database. type (Optional) Filters the following xconnect types: • ac-pw • locally switched Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 138
When configuring Ethernet Connectivity Fault Managment (CFM) over l2vpn cross-connect, the CFM Continuity Check Messages (CCM) packets are not accounted for in the cross-connect pseudowire packet counters displayed in this show command output. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 139
Create time: 20/11/2007 21:45:07 (00:49:18 ago) Last time status changed: 20/11/2007 21:45:11 (00:49:14 ago) Statistics: packet totals: receive 0 byte totals: receive 0 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 140
Create time: 20/11/2007 21:45:06 (00:53:31 ago) Last time status changed: 20/11/2007 22:38:14 (00:00:23 ago) Statistics: packet totals: receive 0 byte totals: receive 0 Backup PW: Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 141
PW class class1, XC ID 0x3000002 Encapsulation MPLS, protocol LDP PW type Ethernet VLAN, control word disabled, interworking none Sequencing not set ….. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 142
PW backup disable delay 0 sec Sequencing not set MPLS Local Remote ------------ ------------------------------ ----------------------------- Label 30006 16003 Group ID unassigned 0x5000400 Interface unknown GigabitEthernet0/4/0/2 1500 1500 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 143
16003 Group ID unassigned 0x5000400 Interface unknown GigabitEthernet0/4/0/2 1500 1500 Control word enabled enabled PW type Ethernet Ethernet VCCV CV type 0x2 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 144
Group g1, XC xc1, state is down; Interworking none AC:PW-Ether1, state is up Type PW-Ether Interface-list: interfacelist1 Replicate status: Gi0/2/0/1: success Gi0/3/0/1: pending Gi0/4/0/1: failed MTU 1500; interworking none Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 145
State of the cross-connect group: up (UP) or down (DN). Related Commands Command Description xconnect group, on page 151 Configures cross-connect groups. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
0 pkts The following example shows the output of the show tunnel-template test command for Remote PE Tunnel: RP/0/0/CPU0:router# show tunnel-template test Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 147
10750845295 bytes Cookie Mismatch: 0 pkts MTU Violation: 0 pkts Related Commands Command Description tunnel-template, on page 150 Enters tunnel-template configuration submode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 149
RP/0/0/CPU0:router(config-l2vpn-pwc-mpls)# switching-tlv hide RP/0/0/CPU0:router(config-l2vpn-pwc-mpls)# Related Commands Command Description pw-class (L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
This example shows how to specify a tag for a VLAN: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# xconnect group xc1 RP/0/0/CPU0:router(config-l2vpn-xc)#p2p grp1 RP/0/0/CPU0:router(config-l2vpn-xc-p2p)#neighbor 10.1.1.2 pw-id 78 RP/0/0/CPU0:router(config-l2vpn-xc-p2p-pw)#tag-impose vlan 8 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 151
Virtual Private Network Commands tag-impose Related Commands Command Description pw-class (L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router(config-l2tp-class)# timeout setup 400 Related Commands Command Description authentication (L2TP), on page 4 Enables L2TP authentication for a specified L2TP class name. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 155
90 Displays information about L2TP sessions. show l2tp tunnel, on page 93 Displays information about L2TP tunnels. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Task ID Operations l2vpn read, write Examples This example shows how to configure Ethernet transport mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# pw-class kanata01 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 157
RP/0/0/CPU0:router(config-l2vpn-encap-mpls)# transport-mode ethernet Related Commands Command Description pw-class (L2VPN), on page 65 Enters pseudowire class submode to define a pseudowire class template. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to enter tunnel-template configuration submode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# tunnel-template template_01 Related Commands Command Description xconnect group, on page 151 Configures cross-connect groups. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Examples The following example shows how to group all cross -connects for customer_atlantic: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# xconnect group customer_atlantic Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 160
Virtual Private Network Commands xconnect group Related Commands Command Description show l2vpn xconnect, on page 129 Displays brief information on configured cross-connects. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The configured action has no impact if the MAC limit has not been reached. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 164
(VPLS), on page 185 Specifies the type of notification that is sent when the number of learned MAC addresses exceeds the configured limit. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
120 seconds: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# mac RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac)# aging RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac-aging)# time 120 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 166
(VPLS), on page 218 Configures the maximum aging time. type (VPLS), on page 220 Configures the type for MAC address aging. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to configure a bridge domain: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 168
Creates a bridge group so that it can contain bridge domains and then to assign network interfaces to the bridge domain. l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Examples The following example shows that bridge group 1 is assigned: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 170
(VPLS), on page 159 Establishes a bridge domain, and enters L2VPN bridge group bridge domain configuration mode. l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to clear all the MAC addresses and to restart all the bridge domains on the router: RP/0/0/CPU0:router# clear l2vpn bridge-domain all Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 172
(VPLS), on Display information for the bridge ports such as attachment page 193 circuits and pseudowires for the specific bridge domains. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to disable flooding on the bridge domain called bar: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# flooding disable Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 174
Enters L2VPN configuration mode. mtu (VPLS), on page 181 Adjusts the maximum packet size or maximum transmission unit (MTU) size for the bridge domain. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to disable flooding on the bridge domain called bar: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# flooding unknown-unicast disable Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 176
Enters L2VPN configuration mode. mtu (VPLS), on page 181 Adjusts the maximum packet size or maximum transmission unit (MTU) size for the bridge domain. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
By default, an interface is not part of a bridge. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 178
Creates a bridge group so that it can contain bridge domains and then to assign network interfaces to the bridge domain. l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
SNMP trap are created. RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# mac Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 182
(VPLS), on page 185 Specifies the type of notification that is sent when the number of learned MAC addresses exceeds the configured limit. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to enter L2VPN bridge group bridge domain MAC configuration mode: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# mac RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 184
Adds static entries to the MAC address for filtering. withdraw (VPLS), on page 224 Disables MAC address withdrawal for a specified bridge domain Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows when the number of MAC address learned on the bridge reaches 5000 and the bridge stops learning but continues flooding: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# mac Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 186
(VPLS), on page 185 Specifies the type of notification that is sent when the number of learned MAC addresses exceeds the configured limit. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance. Ensure that both ends of the pseudowire have matching static labels. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 188
Configures the pseudowire class template name to use for the pseudowire. vfi (VPLS), on page 222 Configures virtual forwarding interface (VFI) parameters. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Operations l2vpn read, write Examples The following example specifies an MTU of 1000 bytes: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 190
Configures flooding for traffic at the bridge domain level or at the bridge port level. l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to configure an access pseudowire directly under a bridge domain in L2VPN bridge group bridge domain configuration mode: RP/0/0/CPU0:router# configure Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 192
Configures the static MAC address to associate a remote MAC address with a pseudowire or any other bridge interface. vfi (VPLS), on page 222 Configures virtual forwarding interface (VFI) parameters. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
A syslog message and an SNMP trap is generated. Alternatively, an SNMP trap is generated. Finally, no notification is generated. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 194
(VPLS), on page 177 Configures the specified action when the number of MAC addresses learned on a bridge is reached. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to disable MAC flush when the bridge port is nonfunctional: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# mac RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac)# port-down flush disable Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 196
(VPLS), on page 185 Specifies the type of notification that is sent when the number of learned MAC addresses exceeds the configured limit. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# vfi v1 RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi)# neighbor 10.1.1.2 pw-id 1000 RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi-pw)# pw-class canada Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 198
Adds an access pseudowire port to a bridge domain or a pseudowire to a bridge virtual forwarding interface (VFI). vfi (VPLS), on page 222 Configures virtual forwarding interface (VFI) parameters. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Unless pseudowire status TLV is explicitly enabled under L2VPN configuration, the default signaling Note method is Label Withdrawal. Task ID Task ID Operations l2vpn read, write Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 200
The following example shows how to enable pseudowire status signaling on configured pseudowires: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# pw-status RP/0/0/CPU0:router(config-l2vpn)# Related Commands Command Description l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
(Optional) Displays the filter for the pseudowire ID. The range is from 1 to 4294967295. (Optional) Displays the summary information for the bridge domain. summary Command Default None Command Modes EXEC mode Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 202
ACs: 2 (2 up), VFIs: 1, PWs: 0 (0 up), PBBs: 0 (0 up) List of ACs: AC: BVI1, state is up Type Routed-Interface MTU 1514; XC ID 0x80000001; interworking none BVI MAC address: Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 204
Bridge domain group name followed by the bridge domain name are displayed. ID assigned to this bridge domain is displayed. State Current state of the bridge domain is displayed. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 205
Control word disabled disabled PW type Ethernet Ethernet VCCV CV type 0x2 (LSP ping verification) (LSP ping verification) VCCV CC type 0x2 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 206
VCCV CC type 0x3 (control word) (control word) (router alert label) (router alert label) ------------ ------------------------------ ------------------------------ Create time: 25/06/2007 05:29:42 (2w0d ago) Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 207
Neighbor 1.1.1.1 pw-id 1, state: up, Static MAC addresses: 0 The following sample output shows the summary information for the bridge domain: RP/0/0/CPU0:router# show l2vpn bridge-domain summary Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 208
Related Commands Command Description clear l2vpn bridge-domain (VPLS), on page 163 Clears the MAC addresses and restarts the bridge domains on the router. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The detail keyword displays detailed information on the attachment circuits and pseudowires, and is meant for field investigation by a specialized Cisco engineer. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 210
DHCPv4 snooping: profile not known on this node Bridge MTU: 1500 bytes Number of bridge ports: 2 Number of MAC addresses: 65536 Multi-spanning tree instance: 0 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 211
================ GSR HW Information ================ ----------------------------------------------- BP-TX-AC rewrite details ----------------------------------------------- BP is local ----------------------------------------------- BP L2 Uidb Details ----------------------------------------------- l2fwd_enabled: true plim_enabled: true l2fwd_type: l2_ac_type: xconn_id: Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 212
The following sample output shows the bridge-domain information for the specified location: RP/0/0/CPU0:router# show l2vpn forwarding bridge-domain g1:bd1 location 0/1/CPU0 Bridge-Domain Name Ports addr Flooding Learning State Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 213
Related Commands Command Description clear l2vpn bridge-domain (VPLS), on page 163 Clears the MAC addresses and restarts the bridge domains on the router. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Displays the bridge-domain information for the MAC address of the specified location. The node-id argument is entered in the rack/slot/module notation. Command Default None Command Modes EXEC Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 217
Command Description show l2vpn forwarding bridge-domain (VPLS), on Displays information on the bridge that is used by the page 201 forwarding layer. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to disable the bridge domain named bar: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# shutdown Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 219
Creates a bridge group so that it can contain bridge domains and then to assign network interfaces to the bridge domain. l2vpn, on page 49 Enters L2VPN configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Related Commands Command Description bridge-domain (VPLS), on page 159 Establishes a bridge domain, and enters L2VPN bridge group bridge domain configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 221
(VPLS), on page 183 Adds an access pseudowire port to a bridge domain or a pseudowire to a bridge virtual forwarding interface (VFI). Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
This entry causes all packets with destination MAC address 1.1.1 to be dropped. configure RP/0/0/CPU0:router# l2vpn RP/0/0/CPU0:router(config)# RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# mac RP/0/0/CPU0:router(config-l2vpn-bg-bd-mac)# static-address 1.1.1 drop Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 223
49 Enters L2VPN configuration mode. mac (VPLS), on page 175 Enters L2VPN bridge group bridge domain MAC configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# vfi model RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi)# neighbor 10.1.1.2 pw-id 1000 RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi-pw)# static-mac-address 1.1.1 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 225
Adds an access pseudowire port to a bridge domain or a pseudowire to a bridge virtual forwarding interface (VFI). vfi (VPLS), on page 222 Configures virtual forwarding interface (VFI) parameters. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
MAC address, the MAC address is removed form the forwarding table. RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# mac Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 227
(VPLS), on page 175 Enters L2VPN bridge group bridge domain MAC configuration mode. type (VPLS), on page 220 Configures the type for MAC address aging. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to configure the MAC address aging type to absolute for every member of the bridge domain named bar: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 229
(VPLS), on page 175 Enters L2VPN bridge group bridge domain MAC configuration mode. time (VPLS), on page 218 Configures the maximum aging time. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to create a VFI: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar RP/0/0/CPU0:router(config-l2vpn-bg-bd)# vfi v1 RP/0/0/CPU0:router(config-l2vpn-bg-bd-vfi)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 231
(VPLS), on page 183 Adds an access pseudowire port to a bridge domain or a pseudowire to a bridge virtual forwarding interface (VFI). Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
The following example shows how to disable sending MAC withdrawal messages to access pseudowires: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# bridge group 1 RP/0/0/CPU0:router(config-l2vpn-bg)# bridge-domain bar Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 233
49 Enters L2VPN configuration mode. mac (VPLS), on page 175 Enters L2VPN bridge group bridge domain MAC configuration mode. Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
Page 234
Virtual Private LAN Services Commands withdraw (VPLS) Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...