4-8
www.hp.com
HP PC Blade Switch CLI Reference Guide
ACL Commands
permit (MAC)
The
permit
MAC-Access List Configuration mode command defines
permit conditions of an
MAC ACL.
Syntax
permit
{
any
| {
host
source source-wildcard
}
any
| {
destination destination-wildcard
}} [
vlan
vlan-id
] [
cos
cos cos-wildcard
] [
ethtype
eth-type
]
Parameters
■
source
— Specifies the source MAC address of the packet.
■
source-wildcard
— Specifies wildcard bits to be applied to the source MAC address. Use 1s
in bit positions to be ignored.
■
destination
— Specifies the MAC address of the host to which the packet is being sent.
■
destination-wildcard
— Specifies wildcard bits to be applied to the destination MAC
address. Use 1s in bit positions to be ignored.
■
vlan-id
— Specifies the ID of the packet VLAN. (Range: 0-4095)
■
cos
— Specifies the Class of Service (CoS) for the packet. (Range: 0-7)
■
cos-wildcard
— Specifies wildcard bits to be applied to the CoS.
■
eth-type
— Specifies the Ethernet type of the packet.(Range: 0-65535)
Default Setting
No MAC ACL is defined.
Command Mode
MAC-Access List Configuration mode
Command Usage
Before an Access Control Element (ACE) is added to an ACL, all packets are permitted. After an
ACE is added, an implied
deny-any-any
condition exists at the end of the list and those packets
that do not match the conditions defined in the permit statement are denied.
If the VLAN ID is specified, the policy map cannot be connected to the VLAN interface.
Example
The following commands create a MAC ACL with permit rules.
Console(config)#
mac access-list
macl-acl1
Console(config-mac-al)#
permit
6:6:6:6:6:6 0:0:0:0:0:0
any vlan
6
Summary of Contents for Bc1500 - BladeSystem - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...