MES53xx, MES33xx, MES23xx Ethernet Switch Series
161
Module number (1 byte)
Port number (1 byte)
Remote agent ID
Length (1 byte)
Remote ID type (1 byte)
Length (1 byte)
Switch MAC address
Ethernet or port group interface (interface range) configuration mode commands
Command line prompt in the Ethernet or port group interface configuration mode is as follows:
console(config-if)#
Table 5.178. Ethernet interface and interface group configuration mode commands
Command
Value/Default value
Action
ip dhcp snooping trust
The interface is not trusted
by default.
Add the interface into the trusted interface list when DHCP
management is used. DHCP traffic of a trusted interface is
deemed as safe and is not controlled.
no ip dhcp snooping trust
Remove the interface from the trusted interface list when
DHCP management is used.
Privileged EXEC mode commands
Command line prompt in the Privileged EXEC mode is as follows:
console#
Table 5.179. Privileged EXEC mode commands
Command
Value/Default value
Action
ip dhcp snooping binding
mac_address
vlan_idip_address
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|
port-channel
group
} expiry
{
seconds
| infinite}
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
group: (1..16);
seconds: (10..4294967295)
seconds
Add the mapping between the client MAC address and the
VLAN group and IP address for the selected interface to
the DHCP management file (database).
This entry will be valid for the timeout specified in the
command unless the client sends an update request to
the DHCP server. The timer will be reset upon receiving an
update request from the client (this command is available
to privileged users only).
-
seconds
- entry timeout;
-
infinity
- entry timeout is unlimited.
no ip dhcp snooping binding
mac_address vlan_id
Remove the mapping entry between the client MAC
address and VLAN group from the DHCP management file
(database).
clear ip dhcp snooping
database
-
Clear the DHCP management file (database).
EXEC mode commands
Command line prompt in the EXEC mode is as follows:
console#
Table 5.180. EXEC mode commands
Command
Value/Default value
Action
show ip dhcp information
option
-
Show DHCP Option 82 usage information.