The display mac-address snooping command displays snooping MAC address entries generated based on the snooping binding table.
Parameter | Description | Value |
---|---|---|
interface-type interface-number | Displays the static MAC address entry on a specified interface.
|
- |
vlan vlan-id | Displays all the static MAC address entries on all the interfaces in a specified VLAN. |
The value is an integer that ranges from 1 to 4094. |
verbose | Displays detailed information about static MAC address entries. |
- |
When you run the user-bind ip sticky-mac command in the interface view, the device generates snooping MAC address entries based on the snooping binding table. A snooping MAC address entry includes the user MAC address and VLAN ID. The display mac-address snooping command displays snooping MAC address entries generated based on the snooping binding table. If no interface or VLAN is specified, all the snooping MAC address entries generated based on the snooping binding table are displayed.
# Display the snooping MAC address entries generated based on the snooping binding table on the device.
<HUAWEI> display mac-address snooping ------------------------------------------------------------------------------- MAC Address VLAN/VSI/BD Learned-From Type ------------------------------------------------------------------------------- 0000-c102-0602 10/-/- GE0/0/1 snooping ------------------------------------------------------------------------------- Total items displayed = 1
Item |
Description |
---|---|
MAC Address |
User MAC address. |
VLAN/VSI/BD | ID of the VLAN, name of the VSI, or ID of the BD that the user belongs to. |
Learned-From |
Port number. |
Type |
Type of a MAC address entry, including:
|