n9k的ssh和telnet怎么配置
要配置Nexus 9000系列交换机的SSH和Telnet,需要按照以下步骤进行操作:
- 首先,进入交换机的配置模式:
switch# configure terminal
- 配置SSH:
switch(config)# feature ssh
switch(config)# ip ssh version 2
switch(config)# username <username> password <password>
其中,
- 配置Telnet:
switch(config)# line vty 0 15
switch(config-line)# transport input telnet
switch(config-line)# password <password>
其中,
- 保存配置:
switch(config)# exit
switch# copy running-config startup-config
- 测试SSH和Telnet是否正常工作。
以上是基本的配置步骤,具体配置还需要根据实际情况进行调整。
原文地址: http://www.cveoy.top/t/topic/b1fm 著作权归作者所有。请勿转载和采集!