=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2006.11.16 06:42:07 =~=~=~=~=~=~=~=~=~=~=~= R7# R7#s cl   h class Class Map match-all telnet (id 5) Match protocol telnet Class Map match-all test (id 4) Match none Class Map match-any jpeg (id 3) Match protocol http mime "*.jpg" Match protocol http mime "*.jpe" Match protocol http mime "*.jpeg" Match protocol http url "*.jpg" Match protocol http url "*.jpe" Match protocol http url "*.jpeg" Class Map match-all S5Other (id 2) Match access-group 1 Class Map match-any class-default (id 0) Match any Class Map match-all S5Telnet (id 1) Match access-group 1 Match protocol telnet --More--   Class Map match-all ftp (id 6) Match protocol ftp Class Map match-all Prob21SQL (id 8) Match access-group 100 Match class-map sql Class Map match-any sql (id 7) Match protocol sqlnet Match protocol sqlserver R7#config t Enter configuration commands, one per line. End with CNTL/Z. R7(config)#P pol R7(config)#policy-map Prob2324 R7(config-pmap)#class ftp R7(config-pmap-c)#sh  jasdfjnasdfujsdhdf                  pol R7(config-pmap-c)#police ? <8000-2000000000> Bits per second cir Committed information rate R7(config-pmap-c)#police 256000 ? <1000-512000000> Burst bytes bc Conform burst conform-action action when rate is less than conform burst pir Peak Information Rate R7(config-pmap-c)#police 256000 R7(config-pmap-c-police)#do sh pol Policy Map Prob5 Class S5Telnet Bandwidth 1000 (kbps) Max Threshold 64 (packets) Class jpeg Traffic Shaping Average Rate Traffic Shaping CIR 1000000 (bps) Max. Buffers Limit 1000 (Packets) Class S5Other police cir 5000000 bc 156250 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 Policy Map Prob2324 Class ftp police cir 256000 bc 8000 conform-action transmit exceed-action drop Policy Map Prob20to22 Class ftp Bandwidth 25 (%) Max Threshold 64 (packets) Class telnet Bandwidth 25 (%) Max Threshold 64 (packets) --More--   Class Prob21SQL Strict Priority Bandwidth 56 (kbps) Burst 128 (Bytes) Class class-default Flow based Fair Queueing Bandwidth 0 (kbps) Max Threshold 64 (packets) R7(config-pmap-c-police)#exit R7(config-pmap-c)#class R7(config-pmap-c)#classtelnet ^ % Invalid input detected at '^' marker. R7(config-pmap-c)#classtelnet telnet R7(config-pmap-c)#sha R7(config-pmap-c)#shape ? adaptive Enable Traffic Shaping adaptation to BECN average configure token bucket: CIR (bps) [Bc (bits) [Be (bits)]], send out Bc only per interval fecn-adapt Enable Traffic Shaping reflection of FECN as BECN fr-voice-adapt Enable rate adjustment depending on voice presence max-buffers Set Maximum Buffer Limit peak configure token bucket: CIR (bps) [Bc (bits) [Be (bits)]], send out Bc+Be per interval R7(config-pmap-c)#shape av R7(config-pmap-c)#shape average ? <8000-154400000> Target Bit Rate (bits per second), the value needs to be multiple of 8000 percent % of interface bandwidth for Committed information rate R7(config-pmap-c)#shape average 56000 ? <256-154400000> bits per interval, sustained. Needs to be multiple of 128. Recommend not to configure it, the algorithm will find out the best value R7(config-pmap-c)#shape average 56000 11200 ? <0-154400000> bits per interval, excess. Needs to be multiple of 128. Bc will be used if you don't configure it. R7(config-pmap-c)#shape average 56000 11200 28000 ? R7(config-pmap-c)#shape average 56000 11200 28000                                 pol R7(config-pmap-c)#police ? <8000-2000000000> Bits per second cir Committed information rate R7(config-pmap-c)#police 56000 ? <1000-512000000> Burst bytes bc Conform burst conform-action action when rate is less than conform burst pir Peak Information Rate R7(config-pmap-c)#police 56000 1400 ? <1000-512000000> Burst bytes be Excess burst conform-action action when rate is less than conform burst pir Peak Information Rate R7(config-pmap-c)#police 56000 1400 35000  ? conform-action action when rate is less than conform burst R7(config-pmap-c)#police 56000 1400 3500 con R7(config-pmap-c)#police 56000 1400 3500 conform-action ? drop drop packet exceed-action action when rate is within conform and conform + exceed burst set-clp-transmit set atm clp and send it set-discard-class-transmit set discard-class and send it set-dscp-transmit set dscp and send it set-frde-transmit set FR DE and send it set-mpls-exp-imposition-transmit set exp at tag imposition and send it set-mpls-exp-topmost-transmit set exp on topmost label and send it set-prec-transmit rewrite packet precedence and send it set-qos-transmit set qos-group and send it transmit transmit packet R7(config-pmap-c)#police 56000 1400 3500 conform-action se R7(config-pmap-c)#police 56000 1400 3500 conform-action set-p R7(config-pmap-c)#police 56000 1400 3500 conform-action set-prec-transmit ? <0-7> new precedence R7(config-pmap-c)#police 56000 1400 3500 conform-action set-prec-transmit                                                         exit R7(config-pmap)#exity ^ % Invalid input detected at '^' marker. R7(config-pmap)#exity  R7(config)#class R7(config)#class-map test R7(config-cmap)#match ? access-group Access group any Any packets class-map Class map cos IEEE 802.1Q/ISL class of service/user priority values destination-address Destination address discard-class Discard behavior identifier dscp Match DSCP in IP(v4) and IPv6 packets fr-de Match on Frame-relay DE bit fr-dlci Match on fr-dlci input-interface Select an input interface to match ip IP specific values mpls Multi Protocol Label Switching specific values not Negate this match result packet Layer 3 Packet length precedence Match Precedence in IP(v4) and IPv6 packets protocol Protocol qos-group Qos-group source-address Source address R7(config-cmap)#match pr R7(config-cmap)#match pre R7(config-cmap)#match precedence ? <0-7> Enter up to 4 precedence values separated by white-spaces critical Match packets with critical precedence (5) flash Match packets with flash precedence (3) flash-override Match packets with flash override precedence (4) immediate Match packets with immediate precedence (2) internet Match packets with internetwork control precedence (6) network Match packets with network control precedence (7) priority Match packets with priority precedence (1) routine Match packets with routine precedence (0) R7(config-cmap)#match precedence                  exit R7(config)#exitclass-map testnclass-map testoclass-map test class-map test R7(config)#no class-map testexit class-map testexit y class telnettelnet exit do sh polpolice 256000 class ftp policy-map Prob2324 R7(config-pmap)#class telnet R7(config-pmap-c)#pol R7(config-pmap-c)#police 56000 1400 255   359 00 co R7(config-pmap-c)#police 56000 1400 3500 conform-action se R7(config-pmap-c)#police 56000 1400 3500 conform-action set-op R7(config-pmap-c)#police 56000 1400 3500 conform-action set-op  p R7(config-pmap-c)#police 56000 1400 3500 conform-action set-prec-transmit ? <0-7> new precedence R7(config-pmap-c)#police 56000 1400 3500 conform-action set-prec-transmit 1 ? exceed-action action when rate is within conform and conform + exceed burst R7(config-pmap-c)#police 56000 1400 3500 conform-action set-prec-transmit 1 e$0 1400 3500 conform-action set-prec-transmit 1 ex  R7(config-pmap-c)#$0 conform-action set-prec-transmit 1 exceed-action ? drop drop packet set-clp-transmit set atm clp and send it set-discard-class-transmit set discard-class and send it set-dscp-transmit set dscp and send it set-frde-transmit set FR DE and send it set-mpls-exp-imposition-transmit set exp at tag imposition and send it set-mpls-exp-topmost-transmit set exp on topmost label and send it set-prec-transmit rewrite packet precedence and send it set-qos-transmit set qos-group and send it transmit transmit packet R7(config-pmap-c)#$0 conform-action set-prec-transmit 1 exceed-action set R7(config-pmap-c)#$0 conform-action set-prec-transmit 1 exceed-action set-p R7(config-pmap-c)#$-prec-transmit 1 exceed-action set-prec-transmit 0 ? violate-action action when rate is greater than conform + exceed burst R7(config-pmap-c)#$-prec-transmit 1 exceed-action set-prec-transmit 0 R7(config-pmap-c-police)#do sh pol Policy Map Prob5 Class S5Telnet Bandwidth 1000 (kbps) Max Threshold 64 (packets) Class jpeg Traffic Shaping Average Rate Traffic Shaping CIR 1000000 (bps) Max. Buffers Limit 1000 (Packets) Class S5Other police cir 5000000 bc 156250 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 Policy Map Prob2324 Class ftp police cir 256000 bc 8000 conform-action transmit exceed-action drop Class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 Policy Map Prob20to22 --More--   R7(config-pmap-c-police)#do sh pol$-prec-transmit 1 exceed-action set-prec-transmit 0 smit 1 exceed-action set-prec-transmit 0 v i R7(config-pmap-c-police)#$smit 1 exceed-action set-prec-transmit 0 viol R7(config-pmap-c-police)#$smit 1 exceed-action set-prec-transmit 0 viol    class telnet $-prec-transmit 1 exceed-action set-prec-transmit 0 do sh pol $-prec-transmit 1 exceed-action set-prec-transmit 0 do sh pol $-prec-transmit 1 exceed-action set-prec-transmit 0 do sh pol $-prec-transmit 1 exceed-action set-prec-transmit 0                                                    action se         0 conform         0 1400 35         police 560          exit R7(config-pmap-c)#exitdo sh pol$-prec-transmit 1 exceed-action set-prec-transmit 0 do sh pol $-prec-transmit 1 exceed-action set-prec-transmit 0 vi R7(config-pmap-c)#$smit 1 exceed-action set-prec-transmit 0 violate-action ? drop drop packet set-clp-transmit set atm clp and send it set-discard-class-transmit set discard-class and send it set-dscp-transmit set dscp and send it set-frde-transmit set FR DE and send it set-mpls-exp-imposition-transmit set exp at tag imposition and send it set-mpls-exp-topmost-transmit set exp on topmost label and send it set-prec-transmit rewrite packet precedence and send it set-qos-transmit set qos-group and send it transmit transmit packet R7(config-pmap-c)#$smit 1 exceed-action set-prec-transmit 0 violate-action dreed-action set-prec-transmit 0 violate-action dro p R7(config-pmap-c-police)#exit R7(config-pmap-c)#exit$eed-action set-prec-transmit 0 violate-action dropexit do sh pol Policy Map Prob5 Class S5Telnet Bandwidth 1000 (kbps) Max Threshold 64 (packets) Class jpeg Traffic Shaping Average Rate Traffic Shaping CIR 1000000 (bps) Max. Buffers Limit 1000 (Packets) Class S5Other police cir 5000000 bc 156250 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 Policy Map Prob2324 Class ftp police cir 256000 bc 8000 conform-action transmit exceed-action drop Class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop --More--   R7(config-pmap-c)#do sh polexit $eed-action set-prec-transmit 0 violate-action drop                     R7(config-pmap-c-police)#exit R7(config-pmap-c)#exit R7(config-pmap)#class class-defaulr % class map class-defaulr not configured R7(config-pmap)#class class-defaulr t R7(config-pmap-c)#fa R7(config-pmap-c)#fair-queue ? <16-4096> Number Dynamic Conversation Queues R7(config-pmap-c)#fair-queue R7(config-pmap-c)#li R7(config-pmap-c)#li? % Unrecognized command R7(config-pmap-c)#li  ? QoS policy-map class configuration commands: bandwidth Bandwidth compression Activate Compression drop Drop all packets exit Exit from QoS class action configuration mode fair-queue Enable Flow-based Fair Queuing in this Class no Negate or set default values of a command police Police priority Strict Scheduling Priority for this Class queue-limit Queue Max Threshold for Tail Drop random-detect Enable Random Early Detection as drop policy service-policy Configure QoS Service Policy set Set QoS values shape Traffic Shaping R7(config-pmap-c)#qu R7(config-pmap-c)#queue-limit ? <1-4096> Packets R7(config-pmap-c)#queue-limit 100 ? R7(config-pmap-c)#queue-limit 100 R7(config-pmap-c)#int s 1/0.1 R7(config-subif)#serv R7(config-subif)#service-policy ou R7(config-subif)#service-policy output Prob21 324 CBWFQ : Not supported on subinterfaces R7(config-subif)#exit    exit R7(config)#int s 1/0 R7(config-if)#fram R7(config-if)#frame-relay tra R7(config-if)#frame-relay traff R7(config-if)#frame-relay traffic-shaping R7(config-if)#exit R7(config)#map R7(config)#map-cl R7(config)#map-class ? atm Asynchronous transfer mode dialer Dial on Demand frame-relay Frame Relay R7(config)#map-class fr R7(config)#map-class frame-relay ? WORD Static map class name R7(config)#map-class frame-relay Prob2324 R7(config-map-class)#serv R7(config-map-class)#service-policy ? input input policy output output policy R7(config-map-class)#service-policy out Prob2324 R7(config-map-class)#int s 1/0.1 R7(config-subif)#do sh run it   nt s 1/0.1 Building configuration... Current configuration : 213 bytes ! interface Serial1/0.1 point-to-point ip address 180.40.7.65 255.255.255.224 ip ospf network broadcast ip ospf priority 0 frame-relay interface-dlci 703 frame-relay ip tcp header-compression passive end R7(config-subif)# frame-relay interface-dlci 703 R7(config-fr-dlci)#clas R7(config-fr-dlci)#class ? WORD map class name R7(config-fr-dlci)#class Prob2324 R7(config-fr-dlci)#do sh po ol int s 1/0.1 Serial1/0.1: DLCI 703 - Service-policy output: Prob2324 Class-map: ftp (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol ftp police: cir 256000 bps, bc 8000 bytes conformed 0 packets, 0 bytes; actions: transmit exceeded 0 packets, 0 bytes; actions: drop conformed 0 bps, exceed 0 bps Class-map: telnet (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol telnet police: cir 56000 bps, bc 1400 bytes, be 3500 bytes conformed 0 packets, 0 bytes; actions: --More--   set-prec-transmit 1 exceeded 0 packets, 0 bytes; actions: set-prec-transmit 0 violated 0 packets, 0 bytes; actions: drop conformed 0 bps, exceed 0 bps, violate 0 bps Class-map: class-default (match-any) 1 packets, 84 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Queueing Flow Based Fair Queueing Maximum Number of Hashed Queues 16 (total queued/total drops/no-buffer drops) 0/0/0 R7(config-fr-dlci)#do sh run int s 1/0.2 Building configuration... Current configuration : 261 bytes ! interface Serial1/0.2 point-to-point ip address 180.40.7.161 255.255.255.224 ip helper-address 208.28.1.99 ip ospf network point-to-multipoint frame-relay priority-dlci-group 1 702 702 702 702 frame-relay interface-dlci 702 protocol ip 180.40.7.162 end R7(config-fr-dlci)#int s 1/0 R7(config-if)#int s 1/0do sh run int s 1/0.2pol int s 1/0.1class Prob2324  frame-relay interface-dlci 703do sh run int s 1/0.1 int s 1/0.1 service-policy out Prob2324map-class frame-relay Prob2324exit frame-relay traffic-shaping nframe-relay traffic-shaping oframe-relay traffic-shaping  frame-relay traffic-shaping  R7(config-if)#no frame-relay traffic-shaping int s 1/0 do sh run int s 1/0.2pol int s 1/0.1 R7(config-if)# R7(config-if)# R7(config-if)# R7(config-if)# R7(config-if)#do sh pol int s 1/0.1no frame-relay traffic-shaping int s 1/0 no frame-relay traffic-shaping no frame-relay traffic-shaping  frame-relay traffic-shaping  R7(config-if)# frame-relay traffic-shaping do sh pol int s 1/0.1  Serial1/0.1: DLCI 703 - Service-policy output: Prob2324 Class-map: ftp (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol ftp police: cir 256000 bps, bc 8000 bytes conformed 0 packets, 0 bytes; actions: transmit exceeded 0 packets, 0 bytes; actions: drop conformed 0 bps, exceed 0 bps Class-map: telnet (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol telnet police: cir 56000 bps, bc 1400 bytes, be 3500 bytes conformed 0 packets, 0 bytes; actions: --More--   set-prec-transmit 1 exceeded 0 packets, 0 bytes; actions: set-prec-transmit 0 violated 0 packets, 0 bytes; actions: drop conformed 0 bps, exceed 0 bps, violate 0 bps Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Queueing Flow Based Fair Queueing Maximum Number of Hashed Queues 16 (total queued/total drops/no-buffer drops) 0/0/0 R7(config-if)#sh    dp   o sh [ pol Policy Map Prob5 Class S5Telnet Bandwidth 1000 (kbps) Max Threshold 64 (packets) Class jpeg Traffic Shaping Average Rate Traffic Shaping CIR 1000000 (bps) Max. Buffers Limit 1000 (Packets) Class S5Other police cir 5000000 bc 156250 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 Policy Map Prob2324 Class ftp police cir 256000 bc 8000 conform-action transmit exceed-action drop Class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop Class class-default --More--   Flow based Fair Queueing Bandwidth 0 (kbps) Max Threshold 100 (packets) Policy Map Prob20to22 Class ftp Bandwidth 25 (%) Max Threshold 64 (packets) Class telnet Bandwidth 25 (%) Max Threshold 64 (packets) Class Prob21SQL Strict Priority Bandwidth 56 (kbps) Burst 128 (Bytes) Class class-default Flow based Fair Queueing Bandwidth 0 (kbps) Max Threshold 64 (packets) R7(config-if)#q pol p Prob2324 R7(config-pmap)#class telnet R7(config-pmap-c)#do sh run | b Prob2324 policy-map Prob2324 class ftp police 256000 class telnet police 56000 1400 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop class class-default fair-queue queue-limit 100 policy-map Prob20to22 class ftp bandwidth percent 25 class telnet bandwidth percent 25 class Prob21SQL priority 56 128 class class-default fair-queue 512 ! ! ! ! ! --More--   R7(config-pmap-c)#no police 56000 1400 3500 conform-action set-prec-transm$e 56000 1400 3500 conform-action set-prec-transmi t 1 excee00 3500 conform-action set-prec-transmit 1 exceed -action snform-action set-prec-transmit 1 exceed-action se t-prec- R7(config-pmap-c)#$nform-action set-prec-transmit 1 exceed-action set-prec-          R7(config-pmap-c)#$00 3500 conform-action set-prec-transmit 1 exceed-action R7(config-pmap-c)#$00 3500 conform-action set-prec-transmit 1 exceed-action do sh run | b Prob2324  policy-map Prob2324 class ftp police 256000 class telnet class class-default fair-queue queue-limit 100 policy-map Prob20to22 class ftp bandwidth percent 25 class telnet bandwidth percent 25 class Prob21SQL priority 56 128 class class-default fair-queue 512 ! ! ! ! ! ! interface FastEthernet0/0 --More--   R7(config-pmap-c)# police 56000 1400 3500 conform-action set-prec-transmit $6000 1400 3500 conform-action set-prec-transmit 1  exceed-a3500 conform-action set-prec-transmit 1 exceed-ac tion set-rm-action set-prec-transmit 1 exceed-action set-p rec-   R7(config-pmap-c)#$set-prec-transmit 1 exceed-action set-prec-transmit 0 R7(config-pmap-c-police)#s do sh pol Policy Map Prob5 Class S5Telnet Bandwidth 1000 (kbps) Max Threshold 64 (packets) Class jpeg Traffic Shaping Average Rate Traffic Shaping CIR 1000000 (bps) Max. Buffers Limit 1000 (Packets) Class S5Other police cir 5000000 bc 156250 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 Policy Map Prob2324 Class ftp police cir 256000 bc 8000 conform-action transmit exceed-action drop Class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 Class class-default Flow based Fair Queueing --More--   Bandwidth 0 (kbps) Max Threshold 100 (packets) Policy Map Prob20to22 Class ftp Bandwidth 25 (%) Max Threshold 64 (packets) Class telnet Bandwidth 25 (%) Max Threshold 64 (packets) Class Prob21SQL Strict Priority Bandwidth 56 (kbps) Burst 128 (Bytes) Class class-default Flow based Fair Queueing Bandwidth 0 (kbps) Max Threshold 64 (packets) R7(config-pmap-c-police)#do sh pol  int s 1/0.1 Serial1/0.1: DLCI 703 - Service-policy output: Prob2324 Class-map: ftp (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol ftp police: cir 256000 bps, bc 8000 bytes conformed 0 packets, 0 bytes; actions: transmit exceeded 0 packets, 0 bytes; actions: drop conformed 0 bps, exceed 0 bps Class-map: telnet (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol telnet police: cir 56000 bps, bc 1400 bytes conformed 0 packets, 0 bytes; actions: --More--   set-prec-transmit 1 exceeded 0 packets, 0 bytes; actions: set-prec-transmit 0 conformed 0 bps, exceed 0 bps Class-map: class-default (match-any) 17 packets, 1972 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Queueing Flow Based Fair Queueing Maximum Number of Hashed Queues 16 (total queued/total drops/no-buffer drops) 0/0/0 R7(config-pmap-c-police)#do sh pol int s 1/0.1 $ransmit 1 exceed-action set-prec-transmit 0 vi R7(config-pmap-c-police)#$ransmit 1 exceed-action set-prec-transmit 0 vi                                              set-prec-         rm-action         3500 conf         6000 1400          police           vi R7(config-pmap-c-police)#violate-action dr R7(config-pmap-c-police)#violate-action drop R7(config-pmap-c-police)#violate-action drop do sh pol int s 1/0.1 Serial1/0.1: DLCI 703 - Service-policy output: Prob2324 Class-map: ftp (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol ftp police: cir 256000 bps, bc 8000 bytes conformed 0 packets, 0 bytes; actions: transmit exceeded 0 packets, 0 bytes; actions: drop conformed 0 bps, exceed 0 bps Class-map: telnet (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol telnet police: cir 56000 bps, bc 1400 bytes, be 3500 bytes conformed 0 packets, 0 bytes; actions: --More--   set-prec-transmit 1 exceeded 0 packets, 0 bytes; actions: set-prec-transmit 0 violated 0 packets, 0 bytes; actions: drop conformed 0 bps, exceed 0 bps, violate 0 bps Class-map: class-default (match-any) 23 packets, 2748 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: any Queueing Flow Based Fair Queueing Maximum Number of Hashed Queues 16 (total queued/total drops/no-buffer drops) 0/0/0 R7(config-pmap-c-police)#^Z R7# *Mar 2 13:07:25.997: %SYS-5-CONFIG_I: Configured from console by console R7#confi gt ^ % Invalid input detected at '^' marker. R7#config t Enter configuration commands, one per line. End with CNTL/Z. R7(config)#int s 1/0.1 R7(config-subif)#fra R7(config-subif)#fra   int s 1/0.1do sh pol int s 1/0.1violate-action drop do sh pol int s 1/0.1 $set-prec-transmit 1 exceed-action set-prec-transmit 0do sh run | b Prob2324 $00 3500 conform-action set-prec-transmit 1 exceed-action do sh run | b Prob2324 class telnet pol Prob2324do sh pol  int s 1/0.1 frame-relay traffic-shaping do sh pol int s 1/0.1 no frame-relay traffic-shaping int s 1/0 do sh run int s 1/0.2pol int s 1/0.1class Prob2324 do sh pol int s 1/0.1run int s 1/0.2int s 1/0 no frame-relay traffic-shaping do sh pol int s 1/0.1  frame-relay traffic-shaping do sh pol int s 1/0.1  pol Prob2324class telnetdo sh run | b Prob2324$00 3500 conform-action set-prec-transmit 1 exceed-action do sh run | b Prob2324 $set-prec-transmit 1 exceed-action set-prec-transmit 0do sh pol int s 1/0.1violate-action drop do sh pol int s 1/0.1                     do shg    run int s 1/0.1 Building configuration... Current configuration : 230 bytes ! interface Serial1/0.1 point-to-point ip address 180.40.7.65 255.255.255.224 ip ospf network broadcast ip ospf priority 0 frame-relay interface-dlci 703 class Prob2324 frame-relay ip tcp header-compression passive end R7(config-subif)# frame-relay interface-dlci 703 R7(config-fr-dlci)# R7(config-fr-dlci)#no class Prob2324 R7(config-fr-dlci)#pol Prob2324 R7(config-pmap)#class ftp R7(config-pmap-c)#no pol 256000 R7(config-pmap-c)#sh R7(config-pmap-c)#shape av R7(config-pmap-c)#shape average 256000 R7(config-pmap-c)#int s 1/0.1 R7(config-subif)#int s 1/0.1shape average 256000no pol 256000 class ftp pol Prob2324no class Prob2324 frame-relay interface-dlci 703 R7(config-fr-dlci)# frame-relay interface-dlci 703int s 1/0.1 shape average 256000no pol 256000 class ftp pol Prob2324no class Prob2324no class Prob2324  class Prob2324  class Prob2324  Only class-default supported over FR VCs R7(config-fr-dlci)#pod   l Por  rod2324 R7(config-pmap)#class ftp R7(config-pmap-c)#class ftppol Prod2324 class Prob2324frame-relay interface-dlci 703int s 1/0.1 shape average 256000nshape average 256000oshape average 256000 shape average 256000 R7(config-pmap-c)#pol R7(config-pmap-c)#police 24 56000 R7(config-pmap-c-police)#int s 1/0.1 R7(config-subif)#int s 1/0.1police 256000no shape average 256000class ftp pol Prod2324 class Prob2324frame-relay interface-dlci 703 R7(config-fr-dlci)# frame-relay interface-dlci 703int s 1/0.1 police 256000no shape average 256000class ftp pol Prod2324 R7(config-pmap)#pol Prod2324 frame-relay interface-dlci 703int s 1/0.1  R7(config-subif)#int s 1/0.1pol Prod2324 frame-relay interface-dlci 703 R7(config-fr-dlci)# frame-relay interface-dlci 703int s 1/0.1 pol Prod2324 frame-relay interface-dlci 703int s 1/0.1 police 256000no shape average 256000class ftp pol Prod2324 class Prob2324 Only class-default supported over FR VCs R7(config-fr-dlci)# class Prob2324 class Prob2324 class Prob2324  Only class-default supported over FR VCs R7(config-fr-dlci)#do sh run int s 1/0.1 Building configuration... Current configuration : 213 bytes ! interface Serial1/0.1 point-to-point ip address 180.40.7.65 255.255.255.224 ip ospf network broadcast ip ospf priority 0 frame-relay interface-dlci 703 frame-relay ip tcp header-compression passive end R7(config-fr-dlci)#do shg    run | b pol policy-map Prob5 class S5Telnet bandwidth 1000 class jpeg shape average 1000000 class S5Other police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 policy-map Prob2324 class ftp shape average 256000 class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop class class-default fair-queue queue-limit 100 policy-map Prod2324 class ftp police 256000 policy-map Prob20to22 --More--   R7(config-fr-dlci)#policy-map Prob2324 R7(config-pmap)# class ftp R7(config-pmap-c)# class ftppolicy-map Prob2324do sh run | b pol int s 1/0.1class Prob2324  class Prob2324frame-relay interface-dlci 703int s 1/0.1 pol Prod2324 frame-relay interface-dlci 703int s 1/0.1 police 256000no shape average 256000 R7(config-pmap-c)#no shape average 256000 class ftp policy-map Prob2324do sh run | b pol  policy-map Prob5 class S5Telnet bandwidth 1000 class jpeg shape average 1000000 class S5Other police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 policy-map Prob2324 class ftp class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop class class-default fair-queue queue-limit 100 policy-map Prod2324 class ftp police 256000 policy-map Prob20to22 class ftp --More--   R7(config-pmap-c)#pol R7(config-pmap-c)#police do sh run | b polno shape average 256000 class ftp policy-map Prob2324do sh run | b pol int s 1/0.1class Prob2324  class Prob2324frame-relay interface-dlci 703int s 1/0.1 pol Prod2324 frame-relay interface-dlci 703int s 1/0.1 police 256000 R7(config-pmap-c-police)#police 256000do sh run | b polno shape average 256000do sh run | b pol  policy-map Prob5 class S5Telnet bandwidth 1000 class jpeg shape average 1000000 class S5Other police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 policy-map Prob2324 class ftp police 256000 class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop class class-default fair-queue queue-limit 100 policy-map Prod2324 class ftp police 256000 policy-map Prob20to22 --More--   R7(config-pmap-c-police)#exit R7(config-pmap-c)#no policy-map Prod2324 R7(config)#int s 1/0.1 R7(config-subif)#int s 1/0.1no policy-map Prod2324exit do sh run | b polpolice 256000 do sh run | b polno shape average 256000 class ftp policy-map Prob2324do sh run | b pol int s 1/0.1class Prob2324  class Prob2324frame-relay interface-dlci 703int s 1/0.1 pol Prod2324int s 1/0.1  frame-relay interface-dlci 703int s 1/0.1  frame-relay interface-dlci 703 R7(config-fr-dlci)#class Prob2324 R7(config-fr-dlci)#^Z R7#sh run | b *Mar 2 13:14:11.530: %SYS-5-CONFIG_I: Configured from console by console R7#sh run | b class class-map match-all telnet match protocol telnet class-map match-any jpeg match protocol http mime "*.jpg" match protocol http mime "*.jpe" match protocol http mime "*.jpeg" match protocol http url "*.jpg" match protocol http url "*.jpe" match protocol http url "*.jpeg" class-map match-all S5Other match access-group 1 class-map match-all S5Telnet match access-group 1 match protocol telnet class-map match-all ftp match protocol ftp class-map match-any sql match protocol sqlnet match protocol sqlserver class-map match-all Prob21SQL match access-group 100 match class-map sql ! --More--  ! policy-map Prob5 class S5Telnet bandwidth 1000 class jpeg shape average 1000000 class S5Other police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1 policy-map Prob2324 class ftp police 256000 class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop class class-default fair-queue queue-limit 100 policy-map Prob20to22 class ftp bandwidth percent 25 --More--   class telnet bandwidth percent 25 class Prob21SQL priority 56 128 class class-default fair-queue 512 ! ! ! ! ! ! interface FastEthernet0/0 ip address 208.28.1.1 255.255.255.0 speed auto half-duplex service-policy output Prob20to22 ! interface BRI0/0 no ip address shutdown ! interface FastEthernet0/1 --More--   ip address 180.40.7.131 255.255.255.224 ip helper-address 180.40.7.66 speed auto half-duplex vrrp 47 ip 180.40.7.133 glbp 47 ip 180.40.7.134 glbp 47 weighting track 1 decrement 100 standby 47 ip 180.40.7.132 standby 47 preempt service-policy output Prob5 ! interface Serial1/0 no ip address encapsulation frame-relay no fair-queue frame-relay traffic-shaping ! interface Serial1/0.1 point-to-point ip address 180.40.7.65 255.255.255.224 ip ospf network broadcast ip ospf priority 0 frame-relay interface-dlci 703 class Prob2324 --More--   frame-relay ip tcp header-compression passive ! interface Serial1/0.2 point-to-point ip address 180.40.7.161 255.255.255.224 ip helper-address 208.28.1.99 ip ospf network point-to-multipoint frame-relay priority-dlci-group 1 702 702 702 702 frame-relay interface-dlci 702 protocol ip 180.40.7.162 ! interface Serial1/1 no ip address shutdown ! interface Serial1/2 no ip address shutdown ! interface Serial1/3 no ip address shutdown ! interface Serial1/4 no ip address --More--   R7#config t Enter configuration commands, one per line. End with CNTL/Z. R7(config)#Pol Prob2324 R7(config-pmap)#class class-default R7(config-pmap-c)#ban R7(config-pmap-c)#bandwidth 512   ? <8-2000000> Kilo Bits per second percent % of total Bandwidth remaining % of the remaining bandwidth R7(config-pmap-c)#bandwidth 512 deconfigure flow based fair queueing before issuing this command in this class R7(config-pmap-c)#no fai R7(config-pmap-c)#no fair-queue R7(config-pmap-c)#no fair-queue bandwidth 512  I/f Serial1/0.1 DLCI 703 class class-default requested bandwidth 512 (kbps), available only 28 (kbps) R7(config-pmap-c)#do sh int s 1/0.1 Serial1/0.1 is up, line protocol is up Hardware is CD2430 in sync mode Internet address is 180.40.7.65/27 MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation FRAME-RELAY Last clearing of "show interface" counters never R7(config-pmap-c)#do sh traff R7(config-pmap-c)#do sh traff Interface Se1/0 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 701 56000 875 7000 0 125 875 - Interface Se1/0.1 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 703 56000 875 7000 0 125 875 - Interface Se1/0.2 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 702 56000 875 7000 0 125 875 - R7(config-pmap-c)#sh   R7(config-pmap-c)#shape peak R7(config-pmap-c)#shape peak 6 ? <8000-154400000> Target Bit Rate (bits per second), the value needs to be multiple of 8000 percent % of interface bandwidth for Committed information rate R7(config-pmap-c)#shape peak 6000 000 Remove frame-relay traffic shaping first beforeusing GTS in Modular QoS CLI R7(config-pmap-c)# R7(config-pmap-c)#pol R7(config-pmap-c)#police 5 ? <8000-2000000000> Bits per second cir Committed information rate R7(config-pmap-c)#police 512000 R7(config-pmap-c-police)#exit R7(config-pmap-c)#exit R7(config-pmap)#map   R7(config-pmap)#map- R7(config-pmap)#map-    exit R7(config)#m R7(config)#map R7(config)#map-c R7(config)#map-class fe r R7(config)#map-class frame-relay Provb  b2324 R7(config-map-class)#fr R7(config-map-class)#frame-relay ? adaptive-shaping Adaptive traffic rate adjustment, Default = none bc Committed burst size (Bc), Default = 7000 bits be Excess burst size (Be), Default = 0 bits cir Committed Information Rate (CIR), Default = 56000 bps congestion Congestion management parameters custom-queue-list VC custom queueing end-to-end Configure frame-relay end-to-end VC parameters fair-queue VC fair queueing fecn-adapt Enable Traffic Shaping reflection of FECN as BECN fragment fragmentation - Requires Frame Relay traffic-shaping to be configured at the interface level holdq Hold queue size for VC idle-timer Idle timeout for a SVC, Default = 120 sec interface-queue PVC interface queue parameters ip Assign a priority queue for RTP streams mincir Minimum acceptable CIR, Default = CIR/2 bps priority-group VC priority queueing tc Policing Measurement Interval (Tc) traffic-rate VC traffic rate voice voice options R7(config-map-class)#frame-relay cir R7(config-map-class)#frame-relay cir 600000 R7(config-map-class)#^Z R7#sh tra *Mar 2 13:25:54.667: %SYS-5-CONFIG_I: Configured from console by console R7#sh traff Interface Se1/0 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 701 56000 875 7000 0 125 875 - Interface Se1/0.1 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 703 600000 9375 600000 0 125 9375 - Interface Se1/0.2 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 702 56000 875 7000 0 125 875 - R7#sh run | 2324 ^ % Invalid input detected at '^' marker. R7#sh run | 2324b2324 2324 policy-map Prob2324 class ftp police 256000 class telnet police cir 56000 bc 1400 be 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0 violate-action drop class class-default police 512000 policy-map Prob20to22 class ftp bandwidth percent 25 class telnet bandwidth percent 25 class Prob21SQL priority 56 128 class class-default fair-queue 512 ! ! ! ! --More--  ! ! interface FastEthernet0/0 ip address 208.28.1.1 255.255.255.0 speed auto half-duplex service-policy output Prob20to22 ! interface BRI0/0 no ip address shutdown ! interface FastEthernet0/1 ip address 180.40.7.131 255.255.255.224 ip helper-address 180.40.7.66 speed auto half-duplex vrrp 47 ip 180.40.7.133 glbp 47 ip 180.40.7.134 glbp 47 weighting track 1 decrement 100 standby 47 ip 180.40.7.132 standby 47 preempt service-policy output Prob5 --More--  ! interface Serial1/0 no ip address encapsulation frame-relay no fair-queue frame-relay traffic-shaping ! interface Serial1/0.1 point-to-point ip address 180.40.7.65 255.255.255.224 ip ospf network broadcast ip ospf priority 0 frame-relay interface-dlci 703 class Prob2324 frame-relay ip tcp header-compression passive ! interface Serial1/0.2 point-to-point ip address 180.40.7.161 255.255.255.224 ip helper-address 208.28.1.99 ip ospf network point-to-multipoint frame-relay priority-dlci-group 1 702 702 702 702 frame-relay interface-dlci 702 protocol ip 180.40.7.162 ! interface Serial1/1 --More--   no ip address shutdown ! interface Serial1/2 no ip address shutdown ! interface Serial1/3 no ip address shutdown ! interface Serial1/4 no ip address shutdown ! interface Serial1/5 no ip address shutdown ! interface Serial1/6 no ip address shutdown ! --More--  interface Serial1/7 no ip address shutdown ! router ospf 1 log-adjacency-changes network 0.0.0.0 255.255.255.255 area 0 ! ip classless ! no ip http server no ip http secure-server ! ! map-class frame-relay Prob6 frame-relay priority-group 1 ! map-class frame-relay Prob2324 frame-relay cir 600000 service-policy output Prob2324 access-list 1 permit 208.28.1.2 access-list 100 permit ip host 87.23.11.123 any access-list 100 permit ip any host 87.23.11.123 --More--   R7# RACK18AS>2 [Resuming connection 2 to r2 ... ] *M R2#sh run int s 1/0 Building configuration... Current configuration : 113 bytes ! interface Serial1/0 no ip address encapsulation frame-relay no fair-queue frame-relay traffic-shaping end R2#sh r traff Interface Se1/0 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 201 56000 875 7000 0 125 875 - Interface Se1/0.1 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 203 56000 875 7000 0 125 875 - Interface Se1/0.2 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 207 64000 5000 64000 32000 125 1000 BECN R2#confi g t Enter configuration commands, one per line. End with CNTL/Z. R2(config)# R2(config)#map-cl R2(config)#map-class fr R2(config)#map-class frame-relay Prob2512  26 R2(config-map-class)#fr R2(config-map-class)#frame-relay ci R2(config-map-class)#frame-relay cir 64000 R2(config-map-class)#fra R2(config-map-class)#frame-relay ad R2(config-map-class)#frame-relay adaptive-shaping b R2(config-map-class)#frame-relay adaptive-shaping becn R2(config-map-class)#do    fram R2(config-map-class)#frame-relay m R2(config-map-class)#frame-relay mincir        ? adaptive-shaping Adaptive traffic rate adjustment, Default = none bc Committed burst size (Bc), Default = 7000 bits be Excess burst size (Be), Default = 0 bits cir Committed Information Rate (CIR), Default = 56000 bps congestion Congestion management parameters custom-queue-list VC custom queueing end-to-end Configure frame-relay end-to-end VC parameters fair-queue VC fair queueing fecn-adapt Enable Traffic Shaping reflection of FECN as BECN fragment fragmentation - Requires Frame Relay traffic-shaping to be configured at the interface level holdq Hold queue size for VC idle-timer Idle timeout for a SVC, Default = 120 sec interface-queue PVC interface queue parameters ip Assign a priority queue for RTP streams mincir Minimum acceptable CIR, Default = CIR/2 bps priority-group VC priority queueing tc Policing Measurement Interval (Tc) traffic-rate VC traffic rate voice voice options R2(config-map-class)#frame-relay mi R2(config-map-class)#frame-relay mincir 32000 R2(config-map-class)#i nt s       nt s 1/0.1 R2(config-subif)#fram clas R2(config-subif)#fram class Prob2526 R2(config-subif)#^Z R2#sh tra *Mar 2 23:52:14.182: %SYS-5-CONFIG_I: Configured from console by console R2#sh traff Interface Se1/0 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 201 56000 875 7000 0 125 875 - Interface Se1/0.1 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 203 64000 1000 64000 0 125 1000 BECN Interface Se1/0.2 Access Target Byte Sustain Excess Interval Increment Adapt VC List Rate Limit bits/int bits/int (ms) (bytes) Active 207 64000 5000 64000 32000 125 1000 BECN R2#sh run int     b | b 1/0 interface Serial1/0 no ip address encapsulation frame-relay no fair-queue frame-relay traffic-shaping ! interface Serial1/0.1 point-to-point ip address 180.40.7.67 255.255.255.224 ip ospf network broadcast ip ospf priority 0 frame-relay class Prob2526 frame-relay interface-dlci 203 ! interface Serial1/0.2 point-to-point ip address 180.40.7.162 255.255.255.224 ip ospf network point-to-multipoint frame-relay class Prob3 frame-relay de-group 1 207 frame-relay interface-dlci 207 ! interface Serial1/1 no ip address shutdown --More--  ! interface Serial1/2 ip address 180.40.7.2 255.255.255.224 clock rate 64000 ! interface Serial1/3 no ip address shutdown ! interface Serial1/4 no ip address shutdown ! interface Serial1/5 no ip address shutdown ! interface Serial1/6 no ip address shutdown ! interface Serial1/7 no ip address --More--   shutdown ! router ospf 1 log-adjacency-changes network 0.0.0.0 255.255.255.255 area 0 ! ip classless ! no ip http server no ip http secure-server ! ! map-class frame-relay Prob3 frame-relay cir 64000 frame-relay bc 64000 frame-relay be 32000 frame-relay adaptive-shaping becn ! map-class frame-relay Prob2526 frame-relay cir 64000 frame-relay mincir 32000 frame-relay adaptive-shaping becn access-list 100 deny ospf any any --More--  access-list 100 permit ip any any --More--  ! --More--  ! --More--  ! --More--   R2# RACK18AS>6 [Resuming connection 6 to r6 ... ] S6#sh run int gi 0/1 Building configuration... Current configuration : 270 bytes ! interface GigabitEthernet0/1 switchport mode dynamic desirable wrr-queue bandwidth 25 50 25 1 wrr-queue threshold 1 40 100 wrr-queue threshold 3 60 100 wrr-queue cos-map 1 1 wrr-queue cos-map 2 0 2 4 5 6 7 wrr-queue cos-map 3 3 wrr-queue dscp-map 2 10 26 end S6#sh mls w qos int gi 0; /1 GigabitEthernet0/1 trust state: not trusted trust mode: not trusted COS override: dis default COS: 0 DSCP Mutation Map: Default DSCP Mutation Map Trust device: none S6#sh mls qos int gi 0/1 qu GigabitEthernet0/1 Egress expedite queue: dis wrr bandwidth weights: qid-weights 1 - 25 2 - 50 3 - 25 4 - 1 Dscp-threshold map: d1 : d2 0 1 2 3 4 5 6 7 8 9 --------------------------------------- 0 : 01 01 01 01 01 01 01 01 01 01 1 : 02 01 01 01 01 01 01 01 01 01 2 : 01 01 01 01 01 01 02 01 01 01 3 : 01 01 01 01 01 01 01 01 01 01 4 : 01 01 01 01 01 01 01 01 01 01 5 : 01 01 01 01 01 01 01 01 01 01 6 : 01 01 01 01 Cos-queue map: cos-qid 0 - 2 1 - 1 2 - 2 3 - 3 4 - 2 5 - 2 6 - 2 7 - 2 S6#sh mls qos int gi 0/1 qu run int gi 0/1 mls qos int gi 0/1 qu run int gi 0/1  Building configuration... Current configuration : 270 bytes ! interface GigabitEthernet0/1 switchport mode dynamic desirable wrr-queue bandwidth 25 50 25 1 wrr-queue threshold 1 40 100 wrr-queue threshold 3 60 100 wrr-queue cos-map 1 1 wrr-queue cos-map 2 0 2 4 5 6 7 wrr-queue cos-map 3 3 wrr-queue dscp-map 2 10 26 end S6#sh mls oq  qos map dscp-cos Dscp-cos map: d1 : d2 0 1 2 3 4 5 6 7 8 9 --------------------------------------- 0 : 00 00 00 00 00 00 00 00 01 01 1 : 01 01 01 01 01 01 02 02 02 02 2 : 02 02 02 02 03 03 03 03 03 03 3 : 03 03 04 04 04 04 04 04 04 04 4 : 05 05 05 05 05 05 05 05 06 06 5 : 06 06 06 06 06 06 07 07 07 07 6 : 07 07 07 07 S6#