The display dhcp chasten-user command displays information about limited DHCP user connections.
display dhcp chasten-user slot slotid [ mac-address mac-address [ interface { interface-type interface-num | interface-name } [ pe-vlan pe-vlan [ ce-vlan ce-vlan ] ] ] ] [ state { check | restrain } ]
display dhcpv6 chasten-user slot slotid [ mac-address mac-address [ interface { interface-type interface-num | interface-name } [ pe-vlan pe-vlan [ ce-vlan ce-vlan ] ] ] ] [ state { check | restrain } ]
Parameter | Description | Value |
---|---|---|
mac-address mac-address |
Displays information about limited DHCP user connections with a specified MAC address. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. It cannot be a broadcast or multicast MAC address. |
interface interface-name |
Displays information about limited DHCP user connections with a specified interface. |
- |
interface interface-type interface-num |
Displays information about limited DHCP user connections with a specified interface. |
- |
pe-vlan pe-vlan |
Displays information about limited DHCP user connections with a specified outer VLAN ID. |
The value is an integer ranging from 1 to 4094. |
ce-vlan ce-vlan |
Displays information about limited DHCP user connections with a specified inner VLAN ID. |
The value is an integer ranging from 1 to 4094. |
state |
Displays the status of a user. |
Status of a user.
|
check |
Displays information about DHCP users in the check state. |
- |
restrain |
Displays information about DHCP users in the suppression state. |
- |
slot slotid |
Displays information about limited DHCP user connections on a specified board. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] display dhcp chasten-user slot 1 mac-address 0-0-e ------------------------------------------------------------------------------- IfIndex: 5697 PE VLAN/CE VLAN: 1004/- UserMac: 0000-0000-000e State: CHECK RecvPktTime: 2011-05-31 16:27:32 RecvPktCount: 3 RecvAuthenCount: 0 TotalRestrainPkt: 0 TotalPassPkt: 3 ------------------------------------------------------------------------------- IfIndex: 5705 PE VLAN/CE VLAN: 1003/- UserMac: 0000-0000-000e State: CHECK RecvPktTime: 2011-05-31 16:28:47 RecvPktCount: 2 RecvAuthenCount: 0 TotalRestrainPkt: 0 TotalPassPkt: 2 ------------------------------------------------------------------------------- Total User Num: 2
Item | Description |
---|---|
PE VLAN/CE VLAN | Outer VLAN ID/Inner VLAN ID carried in user packets. |
Total User Num | Number of restricted DHCP users with the same MAC address. |
IfIndex | Index of the interface through which the user goes online. |
UserMac | MAC address of the user. |
State | Status of the user:
|
RecvPktTime |
|
RecvPktCount |
|
RecvAuthenCount |
|
TotalRestrainPkt |
|
TotalPassPkt |
|