Per Port per Vlan

From: olumayokun fowowe (olumayokun@gmail.com)
Date: Tue Mar 03 2009 - 13:46:19 ARST


Hello all,

Consider the topology below

SW1 ===========================SW2
vlan 12 vlan 13
10.10.12.0/24 10.10.13.0/24
(3550) (3560)

I want to classify all traffic entering switch SW1 from vlan 12 with an ip
precedence of 2 and apply the policy on interface fastethernet 0/2. Below is
my solution:

ip cef

mls qos

access-list 102 permit ip 10.10.12.0 0.0.0.255 any

class-map match-all IP_TRAFFIC
  match access-group 102

class-map match-all PRECEDENCE2
  match vlan 12
  match class IP_TRAFFIC

policy-map POLICY
  class PRECEDENCE2
    set ip precedence 2

interface fastethernet 0/2
  service-policy input POLICY

Considering the above will it be safe if I change access-list 102 above to :
access-list 102 permit ip any any.

Secondly, how do I achieve same on a Cisco 3560 Switch?

Thanks all,

'Mayokun

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:03 ART