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

Limit Management Interface VLAN On Switch NEXUS 3000

Hi Dear Friends I define ACL 2

 

In VLAN Management

interface Vlan2
no shutdown
ip access-group 2 in
ip access-group 2 out

ACL Not Apply on inteface vlan and Have ping or ssh Access

3 Replies 3

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

You can apply the ACL under the line vty such as:

 

ip access-list ABC
10 deny ip 172.18.217.82/32 any
20 permit ip any any


ip access-list XYZ
10 permit ip 10.55.144.118/32 any
20 permit ip 172.18.217.79/32 any
30 permit ip 172.18.217.82/32 any
40 permit ip 172.18.217.92/32 any


line vty
access-class ABC in
access-class XYZ o

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hello,

 

try the below, if it doesn't work, post the full running config of your Nexus...

 

interface Vlan2
ip access-group BLOCK_ICMP_SSH in
!
ip access-list BLOCK_ICMP_SSH
10 deny icmp any any
20 deny tcp any any eq 22
30 permit ip any any

HI Dears I Config ACL 2

permit ip 192.168.0.0 0.0.0.255 any

permit ip any 192.168.0.0 0.0.0.255

deny ip any any