25-37
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter 25
Configuring ATM Router Module Interfaces
Configuring VC Bundling with IP and ATM QoS
Configure the BA or MF Classifiers
Classifiers read an IP packet header and can classify packets based on the IP source or destination
address, TCP or UDP source or destination port, and/or the Layer 4 protocol. These are called
Multi-Field (MF) classifiers. Classifiers can classify packets based on IP Precedence Level or IP
DiffServe Code Point (DSCP). These are called behavior aggregate (BA) classifiers.
Either MF or BA classifiers can be used for an input class. Only BA classifiers can be used for an output
class. Classifiers are configured using the class-map commands. Class-map commands use access lists
for MF classifiers to qualify packets for a particular class.
To configure the MF or BA classifiers, use the following commands, beginning in global configuration
mode:
Example
The following example classifies the voice packets based on IP precedence (BA classifier) and voice
signaling packets based on source IP address and UDP port (MF classifier).
Switch1(config)#
class-map match-all voice
Switch1(config-cmap)#
match ip precedence 3 5 6 7
Switch1(config-cmap)#
exit
Switch1(config)#
class-map match-all ABC-signaling-host
Switch1(config-cmap)#
match access-group 101
Switch1(config-cmap)#
end
Switch1(config)#
access-list 101 permit udp 7.0.0.0 0.0.0.255 any eq 2556
Command
Purpose
Step 1
Switch(config)#
class-map
name
[
match-all
|
match-any
]
Switch(config-cmap)#
Specifies the match criteria in the class map and
changes to QoS class map configuration mode.
Step 2
Switch(config-cmap)#
match
{
access-group
{
acl-index
|
acl-name
} |
any
|
class-map
|
destination-address
mac
mac-address
|
input-interface
{{
interface-type
card
/
subcard
/
port
} | {
null
number
} | {
vlan
vlan-id
}}|
ip
{
dscp
|
precedence
}
value1
value2
...
value8
|
not
|
protocol
{ ip | ipc | vofr}
|
qos-group
group-value
|
source-address
mac
mac-address
}
Specifies the classification criteria
Step 3
Switch(config)#
access-list
number
permit udp
ip-address
mask
any eq
port-number
Configures the voice signaling access list.