OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

Control access to VTY

You can control the Telnet or SSH connections to the switch by applying access lists on VTY lines.

Create IP or IPv6 access lists with permit or deny filters.

Enter the VTY mode by using the line vty command in the CONFIGURATION mode.

Apply the access lists to the VTY line with the {ip | ipv6} access-class access-list-name command.

Example
OS10(config)# ip access-list permit10
                                 OS10(config-ipv4-acl)# permit ip 172.16.0.0 255.255.0.0 any
                                 OS10(config-ipv4-acl)# exit
                                 OS10(config)# line vty
                                 OS10(config-line-vty)# ip access-class permit10
                                 OS10(config-line-vty)#
                                 
                              
View VTY ACL configuration
OS10(config-line-vty)# show configuration
                                 !
                                 line vty
                                 ip access-class permit10
                                 ipv6 access-class deny10
                                 OS10(config-line-vty)#
                                 
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\