Cisco Systems Cisco Class Map: A Comprehensive Guide to Class Map Configuration

Page 42

Chapter 4 Configuring with the Command-Line Interface

Configuring QoS Attributes

Creating a Class Map

For each class map that you want to create, do the following in global configuration mode:

Step 1 Assign a name to your class map.

Router(config)# class-map [match-all match-any]class_name

Where match-anymeans a single match rule is sufficient for class membership and match-allmeans only those packets that have all the attributes you specify are part of the class.

When you enter the class-map command, you are placed in class map configuration mode.

Step 2 Describe the characteristics of the packets that are subject to QoS using one or more of the following.

Router(config-cmap)# match access-groupnumber

Router(config-cmap)# match ip dscp number

Router(config-cmap)# match ip precedence number

Router(config-cmap)#match input-interface interface-name

match access-groupspecifies access control list (ACL) that a packet must match.

match ip dscp specifies the IP differentiated service code point (DSCP) that a packet must match.

match ip precedence specifies the precedence values (0-7) that a packet must match.

match input-interfacespecifies the name of the input interface used as a match criterion.

For more information about these commands, see the “Cisco IOS Quality of Service Solutions Command Reference.”

Step 3 Exit class map configuration mode.

Router(config-cmap)# exit

Creating a Policy Map

To create a policy map, do the following in global configuration mode:

Step 1 Assign a name to your policy map.

Router(config)# policy-mappolicy_name

When you enter the policy-map command, you are placed in policy map configuration mode.

Step 2 Associate the policy map with a class map.

Router(config-pmap)# class class_name

Specify the same class_name as you did in Step 1 of Creating a Class Map. When you enter the class command, you are placed in class submode of the policy-map configuration mode.

Cisco MWR 1900 Mobile Wireless Edge Router Software Configuration Guide

4-14

78-13983-04

 

 

Image 42
Contents Corporate Headquarters Customer Order Number DOC-7813983= Text Part NumberCopyright 2002 Cisco Systems, Inc All rights reserved About This Guide Software FeaturesLimitations and Restrictions First-Time Configuration AudienceConfiguring PIM Using the Setup Command FacilitySaving Configuration Changes Configuring PPP MultiplexingMode y-cable Configuring RedundancyWhere to Go Next Assigning a QoS Boilerplate to an InterfacePage Organization ObjectivesAudience Chapter Title DescriptionBoldface font Document ConventionsConvention Description Boldface screenObtaining Documentation Additional InformationRelated Documentation World Wide WebOrdering Documentation Obtaining Technical AssistanceDocumentation CD-ROM Documentation FeedbackTo access Cisco.com, go to the following website Cisco.comTechnical Assistance Center Contacting TAC by Telephone Overview of the MWR BenefitsNetwork Processor Software Software FeaturesCisco IOS Software MLP, PPP Control Path IPCP, NCP, LCP, ClnsPPP Multiplexing/Demultiplexing RTP/UDP Header CompressionRedundancy Support RTP Header CompressionRFC1213-MIB MIB SupportMWR 1900 supports the following MIBs RFC1253-MIBLimitations and Restrictions 802.1Q VLANs Frame Relay FRUnderstanding Boot Images Before You BeginUnderstanding Interface Numbering Interface type Slot number/Interface number Using the Setup Command Facility Configuring Global ParametersBefore Starting Your Router Viewing the configuration Enter a host name for the router this example usesCompleting the Configuration You are then prompted to configure the specified interfaceSummary of interfaces is displayed Where to Go Next First-Time Configuration Where to Go NextCisco IOS Software Basics Getting HelpExit , or logout Understanding Command ModesConfigure terminal As interface serial 0/0Undoing a Command or Feature Saving Configuration ChangesPage Configuring with the Command-Line Interface Prompt changes to Routerconfig# Configuring the Host Name and PasswordEnter global configuration mode Verifying the Version of Cisco IOS SoftwareExit interface configuration mode Configuring Loopback InterfacesExit to global configuration mode Change the name of the router to a meaningful nameConfiguring Fast Ethernet Interfaces Configuring the FE Interface IP AddressSetting the Speed and Duplex Mode Configuring Routing Protocol Attributes Configuring PIMSpecify the speed Configuring Hsrp Support Configuring Multilink Interfaces Enabling the FE InterfaceSpecify a priority Configuring Multilink PPP Configuring IP Address AssignmentEnable multilink PPP operation To set the default PPP protocol ID, enter Configuring PPP MultiplexingConfiguring RTP/UDP Compression To set the maximum length of the subframe, enterRPM-3config-if#ip rtp header-compression Configuring T1 and E1 Interfaces Configuring T1 InterfacesConfiguring E1 Interfaces Set the carrier delay for the serial interfaceConfiguring QoS Attributes Creating a Class Map Creating a Policy Map78-13983-04 Configuring Redundancy Assigning a QoS Boilerplate to an InterfaceRedundant MWR 1900s Exit y-mode configuration mode Stand-Alone MWRSpecify the interface to be used for backhauling Verifying the Configuration MWR1900-1#show running-configMatch access-group Ip ospf message-digest-key 1 md5 mymd5pw Ip ospf Hello-interval Ospf Dead-interval Monitoring and Managing the MWR Show Commands for Monitoring the MWR Command PurposeShow controllers Show interface type slot / portShow protocols Command Reference Clear ip rtp header-compression Clear ppp mux Command Modes Command History Usage Guidelines ExamplesRelated Commands Description Clear ppp mux interface interfaceIp rtp header-compressionEnables RTP header compression Syntax Description Defaults Command ModesConnections Interface configuration Ip rtp compression-connectionsSyntax Description Defaults Command Modes Command History Ip rtp header-compressionPassive Related Commands Description Standalone Mode y-cableMode y-cable Standby use-interfaceCommand Modes Command History Ppp muxPpp mux delay Ppp mux delay integer no ppp mux delayUsage Guidelines Examples Related Commands Ppp mux frame Defaults Command Modes Command HistoryDefault maximum length is Interface configuration Ppp mux frame integer no ppp mux framePpp mux pid Ppp mux pid integerPpp mux subframe length Ppp mux subframe length integer No ppp mux subframe lengthDefault maximum is Interface configuration Ppp mux subframe countPpp mux subframe count integer No ppp mux subframe count Invoked y-cable mode Global configurationFollowing example enables redundancy mode Redundancy1describes the significant fields shown in the display Show ip rtp header-compressionShow ip rtp header-compression type number detail Field DescriptionThat can exist on an interface Show ppp mux Interface interfacePpp mux Enables PPP multiplexing/demultiplexing 2describes the significant fields shown in the displayThis command has no attributes Show redundancyStand-alone configuration Invokes y-cable modeInvokes redundancy mode StandbyStandalone Syntax Description DefaultsCable configuration No standaloneStandby use-interface Standby use-interface interface health revertive backhaulStandby use-interface loopback102 revertive Page Cisco IOS About Command modes Enable mode IP addressCounters, PPP multiplexing MIB support Mode y-cable IN-2Command ConfiguringIN-4