cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
981
Views
0
Helpful
2
Replies

CoPP ACL for SSH Subnet Filter

caiobomani
Level 1
Level 1

Hello everyone.

 

I'm new to NX-OS and there are a couple differences in order to filter management traffic.

 

Has anyone already filtered ssh inbound access based on source IP subnet?

 

I dont want to tweak any other CoPP parameters, just inbound ssh sessions.

 

Thanks,

 

Caio Bomani

1 Accepted Solution

Accepted Solutions

bobbycornetto
Level 1
Level 1

If you're talking about access-control policy, NX-OS works just like IOS. 

 

*

ip access-list MGMT_ACCESS

statistics per-entry

permit tcp 1.1.1.0/24 any eq 22

permit ip 2.3.4.5/32 any

 

line vty

ip access-class MGMT_ACCESS in

*

 

If you're talking about QoS filtering SSH to protect your control-plane, that's more complicated, with different answers for 5K/7K vs the 9Ks.

 

View solution in original post

2 Replies 2

bobbycornetto
Level 1
Level 1

If you're talking about access-control policy, NX-OS works just like IOS. 

 

*

ip access-list MGMT_ACCESS

statistics per-entry

permit tcp 1.1.1.0/24 any eq 22

permit ip 2.3.4.5/32 any

 

line vty

ip access-class MGMT_ACCESS in

*

 

If you're talking about QoS filtering SSH to protect your control-plane, that's more complicated, with different answers for 5K/7K vs the 9Ks.

 

Indeed that did the trick.

 

Thanks.