HP BladeSystem bc2800 Command Line Interface Reference Guide HP BladeSystem PC - Page 64
permit (MAC), permit, ethtype, deny-any-any
View all HP BladeSystem bc2800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 64 highlights
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 n source - Specifies the source MAC address of the packet. n source-wildcard - Specifies wildcard bits to be applied to the source MAC address. Use 1s in bit positions to be ignored. n destination - Specifies the MAC address of the host to which the packet is being sent. n destination-wildcard - Specifies wildcard bits to be applied to the destination MAC address. Use 1s in bit positions to be ignored. n vlan-id - Specifies the ID of the packet VLAN. (Range: 0-4095) n cos - Specifies the Class of Service (CoS) for the packet. (Range: 0-7) n cos-wildcard - Specifies wildcard bits to be applied to the CoS. n 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 4-8 www.hp.com HP PC Blade Switch CLI Reference Guide