HP PC Blade Switch CLI Reference Guide
www.hp.com
4-9
ACL Commands
deny (MAC)
The
deny
MAC-Access List Configuration mode command denies
traffic if the conditions
defined in the deny statement match.
Syntax
deny
destination
deny
[
disable-port
] {
any
| {
source source-wildcard
}}{
any
| {
destination destination-
wildcard
}}[
vlan
vlan-id
] [
cos
cos
cos-wildcard
] [
ethtype
eth-type
]
Parameters
■
disable-port
— Indicates that the port is disabled if the statement is deny.
■
source
— Specifies the MAC address of the host from which the packet was sent.
■
source-wildcard
— (Optional for the first type) Specifies wildcard bits by placing 1s in bit
positions to be ignored.
■
destination
— Specifies the MAC address of the host to which the packet is being sent.
■
destination-wildcard
— (Optional for the first type) Specifies wildcard bits by placing 1s in
bit positions to be ignored.
■
vlan-id
— Specifies the ID of the packet vlan.
■
cos
— Specifies the packets’s Class of Service (CoS).
■
cos-wildcard
— Specifies wildcard bits to be applied to the CoS.
■
eth-type
— Specifies the packet’s Ethernet type.
Default Setting
This command has no default configuration.
Command Mode
MAC-Access List Configuration mode
Command Usage
MAC BPDU packets cannot be denied.
This command defines an Access Control Element (ACE). An ACE can only be removed by
deleting the ACL, using the
no mac access-list
Global Configuration mode command.
Alternatively, the Web-based interface can be used to delete ACEs from an ACL.
Use the following user guidelines:
■
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.
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 ...