How Secure Line VTY in Switch Nexus

1.    switch# configure terminal

2.    switch(config)# line vty

3.    switch(config-line)# access-class access-list-number {in | out}

4.    (Optional) switch(config-line)# no access-class access-list-number {in | out}

5.    switch(config-line)# exit

6.    (Optional) switch# show running-config aclmgr

7.    (Optional) switch# copy running-config startup-config

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/security/513_n1_1/b_Cisco_n5k_security_config_gd_513_n1_1/b_Cisco_n5k_security_config_gd_513_n1_1_chapter_01000.html#d6384e3798a1635