From: Joseph Brunner (joe@affirmedsystems.com)
Date: Mon Nov 05 2007 - 10:16:18 ART
Don't forget to set the ports to vlan based qos...
!
interface GigabitEthernet0/21
switchport access vlan 101
switchport mode access
mls qos vlan-based
spanning-tree portfast
access-list 101 permit ip any any
class-map match-all ipv4
match access-group 101
!
!
policy-map vlansvi
class ipv4
set ip precedence 5
interface Vlan101
no ip address
service-policy input vlansvi
rack1sw1#sh mls qos int g0/21
GigabitEthernet0/21
trust state: not trusted
trust mode: not trusted
trust enabled flag: ena
COS override: dis
default COS: 0
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: vlan-based
still no counters...
rack1sw1#sh policy-map int vlan 101
Vlan101
Service-policy input: vlansvi
Class-map: ipv4 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 101
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
0 packets, 0 bytes
5 minute rate 0 bps
Verification (via attached device)
rack1r6#sh access-list
Extended IP access list 101
10 permit ip any any precedence critical log (64 matches)
20 permit ip any any (750 matches)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Alex
Steer
Sent: Monday, November 05, 2007 6:26 AM
To: groupstudy
Subject: no output from "show policy-map interface" command on switch
Can someone check this configuration for me please. I didn't see any
packets/byte count for the output from the "show policy-map interface
vlan 12" command but I can't remember if someone told me this was normal
on a switch. Anyway here is the config
Ip access-list ext ipv4
Permit ip any any
Class-map ipv4
Match access-group name ipv4
Policy-map test
Class ipv4
Set precedence 5
Vlan26
Interface vlan26
Service-policy test (note no ip address
configured for vlan 26, not layer 3)
Interface range fa0/2 - 8
Switch mode access
Switch acc vlan 26
The objective is to set all ipv4 traffic entering vlan26 with with a
precedence of 5. As stated above the "show policy-map interface vlan
26" shows the policy-map above but no traffic matching class ipv4 nor
class-default.
If this is normal can someone suggest the reason and a possible way to
prove the configuration please?
Many thanks guys
Alex
This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:28 ART