Share Everything to Everyone

Minggu, 26 Juni 2022

Create Modular QoS CLI (MQC)

00.53 Posted by ROSYID'S BLOG No comments

You wanna make QoS on your Router ? Just make using MQC.

The steps only create 3 items : Class-Map, Policy-Map, and then Apply to Interface.

Let's get into the CLI !!!


R1(config)#class-map match-any EMAIL
R1(config-cmap)#match protocol pop3
R1(config-cmap)#match protocol smtp
R1(config-cmap)#match protocol imap
R1(config-cmap)#match protocol exchange
R1(config-cmap)#exit

R1(config)#class-map VOICE
R1(config-cmap)#match protocol rtp audio
R1(config-cmap)#exit

R1(config)#class-map SCAVENGER
R1(config-cmap)#match protocol bittorrent
R1(config-cmap)#exit

R1(config)#policy-map DEMO
R1(config-pmap)#class EMAIL
R1(config-pmap-c)#bandwidth 512
R1(config-pmap-c)#random-detect dscp-based
R1(config-pmap-c)#random-detect ecn
R1(config-pmap-c)#exit

R1(config-pmap)#class VOICE
R1(config-pmap-c)#priority 256
R1(config-pmap-c)#exit

R1(config-pmap)#class SCAVENGER
R1(config-pmap-c)#police 128000 conform-action transmit exceed-action set-dscp-transmit default
R1(config-pmap-c)#exit
R1(config-pmap)#exit

R1(config)#int gig 0/2
R1(config-if)#service-policy output DEMO
R1(config-if)#end

R1#show class-map
R1#show policy-map interface gig 0/2


Reference : https://www.kwtrain.com/blog/mqc

0 komentar:

Posting Komentar