Table Of Contents
Implementing SBC QoS (Marking)
Contents
Prerequisites for Implementing QoS
Information About Implementing QoS
How to Implement QoS
Configuring QoS Profiles
Analyzing the SIP Resource-Priority Header
Configuring a Resource Priority Set on a SIP Adjacency
Choosing a Qos Profile Using CAC
Configuration Examples of QoS Profiles
Configuring a QoS Voice Profile Using IP Precedence Marking: Example
Configuring a QoS Voice Profile Using DSCP Marking: Example
Choosing a QoS Profile Using CAC: Example
Configuration of a SIP Adjacency Using Resource- Priority-Set: Example
Additional References
Related Documents
Standards
MIBs
RFCs
Technical Assistance
Related Command Summary
Implementing SBC QoS (Marking)
SBC supports quality of service (QoS) profiles that the integrator configures for IP packet marking on the data path. IP packet marking is used in the SBC in the following contexts:
•
Configuring media packet real-time transport protocol (RTP) and real-time control protocol (RTCP) marking based on a per call scope.
•
Supporting Differentiated Services Code Point (DSCP) marking as well as IP precedence/Type of Service (ToS) marking for voice service.
•
Providing the ability to mark media packet differently depending on which branch of the call (either the caller or the callee) they are sent on.
•
Supporting signaling and media packet marking based on Session Initiation Packet (SIP) resource priority header.
Note
For a complete description of commands used in this chapter, refer to the Cisco IOS XR Session Border Controller Command Reference. To locate documentation for other commands that appear in this chapter, use the command reference master index, or search online.
Feature History for Implementing SBC QoS
Release
|
Modification
|
Release 3.3.0
|
This feature was introduced on the Cisco XR 12000 Series Router.
|
Release 3.4.0
|
No modification.
|
Release 3.4.1
|
The SIP marking feature was introduced on the Cisco XR 12000 Series Router.
|
Release 3.5.0
|
No modification.
|
Release 3.6.0
|
No modification.
|
Contents
•
Prerequisites for Implementing QoS
•
Information About Implementing QoS
•
How to Implement QoS
•
Configuration Examples of QoS Profiles
•
Configuration of a SIP Adjacency Using Resource- Priority-Set: Example
•
Additional References
•
Related Command Summary
Prerequisites for Implementing QoS
The following prerequisites are required to implement QoS on the SBC:
•
You must be in a user group associated with a task group that includes the proper task IDs for SBC commands being used. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
•
You must install and activate the package installation envelope (PIE) for the SBC software.
For detailed information about PIE installation, refer to the Upgrading and Managing Cisco IOS XR Software module in the Cisco IOS XR Getting Started Guide.
•
Before implementing interworking DTMF, the SBC must already be created. See the procedures described in the "SBC Configuration Prerequisites" module.
Information About Implementing QoS
To implement QoS marking on the SBC, the user configures the SBC with a number of QoS profiles, which are given unique names to identify them. These QoS profiles are used exclusively for marking packets.
Each QoS profile contains the following mutually exclusive parameters.
•
A 6-bit DiffServ Code Point (DSCP) value to mark packets that match the QoS.
•
A 3-bit IP precedence value and a 4-bit TOS value to mark packets that match the QoS.
Note
A default QoS profile that cannot be modified or deleted is preconfigured on the SBC. If the user does not define a QoS profile, the default QoS profile is used for marking packets.
How to Implement QoS
To implement QoS marking on the SBC, follow the procedures in the following sections:
•
Configuring QoS Profiles
•
Choosing a Qos Profile Using CAC
Configuring QoS Profiles
This task configures a signaling QoS profile to use an IP precedence value of 1 and a ToS value of 12 to mark packets that match the QoS.
SUMMARY STEPS
1.
configure
2.
sbc service-name
3.
sbe
4.
qos sig name
5.
marking type
6.
ip precedence value
7.
ip tos value
8.
commit
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
configure
Example:
RP/0/0/CPU0:router# configure
|
Enables global configuration mode.
|
Step 2
|
sbc service-name
Example:
RP/0/0/CPU0:router(config)# sbc mysbc
RP/0/0/CPU0:router(config-sbc)#
|
Enters the mode of an SBC service.
• Use the service-name argument to define the name of the SBC.
|
Step 3
|
sbe
Example:
RP/0/0/CPU0:router(config-sbc)# sbe
RP/0/0/CPU0:router(config-sbc-sbe)#
|
Enters the mode of an SBE entity within a SBC service.
|
Step 4
|
qos sig name
Example:
RP/0/0/CPU0:router(config-sbc-sbe)# qos sig
residential
RP/0/0/CPU0:router(config-sbc-sbe-qos-sig)#
|
Enters the mode of configuring a QoS profile. The name parameter must be the name of an existing QoS profile. The string "default" is reserved.
|
Step 5
|
marking type
Example:
RP/0/0/CPU0:router(config-sbc-sbe-qos-sig)#
marking ip-precedence
|
Configures whether the QoS profile marks packets with a DSCP value or an IP precedence and TOS value. The type must be either:
• dscp
• ip-precedence
The no version of this command configures the QoS profile to not mark packets.
|
Step 6
|
ip precedence value
Example:
RP/0/0/CPU0:router(config-sbc-sbe-qos-sig)#
ip precedence 1
|
Configures an IP precedence with which to mark IP packets belonging to the given QoS profile. The range of IP precedence values is 0 to 7.
The no version of this command sets the default IP precedence value to 0.
Note If the QoS profile is configured to mark packets DSCP value takes precedence.
|
Step 7
|
ip tos value
Example:
RP/0/0/CPU0:router(config-sbc-sbe-qos-sig)#
ip tos 12
|
Configures an IP type of service (ToS) with which to mark IP packets belonging to the given QoS profile. The value parameter is a bit field consisting of one or more of the following bits OR'd together:
• 8—Minimize delay
• 4—Maximize throughput
• 2—Maximize reliability
• 1—Minimize monetary cost
|
Step 8
|
commit
Example:
RP/0/0/CPU0:router(config-sbc-sbe-qos-sig)#
commit
|
Saves configuration changes. Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.
|
Analyzing the SIP Resource-Priority Header
Users can configure the SBC to map SIP packets with Resource-Priority Header strings to the following SBC priority values:
•
Routine
•
Priority
•
Immediate
•
Flash
•
Flash override
•
Critical
The CAC uses the assigned priority value to choose the QoS profile.
The following task configures the SBC to assign priority value"flash" to a SIP packet with Resource-Priority Header string "dsn.flash"
SUMMARY STEPS
1.
configure
2.
sbc service name
3.
sbe
4.
resource-priority-set name
5.
resource-priority string value
6.
priority priority value
7.
commit
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
configure
Example:
RP/0/0/CPU0:router# configure
|
Enables global configuration mode.
|
Step 2
|
sbc service-name
Example:
RP/0/0/CPU0:router(config)# sbc mysbc
|
Enters the mode of an SBC service.
• Use the service-name argument to define the name of the SBC.
|
Step 3
|
sbe
Example:
RP/0/0/CPU0:router(config-sbc)# sbe
|
Enters the mode of an SBE entity within a SBC service.
|
Step 4
|
resource-priority-set name
Example:
RP/0/0/CPU0:router(config-sbc-sbe)#
resource-priority-set dsn
|
Enters the mode to map SIP Resource-Priority header string to SBC priority values.
|
Step 5
|
resource-priority string value
Example:
RP/0/0/CPU0:router(config-sbc-sbe-rsrc-pri-set)#
resource-priority dsn.flash
|
Enters the mode to configure the priority of the Resource-Priority header string.
|
Step 6
|
priority priority value
Example:
RP/0/0/CPU0:router(config-sbc-sbe-rsrc-pri)#
priority flash
|
Sets the SBC priority value of the Resource-Priority header string.
The SBC priority value must be one of the following:
• routine
• priority
• immediate
• flash
• flash-override
• critical
|
Step 7
|
commit
Example:
RP/0/0/CPU0:router(config-sbc-sbe-rsrc-pri)#
commit
|
Saves the configuration changes to the running configuration file.
|
Configuring a Resource Priority Set on a SIP Adjacency
The following task configures the SIP adjacency "SipToIsp42"to use resource-priority-set "dsn."
SUMMARY STEPS
1.
configure
2.
sbc service name
3.
sbe
4.
adjacency sip adjacency name
5.
resource-priority-set name
6.
commit
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
configure
Example:
RP/0/0/CPU0:router# configure
|
Enables global configuration mode.
|
Step 2
|
sbc service-name
Example:
RP/0/0/CPU0:router(config)# sbc mysbc
|
Enters the mode of an SBC service.
• Use the service-name argument to define the name of the SBC.
|
Step 3
|
sbe
Example:
RP/0/0/CPU0:router(config-sbc)# sbe
|
Enters the mode of an SBE entity within a SBC service.
|
Step 4
|
adjacency sip adjacency name
Example:
RP/0/0/CPU0:router(config-sbc-sbe)# adjacency
sip SipToIsp42
|
Configures the SIP adjacency to use with the specified resource priority set.
|
Step 5
|
resource-priority-set name
Example:
RP/0/0/CPU0:router(config-sbc-sbe-adj-sip)#
resource-priority-set dsn
|
Sets the SIP adjacency to use with the specified resource priority set.
|
Step 6
|
commit
Example:
RP/0/0/CPU0:router(config-sbc-sbe-adj-sip)#
commit
|
Saves the configuration changes to the running configuration file.
|
Choosing a Qos Profile Using CAC
This task configures calls from the account "acme" to use the voice QoS profile "enterprise" for packets sent from the SBC to the original caller.
Note
This command can only be executed at the per-call scope. The CAC policy does not activate if this command is configured at any other scope.
SUMMARY STEPS
1.
configure
2.
sbc service-name
3.
sbe
4.
cac-policy-set policy-set-id
5.
first-cac-scope scope-name
6.
first-cac-table table-name
7.
cac-table table-name
8.
match-type table-type
9.
entry entry-id
10.
match-value key
11.
caller-voice-qos-profile profile-name
12.
caller-video-qos-profile profile-name
13.
caller-sig-qos-profile profile name
14.
commit
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
configure
Example:
RP/0/0/CPU0:router# configure
|
Enables global configuration mode.
|
Step 2
|
sbc service-name
Example:
RP/0/0/CPU0:router(config)# sbc mysbc
|
Enters the mode of an SBC service.
• Use the service-name argument to define the name of the service.
|
Step 3
|
sbe
Example:
RP/0/0/CPU0:router(config-sbc)# sbe
|
Enters the mode of an SBE entity within an SBC service.
|
Step 4
|
cac-policy-set policy-set-id
Example:
RP/0/0/CPU0:router(config-sbc-sbe)#
cac-policy-set 1
|
Enters the mode of Call Admission Control (CAC) policy set configuration within an SBE entity, creating a new policy set, if necessary.
|
Step 5
|
first-cac-scope scope-name
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy)#
first-cac-scope call
|
Configures the scope at which to begin defining limits when performing the admission control stage of policy.
The scope-name argument configures the scope at which limits should be initially defined. Possible values are:
• global
• call
Also, one or more of the following scopes can be defined in a comma-separated list:
• src-adjacency
• dst-adjacency
• src-number
• dst-number
• src-account
• dst-account
|
Step 6
|
first-cac-table table-name
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy)#
first-cac-table MyCacTable
|
Configures the name of the first policy table to process when performing the admission control stage of policy.
|
Step 7
|
cac-table table-name
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy)#
cac-table MyCacTable
|
Enters the mode for configuration of an admission control table (creating one, if necessary) within the context of an SBE policy set.
|
Step 8
|
match-type table-type
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy-
cactable)# match-type src-account
|
Configures the match-type of an admission control table within the context of an SBE policy set.
The table-type argument controls the syntax of the match-value fields of the entries in the table. Possible table-types available are:
• policy-set
• dst-prefix
• src-prefix
• src-adjacency
• src-account
• dst-adjacency
• dst-account
• category
• event-type
• all
|
Step 9
|
entry entry-id
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy-
cactable)# entry 1
|
Enters the mode for configuring an entry in an admission control table, creating the entry, if necessary.
|
Step 10
|
match-value key
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy-
cac-table-ent)# match-value acme
|
Configures the match value of an entry in an admission control table.
|
Step 11
|
caller-voice-qos-profile profile-name
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy-
cac-table-ent)# caller-voice-qos-profile
enterprise
|
Configures the QoS profile to use for voice media packets sent to the original caller.
|
Step 12
|
caller-video-qos-profile profile-name
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy-
cac-table-ent)# caller-video-qos-profile
enterprise
|
Configures the QoS profile to use for packets sent to the original caller.
|
Step 13
|
caller-sig-qos-profile profile-name
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy-
cac-table-ent)# caller-sig-qos-profile
enterprise
|
Configures the QoS profile to use for signaling packets sent to the original caller.
|
Step 14
|
commit
Example:
RP/0/0/CPU0:router(config-sbc-sbe-cacpolicy-
cac-table-ent)# commit
|
Saves configuration changes. Use the commit command to save the configuration changes to the running configuration file and remain within the configuration session.
|
Configuration Examples of QoS Profiles
This section provides the following configuration examples:
•
Configuring a QoS Voice Profile Using IP Precedence Marking: Example
•
Configuring a QoS Voice Profile Using DSCP Marking: Example
•
Choosing a QoS Profile Using CAC: Example
•
Configuration of a SIP Adjacency Using Resource- Priority-Set: Example
Configuring a QoS Voice Profile Using IP Precedence Marking: Example
This task configures a QoS voice profile to use an IP precedence value of 1 and a TOS value of 12 to mark packets that match the QoS.
Configuring a QoS Voice Profile Using DSCP Marking: Example
This task configures a QoS voice profile to use an IP precedence value of 1 and a TOS value of 12 to mark packets that match the QoS.
Choosing a QoS Profile Using CAC: Example
This task configures calls from the account "acme" to use the voice QoS profile "enterprise" for packets sent from the SBC to the original caller.
first-cac-table MyCacTable
caller-voice-qos-profile enterprise
caller-video-qos-profile enterprise
sbc mysbc
sbe
cac-policy-set 1
first-cac-scope call
first-cac-table MyCacTable
cac-table MyCacTable
match-type src-account
entry 1
match-value acme
caller-video-qos-profile enterprise
caller-voice-qos-profile enterprise
!commit
!
!
!
Configuration of a SIP Adjacency Using Resource- Priority-Set: Example
This section provides the following configuration example:
resource-priority-set dsn
Additional References
The following sections provide references related to implementing SBC QOS.
Related Documents
Related Topic
|
Document Title
|
Cisco IOS XR master command reference
|
Cisco IOS XR Master Commands List
|
Cisco IOS XR SBC interface configuration commands
|
Cisco IOS XR Session Border Controller Command Reference
|
Initial system bootup and configuration information for a router using the Cisco IOS XR Software
|
Cisco IOS XR Getting Started Guide
|
Cisco IOS XR command modes
|
Cisco IOS XR Command Mode Reference
|
Standards
Standards
|
Title
|
No new or modified standards are supported by this feature, and support from existing standards has not been modified by this feature.
|
—
|
MIBs
RFCs
RFCs
|
Title
|
RFC 2749
|
COPS usage for RSVP
|
RFC 2205
|
Resource ReSerVation Protocol (RSVP) -- Version 1 Functional Specification
|
RFC 3550
|
RTP: A Transport Protocol for Real-Time Applications
|
Technical Assistance
Description
|
Link
|
The Cisco Technical Support website contains thousands of pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.
|
http://www.cisco.com/techsupport
|
Related Command Summary
This section provides an alphabetical list of the commands related to QoS configuration on the Cisco XR 12000 Series Router. For more information about the commands, see the Cisco IOS XR Session Border Controller Command Reference.
Command
|
Purpose
|
callee-sig-qos-profile profile-name
|
Configures the QoS profile to use for signaling packets sent to the original callee.
|
callee-video-qos-profile profile-name
|
Configures the QoS profile to use for media packets sent to the original callee.
|
callee-voice-qos-profile profile-name
|
Configures the QoS profile to use for media packets sent to the original callee.
|
caller-sig-qos-profile profile-name
|
Configures the QoS profile to use for signaling packets sent to the original caller.
|
caller-video-qos-profile profile-name
|
Configures the QoS profile to use for media packets sent to the original caller.
|
caller-voice-qos-profile profile-name
|
Configures the QoS profile to use for media packets sent to the original caller.
|
dscp
|
Configures a DSCP with which to mark IP packets belonging to a given QoS profile.
|
ip precedence value
|
Configures an IP precedence with which to mark IP packets belonging to a QoS profile.
|
ip TOS value
|
Configures an IP TOS with which to mark IP packets belonging to a QoS profile.
|
marking type
|
Configures whether the QoS profile will mark packets with a DSCP value or an IP precedence and type of service (TOS) value.
|
priority value
|
Sets the SBC priority value of the Resource-Priority header string.
|
qos video
|
Enters the mode for QoS video configuration.
|
qos voice
|
Enters the mode for QoS voice configuration.
|
resource-priority value
|
Enters the mode to configure the priority of the Resource-Priority header string.
|
resource-priority-set value
|
Enters the mode to map SIP Resource-Priority header string to SBC priority values.
|