From: Mohmmad, Imran (Imran.Mohmmad@amd.com)
Date: Mon Oct 20 2008 - 15:06:49 ARST
Hi All,
I was reading a doc on Cisco website QOS
http://www.cisco.com/en/US/products/hw/switches/ps5023/products_tech_not
e09186a0080883f9e.shtml on 3560 that says:-
In the Cisco Catalyst 3750 Switch, you can classify the frames either
based on the incoming CoS/DSCP values or based on the ACL.
The configuration based on the incoming CoS/DSCP value is achieved in
three different ways:
1) Port based configuration using the mls qos interface based commands
2) MQC based configuration using class-map and policy-map
3) VLAN based configuration
You can use either one of these three methods. You cannot use more than
one method in a port. For example, you have configured the mls qos trust
cos command on a port. When you configure the port with the
service-policy input <policy-map-name> command, it removes the mls qos
trust cos command automatically.
I tried the same on my test-switch, the switch accept both the commands
and change default trust level of port as well and simultaneously
applied the incoming policy as well.
TEST-SWITCH#sh run int fa 0/2
Building configuration...
Current configuration : 83 bytes
!
interface FastEthernet0/2
mls qos trust cos
service-policy input test-qos
end
TEST-SWITCH#sh mls qos interface fastEthernet 0/2
FastEthernet0/2
Attached policy-map for Ingress: test-qos
trust state: trust cos
trust mode: trust cos
trust enabled flag: ena
COS override: dis
default COS: 0
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: port-based
EST-SWITCH#sh ver
Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version
12.2(44)SE2, RELEASE SOFTWARE (fc2)
Can anyone please explain, which one override the other, when we have
policy applied on an interface with port based mls qos interface
command.
Imran
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sat Nov 01 2008 - 15:35:21 ARST