CLI
Management Guide
TigerAccess™ EE
324
SMC7824M/VSW
The DHCP snooping basically permits all the trusted messages received from within the
network and filters untrusted messages. In case of untrusted messages, all the binding
entries are recorded in a DHCP snooping binding table. This table contains a hardware
address, IP address, lease time, VLAN ID, interface, etc.
It also gives you a way to differentiate between untrusted interfaces connected to the
end-user and trusted interfaces connected to the DHCP server or another switch.
The DHCP snooping only filters the DHCP server message such as a DHCP_OFFER or
DHCP_ACK which is received from untrusted interfaces.
8.6.7.1
Enabling DHCP Snooping
To enable the DHCP snooping globally, use the following command
Command Mode
Description
ip dhcp snooping
Enables the DHCP snooping globally.
no ip dhcp snooping
Global
Disables the DHCP snooping globally. (default)
Upon enabling the DHCP snooping, the DHCP_OFFER and DHCP_ACK messages from
all the ports will be discarded before specifying a trusted port.
To enable the DHCP snooping on a VLAN, use the following command
Command Mode
Description
ip dhcp snooping vlan
VLANS
Enables the DHCP snooping on a specified VLAN.
no ip dhcp snooping vlan
VLANS
Global
Disables the DHCP snooping on a specified VLAN.
You must enable DHCP snooping globally before enabling DHCP snooping on a VLAN.
8.6.7.2
DHCP Trust State
To define a state of a port as trusted or untrusted, use the following command.
Command Mode
Description
ip dhcp snooping trust
PORTS
Defines a state of a specified port as trusted.
no ip dhcp snooping trust
PORTS
Global
Defines a state of a specified port as untrusted.
(default)
!
!
i
Summary of Contents for 7724M/VSW - annexe 1
Page 1: ......
Page 385: ...CLI Management Guide TigerAccess EE 384 SMC7824M VSW ...
Page 387: ......