Cisco XR 12000 Series Command Reference Manual

Cisco XR 12000 Series Command Reference Manual

Ios xr virtual private network
Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

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
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-28460-01

Advertisement

Table of Contents
loading

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.
  • Page 3: Table Of Contents

    (GLOBAL) description (XCONNECT) digest (L2TP) hello-interval (L2TP) hidden (L2TP) hostname (L2TP) interface (p2p) interworking ipv4 interworking ethernet Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 4 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 5 (VPLS) limit (VPLS) mac (VPLS) maximum (VPLS) mpls static label (VPLS) mtu (VPLS) neighbor (VPLS) notification (VPLS) port-down flush disable (VPLS) Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 6 (VPLS) shutdown (Bridge Domain) shutdown (VFI) static-address (VPLS) static-mac-address (VPLS) time (VPLS) type (VPLS) vfi (VPLS) withdraw (VPLS) Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 7: Obtaining Documentation And Submitting A Service Request

    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...
  • Page 9 (L2TP), page 31 • hostname (L2TP), page 33 • interface (p2p), page 35 • interworking ipv4, page 37 • interworking ethernet, page 38 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 10 97 • show l2vpn collaborators, page 100 • show l2vpn database, page 102 • show l2vpn forwarding, page 105 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 11 144 • timeout setup (L2TP), page 146 • transport mode (L2VPN), page 148 • tunnel-template, page 150 • xconnect group, page 151 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 12: Authentication (L2Tp)

    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...
  • Page 14: Backup (L2Vpn)

    RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# xconnect group gr1 RP/0/0/CPU0:router(config-l2vpn-xc)# p2p p001 RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# neighbor 10.1.1.1 pw-id 2 RP/0/0/CPU0:router(config-l2vpn-xc-p2p-pw)# backup neighbor 10.2.2.2 pw-id 5 RP/0/0/CPU0:router(config-l2vpn-xc-p2p-pw-backup)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 15 Configures a pseudowire for a cross-connect. p2p, on page 74 Enters p2p configuration submode to configure point-to-point cross-connects. 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...
  • Page 16: Backup Disable (L2Vpn)

    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...
  • Page 18: Clear L2Tp Counters Control Session

    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...
  • Page 20: Clear L2Tp Counters Control Tunnel

    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...
  • Page 22: Clear L2Tp Tunnel

    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...
  • Page 24: Clear L2Vpn Collaborators

    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...
  • Page 25: Clear L2Vpn Counters L2Tp

    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...
  • Page 27: Clear L2Vpn Counters Bridge Mac-Withdrawal

    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...
  • Page 28: Clear L2Vpn Forwarding Counters

    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...
  • Page 29: Clear L2Vpn Forwarding Mac-Address-Table

    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...
  • Page 31: Clear L2Vpn Forwarding Message Counters

    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...
  • Page 32: Clear L2Vpn Forwarding Table

    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...
  • Page 33: Description (Global)

    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...
  • Page 34: Description (Xconnect)

    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...
  • Page 35: Digest (L2Tp)

    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...
  • Page 37: Hello-Interval (L2Tp)

    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...
  • Page 39: Hidden (L2Tp)

    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...
  • Page 41: Hostname (L2Tp)

    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...
  • Page 43: Interface (P2P)

    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...
  • Page 45: Interworking Ipv4

    RP/0/0/CPU0:router(config-l2vpn-xc)# p2p gr1 RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# interworking ipv4 RP/0/0/CPU0:router(config-l2vpn-xc-p2p)# 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...
  • Page 46: Interworking Ethernet

    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...
  • Page 48: L2Tp-Class

    (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...
  • Page 49: L2Tp-Class Configuration

    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...
  • Page 51: L2Transport

    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...
  • Page 53: L2Transport Cell-Packing

    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...
  • Page 55: L2Transport Propagate

    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...
  • Page 57: L2Vpn

    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...
  • Page 59: L2Vpn Switchover

    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...
  • Page 61: Logging (L2Vpn)

    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...
  • Page 63: Logging Nsr

    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...
  • Page 65: Mpls Static Label (L2Vpn)

    RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn xconnect group l2vpn RP/0/0/CPU0:router(config-l2vpn-xc)# p2p rtrA_to_rtrB RP/0/0/CPU0:router(config-xc-p2p)# neighbor 10.1.1.2 pw-id 1000 RP/0/0/CPU0:router(config-l2vpn-xc-p2p-pw)# mpls static label local 800 remote 500 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 66 Configures a pseudowire for a cross-connect. p2p, on page 74 Enters p2p configuration submode to configure point-to-point cross-connects. 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...
  • Page 67: Neighbor (L2Vpn)

    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...
  • Page 69: Nsr (L2Vpn)

    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...
  • Page 71: Password (L2Tp)

    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...
  • Page 73: Pw-Class (L2Vpn)

    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...
  • Page 75: Pw-Class Encapsulation L2Tpv3

    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...
  • Page 77: Pw-Class Encapsulation Mpls

    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...
  • Page 79: Pw-Ether

    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...
  • Page 81: Pw-Grouping

    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...
  • Page 82: P2P

    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...
  • Page 84: Receive-Window (L2Tp)

    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...
  • Page 86: Retransmit (L2Tp)

    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...
  • Page 88: Rollover (L3Vpn)

    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...
  • Page 90: Sequencing (L2Vpn)

    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...
  • Page 92: Show Generic-Interface-List

    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...
  • Page 94: Show L2Tp Class

    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...
  • Page 96: Show L2Tp Counters Forwarding Session

    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...
  • Page 98: Show L2Tp Session

    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...
  • Page 101: Show L2Tp Tunnel

    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...
  • Page 103: Show L2Vpn

    Logging NSR state changes: disabled TCN propagation: disabled PWOAMRefreshTX: 30s 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...
  • Page 104 Virtual Private Network Commands show l2vpn Command Description pw-grouping, on page 73 Enables Pseudowire Grouping Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 105: Show L2Vpn Atom-Db

    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...
  • Page 108: Show L2Vpn Collaborators

    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...
  • Page 110: Show L2Vpn Database

    Configured capability flags: 0x0 XCID: 0xffffffff PSN Type: Undefined ETH data: Xconnect tags: 0 Vlan rewrite tag: 0 AC defn: ac-ifname: Bundle-Ether1.1 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 111 ======== 07/27/2012 15:00:31 Process joined 07/27/2012 15:00:31 Process init success 07/27/2012 15:00:31 Replay start rcvd 07/27/2012 15:00:40 Replay end rcvd 6006 6001 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 112 ===== ======== ======== 07/27/2012 15:00:31 Process joined 07/27/2012 15:00:31 Process init success 07/27/2012 15:00:31 Replay start rcvd 07/27/2012 15:00:31 Replay end rcvd Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 113: Show L2Vpn Forwarding

    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...
  • Page 120: Show L2Vpn Forwarding L2Tp

    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...
  • Page 122: Show L2Vpn Generic-Interface-List

    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...
  • Page 124: Show L2Vpn Index

    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...
  • Page 126: Show L2Vpn Nsr

    : 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...
  • Page 128: Show L2Vpn Provision Queue

    Object Type Class P/P/R Object -------------------------- ------------------------ ---------------------- ----- ---------- BD_NAME bd_t vpls_bd_class 0/0/0 BD VPLS01 BD_NAME bd_t vpls_bd_class 0/0/0 BD VPLS02 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 129 0/0/0 BD VPLS09 BD_NAME bd_t vpls_bd_class 0/0/0 BD VPLS010 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...
  • Page 130: Show L2Vpn Pw-Class

    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...
  • Page 132: Show L2Vpn Pwhe

    Interface State: Down, Admin state: Up Interface handle 0x20000070 MTU: 1514 10000 Kbit Interface MAC addresses: 0279.96e9.8205 Label: 16000 L2-overhead: 0 VC-type: 5 CW: N Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 133 Number of PW-Ether interfaces: 900 Up: 700 Down: 200 Admindown: 0 Number of PW-IW interfaces: 700 Up: 600 Down: 100 Admindown: 0 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 134: Show L2Vpn Resource

    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...
  • Page 135: Show L2Vpn Trace

    Display trace data excluding buffer name, node name, tid wrapping Display wrapping entries Command Default None Command Modes EXEC Command History Release Modification Release 4.3.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 136 Jul 27 14:39:55.341 l2vpn/fwd-mac 0/RSP0/CPU0 1# t1 FWD_MAC:2971: gsp_optimal_msg_size = 4832 (real: True) Jul 27 14:39:55.351 l2vpn/fwd-mac 0/RSP0/CPU0 1# t1 FWD_MAC:626: Entering mac aging timer init Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 137: Show L2Vpn Xconnect

    (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...
  • Page 146: Show Tunnel-Template

    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...
  • Page 148: Switching-Tlv (L2Vpn)

    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...
  • Page 150: Tag-Impose

    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...
  • Page 152: Tag-Rewrite

    The following example shows how to configure preferred-path tunnel settings: RP/0/0/CPU0:router# configure RP/0/0/CPU0:router(config)# l2vpn RP/0/0/CPU0:router(config-l2vpn)# pw-class kanata01 RP/0/0/CPU0:router(config-l2vpn-pwc)# encapsulation mpls RP/0/0/CPU0:router(config-l2vpn-pwc-encap-mpls)# tag-rewrite vlan 2000 RP/0/0/CPU0:router(config-l2vpn-pwc-encap-mpls)# Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 153 Virtual Private Network Commands tag-rewrite 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...
  • Page 154: Timeout Setup (L2Tp)

    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...
  • Page 156: Transport Mode (L2Vpn)

    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...
  • Page 158: Tunnel-Template

    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...
  • Page 159: Xconnect Group

    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...
  • Page 161: Virtual Private Lan Services Commands

    (VFI), page 189 • pw-status (L2VPN), page 191 • show l2vpn bridge-domain (VPLS), page 193 • show l2vpn forwarding bridge-domain (VPLS), page 201 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 162 (VPLS), page 216 • time (VPLS), page 218 • type (VPLS), page 220 • vfi (VPLS), page 222 • withdraw (VPLS), page 224 Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 163: Action (Vpls)

    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...
  • Page 165: Aging (Vpls)

    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...
  • Page 167: Bridge-Domain (Vpls)

    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...
  • Page 169: Bridge Group (Vpls)

    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...
  • Page 171: Clear L2Vpn Bridge-Domain (Vpls)

    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...
  • Page 173: Flooding Disable

    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...
  • Page 175: Flooding Unknown-Unicast Disable (Vpls)

    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...
  • Page 177: Interface (Vpls)

    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...
  • Page 179: Learning Disable (Vpls)

    MAC learning enable command. 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)# learning disable Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 180 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 181: Limit (Vpls)

    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...
  • Page 183: Mac (Vpls)

    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...
  • Page 185: Maximum (Vpls)

    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...
  • Page 187: Mpls Static Label (Vpls)

    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...
  • Page 189: Mtu (Vpls)

    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...
  • Page 191: Neighbor (Vpls)

    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...
  • Page 193: Notification (Vpls)

    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...
  • Page 195: Port-Down Flush Disable (Vpls)

    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...
  • Page 197: Pw-Class (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)# 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...
  • Page 199: Pw-Status (L2Vpn)

    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...
  • Page 201: Show L2Vpn Bridge-Domain (Vpls)

    (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 203 Bridge group: g1, bridge-domain: bd1, id: 0, state: up, ShgId: 0, MSTi: 0 Aging: 300 s, MAC limit: 4000, Action: none, Notification: syslog 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...
  • Page 209: Show L2Vpn Forwarding Bridge-Domain (Vpls)

    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...
  • Page 214: Show L2Vpn Forwarding Bridge-Domain Mac-Address (Vpls)

    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 215 0/1/CPU0 0d 0h 2m 22s 0000.0001.0111 dynamic Gi0/1/0/0 0/1/CPU0 0d 0h 2m 22s 0000.0001.0112 dynamic Gi0/1/0/0 0/1/CPU0 0d 0h 2m 22s ..Cisco IOS XR Virtual Private Network Command Reference for the Cisco XR 12000 Series Router, Release 4.3.x OL-28460-01...
  • Page 216 0d 0h 0m 30s 0000.0003.0114 dynamic 1.1.1.1, 1 0/1/CPU0 0d 0h 0m 30s 0000.0003.0115 dynamic 1.1.1.1, 1 0/1/CPU0 0d 0h 0m 30s 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...
  • Page 218: Shutdown (Bridge Domain)

    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...
  • Page 220: Shutdown (Vfi)

    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...
  • Page 222: Static-Address (Vpls)

    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...
  • Page 224: Static-Mac-Address (Vpls)

    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...
  • Page 226: Time (Vpls)

    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...
  • Page 228: Type (Vpls)

    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...
  • Page 230: Vfi (Vpls)

    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...
  • Page 232: Withdraw (Vpls)

    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...

Table of Contents