cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
477
Views
0
Helpful
3
Replies

QOS: Is there a way to limit sessions

I need a way to instead of dynamically limiting lets say, ssh. I would like to dynamically limit ssh sessions. I formal way would be via access list but i would like it to be regardless of source and destination. So a typical ssh session could not exceed 1mbs. or something like that.

3 Replies 3

Istvan_Rabai
Level 7
Level 7

Hi Derek,

I don't know of a command to rate-limit the ssh traffic per session.

You could configure rate-limiting on all ssh sessions using control-plane policing.

Example:

access-list 100 permit tcp any any eq 22

class-map match-all SSH

match access-group 100

policy-map SSH

class SSH

police 1000000

control-plane

service-policy input SSH

I hope this helps somewhat.

Cheers:

Istvan

The control plane would limit session originated from that platform? How exactly would this limit sessions?

Hi Derek,

In this configuration example sessions destined to this platform are policed to 1000000 bits per second.

According to this config you can easily configure it for sessions originated from this platform using the "service-policy output" instead of input.

Cheers:

Istvan

Review Cisco Networking products for a $25 gift card