Client Security Commands
4-149
4
Example
This example enables DHCP snooping for VLAN 1.
Related Commands
ip dhcp snooping (4-146)
ip dhcp snooping trust (4-149)
ip dhcp snooping trust
This command configures the specified interface as trusted. Use the
no
form to
restore the default setting.
Syntax
[
no
]
ip dhcp snooping trust
Default Setting
All interfaces are untrusted
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• A trusted interface is an interface that is configured to receive only messages
from within the network. An untrusted interface is an interface that is
configured to receive messages from outside the network or firewall.
• Set all ports connected to DHCP servers within the local network or firewall to
trusted, and all other ports outside the local network or firewall to untrusted.
• When DHCP snooping ia enabled globally using the
ip dhcp snooping
command (page 4-146), and enabled on a VLAN with
ip dhcp snooping vlan
command (page 4-148), DHCP packet filtering will be performed on any
untrusted ports within the VLAN according to the default status, or as
specifically configured for an interface with the
no ip dhcp snooping trust
command.
• When an untrusted port is changed to a trusted port, all the dynamic DHCP
snooping bindings associated with this port are removed.
•
Additional considerations when the switch itself is a DHCP client
– The port(s)
through which it submits a client request to the DHCP server must be
configured as trusted.
Example
This example sets port 5 to untrusted.
Console(config)#ip dhcp snooping vlan 1
Console(config)#
Console(config)#interface ethernet 1/5
Console(config-if)#no ip dhcp snooping trust
Console(config-if)#
Содержание JetNet 5228G Series
Страница 3: ...www edge core com 2 24FE 4G Layer 2 4 Ethernet Switch Management Guide V1 1...
Страница 24: ...Tables xx...
Страница 310: ...Configuring the Switch 3 264 3...
Страница 636: ...Command Line Interface 4 326 4...
Страница 650: ...Glossary Glossary 8...
Страница 656: ...Index 6 Index...
Страница 657: ......
Страница 658: ......