Chapter 17: DHCP Snooping Commands
324 Section III: Layer 2 Switching
SET DHCPSNOOPING MACFILTER
Syntax
set dhcpsnooping macfilter=
entry_id
[address=
mac_address
|any] [mask=
mac_mask
]
[vlan=
vlan_name
|
vlan_id
|any] [port=
port_list
|all|none]
[action=deny|permit]
Parameters
entry_id
Specifies the ID of a MAC address filtering entry.
mac_address
Specifies the MAC address of the device to be filtered.
any
Specifies all MAC addresses. This is the default setting.
mac_mask
Specifies the mask of the MAC address to be filtered.
vlan_name
Specifies a VLAN name.
vlan_id
Specifies a VLAN ID. The range is 1to 4094.
any
Specifies all VLANs.
port_list
Specifies a list of ports. To specify multiple ports, use a comma (,)
to separate them. To specify a range of ports, use a hyphen (-).
all
Specifies all the switch ports.
none
Specifies no switch ports.
deny
When matching the filtering criteria, the client is denied.
permit
When matching the filtering criteria, the client is permitted.