=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2006.11.02 10:54:52 =~=~=~=~=~=~=~=~=~=~=~=

RACK98AS>7
[Resuming connection 7 to r7 ... ]

R7#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R7(config)#int fa 0/1
R7(config-if)#gl
R7(config-if)#glbp ?
  <0-1023>  Group number

R7(config-if)#glbp 47 ?
  authentication  Authentication method
  forwarder       Forwarder configuration
  ip              Enable group and set virtual IP address
  load-balancing  Load balancing method
  preempt         Overthrow lower priority designated routers
  priority        Priority level
  timers          Adjust GLBP timers
  weighting       Gateway weighting and tracking

R7(config-if)#glbp 47 ip ?
  A.B.C.D  Virtual IP address
  <cr>

R7(config-if)#glbp 47 ip 180.40.7.134 ?
  secondary  Make this IP address a secondary address
  <cr>

R7(config-if)#glbp 47 ip 180.40.7.134 
R7(config-if)#
*Mar  1 22:19:37.940: %GLBP-6-STATECHANGE: FastEthernet0/1 Grp 47 state Standby -> Active
R7(config-if)#
*Mar  1 22:19:47.941: %GLBP-6-FWDSTATECHANGE: FastEthernet0/1 Grp 47 Fwd 1 state Listen -> Active
R7(config-if)#
R7(config-if)#
R7(config-if)#
R7(config-if)#
R7(config-if)#
RACK98AS>3
[Resuming connection 3 to r3 ... ]

R3#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#ip    in fa 0/0
R3(config-if)#glbp 47 oi  ip 180.40.7.134
R3(config-if)#
*Mar  2 21:48:21.181: %GLBP-6-FWDSTATECHANGE: FastEthernet0/0 Grp 47 Fwd 2 state Listen -> Active
R3(config-if)#
R3(config-if)#
R3(config-if)#do sh glbp
FastEthernet0/0 - Group 47
  State is Standby
    1 state change, last state change 00:00:46
  Virtual IP address is 180.40.7.134
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.879 secs
  Redirect time 600 sec, forwarder time-out 14400 sec
  Preemption disabled
  Active is 180.40.7.131, priority 100 (expires in 8.334 sec)
  Standby is local
  Priority 100 (default)
  Weighting 100 (default 100), thresholds: lower 1, upper 100
  Load balancing: round-robin
  There are 2 forwarders (1 active)
  Forwarder 1
    State is Listen
    MAC address is 0007.b400.2f01 (learnt)
    Owner ID is 0012.7f8d.1dc1
    Time to live: 14398.330 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (primary), weighting 100 (expires in 8.330 sec)
  Forwarder 2
    State is Active
 --More--               1 state change, last state change 00:01:19
    MAC address is 0007.b400.2f02 (default)
    Owner ID is 0012.7f8d.1ee0
    Preemption enabled, min delay 30 sec
    Active is local, weighting 100
R3(config-if)#exit
R3(config)#tra
R3(config)#track ?
  <1-500>     Tracked object
  resolution  Tracking resolution parameters
  timer       Polling interval timers

R3(config)#track ?
  <1-500>     Tracked object
  resolution  Tracking resolution parameters
  timer       Polling interval timers

R3(config)#track 4 ?
  interface  Select an interface to track
  ip         IP protocol

R3(config)#track 4 ip ?
  route  IP route

R3(config)#track 4 ip rout 20.10.1.0/24 ?
  metric        Route metric
  reachability  Route reachability state

R3(config)#track 4 ip rout 20.10.1.0/24 re
R3(config)#track 4 ip rout 20.10.1.0/24 reachability ?
  <cr>

R3(config)#track 4 ip rout 20.10.1.0/24 reachability 
R3(config-track)#exit
R3(config)#int fa 0/0
R3(config-if)#gl
R3(config-if)#glbp 46 7 ?
  authentication  Authentication method
  forwarder       Forwarder configuration
  ip              Enable group and set virtual IP address
  load-balancing  Load balancing method
  preempt         Overthrow lower priority designated routers
  priority        Priority level
  timers          Adjust GLBP timers
  weighting       Gateway weighting and tracking

R3(config-if)#glbp 47 weighting ?
  <1-254>  Weighting maximum value
  track    Interface tracking

R3(config-if)#glbp 47 weighting tra
R3(config-if)#glbp 47 weighting track ?
  <1-500>  Tracked object

R3(config-if)#glbp 47 weighting track 4 ?
  decrement  Weighting decrement
  <cr>

R3(config-if)#glbp 47 weighting track 4 dec ?
  <1-255>  Decrement value

R3(config-if)#glbp 47 weighting track 4 dec 25 ?
  <cr>

R3(config-if)#glbp 47 weighting track 4 dec 25 
R3(config-if)#do sh glb
FastEthernet0/0 - Group 47
  State is Standby
    1 state change, last state change 00:04:26
  Virtual IP address is 180.40.7.134
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.881 secs
  Redirect time 600 sec, forwarder time-out 14400 sec
  Preemption disabled
  Active is 180.40.7.131, priority 100 (expires in 7.344 sec)
  Standby is local
  Priority 100 (default)
  Weighting 100 (default 100), thresholds: lower 1, upper 100
    Track object 4 state Up decrement 25
  Load balancing: round-robin
  There are 2 forwarders (1 active)
  Forwarder 1
    State is Listen
    MAC address is 0007.b400.2f01 (learnt)
    Owner ID is 0012.7f8d.1dc1
    Time to live: 14397.340 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (primary), weighting 100 (expires in 7.340 sec)
  Forwarder 2
 --More--         
R3(config-if)#do sh glb glbp 47 weighting track 4 dec 25                  ?
  <1-254>  Weighting maximum value
  track    Interface tracking

R3(config-if)#glbp 47 weighting 90 ?
  lower  Weighting lower threshold
  upper  Weighting upper threshold
  <cr>

R3(config-if)#glbp 47 weighting 90    10  0 ?
  lower  Weighting lower threshold
  upper  Weighting upper threshold
  <cr>

R3(config-if)#glbp 47 weighting 100 ?
  lower  Weighting lower threshold
  upper  Weighting upper threshold
  <cr>

R3(config-if)#glbp 47 weighting 100 lower ?
  <1-99>  Weighting lower threshold value

R3(config-if)#glbp 47 weighting 100 lower 90 up
R3(config-if)#glbp 47 weighting 100 lower 90 upper 100 ?
  <cr>

R3(config-if)#glbp 47 weighting 100 lower 90 upper 100 
R3(config-if)#do sh run int s 1/0
Building configuration...

Current configuration : 251 bytes
!
interface Serial1/0
 ip address 180.40.7.66 255.255.255.224
 encapsulation frame-relay
 ip ospf network broadcast
 frame-relay map ip 180.40.7.65 307 broadcast tcp header-compression connections 20
 frame-relay map ip 180.40.7.67 302 broadcast
end

R3(config-if)#do sh run int s 1/0       fa 0/0
Building configuration...

Current configuration : 441 bytes
!
interface FastEthernet0/0
 ip address dhcp
 ip policy route-map Prob1
 duplex auto
 speed auto
 vrrp 47 ip 180.40.7.133
 vrrp 47 priority 150
 glbp 47 ip 180.40.7.134
 glbp 47 weighting 100 lower 90
 glbp 47 weighting track 4 decrement 25
 standby 47 ip 180.40.7.132
 standby 47 priority 120
 standby 47 preempt
 standby 47 track Serial1/0 25
 standby 47 track Serial1/2 25
 standby 47 track 3 decrement 25
 service-policy input test
end

R3(config-if)#do sh run int fa 0/0s 1/0 glbp 47 weighting 100 lower 90 upper 100 do sh glb                                glbp 47 weighting track 4 dec 25  dec 25  2 dec 25 
R3(config-if)#
RACK98AS>7
[Resuming connection 7 to r7 ... ]

R7(config-if)#exit
R7(config)#do sh run | i track
R7(config)#track 1 ip ?
  route  IP route

R7(config)#track 1 ip rou 1 20.10.1.0/25 4 re
R7(config)#track 1 ip rou 20.10.1.0/24 reachability ?
  <cr>

R7(config)#track 1 ip rou 20.10.1.0/24 reachability 
R7(config-track)#int fa 0/1
R7(config-if)#glbp 47 w
R7(config-if)#glbp 47 weighting 100 lo
R7(config-if)#glbp 47 weighting 100 lower 90 up 100
R7(config-if)#glbp 47 wei
R7(config-if)#glbp 47 weighting tr
R7(config-if)#glbp 47 weighting track ?
  <1-500>  Tracked object

R7(config-if)#glbp 47 weighting track 1 ?
  decrement  Weighting decrement
  <cr>

R7(config-if)#glbp 47 weighting track 1 de
R7(config-if)#glbp 47 weighting track 1 decrement 25
R7(config-if)#^Z
R7#
RACK98AS>3
[Resuming connection 3 to r3 ... ]

R3(config-if)#
RACK98AS>2
[Resuming connection 2 to r2 ... ]

R2#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s 1/2
R2(config-if)#shut
R2(config-if)#
RACK98AS>3
[Resuming connection 3 to r3 ... ]

R3(config-if)#^Z
R3#s
*Mar  2 21:57:32.401: %LINK-3-UPDOWN: Interface Serial1/2, changed state to down
*Mar  2 21:57:32.401: %OSPF-5-ADJCHG: Process 1, Nbr 180.40.7.162 on Serial1/2 from FULL to DOWN, Neighbor Down: Interface down or detached
*Mar  2 21:57:32.826: %HSRP-6-STATECHANGE: FastEthernet0/0 Grp 47 state Active -> Speak
R3#sh g
*Mar  2 21:57:33.062: %SYS-5-CONFIG_I: Configured from console by console
*Mar  2 21:57:33.403: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to down
R3#sh glbp
FastEthernet0/0 - Group 47
  State is Standby
    1 state change, last state change 00:09:07
  Virtual IP address is 180.40.7.134
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.982 secs
  Redirect time 600 sec, forwarder time-out 14400 sec
  Preemption disabled
  Active is 180.40.7.131, priority 100 (expires in 8.533 sec)
  Standby is local
  Priority 100 (default)
  Weighting 75, low (configured 100), thresholds: lower 90, upper 100
    Track object 2 state Down decrement 25
    Track object 4 state Up decrement 25
  Load balancing: round-robin
  There are 2 forwarders (1 active)
  Forwarder 1
    State is Listen
    MAC address is 0007.b400.2f01 (learnt)
    Owner ID is 0012.7f8d.1dc1
    Time to live: 14398.533 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (primary), weighting 100 (expires in 8.529 sec)
 --More--           Forwarder 2
    State is Active
      1 state change, last state change 00:09:18
    MAC address is 0007.b400.2f02 (default)
    Owner ID is 0012.7f8d.1ee0
    Preemption enabled, min delay 30 sec
    Active is local, weighting 75
R3#sh glbp
FastEthernet0/0 - Group 47
  State is Standby
    1 state change, last state change 00:09:23
  Virtual IP address is 180.40.7.134
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.516 secs
  Redirect time 600 sec, forwarder time-out 14400 sec
  Preemption disabled
  Active is 180.40.7.131, priority 100 (expires in 7.071 sec)
  Standby is local
  Priority 100 (default)
  Weighting 75, low (configured 100), thresholds: lower 90, upper 100
    Track object 2 state Down decrement 25
    Track object 4 state Up decrement 25
  Load balancing: round-robin
  There are 2 forwarders (1 active)
  Forwarder 1
    State is Listen
    MAC address is 0007.b400.2f01 (learnt)
    Owner ID is 0012.7f8d.1dc1
    Time to live: 14397.067 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (primary), weighting 100 (expires in 7.067 sec)
 --More--           Forwarder 2
    State is Active
      1 state change, last state change 00:09:31
    MAC address is 0007.b400.2f02 (default)
    Owner ID is 0012.7f8d.1ee0
    Preemption enabled, min delay 30 sec
    Active is local, weighting 75
R3#sh glbp
FastEthernet0/0 - Group 47
  State is Standby
    1 state change, last state change 00:09:31
  Virtual IP address is 180.40.7.134
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.266 secs
  Redirect time 600 sec, forwarder time-out 14400 sec
  Preemption disabled
  Active is 180.40.7.131, priority 100 (expires in 7.821 sec)
  Standby is local
  Priority 100 (default)
  Weighting 75, low (configured 100), thresholds: lower 90, upper 100
    Track object 2 state Down decrement 25
    Track object 4 state Up decrement 25
  Load balancing: round-robin
  There are 2 forwarders (1 active)
  Forwarder 1
    State is Listen
    MAC address is 0007.b400.2f01 (learnt)
    Owner ID is 0012.7f8d.1dc1
    Time to live: 14397.817 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (primary), weighting 100 (expires in 7.817 sec)
 --More--           Forwarder 2
    State is Listen
      2 state changes, last state change 00:00:00
    MAC address is 0007.b400.2f02 (default)
    Owner ID is 0012.7f8d.1ee0
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (secondary), weighting 75 (expires in 9.439 sec)
R3#
*Mar  2 21:58:01.356: %GLBP-6-FWDSTATECHANGE: FastEthernet0/0 Grp 47 Fwd 2 state Active -> Listen
R3#sh glbp
FastEthernet0/0 - Group 47
  State is Standby
    1 state change, last state change 00:09:36
  Virtual IP address is 180.40.7.134
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.643 secs
  Redirect time 600 sec, forwarder time-out 14400 sec
  Preemption disabled
  Active is 180.40.7.131, priority 100 (expires in 9.199 sec)
  Standby is local
  Priority 100 (default)
  Weighting 75, low (configured 100), thresholds: lower 90, upper 100
    Track object 2 state Down decrement 25
    Track object 4 state Up decrement 25
  Load balancing: round-robin
  There are 2 forwarders (0 active)
  Forwarder 1
    State is Listen
    MAC address is 0007.b400.2f01 (learnt)
    Owner ID is 0012.7f8d.1dc1
    Time to live: 14399.195 sec (maximum 14400 sec)
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (primary), weighting 100 (expires in 9.195 sec)
 --More--           Forwarder 2
    State is Listen
      2 state changes, last state change 00:00:03
    MAC address is 0007.b400.2f02 (default)
    Owner ID is 0012.7f8d.1ee0
    Preemption enabled, min delay 30 sec
    Active is 180.40.7.131 (secondary), weighting 100 (expires in 8.690 sec)
R3# 
RACK98AS>7
[Resuming connection 7 to r7 ... ]

*Mar
R7#sh glbp brie
Interface   Grp  Fwd Pri State    Address         Active router   Standby router
Fa0/1       47   -   100 Active   180.40.7.134    local           180.40.7.129  
Fa0/1       47   1   7   Active   0007.b400.2f01  local           -
Fa0/1       47   2   7   Active   0007.b400.2f02  local           -
R7#
R7#
R7#
R7#
R7#sh hsrp brie
       ^
% Invalid input detected at '^' marker.

R7#sh hsrp brie           sta
R7#sh stan
R7#sh standby   
R7#sh standby 
FastEthernet0/1 - Group 47
  State is Active
    17 state changes, last state change 00:01:19
  Virtual IP address is 180.40.7.132
  Active virtual MAC address is 0000.0c07.ac2f
    Local virtual MAC address is 0000.0c07.ac2f (default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.838 secs
  Preemption enabled
  Active router is local
  Standby router is 180.40.7.129, priority 95 (expires in 9.828 sec)
  Priority 100 (default 100)
  IP redundancy name is "hsrp-Fa0/1-47" (default)
R7#qsh standby brie
                     P indicates configured to preempt.
                     |
Interface   Grp Prio P State    Active          Standby         Virtual IP     
Fa0/1       47  100  P Active   local           180.40.7.129    180.40.7.132   
R7#
R7#
R7#sh vrrp brie
Interface          Grp Pri Time  Own Pre State   Master addr     Group addr
Fa0/1              47  100 3609       Y  Backup  180.40.7.129    180.40.7.133   
R7#
R7#
R7#
R7#
RACK98AS>3
[Resuming connection 3 to r3 ... ]

R3#
RACK98AS>2
[Resuming connection 2 to r2 ... ]

*M
R2(config-if)#no shut
R2(config-if)#^Z
R2#
*Mar  2 21:59:22.145
RACK98AS>3
[Resuming connection 3 to r3 ... ]

*Ma
R3#
*Mar  2 21:59:24.068: %LINK-3-UPDOWN: Interface Serial1/2, changed state to up
*Mar  2 21:59:25.070: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/2, changed state to up
R3#sh run | b track
track 3 ip route 20.10.2.0 255.255.255.0 reachability
!
track 4 ip route 20.10.1.0 255.255.255.0 reachability
!
!
!
class-map match-all dscp26
  match  dscp af31 
class-map match-all dscp14
  match  dscp af13 
class-map match-all dscp24
  match  dscp cs3 
class-map match-all telnet
  match protocol telnet
class-map match-all dscp12
  match  dscp af12 
class-map match-all dscp28
  match  dscp af32 
class-map match-all prec3
  match ip precedence 3 
class-map match-all ftp
  match protocol ftp
!
 --More-- 
*Mar  2 21:59:34.417: %OSPF-5-ADJCHG: Process 1, Nbr 180.40.7.162 on Serial1/2 from LOADING to FULL, Loading Done
 --More--         !
policy-map test
  class dscp12
  class dscp14
  class dscp26
  class dscp28
  class prec3
policy-map Prob7
  class dscp12
   priority percent 25
  class telnet
   bandwidth remaining percent 24
  class ftp
   bandwidth remaining percent 51
  class class-default
   bandwidth remaining percent 25
!
! 
!
!
!
!
interface FastEthernet0/0
 --More--          ip address dhcp
 ip policy route-map Prob1
 duplex auto
 speed auto
 vrrp 47 ip 180.40.7.133
 vrrp 47 priority 150
 glbp 47 ip 180.40.7.134
 glbp 47 weighting 100 lower 90
 glbp 47 weighting track 2 decrement 25
 glbp 47 weighting track 4 decrement 25
 standby 47 ip 180.40.7.132
 standby 47 priority 120
 standby 47 preempt
 standby 47 track Serial1/0 25
 standby 47 track Serial1/2 25
 standby 47 track 3 decrement 25
 service-policy input test
!
interface BRI0/0
 no ip address
 shutdown
!
interface FastEthernet0/1
 --More--         
R3#
*Mar  2 21:59:55.047: %GLBP-6-FWDSTATECHANGE: FastEthernet0/0 Grp 47 Fwd 2 state Listen -> Active
R3#
RACK98AS>7
[Resuming connection 7 to r7 ... ]

*Mar
R7#sh run | b track
track 1 ip route 20.10.1.0 255.255.255.0 reachability
!
!
!
class-map match-all S5Other
  match access-group 1
class-map match-all S5Telnet
  match access-group 1
  match protocol telnet
class-map match-any jpg
  match protocol http url "*jpg"
  match protocol http url "*jpeg"
  match protocol http url "*jpe"
  match protocol http mime "*jpe"
  match protocol http mime "*jpeg"
  match protocol http mime "*jpg"
!
!
policy-map Prob5
  class jpg
   shape average 1000000
  class S5Telnet
   bandwidth 1000
 --More--           class S5Other
   police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1
!
! 
!
!
!
!
interface FastEthernet0/0
 ip address 208.28.1.1 255.255.255.0
 speed auto
 half-duplex
!
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
 --More--          vrrp 47 ip 180.40.7.133
 --More--          glbp 47 ip 180.40.7.134
 --More--          glbp 47 weighting 100 lower 90
 --More--          glbp 47 weighting track 1 decrement 25
 --More--          standby 47 ip 180.40.7.132
 --More--          standby 47 preempt
 --More--          service-policy output Prob5
 --More--         !
 --More--         interface Serial1/0
 --More--          no ip address
 --More--          encapsulation frame-relay
 --More--         
R7#
RACK98AS>6
[Resuming connection 6 to r6 ... ]

S6#sh mls qos map dscp-co                      sh mls qos map dscp-co
   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#config t
Enter configuration commands, one per line.  End with CNTL/Z.
S6(config)#mls qos dsc
S6(config)#mls qos dscp
S6(config)#mls qos dscp    map dscp
S6(config)#mls qos map dscp-co
S6(config)#mls qos map dscp-cos ?
  <0-63>  DSCP values separated by spaces (up to 8 values total)

S6(config)#mls qos map dscp-cos 8 9 to 0
S6(config)#mls qos map dscp-cos 8 9 to 0nmls qos map dscp-cos 8 9 to 0omls qos map dscp-cos 8 9 to 0 mls qos map dscp-cos 8 9 to 0
S6(config)#int g 0/1
S6(config-if)#do sh mls qos int g0/1   qu
GigabitEthernet0/1
Egress expedite queue: dis
wrr bandwidth weights:
qid-weights
 1 - 25
 2 - 25
 3 - 25
 4 - 25
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 :    01 01 01 01 01 01 01 01 01 01 
      2 :    01 01 01 01 01 01 01 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 - 1
 1 - 1
 2 - 2
 3 - 2
 4 - 3
 5 - 3
 6 - 4
 7 - 4

S6(config-if)#wrr
S6(config-if)#wrr-queue ?
  bandwidth      Configure WRR bandwidth
  cos-map        Configure cos-map for a queue id
  dscp-map       Configure dscp-map for a queue threshold
  queue-limit    Configure queue-limit
  random-detect  Configure random-detect
  threshold      Configure queue tail-drop thresholds

S6(config-if)#wrr-queue co
S6(config-if)#wrr-queue cos-map ?
  <1-4>  enter cos-map queue id

S6(config-if)#wrr-queue cos-map 2 ?
  <0-7>  CoS values separated by spaces (up to 8 values total)

S6(config-if)#wrr-queue cos-map 2 0 2 4 5 6 7
S6(config-if)#wrr-queue cos-map 2 0 2 4 5 6 7 7             3   3
S6(config-if)#wrr-queue cos-map 3 32 0 2 4 5 6 7do sh mls qos int g0/1 qu      
GigabitEthernet0/1
Egress expedite queue: dis
wrr bandwidth weights:
qid-weights
 1 - 25
 2 - 25
 3 - 25
 4 - 25
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 :    01 01 01 01 01 01 01 01 01 01 
      2 :    01 01 01 01 01 01 01 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(config-if)#q wrr
S6(config-if)#wrr-queue ?
  bandwidth      Configure WRR bandwidth
  cos-map        Configure cos-map for a queue id
  dscp-map       Configure dscp-map for a queue threshold
  queue-limit    Configure queue-limit
  random-detect  Configure random-detect
  threshold      Configure queue tail-drop thresholds

S6(config-if)#wrr-queue ba
S6(config-if)#wrr-queue bandwidth ?
  <1-65536>  enter bandwidth weight for qid 1

S6(config-if)#wrr-queue bandwidth 25 50 25 1
S6(config-if)#wrr
S6(config-if)#wrr-queue dsc
S6(config-if)#wrr-queue dscp-map ?
  <1-2>  enter dscp-map threshold id (1-2)

S6(config-if)#wrr-queue dscp-map 2 ?
  <0-63>  DSCP values separated by spaces (up to 8 values total)

S6(config-if)#wrr-queue dscp-map 2 10 26
S6(config-if)#wrr-queue dscp-map 2 10 26bandwidth 25 50 25 1do sh mls qos int g0/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(config-if)#wrr
S6(config-if)#wrr-queue ?
  bandwidth      Configure WRR bandwidth
  cos-map        Configure cos-map for a queue id
  dscp-map       Configure dscp-map for a queue threshold
  queue-limit    Configure queue-limit
  random-detect  Configure random-detect
  threshold      Configure queue tail-drop thresholds

S6(config-if)#wrr-queue th
S6(config-if)#wrr-queue threshold ?
  <1-4>  enter threshold queue id (1-4)

S6(config-if)#wrr-queue threshold 1 40 100 ?
  <cr>

S6(config-if)#wrr-queue threshold 1 40 100 
S6(config-if)#wrr-queue threshold 1 40 100          3 60 1`00   00
S6(config-if)#^Z
S6#
1d22h: %SYS-5-CONFIG_I: Configured from console by console
S6#sh run int g1 0/1
                ^
% Invalid input detected at '^' marker.

S6#sh run int g1 0/11 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#
S6#config t
Enter configuration commands, one per line.  End with CNTL/Z.
S6(config)#int g 0/2
S6(config-if)# wrr-queue cos-map 1 1
S6(config-if)# wrr-queue cos-map 2 0 2 4 5 6 7
S6(config-if)# wrr-queue cos-map 3 3
S6(config-if)# wrr-queue bandwidth 25 50 25 1
S6(config-if)#?
Interface configuration commands:
  arp                     Set arp type (arpa, probe, snap) or timeout
  auto                    Configure Automation
  bandwidth               Set bandwidth informational parameter
  bgp-policy              Apply policy propogated by bgp community string
  carrier-delay           Specify delay for interface transitions
  cdp                     CDP interface subcommands
  channel-group           Etherchannel/port bundling configuration
  channel-protocol        Select the channel protocol (LACP, PAgP)
  dampening               Enable event dampening
  default                 Set a command to its defaults
  delay                   Specify interface throughput delay
  description             Interface specific description
  dot1x                   Interface Config Commands for 802.1x
  eou                     EAPoUDP Interface Configuration Commands
  exit                    Exit from interface configuration mode
  fair-queue              Enable Fair Queuing on an Interface
  flowcontrol             Configure flow operation.
  help                    Description of the interactive help system
  hold-queue              Set hold queue depth
  ip                      Interface Internet Protocol config commands
  keepalive               Enable keepalive
 --More--         
S6(config-if)#wrr
S6(config-if)#wrr-queue ?
  bandwidth      Configure WRR bandwidth
  cos-map        Configure cos-map for a queue id
  dscp-map       Configure dscp-map for a queue threshold
  queue-limit    Configure queue-limit
  random-detect  Configure random-detect
  threshold      Configure queue tail-drop thresholds

S6(config-if)#wrr-queue ran
S6(config-if)#wrr-queue random-detect ?
  max-threshold  max-thresholds

S6(config-if)#wrr-queue random-detect   max ?
  <1-4>  enter threshold queue id (1-4)

S6(config-if)#wrr-queue random-detect max 3 ?
  <1-100>  enter percent of queue size for threshold 1

S6(config-if)#wrr-queue random-detect max 3                                 wrr
S6(config-if)#wrr-queue dsc
S6(config-if)#wrr-queue dscp-map ?
  <1-2>  enter dscp-map threshold id (1-2)

S6(config-if)#wrr-queue dscp-map 3 2 ?
  <0-63>  DSCP values separated by spaces (up to 8 values total)

S6(config-if)#wrr-queue dscp-map 2 28 30 
S6(config-if)#wrr
S6(config-if)#wrr-queue ran
S6(config-if)#wrr-queue random-detect ?
  max-threshold  max-thresholds

S6(config-if)#wrr-queue random-detect m
S6(config-if)#wrr-queue random-detect max-threshold ?
  <1-4>  enter threshold queue id (1-4)

S6(config-if)#wrr-queue random-detect max-threshold 3 ?
  <1-100>  enter percent of queue size for threshold 1

S6(config-if)#wrr-queue random-detect max-threshold 3 80 ?
  <1-100>  enter percent of queue size for threshold 2

S6(config-if)#wrr-queue random-detect max-threshold 3 80 40 ?
  <cr>

S6(config-if)#wrr-queue random-detect max-threshold 3 80 40 
S6(config-if)#^Z
S6#sh uru
1d22h: %SYS-5-CONFIG_I: Configured from console by console
S6#sh uru   run int g 0/2
Building configuration...

Current configuration : 257 bytes
!
interface GigabitEthernet0/2
 switchport mode dynamic desirable
 wrr-queue bandwidth 25 50 25 1
 wrr-queue random-detect max-threshold 3 80 40
 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 28 30
end

S6#
S6#
RACK98AS>7
[Resuming connection 7 to r7 ... ]

R7#sh run int fa 0/0
Building configuration...

Current configuration : 95 bytes
!
interface FastEthernet0/0
 ip address 208.28.1.1 255.255.255.0
 speed auto
 half-duplex
end

R7#configt         sh class
R7#sh class-map 
 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

 Class Map match-any jpg (id 3)
   Match protocol http url "*jpg"
   Match protocol http url "*jpeg"
   Match protocol http url "*jpe"
   Match protocol http mime "*jpe"
   Match protocol http mime "*jpeg"
   Match protocol http mime "*jpg"

R7#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R7(config)#class
R7(config)#class-map ftp
R7(config-cmap)#match pro
R7(config-cmap)#match protocol ftp
R7(config-cmap)#exit
R7(config)#class
R7(config)#class-map telnet
R7(config-cmap)#match pro
R7(config-cmap)#match protocol telnet
R7(config-cmap)#exit
R7(config)#nbp 
R7(config)#nb  ip nb
R7(config)#ip nbar po
R7(config)#ip nbar port-map ?
  bgp            Border Gateway Protocol
  citrix         Citrix Traffic
  cuseeme        CU-SeeMe desktop video conference
  custom-01      Custom protocol custom-01
  custom-02      Custom protocol custom-02
  custom-03      Custom protocol custom-03
  custom-04      Custom protocol custom-04
  custom-05      Custom protocol custom-05
  custom-06      Custom protocol custom-06
  custom-07      Custom protocol custom-07
  custom-08      Custom protocol custom-08
  custom-09      Custom protocol custom-09
  custom-10      Custom protocol custom-10
  dhcp           Dynamic Host Configuration
  dns            Domain Name Server lookup
  egp            Exterior Gateway Protocol
  eigrp          Enhanced Interior Gateway Routing Protocol
  exchange       MS-RPC for Exchange
  fasttrack      FastTrack Traffic - KaZaA, Morpheus, Grokster...
  finger         Finger
  ftp            File Transfer Protocol
  gnutella       Gnutella Traffic - BearShare,LimeWire,Gnotella...
 --More--         
R7(config)#ip nbar port-map ftp 20 21t20 21c20 21p20 21 20 21
R7(config)#pol
R7(config)#policy-map Prob20to22
R7(config-pmap)#clas
R7(config-pmap)#class ftp
R7(config-pmap-c)#ban
R7(config-pmap-c)#bandwidth re
R7(config-pmap-c)#bandwidth remaining p
R7(config-pmap-c)#bandwidth remaining percent 25
R7(config-pmap-c)#bandwidth remaining percent 25class ftp                        telnet
R7(config-pmap-c)#class telnetbandwidth remaining percent 25
R7(config-pmap-c)#int fa 0/0
R7(config-if)#bban
R7(config-if)#bban    re
R7(config-if)#re  band    max
R7(config-if)#max-reserved-bandwidth 100
R7(config-if)#max-reserved-bandwidth 100nmax-reserved-bandwidth 100omax-reserved-bandwidth 100 max-reserved-bandwidth 100
R7(config-if)#exit
R7(config)#pol
R7(config)#policy-map test
R7(config-pmap)#class
R7(config-pmap)#class ftp 
R7(config-pmap-c)#band 25    per 25
R7(config-pmap-c)#class telnet 
R7(config-pmap-c)#class telnet band per 25  
R7(config-pmap-c)#clas c   ss class-deffaulaul ault
R7(config-pmap-c)#ban
R7(config-pmap-c)#bandwidth per 50
R7(config-pmap-c)#int fa 0/0
R7(config-if)#ser out test
I/f FastEthernet0/0 class class-default requested bandwidth 50%, available only 25%
R7(config-if)#max
R7(config-if)#max-reserved-bandwidth 100
R7(config-if)#max-reserved-bandwidth 100ser out test              
R7(config-if)#exu   ser out testnser out testoser out test ser out test
R7(config-if)#ser out Prob20to22
R7(config-if)#exit
R7(config)#no pol
R7(config)#no policy-map test
R7(config)#^Z
R7#sh 
*Mar  1 23:49:35.525: %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-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 jpg
  match protocol http url "*jpg"
  match protocol http url "*jpeg"
  match protocol http url "*jpe"
  match protocol http mime "*jpe"
  match protocol http mime "*jpeg"
  match protocol http mime "*jpg"
!
!
policy-map Prob5
  class jpg
   shape average 1000000
  class S5Telnet
   bandwidth 1000
 --More--           class S5Other
   police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1
policy-map Prob20to22
  class ftp
   bandwidth remaining percent 25
  class telnet
   bandwidth remaining percent 25
!
! 
!
!
!
!
interface FastEthernet0/0
 ip address 208.28.1.1 255.255.255.0
 speed auto
 half-duplex
 max-reserved-bandwidth 100
 service-policy output Prob20to22
!
interface BRI0/0
 no ip address
 --More--         
R7#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R7(config)#po  
R7#
*Mar  1 23:50:00.590: %SYS-5-CONFIG_I: Configured from console by console
R7#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R7(config)#class
R7(config)#class-map sql 
R7(config-cmap)#match pro
R7(config-cmap)#match protocol s?
secure-ftp   secure-http  secure-imap  secure-irc
secure-ldap  secure-nntp  secure-pop3  secure-telnet
smtp         snapshot     snmp         socks
sqlnet       sqlserver    ssh          streamwork
stun         sunrpc       syslog       

R7(config-cmap)#match protocol sqls
R7(config-cmap)#match protocol sqlserver ?
  <cr>

R7(config-cmap)#match protocol sqlserver 
R7(config-cmap)#match protocol sqlserver class-map sql            no policy-map testexit              ser out Prob20to22t Prob20to22  Prob20to22  Prob20to22 Prob20to22  Prob20to22  Prob20to22  Prob20to22 p Prob20to22o Prob20to22l Prob20to22
R7(config-pmap)#class
R7(config-pmap)#class sql
R7(config-pmap-c)#exit
R7(config-pmap)#exit
R7(config)#do s sh access-list
Standard IP access list 1
    10 permit 208.28.1.2 (288788 matches)
R7(config)#access-list 2 per 87.23.            100 per ip 87.23.11.123 h87.23.11.123 o87.23.11.123 s87.23.11.123 t87.23.11.123  87.23.11.123 87.23.11.123 any
R7(config)#access-list 100 per ip host 87.23.11.123 any   ahost 87.23.11.123 nhost 87.23.11.123 yhost 87.23.11.123  host 87.23.11.123 
R7(config)#class
R7(config)#class-map q sql
R7(config-cmap)#match acc
R7(config-cmap)#match access-group 100
R7(config-cmap)#match access-group 100class-map sql         access-list 100 per ip any host 87.23.11.123 host 87.23.11.123 any do sh access-list                           exit             class sqlpol Prob20to22
R7(config-pmap)#pol Prob20to22match access-group 100class-map sql         
R7(config-cmap)#pri
R7(config-cmap)#prio
R7(config-cmap)#prio    > ?
QoS class-map configuration commands:
  description  Class-Map description
  exit         Exit from QoS class-map configuration mode
  match        classification criteria
  no           Negate or set default values of a command
  rename       Rename this class-map

R7(config-cmap)#class-map sqlpol Prob20to22match access-group 100class-map sql         match access-group 100pol Prob20to22        
R7(config-pmap)#CLASS 
R7(config-pmap)#CLASS sql
R7(config-pmap-c)#pri
R7(config-pmap-c)#priority ?
  <8-2000000>  Kilo Bits per second
  percent      % of total bandwidth

R7(config-pmap-c)#priority 56 ?
  <32-2000000>  Burst in bytes
  <cr>

R7(config-pmap-c)#priority 56 128
R7(config-pmap-c)#^Z
R7#sh ru
*Mar  1 23:57:31.076: %SYS-5-CONFIG_I: Configured from console by console
R7#sh ru n| b     n | class
            ^
% Invalid input detected at '^' marker.

R7#sh run | classbclass class
class-map match-all telnet
  match protocol telnet
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-all sql
  match protocol sqlserver
  match access-group 100
class-map match-any jpg
  match protocol http url "*jpg"
  match protocol http url "*jpeg"
  match protocol http url "*jpe"
  match protocol http mime "*jpe"
  match protocol http mime "*jpeg"
  match protocol http mime "*jpg"
!
!
policy-map Prob5
  class jpg
 --More--            shape average 1000000
  class S5Telnet
   bandwidth 1000
  class S5Other
   police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1
policy-map Prob20to22
  class ftp
   bandwidth remaining percent 25
  class telnet
   bandwidth remaining percent 25
  class sql
   priority 56 128
!
! 
!
!
!
!
interface FastEthernet0/0
 ip address 208.28.1.1 255.255.255.0
 speed auto
 half-duplex
 --More--         
R7#sh run| b n | b | b access-list
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
priority-list 1 protocol ip high tcp telnet
priority-list 1 protocol ip low tcp www
priority-list 1 default medium
!
!
!
!
!
!
!
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
line aux 0
line vty 0 4
 privilege level 15
 no login
!
 --More--         
R7#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R7(config)#priority 56 128CLASS sql      pol Prob20to22
R7(config-pmap)#class class-deafult
% class map class-deafult not configured
R7(config-pmap)#class class-deafultult ult fultuault
R7(config-pmap-c)#fa
R7(config-pmap-c)#fair-queue 
R7(config-pmap-c)#do sh pol int fa 0/0
 FastEthernet0/0 

  Service-policy output: Prob20to22

    Class-map: ftp (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: protocol ftp
      Queueing
        Output Queue: Conversation 265 
        Bandwidth remaining 25 (%) Max Threshold 64 (packets)
        (pkts matched/bytes matched) 0/0
        (depth/total drops/no-buffer drops) 0/0/0

    Class-map: telnet (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: protocol telnet
      Queueing
        Output Queue: Conversation 266 
        Bandwidth remaining 25 (%) Max Threshold 64 (packets)
        (pkts matched/bytes matched) 0/0
        (depth/total drops/no-buffer drops) 0/0/0
 --More--         
    Class-map: sql (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: protocol sqlserver
      Match: access-group 100
      Queueing
        Strict Priority
        Output Queue: Conversation 264 
        Bandwidth 56 (kbps) Burst 128 (Bytes)
        (pkts matched/bytes matched) 0/0
        (total drops/bytes drops) 0/0

    Class-map: class-default (match-any)
      151 packets, 15204 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any 
      Queueing
        Flow Based Fair Queueing
        Maximum Number of Hashed Queues 256 
        (total queued/total drops/no-buffer drops) 0/0/0
R7(config-pmap-c)# do sh pol int fa 0/0fair-queue          ?
  <16-4096>  Number Dynamic Conversation Queues
  <cr>

R7(config-pmap-c)#fair-queue 512
R7(config-pmap-c)#^Z
R7#sh run 
*Mar  1 23:59:47.135: %SYS-5-CONFIG_I: Configured from console by console
R7#sh run | b pol
policy-map Prob5
  class jpg
   shape average 1000000
  class S5Telnet
   bandwidth 1000
  class S5Other
   police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1
policy-map Prob20to22
  class ftp
   bandwidth remaining percent 25
  class telnet
   bandwidth remaining percent 25
  class sql
   priority 56 128
  class class-default
   fair-queue 512
!
! 
!
!
!
!
 --More--         
R7#q config t
Enter configuration commands, one per line.  End with CNTL/Z.
R7(config)#pol
R7(config)#policy-map Prob23and24
R7(config-pmap)#class ftp
R7(config-pmap-c)#po, l
R7(config-pmap-c)#police 256   ?
  <8000-2000000000>  Bits per second
  cir                Committed information rate

R7(config-pmap-c)#police 256000
R7(config-pmap-c-police)#exit
R7(config-pmap-c)#class telnet
R7(config-pmap-c)#pol
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
  <cr>

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
  <cr>

R7(config-pmap-c)#police 56000 1400 3500 ?
  conform-action  action when rate is less than conform burst
  <cr>

R7(config-pmap-c)#police 56000 1400 3500 con
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 1 ?
  exceed-action  action when rate is within conform and conform + exceed burst
  <cr>

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 se
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
  <cr>

R7(config-pmap-c)#$-prec-transmit 1 exceed-action set-prec-transmit 0 
R7(config-pmap-c-police)#exit
R7(config-pmap-c)#exit
R7(config-pmap)#class class-default
R7(config-pmap-c)#fa
R7(config-pmap-c)#fair-queue 
R7(config-pmap-c)#?
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)#int s 1/0.1
R7(config-subif)#ser out Prob23and24
CBWFQ : Not supported on subinterfaces
R7(config-subif)#
R7(config-subif)#
R7(config-subif)#
R7(config-subif)#exit
R7(config)#map
R7(config)#map-cl
R7(config)#map-class fra
R7(config)#map-class frame-relay Prob23and24
R7(config-map-class)#ser
R7(config-map-class)#service-policy out Prob12  23and24
R7(config-map-class)#int s 1/0.1
R7(config-subif)#fra
R7(config-subif)#fram
R7(config-subif)#frame-relay clas
R7(config-subif)#frame-relay class Prob23and24
R7(config-subif)#int s 1/0
R7(config-if)#fram
R7(config-if)#frame-relay traff
R7(config-if)#frame-relay traffic-shaping 
R7(config-if)#^Z
R7#sh 
*Mar  2 00:05:20.297: %SYS-5-CONFIG_I: Configured from console by console
R7#sh pol int s 1/0.1
 Serial1/0.1: DLCI 703 -

  Service-policy output: Prob23and24

    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)
      2 packets, 168 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#sh run | b pol
policy-map Prob5
  class jpg
   shape average 1000000
  class S5Telnet
   bandwidth 1000
  class S5Other
   police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1
policy-map Prob20to22
  class ftp
   bandwidth remaining percent 25
  class telnet
   bandwidth remaining percent 25
  class sql
   priority 56 128
  class class-default
   fair-queue 512
policy-map Prob23and24
  class ftp
   police 256000
  class telnet
   police 56000 1400 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0
 --More--           class class-default
   fair-queue
   queue-limit 100
!
! 
!
!
!
!
interface FastEthernet0/0
 ip address 208.28.1.1 255.255.255.0
 speed auto
 half-duplex
 max-reserved-bandwidth 100
 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
 --More--         
R7#sh run int s 1/0 |int s 1/0 int s 1/0bint s 1/0 int s 1/0int s 1/0 1/0 1/0 1/0 1/0 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.65 255.255.255.224
 ip ospf network broadcast
 ip ospf priority 0
 frame-relay class Prob23and24
 frame-relay interface-dlci 703   
!
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
 --More--         !
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
!
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 Prob23and24
 service-policy output Prob23and24
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
priority-list 1 protocol ip high tcp telnet
priority-list 1 protocol ip low tcp www
priority-list 1 default medium
!
!
!
 --More--         
R7#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R7(config)#
R7(config)#i pol frame-relay traffic-shaping int s 1/0                   frame-relay class Prob23and24int s 1/0.1                  frame-relay class Prob23and24Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 Prob23and24 pProb23and24oProb23and24lProb23and24 Prob23and24
R7(config-pmap)#class class-deaultfault
R7(config-pmap-c)#pol
R7(config-pmap-c)#police 512000
R7(config-pmap-c-police)#exit
R7(config-pmap-c)#exit
R7(config-pmap)#exitpolice 512000class class-defaultpol Prob23and24    frame-relay traffic-shaping int s 1/0                   frame-relay class Prob23and24
                ^
% Invalid input detected at '^' marker.

R7(config-pmap)#exit
R7(config)#map
R7(config)#map-cl
R7(config)#map-class class     fram 
R7(config)#map-class fram Prob23and24
R7(config-map-class)#fam
R7(config-map-class)#fam  ram
R7(config-map-class)#frame-relay cir 600   ?
  <1-45000000>  Applied to both Incoming/Outgoing CIR, Bits per second
  in            Incoming CIR
  out           Outgoing CIR

R7(config-map-class)#frame-relay cir 600000
R7(config-map-class)#^Z
R7#
*Mar  2 00:10:41.456: %SYS-5-CONFIG_I: Configured from console by console
R7#sh run | b pol
policy-map Prob5
  class jpg
   shape average 1000000
  class S5Telnet
   bandwidth 1000
  class S5Other
   police 5000000 conform-action set-prec-transmit 3 exceed-action set-prec-transmit 1
policy-map Prob20to22
  class ftp
   bandwidth remaining percent 25
  class telnet
   bandwidth remaining percent 25
  class sql
   priority 56 128
  class class-default
   fair-queue 512
policy-map Prob23and24
  class ftp
   police 256000
  class telnet
   police 56000 1400 3500 conform-action set-prec-transmit 1 exceed-action set-prec-transmit 0
 --More--           class class-default
 --More--            fair-queue
 --More--            queue-limit 100
 --More--            police 512000
 --More--         !
 --More--         ! 
 --More--         !
!
!
!
interface FastEthernet0/0
 ip address 208.28.1.1 255.255.255.0
 speed auto
 half-duplex
 max-reserved-bandwidth 100
 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 100 lower 90
 --More--          glbp 47 weighting track 1 decrement 25
 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 class Prob23and24
 frame-relay interface-dlci 703   
!
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
 --More--          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
 shutdown
!
interface Serial1/5
 no ip address
 shutdown
!
interface Serial1/6
 --More--          no ip address
 shutdown
!
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 Prob23and24
 frame-relay cir 600000
 service-policy output Prob23and24
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#
RACK98AS>2
[Resuming connection 2 to r2 ... ]
: %SYS-5-CONFIG_I: Configured from console by console
R2#
R2#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#mlp
R2(config)#mlp  ap
R2(config)#map-cl
R2(config)#map-class fram Prob25and26
R2(config-map-class)#far  ram cir 64000
R2(config-map-class)#fram
R2(config-map-class)#frame-relay ad
R2(config-map-class)#frame-relay adaptive-shaping be
R2(config-map-class)#frame-relay adaptive-shaping becn 
R2(config-map-class)#int s 1/0.1
R2(config-subif)#fram class Prob25and26
R2(config-subif)#^Z
R2#
*Mar  2 23:41:42.643: %SYS-5-CONFIG_I: Configured from console by console
R2#
R2#
R2#
R2#
R2#sh run int s 1/0.1
Building configuration...

Current configuration : 177 bytes
!
interface Serial1/0.1 point-to-point
 ip address 180.40.7.67 255.255.255.224
 ip ospf network broadcast
 frame-relay class Prob25and26
 frame-relay interface-dlci 203   
end

R2#
R2#sh run | b map-class
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 Prob25and26
 frame-relay cir 64000
 frame-relay adaptive-shaping becn
access-list 100 deny   ospf any any
access-list 100 permit ip any any
!
!
!
!
!
!
!
!
!
line con 0
 exec-timeout 0 0
 logging synchronous
 --More--         
R2#sh traff ins 1/0.1
            ^
% Invalid input detected at '^' marker.

R2#sh traff ins 1/0.1 1/0.1 
            ^
% Invalid input detected at '^' marker.

R2#sh traff in 1/0.11          

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#
R2#
R2#
R2#
R2#
R2#
R2#sh traff   ser 1/0.1

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
R2#sh traff ser 1/0.1 ?
  |  Output modifiers
  <cr>

R2#sh traff ser 1/0.1                    config t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#in  map c ffram class Prob25and26int s 1/0.1           frame-relay adaptive-shaping becn  cir 64000                    map-class fram Prob25and26
R2(config-map-class)#fram mi
R2(config-map-class)#fram mincir 32000
R2(config-map-class)#^Z
R2#s
*Mar  2 23:43:39.194: %SYS-5-CONFIG_I: Configured from console by console
R2#sconfig tsh traff ser 1/0.1         in 1/0.1s 1/0.1run | b map-class
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 Prob25and26
 frame-relay cir 64000
 frame-relay mincir 32000
 frame-relay adaptive-shaping becn
access-list 100 deny   ospf any any
access-list 100 permit ip any any
!
!
!
!
!
!
!
!
!
line con 0
 exec-timeout 0 0
 --More--         
R2#