cancel
Showing results for 
Search instead for 
Did you mean: 

XOS 15.3.1.4 - policy and meter question

XOS 15.3.1.4 - policy and meter question

Dawid_Chrzan
New Contributor
Hi,
i am wondering how to catch multiple vlan id's in one if.
Is it possible to do sth like -> ACL-P4-IN

entry POLICE-TEST {
if match any {
vlan-id 1007
vlan-id 1008;
}
then {
permit ;
meter p4-TEST;
}
}

Trying to apply i get
# configure access-list ACL-P4-IN ports 4Error: Policy ACL-P4-IN has syntax errors
Line 4 : Failed argument value vlan is invalid

Second question - if i have one meter called p4-TEST - and it has Committed Rate(Kbps) = 10000
and i use this meter in one entry (src address) and then in second entry (vlan id) of policy.

And lets suppose that traffic caught using src address is 7mbps . Does it mean that there is 3mbps left for traffic caught using vlan id. ?

Does multiple entries using common meter - share it ?
10 REPLIES 10

Alexandr1
New Contributor
Hi Colleagues,
Had a similar problem. We had to stick to one meter 10 mbps two vlan-id.
Decided by a selective QinQ:

configure vman ethertype 0x8100
create vman vm100
conf vm100 tag 100
conf vman vm100 add ports 1 cep cvid 200
conf vman vm100 add ports 1 cep cvid 300
conf vman vm100 add ports 2 cep cvid 200
conf vman vm100 add ports 2 cep cvid 300

vi pol-p1.pol
entry v100 {
if match all {
vlan-id 100 ;
}
then {
meter policy-10M ;
}
}

configure access-list pol-p1 ports 1 ingress
configure access-list pol-p1 ports 1 egress

I like this approach. Nicely done.

Tyler_Bartel
New Contributor
I am using a single acl rule a matching based on source port/protocol and applying a meter which has a 10Mb CIR / 10Mb Max-Burst. If there are 3 connections to different destination IP addresses using that matching port/protocol will each connection get the 10Mb or will they all share the 10Mb?

Paul_Russo
Extreme Employee
Hello Sergio

Sorry I did receive a response

" Looks like each entry will be considered as a separate policy. Each meter is like a template, which can be defined independently by the administrator. These templates

Can be used on different attributes such as Source MAC, Source IP, VLAN-IDs etc independently. So in this case you can have 10M for each policy."

I re-asked the question and did not get a reply back. Let me re-post and see if I can clarify.

Thanks
P

GTM-P2G8KFN