l2-check-show

It is possible for Layer 2 entries to go out of sync between what is present in the hardware, and in software. This command displays the status of Layer 2 entries.

Syntax   l2-check-show

mac mac-address

The virtual router ID from 0 to 15.

vnet vnet-name

The vNET name.

bd bridge-domain-name

The bridge domain.

vlan vlan-id

The VLAN ID.

public-vlan vlan-id

The public VLAN assigned to the vPort.

vxlan vxlan-id

Specify if you want to check, and fix out of sync VXLANs IDs of vPorts.

sw-port port-number

The software port.

sw-state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac|user-flush|vxlan-loopback|router|update-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag| peer-port-not-orphaned|peer-port-not-cluster-link|sw-active|hsrp|invalid-vlan|owner-lost|cluster-link-down|vxlan-router|peer-force-resync|excess-mac-move-detected|excess-ip-move-detected|retry|evpn|evpn-wo-bgp|evpn-def-gw|evpn-delete

The software state to check.

hw-port port-number

The hardware port number.

tunnel-name tunnel-name-string

The tunnel name.

hw-state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac|user-flush|vxlan-loopback|router|update-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag| peer-port-not-orphaned|peer-port-not-cluster-link|sw-active|hsrp|invalid-vlan|owner-lost|cluster-link-down|vxlan-router|peer-force-resync|excess-mac-move-detected|excess-ip-move-detected|retry|evpn|evpn-wo-bgp|evpn-def-gw|evpn-delete

The hardware state to check, and fix.

fix-action none|add-to-hardware|removefrom-hardware|fix-port-in-hardware|fix-tunnel-in-hardware|FAILED-add-to-hardware|FAILED-remove-from-hardware|FAILED-fix-port-in-hardware|FAILED-fix-tunnel-in-hardware|delete-port-mac|mark-port-mac

The action used to fix the entry.

Defaults   None.

Access   CLI

History   

Version 2.4

Command introduced.

Version 2.4.1

The option igmp-mac, user-flush, vxlan-loopback,
router added to parameters sw-state and hw-state. The options delete-port-mac and mark-port-mac added to the parameter fix-action. The parameter public-vlan added.

Version 2.6.2

Additional parameters added to sw-state and hw-state.

Version 3.0.0

The parameter l2-net added.

Version 5.1.1

The options invalid-vlan|owner-lost|cluster-link-down|vxlan-router added to the parameters sw-state, and hw-state.

Usage   Use this command to display Layer 2 table entries.

Examples  To display the Layer 2 entries, and states, use the following command:

CLI (network-admin@switch) > l2-check-show 

switch: Matched: 8

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south