< Home

dhcp snooping nomatch-packet (VLAN view)

Function

The dhcp snooping nomatch-packet command configures how to process the IP and ARP packets if the DHCP snooping binding table does not contain mapping entries.

Format

dhcp snooping nomatch-packet { arp | ip } action { forward | discard } interface interface-type interface-number

Parameters

Parameter Description Value
arp Specifies ARP packets. -
ip Specifies IP packets. -
forward Forwards packets. -
discard Discards packets. -
interface interface-type interface-number Specifies the type and number of an interface. -

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# In VLAN 100, discard ARP packets if the DHCP snooping binding table does not contain mapping entries.

<sysname> system-view
[sysname] vlan 100
[sysname-vlan-100] dhcp snooping nomatch-packet arp action discard interface GigabitEthernet 0/0/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >