Enabling Dhcp Snooping On Vlans; Configuring Dhcp Snooping Trusted Ports - HP 2530 Manual Supplement

Table of Contents

Advertisement

Example 2 Show DHCP-snooping statistics
HP Switch(config)# show dhcp-snooping stats
Packet type Action
----------- ------- ---------------------------- ---------
server
client
server
server
client
client
client
client

Enabling DHCP snooping on VLANs

DHCP snooping on VLANs is disabled by default. To enable DHCP snooping on a VLAN or range
of VLANs enter this command:
HP Switch(config)# dhcp-snooping vlan <vlan-id-range>
You can also use this command in the vlan context, where you cannot enter a range of VLANs for
snooping.
Example 3 "DCHP snooping on a VLAN"
Example 3 DCHP snooping on a VLAN
HP Switch(config)# dhcp-snooping vlan 4
HP Switch(config)# show dhcp-snooping
DHCP Snooping Information
DHCP Snooping
Enabled Vlans
Verify MAC
Option 82 untrusted policy : drop
Option 82 Insertion
Option 82 remote-id

Configuring DHCP snooping trusted ports

By default, all ports are untrusted. To configure a port or range of ports as trusted, enter this
command (see
HP Switch(config)# dhcp-snooping trust <port-list>
You can also use this command in the interface context, in which case you cannot enter a port list.
Reason
forward from trusted port
forward to trusted port
drop
received on untrusted port
drop
unauthorized server
drop
destination on untrusted port 0
drop
untrusted option 82 field
drop
bad DHCP release request
drop
failed verify MAC check
: Yes
: 4
: Yes
: Yes
: mac
Example 4 "Setting trusted
Count
shows DHCP snooping enabled on VLAN 4.
ports").
Configuring advanced threat protection
8
8
2
0
0
0
0
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents