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

Displays if you want to check and fix out of synch MAC addresses of vPorts.

vnet vnet-name

Specify the name of the VNET.

vlan vlan-id

Displays if you want to check and fix out of synch VLANs addresses of vPorts.

l2-net l2-net name

Specifies the Layer 2 network.

public-vlan vlan-id

Specify the public VLAN assigned to the vPort

vxlan vxlan-id

Displays if you want to check and fix out of synch VXLANs addresses of vPorts.

sw-port port-number

Displays the port number of the software.

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

Displays the software state to check.

hw-port port-number

Displays the port number of the hardware.

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

Displays the hardware state to check and fix.

fix-action none|add-to-hardware|remove-from-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

Displays the type of fix action.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

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.

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 vlan 25

See Also   

l2-setting-show

l2-table-flush

l2-table-show