/
protocols dhcp snooping vlan
protocols dhcp snooping vlan
The set protocols dhcp snooping vlan command enables the DHCP snooping function on a specified VLAN or all VLANs.
Command Syntax
set protocols dhcp snooping vlan {<vlan-id> | all}
Parameter
Parameter | Description |
---|---|
vlan-id | VLAN tag identifier, numeric type, range from 1-4094. |
all | Indicates all DHCP packets are allowed to be snooped. |
When set protocols dhcp snooping vlan <vlan-id> is configured, that means DHCP packets are allowed to be snooped in the specified VLAN. Generally, the VLAN that enables DHCP snooping should be configured as the VLAN to which the interface connected to the host.
When set protocols dhcp snooping vlan all is configured, that means DHCP packets of all VLANs are allowed to be snooped.
Example
Enable DHCP snooping on VLAN 100.
admin@XorPlus#set protocols dhcp snooping vlan 100
Copyright © 2025 Pica8 Inc. All Rights Reserved.