The display dhcp static user-bind command displays information about a static binding table.
display dhcp static user-bind { { interface interface-type interface-number | ip-address ip-address | mac-address mac-address | vlan vlan-id } * | all } [ verbose ]
Parameter |
Description |
Value |
---|---|---|
interface interface-type interface-number |
Displays the binding entry mapping a specified interface.
|
- |
ip-address ip-address |
Displays the binding entry mapping a specified IP address. |
The value is in dotted decimal notation. |
mac-address mac-address |
Displays the binding entry mapping a specified MAC address. |
The value is in hexadecimal notation. |
vlan vlan-id |
Displays the binding entry mapping a specified VLAN ID. |
The value is an integer that ranges from 1 to 4094. |
all |
Displays all entries in the binding table. |
- |
verbose |
Displays detailed information about the binding table. |
- |
After this command is run, the switch records logs when discarding IP packets. The log information includes the inbound interface, number of discarded packets, and discarding time. If the number of discarded packets exceeds the alarm threshold, the device sends an alarm to the NMS.
# Display information about the static binding table.
<HUAWEI> display dhcp static user-bind all DHCP static Bind-table: Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping IP Address MAC Address VSI/VLAN(O/I/P) Interface -------------------------------------------------------------------------------- 10.1.1.1 0001-0002-0003 10 /-- /-- GE0/0/1 -------------------------------------------------------------------------------- Print count: 1 Total count: 1
# Display detailed information about the static binding table.
<HUAWEI> display dhcp static user-bind all verbose DHCP static Bind-table: Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping -------------------------------------------------------------------------------- IP Address : 10.21.21.254 MAC Address : -- VSI : -- VLAN(O/I/P) : 10 /-- /-- Interface : GE0/0/1 IPSG Status : IPv4 effective slot: <0> -------------------------------------------------------------------------------- Print count: 1 Total count: 1
Item |
Description |
---|---|
DHCP static Bind-table |
Static DHCP binding entries. To configure a static DHCP binding table, run the user-bind static command. |
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping |
VLAN ID.
|
IP Address |
User IP address. |
MAC Address |
User MAC address. |
VSI |
Name of the VSI that the online user belongs to. |
VLAN(O/I/P) |
Inner VLAN ID, outer VLAN ID, or VLAN mapping information of the online user. |
Interface |
User access interface. |
IPSG Status |
Whether the binding table is effective for IP packet checking after IP packet checking is enabled. The value can be:
This field is invalid if IP packet checking is not enabled. |