< Home

display dhcp snooping bind-table

Function

The display dhcp snooping bind-table command displays information about entries in the DHCP snooping binding table.

Format

display dhcp snooping bind-table { ip-address ip-address | mac-address mac-address | [ vlan vlan-id ] interface interface-type interface-number | static | dynamic | all }

Parameters

Parameter Description Value
ip-address ip-address Specifies the user IP address. The value is in dotted decimal notation.
mac-address mac-address Specifies the user MAC address. The value is in form of H-H-H.
vlan vlan-id Specifies the VLAN ID. The value is an integer ranging from 1 to 4094.
interface interface-type interface-number Specifies the type and number of an interface. -
static Indicates the static binding entry. -
dynamic Indicates the dynamic binding entry. -
all Indicates all binding entries. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the display dhcp snooping bind-table command is run, the device displays all information about the binding table. For the contents and implications, refer to the following tables.

Example

# Display information about static entries in the DHCP snooping binding table.

<sysname> display dhcp snooping bind-table static
bind-table:
ifname         vrf  vsi  p/cvlan   mac-address    ip-address      tp lease
-------------------------------------------------------------------------
Vlanif1        0000 -    0000/0000 0011-0022-0034 10.1.3.0         S  0
-------------------------------------------------------------------------
binditem count:      1                   binditem total count: 1

System Response

Table 1 Description of the display dhcp snooping bind-table command output

Item

Description

ifname

Configure the name of the bound interface.

vrf

L3VPN identifier. The value is 0 when the interface is not bound.

vsi

Name of the VSI.

p/cvlan

Values of Port VLAN and Client VLAN.

mac-address

Bound MAC address.

ip-address

Bound IP address.

tp

Type of entries: specifies the static entry.d: specifies the dynamic entry.

lease

When the lease expires, the IP addresses are reassigned to users.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >