Answer the question
In order to leave comments, you need to log in
How to properly prioritize IPTV on a router
Habravchyan-networkers, I ask for help setting up QoS on the router.
There is a Cisco 1812 router. In addition to the Internet, the provider provides IPTV service.
There are several critical services passing through the router - telephony (sip / iax), ssh, http and IPTV
. I managed to file everything except iptv. I want to either raise the priority or reserve part of the channel for it, but that's bad luck - incoming traffic.
Policy-map hangs on the GIN interface.
match access-group на extended ACL - не работает по понятным причинам, только при permit udp any any, что не желательно. При указании непосредственно вещщающей сети через standsrd ACL - "матча" нет почему-то, следовательно траффик не попадает в класс
class-map match-any ADM-CLASS
match protocol ssh
match protocol telnet
match protocol tftp
class-map match-any VOICE-CLASS
match protocol skype
match protocol sip
class-map match-any P2P-CLASS
match protocol bittorrent
class-map match-any IPTV-CLASS
match <b>{чего-то рабочее}</b>
!
!
policy-map QoS
class VOICE-CLASS
priority 2000
class P2P-CLASS
priority 5000
class IPTV-CLASS
priority 7000
class class-default
random-detect
fair-queue
Answer the question
In order to leave comments, you need to log in
I solved the problem by figuring out the rate-limit.
There are no mls on routers so CoS cannot be used. Service-policy is also not suitable because it only works with outgoing traffic.
It remains to cut the traffic on the interface.
Actually, we are talking about the interface of the router, which it looks at on the LAN (with a bandwidth limit of 16 megabits)
rate-limit input access-group 20 16000000 3000000 6000000 conform-action transmit exceed-action drop
rate-limit output access-group 20 16000000 3000000 6000000 conform-action transmit exceed-action drop
Nb = CAR x (1/8) x 1.5
Eb = 2 x Nb
Но с шагом CAR в 8 bit
You should ask to make QoS on the side of the operator. You have QoS'ite packets in the direction of the uplink, they have a downlink. Everyone is happy.
You probably didn’t understand - I get 2 VLANs from them on port - one with the Internet, the second with the “TV”. All this comes to the router. It goes from the router to a switch with five clients.
the problem is that, for example, when talking on the phone, the wife turns on the TV, and after a while I hear gurgling in the receiver, sometimes the connection breaks completely. At the same time, the load on the router is not very large, the utilization of the interface is always somewhere around 75-80%.
To solve this, I need to prioritize INCOMING traffic on the internal interface.
I'm thinking about the rate-limit, but after reading the official docks - now the porridge is in my head.
If I'm wrong - poke a stupid nose in where it's right.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question