DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
233
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use the
no
form of this command to reset some of the logging criteria to their defaults. If not specified,
all the logging types are reset to log on when the ARP packets are denied.
Example
This example shows how to configure an ARP inspection on VLAN 1 to add packets to a log that
matches the ACLs.
Switch# configure terminal
Switch(config)# ip arp inspection vlan 1 logging acl-match all
Switch(config)#
26-11
permit | deny (arp access-list)
This command is used to define the ARP permit entry. Use the
deny
command to define the ARP
deny entry. Use the
no
form of this command to remove an entry
{permit | deny} ip {any | host SENDER-IP | SENDER-IP SENDER-IP-MASK} mac {any | host
SENDER-MAC | SENDER-MAC SENDER-MAC-MASK}
no {permit | deny} ip {any | host SENDER-IP | SENDER-IP SENDER-IP-MASK} mac {any |
host SENDER-MAC | SENDER-MAC SENDER-MAC-MASK}
Parameters
ip any
Specifies to match any source IP address.
ip host SENDER-IP
Specifies to match a single source IP address.
SENDER-IP SENDER-IP-
MASK
Specifies to match a group of source IP addresses by using a
bitmap mask. The bit corresponding to bit value 1 will be checked.
The input format is the same as IP address.
mac any
Specifies to match any source MAC address.
mac host SENDER-MAC
Specifies to match a single source MAC address.
SENDER-MAC SENDER-
MAC-MASK
Specifies to match a group of source MAC addresses by using a
bitmap mask. The bit corresponding to bit value 1 will be checked.
The input format is the same as MAC address.
Default
None.
Command Mode
ARP Access-list Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Using the
permit any
option will permit the rest of the packets that do not match any previous rule.
Example
This example shows how to configure an ARP access-list with two permit entries.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...