Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

虚拟终端行 ACL

要限制 Telnet 和 SSH 到交换机的连接,请在虚拟终端线路上应用访问列表 (VTY)。

  1. 使用 permitdeny 筛选器创建 IPv4 或 IPv6 访问列表;例如:
    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)#
  2. 在 CONFIGURATION 模式下使用 line vty 命令进入 VTY 模式。
    OS10(config)# line vty
    OS10(config-line-vty)# 
  3. 在 LINE-VTY 模式下使用 {ip | ipv6} access-class access-list-name 命令将访问列表应用到 VTY 行。
    OS10(config-line-vty)# ip access-class permit10
查看 VTY ACL 配置
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: <>()\