RE: no output from "show policy-map interface" command on

From: Alex Steer (alex.steer@eison.co.uk)
Date: Mon Nov 05 2007 - 10:28:49 ART


Hi Joesph,

Although I was not aware of the mls qos vlan-based command, I had configured
it! (shots in the dark!)

thanks for sharing that though as I was completely unaware. How does this
work over a trunk link? I actually only had one access port in the vlan but
had 2 trunks to other switches with access ports in them? Are there any "mls
qos vlan.based" type requirements for the trunks?

________________________________

From: nobody@groupstudy.com on behalf of Joseph Brunner
Sent: Mon 11/5/2007 1:16 PM
To: Alex Steer; 'groupstudy'
Subject: RE: no output from "show policy-map interface" command on switch

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