cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1853
Views
5
Helpful
12
Replies

PBR problems on Cisco 3750x

Hello ,
I have a PBR under a vlan on WS-C3750X-24 with ios 12.2(55)SE8  to forward traffic to a CGN Router and its estimated about 2Gbps , the forwarded traffic is only 700mbps .
and for your info , I have deployed the exact same config on cisco 3750-G and it works perfectly ,
any ideas what the problem is ?

12 Replies 12

balaji.bandi
Hall of Fame
Hall of Fame

Can you provider VLAN config and Interface config working to understand the issue.

 

by default, VLAN interface configured for 1G?  

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

interface Vlan20
ip address x.x.x.x 255.255.255.224
ip policy route-map RM-CGN

and the policy config is :
route-map RM-CGN permit 10
match ip address ACL_CGN
set ip next-hop 10.200.200.1  (CGN Router)

balaji.bandi
Hall of Fame
Hall of Fame

That is for VLAN, is the same config working vs not working?

how did the numbers come to a conclusion 700MB vs 2GB, can you show example output.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

This config is working perfectly on 3750-G
but not on 3750-x 
-the traffic is 2G because I have a portchannel 

balaji.bandi
Hall of Fame
Hall of Fame

Thanks for the input, can you provide both the device version of code, Full config.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

3750-G : WS-C3750G-24TS with ios 12.2(35)SE1
3750-X : WS-C3750X-24 with ios 12.2(55)SE8

the config :
interface Port-channel2
switchport access vlan 20
switchport mode access


interface GigabitEthernet1/0/11
switchport access vlan 20
switchport mode access
channel-group 2 mode active

interface GigabitEthernet1/0/12
switchport access vlan 20
switchport mode access
channel-group 2 mode active

interface GigabitEthernet1/0/13
switchport access vlan 20
switchport mode access
channel-group 2 mode active

interface GigabitEthernet1/0/14
switchport access vlan 20
switchport mode access
channel-group 2 mode active

interface Vlan20
ip address x.x.x.x 255.255.255.224
ip policy route-map RM-CGN

ip access-list extended ACL_CGN
permit ip 10.152.0.0 0.3.255.255 any
deny ip any any

route-map RM-CGN permit 10
match ip address ACL_CGN
set ip next-hop 10.200.200.1  (CGN Router)

Pbr aapply one incoming not outgoing interface,

So you apply it on vlan that send packet toward SP, you must apply it on vlan that recive the packet.

İts on the receiving vlan dear ،

ggg.pngOK, then are the PBR command disappear after you enter it and do show run?

If Yes then check the SDM for each SW, I think for S it it SDM prefer routing and for G it is VLAN or default.

No it doesn't disapper , its just like İ mentioned doesn't perforn well

Only 700mbps forwarded instead of 2gbps

@MHM Cisco World makes an interesting point about the SDM template. Can we get some clarification about the SDM setting of both 3750 switches?

 

The original poster tells us that "the traffic is 2G because I have a portchannel". That is probably mistaken logic. The primary advantage of port channel is redundancy (sending traffic over a different interface is an interface stops working) and not necessarily aggregate bandwidth. The port channel chooses which interface to use to forward a frame based its evaluation of several parameters. It is quite possible that for the PBR traffic it might use the same outbound interface for all of the PBR traffic. 

 

When I look at a post that says that traffic between hosts is slower than expected I wonder about the possibility of mismatch between interfaces of the connected devices. Especially the possibility of mismatch of duplex between peers (half duplex on one but full duplex on the other). Is that possibly the case here?

 

The other aspect of this question that I wonder about is the forwarding rate of the interfaces. The assumption that a 1 Gig interface can forward at 1 G rate is based on the assumption that the switch is making forwarding decision in hardware and that the switch hardware is non blocking. I wonder if that assumption is true on this switch? I especially wonder if PBR on this switch is not done on the interface but is punted to the CPU for processing. There is a major impact on through put when the forwarding is CPU based rather than hardware based.

HTH

Rick

thanks for the reply,
first of all , I have no problems regarding portchannel load balance or duplex mismatch , 
also I have checked that CEF is enabled on both of the switches , 
Can you instruct me how to check if the PBR is handled by the processor or the hardware ?