Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
DHCP Relay Commands
page 36-34
OmniSwitch CLI Reference Guide
September 2009
ip helper dhcp-snooping linkagg
Configures the DHCP Snooping trust mode for the link aggregate. The trust mode determines if the linkag-
gregate will accept all DHCP traffic, block all DHCP traffic, or accept only client DHCP traffic.
ip helper dhcp-snooping linkagg num {block | client-only | trust}
Syntax Definitions
num
Specifies the link aggregate ID number.
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 link aggregate. The port behaves as if 
DHCP Snooping was not enabled.
Defaults
By default, the trust mode for a link aggregate 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 link aggregates. 
• If DHCP Snooping is enabled for a specific VLAN, then the trust mode applies to only those link 
aggregates that are associated with that VLAN.
• Use the 
 command to display the current trust mode for a link 
aggregate and statistics regarding the number of packets dropped due to DHCP Snooping violations.
Examples
-> ip helper dhcp-snooping linkagg 1 trust
-> ip helper dhcp-snooping linkagg 2 block
-> ip helper dhcp-snooping linkagg 3 client-only
Release History
Release 6.1.2; command was introduced.
Related Commands
Globally enables or disables DHCP Snooping for the switch.
Enables or disables DHCP Snooping on a per-VLAN basis.