Table 4
DHCP snooping and Option 82
If a client's
requesting
message has...
Option 82
no Option 82
The handling strategy and padding format for Option 82 on the DHCP snooping device are the same as on the
relay agent.
Configuring DHCP snooping basic functions
To configure DHCP snooping basic functions:
To do...
1.
Enter system view
Enable DHCP snooping
2.
3.
Enter Ethernet interface view
4.
Specify the port as trusted
Handling
Padding
strategy
format
Drop
Random
Keep
Random
normal
Replace
verbose
user-defined
—
normal
—
verbose
—
user-defined
Use the command...
system-view
dhcp-snooping
interface interface-type interface-
number
dhcp-snooping trust [ no-
user-binding ]
The DHCP snooping device will...
Drop the message.
Forward the message without changing Option 82.
Forward the message after replacing the original
Option 82 with the Option 82 padded in normal
format.
Forward the message after replacing the original
Option 82 with the Option 82 padded in verbose
format.
Forward the message after replacing the original
Option 82 with the user-defined Option 82.
Forward the message after adding the Option 82
padded in normal format.
Forward the message after adding the Option 82
padded in verbose format.
Forward the message after adding the user-defined
Option 82.
49
Remarks
—
Required
Disabled by default.
—
Required
Untrusted by default.