
182
MES3000 Ethernet switch series
Privileged EXEC mode commands
Command line request in Privileged EXEC mode appears as follows:
console#
Table 5.215 —Privileged EXEC mode commands
Command
Value
Action
ip dhcp snooping binding
mac_address
vlan_id
ip_address
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
| port-channel
group
}
expiry {
seconds
|infinity}
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4)
vlan_id: (1 .. 4094);
group:(1 .. 12);
seconds: (10..4294967295)
Add the client MAC address match to VLAN group and IP address for
the selected interface into the DHCP management file (database).
This record will be valid for the lifetime specified in the command,
unless the client sends the renewal request to DHCP server. Timer
will be reset upon the renewal request receiving from the client
(this command is available to privileged users only).
-
seconds
—record lifetime
-
infinity
—record lifetime is unlimited
no ip dhcp snooping
binding
mac_address
vlan_id
Remove the client MAC address match to VLAN group from the
DHCP management file (database).
clear ip dhcp snooping
database
-
Clear the DHCP management file (database).
EXEC mode commands
Command line request in EXEC mode appears as follows:
console#
Table 5.216 —EXEC mode commands
Command
Value
Action
show ip dhcp information
option
-
Show information on DHCP Option 82 utilization.
show ip dhcp snooping
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
| port-channel
group
]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: (1..24)
Show DHCP management function configuration.
show ip dhcp snooping
binding
[mac-address
mac_address
]
[ip-address
ip_address
]
[vlan
vlan_id
]
[
gigabitethernet
gi_port
|
tengigabitethernet
te_port
| port-channel
group
]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: (1..24)
vlan_id: (1..4094)
Show matches from the DHCP management file (database).
Example execution of commands
Enable DHCP Option 82 utilization.
console#
configure
console(config)#
ip dhcp relay enable
console(config)#
ip dhcp information option
Show all matches from the DHCP management file (database).
console#
show ip dhcp snooping