|
|
Before you start using QPM-COPS, you must enable COPS via Telnet on switches and routers to which you want to download policies. You also need to assign a PDP to each router via Telnet.
![]() |
Note You assign PDPs to switches in the QPM-COPS Device Manager. |
Before You Begin
To configure switches for QPM-COPS, you login to the switch and then enable the suitable COPS client and QoS on the switch.
Procedure
Step 2 In the command line, enter telnet <device ipaddress>. Click OK.
After successfully connecting to the device the following prompts appear:
Cisco Systems Console
Enter password:
Step 3 Enter the device password and press Enter.The following prompt appears:
device-name>
Step 4 Enter the command enable, and press Enter.The following prompt appears:
device-name> (enable)
The switch is now in enable mode.
Step 5 Before you set any parameters, disable QoS using the command, set qos disable.
![]() |
Note After entering a command, always press Enter. |
After a few seconds, the following message appears:
device-name> (enable) Qos is disabled
Step 6 To confirm that QoS is disabled (or to check the status at anytime), enter the command show cops info.
A sample result follows:
COPS general information
---------------------------
COPS domain name : -
Connection retry intervals : initial = 30 seconds
increment = 30 seconds
max = 300 seconds
COPS Diff-Serv client state
---------------------------
COPS connection state : not-connected
TCP connection state : not-connected
Last active server : -
Primary configured server : kfir-hpxu.cisco.com [port: 3288]
Secondary configured server : 10.1.1.4 [port: 3288]
COPS RSVP client state
----------------------
COPS connection state : not-connected
TCP connection state : not-connected
Last active server : -
Primary configured server : kfir-hpxu.cisco.com [port: 3288]
Secondary configured server : 10.1.1.4 [port: 3288]
Procedure
device-name> (enable) set qos policy-source cops
The following message appears:
Qos policy source for the switch set to COPS.
![]() |
Note The syntax for the set qos policy-source command is as follows: Usage: set qos policy-source <local|cops> |
Step 2 Enable COPS-RSVP using the following command:
device-name> (enable) set qos rsvp enable
The following message appears:
RSVP enabled. Only RSVP qualitative service supported. Qos must be enabled for RSVP.
Step 3 Enable DSBM for proper RSVP functionality using the following command:
device-name> (enable) set port rsvp 3/1 dsbm-election enable 255
The following message appears:
DSBM election enabled for port(s) 3/1.
QoS disabled. DSBM negotiation will start after QoS is enabled.
Port(s) 3/1 not forwarding. DSBM negotiation will start after port(s) start forwarding on the native vlan.
DSBM priority set to 255 for port(s) 3/1.
This DSBM priority will be used during the next election process.
![]() |
Note The syntax for the set port rsvp command is as follows: Usage: set port rsvp <mod|port> dsbm election <enable|disable> [dsbm_priority] (where dsbm priority = 128..255) |
Step 4 Enable DSBM for a group of ports using the following command:
device-name> (enable) set port rsvp 3/1-12 dsbm-election enable 255
The following message appears:
DSBM election enabled for port(s) 3/1-12.
QoS disabled. DSBM negotiation will start after QoS is enabled.
DSBM priority set to 255 for port(s) 3/1-12.
This DSBM priority will be used during the next election process.
Procedure
device-name> (enable) set qos enable
The following message appears:
Qos is enabled.
Procedure
device-name> (enable) show port rsvp 3/1
A message appears showing the port election results.
To configure routers for QPM-COPS, you login to the switch, enable the COPS-RSVP client on the required interfaces, and then enable QoS on the router. You can then assign PDPs to the router.
Procedure
Step 2 In the command line, enter telnet <device ipaddress>. Click OK.
After successfully connecting to the device the following prompts appear:
User Access Verification
Password:
Step 3 Enter the device password and press Enter.The following prompt appears:
device-name>
Step 4 Enter the command enable, and press Enter.The following prompt appears:
Password:
Step 5 Enter the enable password and press Enter.The following prompt appears:
device-name#
The router is now in enable mode.
Step 6 To check the device configuration, use the following command:
device-name#sh run
The router configuration details are displayed.
You enable RSVP on device interfaces in interface configuration mode.
Procedure
Enter configuration commands, one per line. End with CNTL/Z.
device-name(config)#
The router is now in configuration mode.
Step 2 To enable configuration for an interface, enter the command, interface <interface name>. The following prompt appears:
device-name(config-if)#
Step 3 Enable COPS-RSVP using the command, ip rsvp bandwidth.
Step 4 Enable the weighted fair queuing strategy (WFQ) using the command, fair-queue.
Step 5 Exit the configuration mode by pressing Ctrl/Z. The following prompt appears:
device-name#
The following shows an example of enabling COPS-RSVP on an interface:
cd-dev7204-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
cd-dev7204-1(config)#interface fastEthernet 1/0
cd-dev7204-1(config-if)#ip rsvp bandwidth
cd-dev7204-1(config-if)#fair-queue
cd-dev7204-1(config-if)#^Z
cd-dev7204-1#
You assign PDPs to the router in configuration mode.
Procedure
device-name(config)#
Step 2 At the prompt, enter the following command:
ip rsvp policy cops server <device ipaddress>
Step 3 Exit the configuration mode by pressing Ctrl/Z. The following prompt appears:
device-name#
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jun 12 04:54:37 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.