Monday, July 4, 2011

How to configure qos on cisco router?

1)Here I will give examples of the application QOS at 2 locations that are connected to the network through a router.
ROUTER HQ <<===>> ROUTER CQ
Before configuring the router, we have assumption that both routers are connected properly and the traffic is delivered through both the router I divide into two classes-map.

2)Next we enter the stage configuration.
For the initial stage configuration will I do on the Router HQ, log into the router console (from telnet or ssh or console terminal). ThenconfigureQOSonthe routerlikethe examplebelow :
hostname Router-HQ
!
!
class-map match-all data
match ip precedence 3
class-map match-all voice
match ip precedence 5
!
policy-map HQ_QOS
class voice
bandwidth percent 40
set ip precedence 5
class data
bandwidth percent 45
set ip precedence 3
class class-default
fair-queue
random-detect
!
interface FastEthernet 0/0
description “Link to Local Network”
ip address 192.168.88.254 255.255.255.0
duplex auto
speed auto
!
interface Serial0/1/0
description “Link Connection to HC”
ip address 172.18.18.1 255.255.255.252
service-policy output HQ_QOS
!
ip classless
ip route 192.168.99.0 255.255.255.0 172.18.18.2
!
end
After configuration completed, Don't forget to save the configuration we have made with command "Write memory".
Now QoS configuration is completed


Thanks ,

2 comments: