Chapter 17: DHCP Snooping Commands
306 Section III: Layer 2 Switching
CREATE DHCPSNOOPING MACFILTER
Syntax
create 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. The range is 1 to
999.
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.