Cisco WS-C3550-12G Software Configuration Manual page 481

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Chapter 20
Configuring QoS
This example shows how to create an ACL that permits PIM traffic from any source to a destination
group address of 224.0.0.2 with a DSCP set to 32:
Switch(config)# access-list 102 permit pim any 224.0.0.2 dscp 32
Beginning in privileged EXEC mode, follow these steps to create a Layer 2 MAC ACL for non-IP traffic:
Command
Step 1
configure terminal
Step 2
mls qos
Step 3
mac access-list extended name
Step 4
{permit | deny} {host src-MAC-addr mask |
any | host dst-MAC-addr | dst-MAC-addr
mask} [type mask]
Step 5
end
Step 6
show access-lists [access-list-number |
access-list-name]
Step 7
copy running-config startup-config
To delete an access list, use the no mac access-list extended access-list-name global configuration
command.
78-11194-03
Purpose
Enter global configuration mode.
Enable QoS on the switch.
Create a Layer 2 MAC ACL by specifying the name of the list.
After entering this command, the mode changes to extended MAC
ACL configuration.
Specify the type of traffic to permit or deny if the conditions are
matched, entering the command as many times as necessary.
For src-MAC-addr, enter the MAC address of the host from
which the packet is being sent. You specify this by using the
hexadecimal format (H.H.H), by using the any keyword as an
abbreviation for source 0.0.0, source-wildcard 255.255.255, or
by using the host keyword for source 0.0.0.
For mask, enter the wildcard bits by placing ones in the bit
positions that you want to ignore.
For dst-MAC-addr, enter the MAC address of the host to which
the packet is being sent. You specify this by using the
hexadecimal format (H.H.H), by using the any keyword as an
abbreviation for source 0.0.0, source-wildcard 255.255.255, or
by using the host keyword for source 0.0.0.
(Optional) For type mask, specify the Ethertype number of a
packet with Ethernet II or SNAP encapsulation to identify the
protocol of the packet. For type, the range is from 0 to 65535,
typically specified in hexadecimal. For mask, enter the don't
care bits applied to the Ethertype before testing for a match.
Note
When creating an access list, remember that, by default, the
end of the access list contains an implicit deny statement for
everything if it did not find a match before reaching the end.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring QoS
20-29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents