Task ID
OperationTask ID
readl2vpn
Examples
This example shows the output from the show l2vpn protection main-interface command:
RP/0/0/CPU0:router# show l2vpn protection main-interface
Main Interface ID Subintf Count Protected Blocked
------------------------------ ------------- ---------- ----------
GigabitEthernet0/0/0/0 1 None No
Instance : 0
State : FORWARDING
Sub-Intf # : 1
Flush # : 0
Sub-interfaces : GigabitEthernet0/0/0/0.4
Main Interface ID Subintf Count Protected Blocked
------------------------------ ------------- ---------- ----------
GigabitEthernet0/0/0/1 1 None No
Instance : 0
State : FORWARDING
Sub-Intf # : 1
Flush # : 0
Sub-interfaces : GigabitEthernet0/0/0/0.4
RP/0/0/CPU0:router# show l2vpn protection main-interface brief
Main Interface ID Ref Count Instance Protected State
------------------------------ ---------- ---------- --------- -----
GigabitEthernet0/0/0/0 3 2 No FORWARDING
GigabitEthernet0/0/0/1 1 1 No FORWARDING
RP/0/RSP0/CPU0:router# show l2vpn protection main-interface detail
Main Interface ID # of subIntf Protected
------------------------------ ------------ ----------
GigabitEthernet0/1/0/19 4 No
Main Interface ID # of subIntf Protected
------------------------------ ------------ ----------
GigabitEthernet0/1/0/20 3 No
Main Interface ID # of subIntf Protected
------------------------------ ------------ ----------
GigabitEthernet0/1/0/3 2 No
Main Interface ID # of subIntf Protected
------------------------------ ------------ ----------
GigabitEthernet0/1/0/30 1 No
Main Interface ID # of subIntf Protected
------------------------------ ------------ ----------
GigabitEthernet0/1/0/7 4 No
RP/0/0/CPU0:router# show l2vpn protection main-interface private
Main Interface ID Ref Count Protected Blocked If Handle Registered
------------------------------ ---------- ---------- ---------- ---------- ----------
GigabitEthernet0/0/0/0 3 None No 0x20000020 No
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
359
Multipoint Layer 2 Services Commands
show l2vpn protection main-interface