No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FITAP V200R010C00 Command Reference

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display dhcp snooping user-bind

display dhcp snooping user-bind

Function

The display dhcp snooping user-bind command displays the DHCP snooping binding table.

Format

display dhcp snooping user-bind { { interface interface-type interface-number | ip-address ip-address | mac-address mac-address | vlan vlan-id } * | all } [ verbose ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays the binding entry mapping a specified interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

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 the format of H-H-H, in which H is a hexadecimal number of 4 digits.

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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After DHCP snooping is enabled, the device generates a DHCP snooping binding table. A binding entry contains the MAC address, IP address, number of the interface connected to the DHCP client, and VLAN ID on the interface. You can run the display dhcp snooping user-bind command to view the DHCP snooping binding table.

Example

# Display information about the DHCP snooping binding table.

  • Display all binding entries.

    <Huawei> display dhcp snooping user-bind all
    DHCP Dynamic Bind-table:
    Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping 
    IP Address       MAC Address     VSI/VLAN(O/I/P) Interface      Lease           
    --------------------------------------------------------------------------------
    10.1.28.141      78ac-d4b5-b858  10  /--  /--    GE0/0/1       2008.10.17-07:31
    --------------------------------------------------------------------------------
    Print count:           1          Total count:           1 
  • Display detailed information about binding entries.
    <Huawei> display dhcp snooping user-bind all verbose
    DHCP Dynamic Bind-table:                                                        
    Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping
    --------------------------------------------------------------------------------
     IP Address  : 10.10.21.254                                                     
     MAC Address : 0200-0000-00e8                                                   
     VSI         : --                                                               
     VLAN(O/I/P) : 10  /--  /--                                                     
     Interface   : GE0/0/1                                                         
     Lease       : 2008.01.20-19:54                                                 
     Gateway     : 10.10.21.1                                                       
     Server-ip   : 10.10.21.1                                                       
     IPSG Status : ineffective                                                       -------------------------------------------------------------------------------- Print count:           1          Total count:           1 
Table 13-50  Description of the display dhcp snooping user-bind command output

Item

Description

DHCP Dynamic Bind-table

DHCP snooping binding entries.

Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping

VLAN ID.
  • O: Outer VLAN
  • I: Inner VLAN
  • P: Vlan-mapping

IP Address

User IP address.

MAC Address

User MAC address.

VSI

Name of the VPN instance that the online user belongs to.

VLAN(O/I/P)

Outer VLAN ID, inner VLAN ID, or VLAN mapping information of the online user.

Interface

User access interface.

Lease

Time when the lease of the IP address used by the user expires.

Gateway

Gateway address.

Server-ip

IP addresses of the DHCP server.

IPSG Status

Whether the binding table is effective for IP packet checking after IP packet checking is enabled. The value can be:
  • effective
  • ineffective

This field is invalid if IP packet checking is not enabled.

Translation
Download
Updated: 2019-05-14

Document ID: EDOC1100064353

Views: 88621

Downloads: 61

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next