Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
DHCP Relay Commands
page 36-32
OmniSwitch CLI Reference Guide
September 2009
ip helper dhcp-snooping port
Configures the DHCP Snooping trust mode for the port. The trust mode determines if the port will accept 
all DHCP traffic, block all DHCP traffic, or accept only client DHCP traffic.
ip helper dhcp-snooping port slot1/port1[-port1a] {block | client-only | trust}
Syntax Definitions
slot1/port1[-port1a]
Specifies the slot number for the module and the physical port number 
on that module (e.g. 3/1 specifies port 1 on slot 3). Use a hyphen to 
specify a range of ports (e.g. 3/1-16).
block
Blocks all DHCP traffic on the port.
client-only
Allows only DHCP client traffic on the port.
trust
Allows all DHCP traffic on the port. The port behaves as if DHCP 
Snooping was not enabled.
Defaults
By default, the trust mode for a port is set to client-only when the DHCP Snooping feature is enabled for 
the switch or for a VLAN.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• The DHCP trust mode only applies when the DHCP Snooping feature is enabled for the switch or for a 
VLAN.
• If DHCP Snooping is enabled at the switch level, the trust mode applies to all switch ports. 
• If DHCP Snooping is enabled for a specific VLAN, then the trust mode applies to only those ports that 
are associated with that VLAN.
• Use the 
 command to display the current trust mode for a port and 
statistics regarding the number of packets dropped due to DHCP Snooping violations.
Examples
-> ip helper dhcp-snooping port 1/24 trust
-> ip helper dhcp-snooping port 2/1-10 block
-> ip helper dhcp-snooping port 4/8 client-only
Release History
Release 6.1.2; command was introduced.