Examples
The following
sample output is from the
show l2vpn forwarding
bridge detail location command for IOS-XR releases 5.3.1 and
earlier:
RP/0/RP0/CPU0:router# show l2vpn forwarding bridge detail location 0/2/cpu0
Bridge-domain name: bg1:bd1, id: 0, state: up
MAC learning: enabled
Flooding:
Broadcast & Multicast: enabled
Unknown unicast: enabled
MAC aging time: 300 s, Type: inactivity
MAC limit: 4000, Action: none, Notification: syslog
MAC limit reached: no
Security: disabled
DHCPv4 snooping: profile not known on this node
IGMP snooping: disabled, flooding: disabled
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
Number of MAC: 0
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
Storm control drop counters:
packets: broadcast 0, multicast 0, unknown unicast 0
bytes: broadcast 0, multicast 0, unknown unicast 0
Bridge-domain name: bg1:bd2, id: 1, state: up
Type: pbb-edge, I-SID: 1234
Core-bridge: pbb-bd2
MAC learning: enabled
Flooding:
Broadcast & Multicast: enabled
Unknown unicast: enabled
MAC aging time: 300 s, Type: inactivity
MAC limit: 4000, Action: none, Notification: syslog
MAC limit reached: no
Security: disabled
DHCPv4 snooping: profile not known on this node
IGMP snooping: disabled, flooding: disabled
Bridge MTU: 1500 bytes
Number of bridge ports: 0
Number of MAC addresses: 0
Multi-spanning tree instance: 0
PBB Edge, state: up
Number of MAC: 0
GigabitEthernet0/1/0/1.3, state: oper up
Number of MAC: 0
Storm control drop counters:
packets: broadcast 0, multicast 0, unknown unicast 0
bytes: broadcast 0, multicast 0, unknown unicast 0
Bridge-domain name: bg1:bd3, id: 2, state: up
Type: pbb-core
Number of associated pbb-edge BDs: 1
MAC learning: enabled
Flooding:
Broadcast & Multicast: enabled
Unknown unicast: enabled
MAC aging time: 300 s, Type: inactivity
MAC limit: 4000, Action: none, Notification: syslog
MAC limit reached: no
Security: disabled
DHCPv4 snooping: profile not known on this node
IGMP snooping: disabled, flooding: disabled
Bridge MTU: 1500 bytes
Number of bridge ports: 0
Number of MAC addresses: 0
Multi-spanning tree instance: 0
PBB Core, state: up
Vlan-id: 1
GigabitEthernet0/1/0/1.4, state: oper up
Number of MAC: 0
Storm control drop counters:
packets: broadcast 0, multicast 0, unknown unicast 0
bytes: broadcast 0, multicast 0, unknown unicast 0
The following
sample output is from the
show l2vpn forwarding
bridge detail location command for IOS-XR 5.3.2 release:
RP/0/RP0/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
MAC port down flush: enabled
Flooding:
Broadcast & Multicast: enabled
Unknown unicast: enabled
MAC aging time: 300 s, Type: inactivity
MAC limit: 4000, Action: none, Notification: syslog
MAC limit reached: no
MAC Secure: disabled, Logging: disabled
DHCPv4 snooping: profile not known on this node
Dynamic ARP Inspection: disabled, Logging: disabled
IP Source Guard: disabled, Logging: disabled
IGMP snooping: disabled, flooding: enabled
MLD snooping: disabled, flooding: disabled
MMRP Flood Optimization: disabled
Storm control: disabled
P2MP PW: disabled
Bridge MTU: 1500 bytes
Number of bridge ports: 1
Number of MAC addresses: 5
Multi-spanning tree instance: 0
PBB-EVPN: enabled
Statistics:
packets: received 0, sent 963770
bytes: received 0, sent 263433178
PBB Core, state: Up
Vlan-id: 1
XC ID: 0x80000010
Number of MAC: 0
Statistics:
packets: received 0 (unicast 0), sent 0
bytes: received 0 (unicast 0), sent 0
MAC move: 0
Storm control drop counters:
packets: broadcast 0, multicast 0, unknown unicast 0
bytes: broadcast 0, multicast 0, unknown unicast 0
The following
sample outputs shows the backup pseudowire information:
RP/0/RP0/CPU0:router#show l2vpn forwarding detail location 0/2/CPU0
Local interface: GigabitEthernet0/2/0/0.1, Xconnect id: 0x3000001, Status: up
Segment 1
AC, GigabitEthernet0/2/0/0.1, Ethernet VLAN mode, status: Bound
RG-ID 1, active
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
Segment 2
MPLS, Destination address: 101.101.101.101, pw-id: 1000, status: Bound
Pseudowire label: 16000
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
Backup PW
MPLS, Destination address: 102.102.102.102, pw-id: 1000, status: Bound
Pseudowire label: 16001
Statistics:
packets: received 0, sent 0
bytes: received 0, sent 0
RP/0/RP0/CPU0:router#show l2vpn forwarding bridge-domain detail location 0/2/CPU0
Bridge-domain name: bg1:bd1, id: 0, state: up
….
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
Number of MAC: 0
….
RP/0/RP0/CPU0:router#show l2vpn forwarding bridge-domain detail location 0/2/CPU0
Bridge-domain name: bg1:bd1, id: 0, state: up
….
GigabitEthernet0/2/0/0.4, state: oper up
XC ID: 0x1880002
Number of MAC: 0
Statistics:
packets: received 0 (multicast 0, broadcast 0, unknown unicast 0, unicast 0), sent 963770
bytes: received 0 (multicast 0, broadcast 0, unknown unicast 0, unicast 0), sent 263433178
MAC move: 0
Storm control drop counters:
packets: broadcast 0, multicast 0, unknown unicast 0
bytes: broadcast 0, multicast 0, unknown unicast 0
Dynamic arp inspection drop counters:
packets: 0, bytes: 0
IP source guard drop counters:
packets: 0, bytes: 0
….
The following
sample outputs displays the SPAN segment information of the xconnect:
RP/0/RP0/CPU0:router# show l2vpn forwarding counter location 0/7/CPU0
Legend: ST = State, DN = Down
Segment 1 Segment 2 ST Byte
Switched
----------------------------- ----------------------- -- ---------
pw-span-test (Monitor-Session) mpls 2.2.2.2 UP 0
RP/0/RP0/CPU0:router #Show l2vpn forwarding monitor-session location 0/7/CPU0
Segment 1 Segment 2 State
------------------------------------ ------------------------------------ ------
pw-span-test(monitor-session) mpls 2.2.2.2 UP
pw-span-sess(monitor-session) mpls 3.3.3.3 UP
RP/0/RP0/CPU0:router #Show l2vpn forwarding monitor-session pw-span-test location 0/7/CPU0
Segment 1 Segment 2 State
------------------------------------ ------------------------------------ ------
pw-span-test(Monitor-Session) mpls 2.2.2.2 UP
Example 4:
RP/0/RP0/CPU0:router #show l2vpn forwarding detail location 0/7/CPU0
Xconnect id: 0xc000001, Status: up
Segment 1
Monitor-Session, pw-span-test, status: Bound
Segment 2
MPLS, Destination address: 2.2.2.2, pw-id: 1, status: Bound
Pseudowire label: 16001
Statistics:
packets: received 0, sent 11799730
bytes: received 0, sent 707983800
Example 5:
show l2vpn forwarding private location 0/11/CPU0
Xconnect ID 0xc000001
Xconnect info:
Base info: version=0xaabbcc13, flags=0x0, type=2, reserved=0
xcon_bound=TRUE, switching_type=0, data_type=3
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
PW info:
Base info: version=0xaabbcc12, flags=0x0, type=4, reserved=0
pw_id=1, nh_valid=TRUE, sig_cap_flags=0x20, context=0x0,
MPLS, pw_label=16001
Statistics:
packets: received 0, sent 11799730
bytes: received 0, sent 707983800
Object: NHOP
Event Trace History [Total events: 5]
--------------------------------------------------------------------
Time Event Flags
==== ===== =====
--------------------------------------------------------------------
Nexthop info:
Base info: version=0xaabbcc14, flags=0x10000, type=5, reserved=0
nh_addr=2.2.2.2, plat_data_valid=TRUE, plat_data_len=128, child_count=1
Object: XCON
Event Trace History [Total events: 16]
--------------------------------------------------------------------
Time Event Flags
==== ===== =====
-------------------------------------------------------------------
RP/0/RP0/CPU0:router #show l2vpn forwarding summary location 0/7/CPU0
Major version num:1, minor version num:0
Shared memory timestamp:0x31333944cf
Number of forwarding xconnect entries:2
Up:2 Down:0
AC-PW:1 (1 mpls) AC-AC:0 AC-BP:0 AC-Unknown:0
PW-BP:0 PW-Unknown:0 Monitor-Session-PW:1
Number of xconnects down due to:
AIB:0 L2VPN:0 L3FIB:0
Number of p2p xconnects: 2
Number of bridge-port xconnects: 0
Number of nexthops:1
MPLS: Bound:1 Unbound:0 Pending Registration:0
Number of bridge-domains: 0
Number of static macs: 0
Number of locally learned macs: 0
Number of remotely learned macs: 0
Number of total macs: 0
The following
sample output is from the
show l2vpn
forwarding command:
RP/0/RP0/CPU0:router# show l2vpn forwarding location 0/2/cpu0
ID Segment 1 Segment 2
-----------------------------------
1 Gi0/2/0/0 1 1.1.1.1 9)
The following
sample output shows the MAC information in the layer2_fib manager summary:
RP/0/RP0/CPU0:router# show l2vpn forwarding summary location 0/3/CPU0
Major version num:1, minor version num:0
Shared memory timestamp:0x66ff58e894
Number of forwarding xconnect entries:2
Up:1 Down:0
AC-PW:0 AC-AC:0 AC-BP:1 PW-BP:1
Number of xconnects down due to:
AIB:0 L2VPN:0 L3FIB:0
Number of nexthops:1
Number of static macs: 5
Number of locally learned macs: 5
Number of remotely learned macs: 0
Number of total macs: 10
This example shows the
sample output of a configured flow label:
RP/0/RP0/CPU0:router# show l2vpn for 0/0/cPU0
Local interface: GigabitEthernet0/0/1/1, Xconnect id: 0x1000002, Status: up
Segment 1
AC, GigabitEthernet0/0/1/1, Ethernet port mode, status: Bound
Segment 2
MPLS, Destination address: 3.3.3.3, pw-id: 2, status: Bound, Active
Pseudowire label: 16004 Control word disabled
Backup PW
MPLS, Destination address: 2.2.2.2, pw-id: 6, status: Bound
Pseudowire label: 16000
Flow label enabled
Xconnect id: 0xff000014, Status: down
Segment 1
MPLS, Destination address: 2.2.2.2, pw-id: 1, status: Not bound
Pseudowire label: UNKNOWN Control word disabled
Flow label enabled
Segment 2
Bridge id: 0, Split horizon group id: 0
Storm control: disabled
MAC learning: enabled
MAC port down flush: enabled
Flooding:
Broadcast & Multicast: enabled
Unknown unicast: enabled
MAC aging time: 300 s, Type: inactivity
MAC limit: 4000, Action: none, Notification: syslog
MAC limit reached: no
Security: disabled
DHCPv4 snooping: profile not known on this node, disabled
IGMP snooping profile: profile not known on this node
Router guard disabled