cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5208
Views
0
Helpful
8
Replies

Configuring qos trust on port-channel

wfqk
Level 5
Level 5

Hi One switch 3560 is connected to 4500 through two interfaces, which are bound as port-channel and as layer 2. Under the 3560, there are some PC and ip phone. so we use auto qos at each interface of 3560. Now we also need to configure auto qos voice trust on the port-channel. but 3560 port-channel does not support auto qos. How can we resolve the issue? Thank you

8 Replies 8

 

I would configure the interfaces with auto qos voip trust command before adding them to the port-channel.

For example, if interfaces gi0/1 and gi0/2 are members of the port-channel 12, I will configure as follows:-

 

interface range gi0/1 - 2

 auto qos voip trust

 channel-group 12 mode active

 no shut

!

 

HTH,

Meheretab

HTH,
Meheretab

Thank you so much for your reply. Do you think if the port channel would removed the feature on the physical interface if the port channel does not have the config? 

 

Please look at the example configuration on 3560-CG switch running IOS 12.2(55) below:

SW1#sh version
Cisco IOS Software, C3560C Software (C3560c405ex-UNIVERSALK9-M), Version 12.2(55)EX3, RELEASE SOFTWARE (fc2)

 

1) Before starting the configuration:-

 

SW1#sh run int gi0/5
Building configuration...

Current configuration : 36 bytes
!
interface GigabitEthernet0/5
end

SW1#sh run int gi0/6
Building configuration...

Current configuration : 36 bytes
!
interface GigabitEthernet0/6
end

 

2) Configure both interfaces by first configuring etherchannel :-

 

SW1(config)#int range gi0/5 - 6
SW1(config-if-range)#channel-group 11 mode on
Creating a port-channel interface Port-channel 11

SW1(config-if-range)#
SW1(config-if-range)#auto qos voip trust
AutoQoS Error: AutoQoS can not be configured on member port(s) of a port-channel

% Range command terminated because it failed on GigabitEthernet0/5
SW1(config-if-range)#
SW1(config-if-range)#
SW1(config-if-range)#do sh run int gi0/5
Building configuration...

Current configuration : 62 bytes
!
interface GigabitEthernet0/5
channel-group 11 mode on
end

 

3) Remove the channel-group and configure the auto qos first:-

 

SW1(config)#int range gi0/5 - 6
SW1(config-if-range)#no channel-group 11

SW1(config-if-range)#auto qos voip trust
SW1(config-if-range)#channel-group 11 mode on
SW1(config-if-range)#end

4) Configure trunk and other configurations on the etherchannel :-

 

SW1(config)#int po11

SW1(config-if)#switchport trunk encapsulation dot1q
SW1(config-if)#switchport mode trunk
SW1(config-if)#end

 

5) Once you are done configuring :-

 

SW1#sh run int gi0/5
Building configuration...

Current configuration : 237 bytes
!
interface GigabitEthernet0/5
switchport trunk encapsulation dot1q
switchport mode trunk
srr-queue bandwidth share 10 10 60 20
queue-set 2
priority-queue out
mls qos trust cos
auto qos voip trust
channel-group 11 mode on
end

SW1#sh run int gi0/6
Building configuration...

Current configuration : 237 bytes
!
interface GigabitEthernet0/6
switchport trunk encapsulation dot1q
switchport mode trunk
srr-queue bandwidth share 10 10 60 20
queue-set 2
priority-queue out
mls qos trust cos
auto qos voip trust
channel-group 11 mode on
end

SW1#sh run int port-channel 11
Building configuration...

Current configuration : 93 bytes
!
interface Port-channel11
switchport trunk encapsulation dot1q
switchport mode trunk
end

 

Remember that when you delete the port-channel, you will lose connectivity until you configure it back.

 

Feel free to ask further if you have more questions.

 

HTH,

Meheretab

HTH,
Meheretab

The question is if auto qos or mls qos is needed on the port-channel in this situation. If it is yes, it seems that these commands cannot be supported on the port-channel

Its for physical interfaces only not logical port-channels interface itself , not supported as you seen

Can we say we only config qos on physical interface and do not need to configure qos on port-channel? 

Yes.