To display forwarding information from the layer2_fib manager, use the show l2vpn forwarding command in EXEC mode.
show l2vpn forwarding {
counter
| debug
| detail
| hardware
| interface
|
bridge-domain
[bridge-domain-name ]
|
mac-address
|
location
[node-id]
| private
}
Syntax Description
counter
|
Displays the cross-connect counters.
|
debug
|
Displays debug information.
|
detail
|
Displays detailed information from the layer2_fib manager.
|
hardware
|
Displays hardware-related layer2_fib manager information.
|
interface
|
Displays the match AC subinterface.
|
bridge-domain bridge-domain-name |
(Optional) Displays filtered information on the bridge-domain-name . Use the bridge-domain-name argument to specify a name for a bridge domain.
|
mac-address |
(Optional) Displays information about MAC addresses in a specific bridge domain within a L2VPN forwarding context.
|
location
node-id
|
Displays layer2_fib manager information for the specified location. The node-id argument is entered in the rack/slot/module notation.
|
private
|
Output includes private information.
|
Command History
Release
|
Modification
|
Release 6.0.1
|
This command was introduced.
|
Usage Guidelines
No specific guidelines impact the use of this command.
Task ID
Task ID
|
Operations
|
l2vpn
|
read
|
Examples
The following sample output is from the show l2vpn forwarding command:
Router# show l2vpn forwarding location 0/RP0/CPU0
Mon Oct 12 14:19:11.771 UTC
Segment 1 Segment 2 State
------------------------------------ ------------------------------------ ------
Te0/0/0/0.234 ac Te0/0/0/26.234 UP
Te0/0/0/0.233 ac Te0/0/0/26.233 UP
Te0/0/0/0.232 ac Te0/0/0/26.232 UP
Te0/0/0/0.231 ac Te0/0/0/26.231 UP
Te0/0/0/0.230 ac Te0/0/0/26.230 UP
The following sample output is from the show l2vpn forwarding counter location command:
Router# show l2vpn forwarding counter location 0/RP0/CPU0
Mon Oct 12 14:18:01.194 UTC
Legend: ST = State, DN = Down
Segment 1 Segment 2 ST Byte
Switched
---------------------------------- ---------------------------------- -- ---------
Te0/0/0/0.234 ac Te0/0/0/26.234 UP 15098997504
Te0/0/0/0.233 ac Te0/0/0/26.233 UP 15098997568
Te0/0/0/0.232 ac Te0/0/0/26.232 UP 15098997504
Te0/0/0/0.231 ac Te0/0/0/26.231 UP 15098997568
Te0/0/0/0.230 ac Te0/0/0/26.230 UP 15098997568
The following sample output is from the show l2vpn forwarding summary location command:
Router# show l2vpn forwarding summary location 0/RP0/CPU0
Mon Oct 12 14:18:25.838 UTC
To Resynchronize MAC table from the Network Processors, use the command...
l2vpn resynchronize forwarding mac-address-table location <r/s/i>
Major version num:1, minor version num:0
Shared memory timestamp:0xa41120d180
Global configuration:
Number of forwarding xconnect entries:1873
Up:1873 Down:0
AC-PW(atom):0 AC-PW(l2tpv2):0 AC-PW(l2tpv3):0
AC-PW(l2tpv3-ipv6):0
AC-AC:1873 AC-BP:0 (PWHE AC-BP:0) AC-Unknown:0
PW-BP:0 PW-Unknown:0
PBB-BP:0 PBB-Unknown:0
EVPN-BP:0 EVPN-Unknown:0
VNI-BP:0 VNI-Unknown:0
Monitor-Session-PW:0 Monitor-Session-Unknown:0
Number of xconnects down due to:
AIB:0 L2VPN:0 L3FIB:0 VPDN:0
Number of xconnect updates dropped due to:
Invalid XID: 0 VPWS PW, 0 VPLS PW, 0 Virtual-AC, 0 PBB,
0 EVPN
0 VNI
Exceeded max allowed: 0 VPLS PW, 0 Bundle-AC
Number of p2p xconnects: 1873
Number of bridge-port xconnects: 0
Number of nexthops:0
Number of bridge-domains: 0
0 with routed interface
0 with PBB-EVPN enabled
0 with EVPN enabled
0 with p2mp enabled
Number of bridge-domain updates dropped: 0
Number of total macs: 0
0 Static macs
0 Routed macs
0 BMAC
0 Source BMAC
0 Locally learned macs
0 Remotely learned macs
Number of total P2MP Ptree entries: 0
Number of PWHE Main-port entries: 0
Number of EVPN Multicast Replication lists: 0 (0 default)
The following sample output is from the show l2vpn forwarding detail location command:
Router# show l2vpn forwarding detail location 0/RP0/CPU0
Mon Oct 12 14:18:47.187 UTC
Local interface: TenGigE0/0/0/0.234, Xconnect id: 0x1, Status: up
Segment 1
AC, TenGigE0/0/0/0.234, status: Bound
Statistics:
packets: received 238878391, sent 313445
bytes: received 15288217024, sent 20060480
packets dropped: PLU 0, tail 0
bytes dropped: PLU 0, tail 0
Segment 2
AC, TenGigE0/0/0/26.234, status: Bound
Local interface: TenGigE0/0/0/0.233, Xconnect id: 0x2, Status: up
Segment 1
AC, TenGigE0/0/0/0.233, status: Bound
Statistics:
packets: received 238878392, sent 313616
bytes: received 15288217088, sent 20071424
packets dropped: PLU 0, tail 0
bytes dropped: PLU 0, tail 0
Segment 2
AC, TenGigE0/0/0/26.233, status: Bound
Local interface: TenGigE0/0/0/0.232, Xconnect id: 0x3, Status: up
Segment 1
AC, TenGigE0/0/0/0.232, status: Bound
Statistics:
packets: received 238878391, sent 313476
bytes: received 15288217024, sent 20062464
packets dropped: PLU 0, tail 0
bytes dropped: PLU 0, tail 0
Segment 2
AC, TenGigE0/0/0/26.232, status: Bound
Examples
The show l2vpn forwarding bridge-domain [bridge-domain-name ] mac-address location [node-id] command displays MAC addresses from a specified location in the chassis.
Note that the show l2vpn forwarding bridge-domain [bridge-domain-name ] mac-address location [node-id] command output may vary depending on the Cisco IOS XR software version. The example outputs given here are applicable for
Release 7.10.x and later.
The show command displays MAC addresses learned from the local line card 0/2/CPU0 in the chassis.
Router#show l2vpn forwarding bridge-domain bg:bd mac-address location 0/2/CPU0
Fri Nov 29 09:29:56.034 UTC
To Resynchronize MAC table from the Network Processors, use the command...
l2vpn resynchronize forwarding mac-address-table location <r/s/i>
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- --------- ---------- -------------- -------
0010.7777.7777 dynamic BE100.1 N/A 29 Nov 09:29:56 N/A
0010.7777.7778 dynamic BE100.1 N/A 29 Nov 09:29:56 N/A
0010.7777.7779 dynamic BE100.1 N/A 29 Nov 09:29:56 N/A
The show command displays MAC addresses learned from the remote line card 0/1/CPU0 in the chassis.
Router#show l2vpn forwarding bridge-domain bg:bd mac-address location 0/1/CPU0
Fri Nov 29 09:37:16.884 UTC
To Resynchronize MAC table from the Network Processors, use the command...
l2vpn resynchronize forwarding mac-address-table location <r/s/i>
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- ---------- ---------- ------------ -------------- --------
0010.7777.7777 dynamic BE100.1 N/A Remotely Aged N/A
0010.7777.7778 dynamic BE100.1 N/A Remotely Aged N/A
0010.7777.7779 dynamic BE100.1 N/A Remotely Aged N/A
The show command displays MAC addresses learned from a remote EVPN peer multihoming node.
Router#show l2vpn forwarding bridge-domain bg:bd mac-address location 0/0/CPU0
Fri Nov 29 09:45:32.063 UTC
To Resynchronize MAC table from the Network Processors, use the command...
l2vpn resynchronize forwarding mac-address-table location <r/s/i>
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- ---------- ---------------------- ---------- ----
0010.7777.7777 dynamic BE100.1 N/A Remotely Aged N/A
0010.7777.7778 dynamic BE100.1 N/A Remotely Aged N/A
0010.7777.7779 dynamic BE100.1 N/A Remotely Aged N/A
The show command displays MAC addresses learned from a remote EVPN node.
Router#show l2vpn forwarding bridge-domain bg:bd mac-address location 0/0/CPU0
Fri Nov 29 09:10:07.392 UTC
To Resynchronize MAC table from the Network Processors, use the command...
l2vpn resynchronize forwarding mac-address-table location <r/s/i>
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- ------- ----------- ----------- --------------
0010.7777.7777 EVPN BD id: 0 N/A N/A N/A
0010.7777.7778 EVPN BD id: 0 N/A N/A N/A
0010.7777.7779 EVPN BD id: 0 N/A N/A N/A
The show command displays MAC addresses configured through the command-line interface.
Router#show l2vpn forwarding bridge-domain bg:bd mac-address location 0/0/CPU0
Fri Nov 29 09:51:19.159 UTC
To Resynchronize MAC table from the Network Processors, use the command...
l2vpn resynchronize forwarding mac-address-table location <r/s/i>
Mac Address Type Learned from/Filtered on LC learned Resync Age/Last Change Mapped to
-------------- ------- -------- ---------------------- --------------
0033.0000.0001 static Te0/0/0/3 N/A N/A N/A
0033.0000.0002 static Te0/0/0/3 N/A N/A N/A
0033.0000.0003 static Te0/0/0/3 N/A N/A N/A