Configuring QoS
Configuration Examples
User Guide
495
9) Click
to save the settings.
6.3.4 Using the CLI
1) Enable Auto VoIP globally and specify the DSCP value of port 1/0/1 as 63.
Switch_A#configure
Switch_A(config)#auto-voip
Switch_A(config)#interface fastEthernet 1/0/1
Switch_A(config-if)#auto-voip dscp 63
Switch_A(config-if)#exit
2) Set the trust mode of port 1/0/1 as trust DSCP. Specify the 802.1p priority as 7 for
DSCP priority 63 and specify 802.1p priority as 5 for other DSCP priorities.
Switch_A(config)#interface fastEthernet 1/0/1
Switch_A(config-if)#qos trust mode dscp
Switch_A(config-if)#exit
Switch_A(config)#qos dscp-map 63 7
Switch_A(config)#qos dscp-map 0-62 5
3) On port 1/0/1, set the scheduler mode as weighted and specify the queue weight as 1
for TC-5. Set the scheduler mode as weighted and specify the queue weight as 10 for
TC-7.
Switch_A(config)#interface fastEthernet 1/0/1
Switch_A(config-if)#qos queue 5 mode wrr weight 1
Switch_A(config-if)#qos queue 7 mode wrr weight 10
Switch_A(config-if)#exit
4) Enable LLDP-MED on port 1/0/1 and select all the TLVs to be included in outgoing
LLDPDU.
Switch_A(config)#interface fastEthernet 1/0/1
Switch_A(config-if)#lldp med-status
Switch_A(config-if)#lldp med-tlv-select all
Switch_A(config-if)#end
Switch_A#copy running-config startup-config
Downloaded from