cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3363
Views
0
Helpful
7
Replies

ME3400E traffic policing and shaping config

Julie Tupling
Level 1
Level 1

I need to configure traffic policing and shaping to a vlan on our ME3400E switches - Is this the correct way to do it?

I could make policies for each customer, but to me it makes more sense to make one for the bandwidth needed - am I looking at this correctly?

policy-map 30MEG

class class-default

    police cir 30000000

      conform-action transmit

      exceed-action drop

policy-map SHAPE30MEG

class class-default

    shape average 30000000

interface GigabitEthernet0/1

switchport access vlan 101

switchport mode dot1q-tunnel

service-policy input 30MEG

service-policy output SHAPE30MEG

Thanks,

Julie

7 Replies 7

Hashiem.croeser
Level 1
Level 1

Hi Julie,

Are you trying to police all Customers on a port or only one?

In your example, you policing an access port which is essentially one customer.

Perhaps you can share what exactly you trying to achieve.

Rgds.

Sent from Cisco Technical Support iPad App

We are using one port per customer for our MetroEthernet platform except on the trunk ports, so shaping and policing on the access port should be all we need - I shouldn't have said per VLAN.  I meant per port.

Thanks,

Julie

Ok, makes sense then. In future, you will need to consider an HQOS PMAP model if your customer wants to start splitting that 30Mb into different classes. It really helps when have multiple customers on the same device (meb).

I found that smaller (sub-50Mb) egress shapers don't want to work on 1Gb UNI's on the EG Series. It gives me a "configuration must be within 1% of etc..." error. To get smaller I actually needed to step the interface down to 100Mb to get to a 5Mb shaper to work.

Did the switch except your 30Mb egress PMAP? I was using 12.2(50)SE4.

Sent from Cisco Technical Support iPad App

We are not going to  do any class based QoS - at least not at this time. 

When you mention that you had to step the interface down to 100MB - How do you do that?

The switch did accept the commands that I copied into my original post.  I didn't get any errors . . .

Interesting about the PMAP. Which IOS are you using?

I used the speed and duplex command under the interface.

All the interfaces on the ME3400's are 10/100/1000 based ports. The GLC-T's and LH's allow speed scaling.

Sent from Cisco Technical Support iPad App

Hashiem,

How do you do spped scaling on the LH ports - when I tried to configure the port speed - the only options are negotiate or  nonegotiate

Thanks,

Julie

Julie,

Apologies for the delay in response.

You correct, my mistake. The LH only allows for auto speed stepdown. Manual works on the GLC-T with the media-type RJ-45.

We do have 100M and 10M connections on UNI SFP interfaces due to successfull autogotiation with customer kit.

CPT_Test_ME3412-EG(config-if)#int g0/1

CPT_Test_ME3412-EG(config-if)#media-type rj45

CPT_Test_ME3412-EG(config-if)#speed ?

  10    Force 10 Mbps operation

  100   Force 100 Mbps operation

  1000  Force 1000 Mbps operation

  auto  Enable AUTO speed configuration

CPT_Test_ME3412-EG#sh int g0/1 capabilities

GigabitEthernet0/1

  Model:                 ME-3400EG-12CS-M

  Type:                  10/100/1000BaseTX

  Speed:                 10,100,1000,auto

  Duplex:                half,full,auto

  Trunk encap. type:     802.1Q

  Trunk mode:            on,off,desirable,nonegotiate

  Channel:               yes

  Broadcast suppression: percentage(0-100)

  Flowcontrol:           rx-(off,on,desired),tx-(none)

  Fast Start:            yes

  QoS scheduling:        rx-(not configurable on per port basis),

                         tx-(4q3t) (3t: Two configurable values and one fixed.)

  CoS rewrite:           yes

  ToS rewrite:           yes

  UDLD:                  yes

  Inline power:          no

  SPAN:                  source/destination

  PortSecure:            yes

  Dot1x:                 yes

  Multiple Media Types:  rj45, sfp, auto-select