Netgear M4100-D12G (GSM5212v1h1) - 10‐port GE + 2 GE Combo L2 Managed PD Switch Guía De Administador
Port 1/0/2
Internet
Layer 3 switch
operating as Router 2
operating as Router 2
Port 1/0/3
Layer 3 switch
operating as Router 1
operating as Router 1
DiffServ
160
ProSAFE M4100 Managed Switches
Figure 16. Diffserv for VoIP in Router 1
The example is shown as CLI commands and as a Web interface procedure.
CLI: Configure DiffServ for VoIP
1.
Enter Global configuration mode. Set queue 5 on all ports to use strict priority mode.
This queue will be used for all VoIP packets. Activate DiffServ for the switch.
This queue will be used for all VoIP packets. Activate DiffServ for the switch.
(Netgear Switch) #config
(Netgear Switch) (Config)#cos-queue strict 5
(Netgear Switch) (Config)#diffserv
2.
Create a DiffServ classifier named class_voip and define a single match criterion to
detect UDP packets. The class type match-all indicates that all match criteria defined for
the class must be satisfied in order for a packet to be considered a match.
detect UDP packets. The class type match-all indicates that all match criteria defined for
the class must be satisfied in order for a packet to be considered a match.
(Netgear Switch) (Config)#class-map match-all class_voip
(Netgear Switch) (Config class-map)#match protocol udp
(Netgear Switch) (Config class-map)#exit