Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-429
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
permit (ARP access-list configuration)
permit (ARP access-list configuration)
Use the permit Address Resolution Protocol (ARP) access-list configuration command to permit an 
ARP packet based on matches against the Dynamic Host Configuration Protocol (DHCP) bindings. Use 
the no form of this command to remove the specified access control entry (ACE) from the access control 
list.
permit {[request] ip {any | host sender-ip | sender-ip sender-ip-maskmac {any | host sender-mac 
sender-mac sender-mac-mask} | response ip {any | host sender-ip | sender-ip sender-ip-mask} 
[{any | host target-ip | target-ip target-ip-mask}] mac {any | host sender-mac | sender-mac 
sender-mac-mask
} [{any | host target-mac | target-mac target-mac-mask}]} [log]
no permit {[request] ip {any | host sender-ip | sender-ip sender-ip-maskmac {any | host 
sender-mac | sender-mac sender-mac-mask} | response ip {any | host sender-ip | sender-ip 
sender-ip-mask
} [{any | host target-ip | target-ip target-ip-mask}] mac {any | host sender-mac 
sender-mac sender-mac-mask} [{any | host target-mac | target-mac target-mac-mask}]} [log]
This command is available only if your switch is running the IP services feature set.
Syntax Description
Defaults
There are no default settings.
Command Modes
ARP access-list configuration
request
(Optional) Requests a match for the ARP request. When request is not 
specified, matching is performed against all ARP packets.
ip
Specify the sender IP address.
any
Accept any IP or MAC address.
host sender-ip
Accept the specified sender IP address.
sender-ip 
sender-ip-mask
Accept the specified range of sender IP addresses.
mac
Specify the sender MAC address.
host sender-mac
Accept the specified sender MAC address.
sender-mac 
sender-mac-mask
Accept the specified range of sender MAC addresses.
response ip
Define the IP address values for the ARP responses.
host target-ip
(Optional) Accept the specified target IP address.
target-ip target-ip-mask
(Optional) Accept the specified range of target IP addresses.
mac
Specify the MAC address values for the ARP responses.
host target-mac
(Optional) Accept the specified target MAC address.
target-mac 
target-mac-mask
(Optional) Accept the specified range of target MAC addresses.
log
(Optional) Log a packet when it matches the ACE. Matches are logged if 
you also configure the matchlog keyword in the 
 global configuration command.