cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
710
Views
5
Helpful
3
Replies

Limit bandwidth using p2p xconnect

Hi everyone, Im traying to limit the bandwidht using pseudo wire configuration between two cisco IOS XR 9904 (6.4.2 version). The problem is that Im using a "bundle-Ether" to do this. Could someone give me a hand please? 

The config that I have is...

 

Router P1:
----------

class-map match-any limit-L2L
match cos 7
end-class-map
!

policy-map Limit-PW
class limit-L2L
police rate 100 mbps
exceed-action drop
!
!
class class-default
!
end-policy-map
!

interface Bundle-Ether200.301 l2transport
encapsulation dot0q 301
mtu 2058
service-policy output Limit-PW
!
l2vpn
xconnect group Transport_JAM
p2p L2L-GCC-JAM-03
interface Bundle-Ether200.301
neighbor ipv4 10.14.200.1 pw-id 301
!
description l2l JAM


!





Router P2:
----------

interface TenGigE0/0/1/1.301 l2transport
encapsulation dot1q 301
!

l2vpn
xconnect group Transporte_Swissnet
p2p L2L-GCC-JAM-01
interface TenGigE0/0/1/1.301
neighbor ipv4 10.1.200.1 pw-id 301
pw-class mpls
!
description l2l POS
!
!

 

1 Accepted Solution

Accepted Solutions

Hi everyone,

 

I found the solution, in the class-map config I set "match vlan 301" for this example en it started to match on the sub-interface and limit the traffic.

 

Best regards,

View solution in original post

3 Replies 3

Hello,

 

sorry for asking stupid questions, but what is not working ? The config looks by the book. What is the output of:

 

show policy-map

Hi Georg,

 

This is the output you requested:

 

RP/0/RSP0/:RouterP1#show policy-map interface bundle-ether 200.301 output 
Tue Jan  4 07:30:34.594 ART

Bundle-Ether200.301 output: Limit-PW

Class limit-L2L
  Classification statistics          (packets/bytes)     (rate - kbps)
    Matched             :                   0/0                    0
    Transmitted         : N/A 
    Total Dropped       :                   0/0                    0
  Policing statistics                (packets/bytes)     (rate - kbps) 
    Policed(conform)    :                   0/0                    0
    Policed(exceed)     :                   0/0                    0
    Policed(violate)    :                   0/0                    0
    Policed and dropped :                   0/0                  
Class class-default
  Classification statistics          (packets/bytes)     (rate - kbps)
    Matched             :              267825/22032169             0
    Transmitted         : N/A 
    Total Dropped       : N/A 

 

As you can see there is no match for the class-map I created.

 

Thank you for your reply.

 

Best regards,

Hi everyone,

 

I found the solution, in the class-map config I set "match vlan 301" for this example en it started to match on the sub-interface and limit the traffic.

 

Best regards,

Review Cisco Networking products for a $25 gift card