The showrun command displays the current configuration in the device:
Device# show run
int atm6/0
class-map match-all voice
match access-group 100
!
policy-map wfq-voip
class voice
priority 24
class class-default
fair-queue
!
interface ATM6/0
ip address 20.20.22.1 255.255.255.0
no ip redirects
no ip proxy-arp
no ip route-cache cef
atm uni-version 4.0
atm pvc 1 0 5 qsaal
atm pvc 2 0 16 ilmi
atm esi-address 111111111181.00
no atm auto-configuration
no atm ilmi-keepalive
pvc blue 200/100
abr 700 600
inarp 1
broadcast
encapsulation aal5snap
service-policy output wfq-voip
!
ip rsvp bandwidth 24 24
ip rsvp signalling dscp 48
access-list 100 permit udp any any range 16384 32500
Here is output from the showiprsvpinterfacedetail command before resource provider none is configured and data-packet classification is turned off:
Device# show ip rsvp interface detail
AT6/0:
Bandwidth:
Curr allocated: 190K bits/sec
Max. allowed (total): 112320K bits/sec
Max. allowed (per flow): 112320K bits/sec
Neighbors:
Using IP encap: 1. Using UDP encaps: 0
DSCP value used in Path/Resv msgs: 0x30
Here is output from the showqueueingcommand before resource provider none is configured and data packet classification is turned off:
Device# s
how queueing int atm6/0
Interface ATM6/0 VC 200/100
Queueing strategy: weighted fair
Output queue: 63/512/64/3950945 (size/max total/threshold/drops)
Conversations 2/5/64 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 450 kilobits/sec
Note |
New reservations do not reduce the available bandwidth (450 kilobits/sec shown above). Instead RSVP performs admission control only using the bandwidth limit configured in the iprsvpbandwidth command. The bandwidth configured in this command should match the bandwidth configured in the CBWFQ class that you set up to handle the reserved traffic.
|
The following output shows resource provider none being configured:
Device# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Device(config)# int atm6/0
Device(config-if)# ip rsvp resource-provider none
Device(config-if)# end
Device#
The following output shows data packet classification being turned off:
Device# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Device(config)# int atm6/0
Device(config-if)# ip rsvp data-packet classification none
Device(config-if)# end
Device#
Here is output from the showiprsvpinterfacedetail command after resource provider none has been configured and data packet classification has been turned off:
Device# show ip rsvp interface detail
AT6/0:
Bandwidth:
Curr allocated: 190K bits/sec
Max. allowed (total): 112320K bits/sec
Max. allowed (per flow): 112320K bits/sec
Neighbors:
Using IP encap: 1. Using UDP encaps: 0
DSCP value used in Path/Resv msgs: 0x30
RSVP Data Packet Classification is OFF
RSVP resource provider is: none
The following output from the showiprsvpinstalleddetail command verifies that resource provider none is configured and data packet classification is turned off:
Device# show ip rsvp installed detail
RSVP: ATM6/0 has the following installed reservations
RSVP Reservation. Destination is 145.20.20.212, Source is 145.10.10.211,
Protocol is UDP, Destination port is 14, Source port is 14
Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/sec
Min Policed Unit: 0 bytes, Max Pkt Size: 1514 bytes
Resource provider for this flow: None
Conversation supports 1 reservations
Data given reserved service: 3192 packets (1557696 bytes)
Data given best-effort service: 42 packets (20496 bytes)
Reserved traffic classified for 271 seconds
Long-term average bitrate (bits/sec): 45880 reserved, 603 best-effort
RSVP Reservation. Destination is 145.20.20.212, Source is 145.10.10.211,
Protocol is UDP, Destination port is 10, Source port is 10
Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/sec
Min Policed Unit: 0 bytes, Max Pkt Size: 1514 bytes
Resource provider for this flow: None
Conversation supports 1 reservations
Data given reserved service: 1348 packets (657824 bytes)
Data given best-effort service: 0 packets (0 bytes)
Reserved traffic classified for 296 seconds
Long-term average bitrate (bits/sec): 17755 reserved, 0M best-effort
The following output shows no increments in packet counts after the source sends data packets that match the reservation:
Device# show ip rsvp installed detail
RSVP: Ethernet3/3 has no installed reservations
RSVP: ATM6/0 has the following installed reservations
RSVP Reservation. Destination is 145.20.20.212, Source is 145.10.10.211,
Protocol is UDP, Destination port is 14, Source port is 14
Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/sec
Min Policed Unit: 0 bytes, Max Pkt Size: 1514 bytes
Resource provider for this flow: None
Conversation supports 1 reservations
Data given reserved service: 3192 packets (1557696 bytes)
Data given best-effort service: 42 packets (20496 bytes)
Reserved traffic classified for 282 seconds
Long-term average bitrate (bits/sec): 44051 reserved, 579 best-effort
RSVP Reservation. Destination is 145.20.20.212, Source is 145.10.10.211,
Protocol is UDP, Destination port is 10, Source port is 10
Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/sec
Min Policed Unit: 0 bytes, Max Pkt Size: 1514 bytes
Resource provider for this flow: None
Conversation supports 1 reservations
Data given reserved service: 1348 packets (657824 bytes)
Data given best-effort service: 0 packets (0 bytes)
Reserved traffic classified for 307 seconds
Long-term average bitrate (bits/sec): 17121 reserved, 0M best-effort
The following output shows that data packet classification is enabled again:
Device# configure terminal
Device(config)# int atm6/0
Device(config-if) no ip rsvp data-packet classification
Device(config-if)# end
The following output verifies that data packet classification is occurring:
Device# show ip rsvp installed detail
Enter configuration commands, one per line. End with CNTL/Z.
RSVP: ATM6/0 has the following installed reservations
RSVP Reservation. Destination is 145.20.20.212, Source is 145.10.10.211,
Protocol is UDP, Destination port is 14, Source port is 14
Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/sec
Min Policed Unit: 0 bytes, Max Pkt Size: 1514 bytes
Resource provider for this flow: None
Conversation supports 1 reservations
Data given reserved service: 3683 packets (1797304 bytes)
Data given best-effort service: 47 packets (22936 bytes)
Reserved traffic classified for 340 seconds
Long-term average bitrate (bits/sec): 42201 reserved, 538 best-effort
RSVP Reservation. Destination is 145.20.20.212, Source is 145.10.10.211,
Protocol is UDP, Destination port is 10, Source port is 10
Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/sec
Min Policed Unit: 0 bytes, Max Pkt Size: 1514 bytes
Resource provider for this flow: None
Conversation supports 1 reservations
Data given reserved service: 1556 packets (759328 bytes)
Data given best-effort service: 0 packets (0 bytes)
Reserved traffic classified for 364 seconds
Long-term average bitrate (bits/sec): 16643 reserved, 0M best-effort
Here is output from the showrun command after you have performed all the previous configuration tasks:
Device# show run int atm6/0
class-map match-all voice
match access-group 100
!
policy-map wfq-voip
class voice
priority 24
class class-default
fair-queue
!
interface ATM6/0
ip address 20.20.22.1 255.255.255.0
no ip redirects
no ip proxy-arp
no ip route-cache cef
atm uni-version 4.0
atm pvc 1 0 5 qsaal
atm pvc 2 0 16 ilmi
atm esi-address 111111111181.00
no atm auto-configuration
no atm ilmi-keepalive
pvc blue 200/100
abr 700 600
inarp 1
broadcast
encapsulation aal5snap
service-policy output wfq-voip
!
ip rsvp bandwidth 24 24
ip rsvp signalling dscp 48
ip rsvp data-packet classification none
ip rsvp resource-provider none
access-list 100 permit udp any any range 16384 32500