switch#conf t
switch(config)#ip access-list standard MGT
switch(config-std-nacl)#permit x.x.x.x
switch(config-std-nacl)#exit
switch(config)#line vty 0 15
switch(config-if)#access-class MGT in
switch(config-if)#exit
確認ACL是否生效
switch#show ip access-lists