02-22-2021 01:51 PM
There a good way to monitor just how much traffic each customer is doing for the applicable QOS policy (lets say each policy limits bandwidth for Cus1 going to Site2)? So meaning if I apply multiple policies to one VTI interface, what is good way to keep traffic of how much traffic one customer is doing?
Would it be better to create let's say additional sub-interfaces that correspond to eah customer or something on the router, apply QOS to each sub=interface, then direct that traffic to the VTI to be encrypted? That way I can just quilckly reference the sub-interface QOS traffic or monitor these interfaces in program like Solarwinds or something?
02-22-2021 03:09 PM
I think you could do everything on a single interface. For example, lets say I have two customers:
ip access-list extended CUST-1-ACL permit ip any 10.0.120.0 0.0.0.255 ip access-list extended CUST-2-ACL permit ip any 10.0.121.0 0.0.0.255 ! class-map match-all CUST-1-CMAP match access-group name CUST-1-ACL class-map match-all CUST-2-CMAP match access-group name CUST-2-ACL ! policy-map PMAP class CUST-1-CMAP police 150000 class CUST-2-CMAP police 50000000 ! interface Tunnel0 service-policy output PMAP
Then you could watch the statistics of the policy-map with the following command:
R1#show policy-map interface t0
Tunnel0
Service-policy output: PMAP
Class-map: CUST-1-CMAP (match-all)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: access-group name CUST-1-ACL
police:
cir 150000 bps, bc 4687 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps
Class-map: CUST-2-CMAP (match-all)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: access-group name CUST-2-ACL
police:
cir 50000000 bps, bc 1562500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps
Class-map: class-default (match-any)
69 packets, 7616 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: anyIs this what you are looking for?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide