交换机远程连接(eNsp)

您所在的位置:网站首页 远程调试交换机怎么登陆 交换机远程连接(eNsp)

交换机远程连接(eNsp)

2024-07-17 05:54| 来源: 网络整理| 查看: 265

交换机远程连接(eNsp)

1.配置交换机 sys [Huawei]sysname sw1 2.关闭华为交换机信息提示中心 [sw1]undo info-center enable或undo terminal moniter 3.永不超时 [sw1]user-interface console 0 [sw1-ui-console0]idle-timeout 0 0 4.配置双工及速率 [sw1-Ethernet0/0/1]undo negotiation auto [sw1-Ethernet0/0/1]speed 100 [sw1-Ethernet0/0/1]duplex full full:full-duplex(全双工) half:half-duplex(半双工)

5.配置信息保存 [sw1-Ethernet0/0/1]return save 6.设置远程登入密码 vty 0 4 vty是telnet协议 0是初始值 4是结束值 表示可以同时打开5个会话窗口进入交换机配置命令 level 3配置权限等级

0 参观级 网络诊断命令1 监控级 系统维护,业务故障诊断2 配置级 业务配置3-15 管理级 管理命令 [sw1]user-interface vty 0 4 [sw1-ui-vty0-4]authentication-mode password [sw1-ui-vty0-4]set authentication password simple 111 [sw1-ui-vty0-4]user privilege level 3 simple 明文密码 cipher 密文密码 7.开启端口配置地址 [sw1]interface vlanif 1 [sw1-Vlanif1]ip add 192.168.1.10 255.255.255.0 [sw1-Vlanif1]undo shutdown 8.配置完成sw1的相关信息 sysname sw1

undo info-center enable

cluster enable ntdp enable ndp enable

drop illegal-mac alarm

diffserv domain default

drop-profile default

aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password simple admin local-user admin service-type http

interface Vlanif1 ip address 192.168.1.10 255.255.255.0

interface MEth0/0/1

interface Ethernet0/0/1 undo negotiation auto

interface Ethernet0/0/2

interface Ethernet0/0/3

interface Ethernet0/0/4

interface Ethernet0/0/5

interface Ethernet0/0/6

interface Ethernet0/0/7

interface Ethernet0/0/8

interface Ethernet0/0/9

interface Ethernet0/0/10

interface Ethernet0/0/11

interface Ethernet0/0/12

interface Ethernet0/0/13

interface Ethernet0/0/14

interface Ethernet0/0/15

interface Ethernet0/0/16

interface Ethernet0/0/17

interface Ethernet0/0/18

interface Ethernet0/0/19

interface Ethernet0/0/20

interface Ethernet0/0/21

interface Ethernet0/0/22

interface GigabitEthernet0/0/1

interface GigabitEthernet0/0/2

interface NULL0

user-interface con 0 idle-timeout 0 0 user-interface vty 0 4 user privilege level 3 set authentication password simple 111

return [sw1-Vlanif1] 9.sw2配置完成相关信息

sysname sw2

undo info-center enable

cluster enable ntdp enable ndp enable

drop illegal-mac alarm

diffserv domain default

drop-profile default

aaa authentication-scheme default authorization-scheme default accounting-scheme default domain default domain default_admin local-user admin password simple admin local-user admin service-type http

interface Vlanif1 ip address 192.168.1.20 255.255.255.0

interface MEth0/0/1

interface Ethernet0/0/1 undo negotiation auto

interface Ethernet0/0/2

interface Ethernet0/0/3

interface Ethernet0/0/4

interface Ethernet0/0/5

interface Ethernet0/0/6

interface Ethernet0/0/7

interface Ethernet0/0/8

interface Ethernet0/0/9

interface Ethernet0/0/10

interface Ethernet0/0/11

interface Ethernet0/0/12

interface Ethernet0/0/13

interface Ethernet0/0/14

interface Ethernet0/0/15

interface Ethernet0/0/16

interface Ethernet0/0/17

interface Ethernet0/0/18

interface Ethernet0/0/19

interface Ethernet0/0/20

interface Ethernet0/0/21

interface Ethernet0/0/22

interface GigabitEthernet0/0/1

interface GigabitEthernet0/0/2

interface NULL0

user-interface con 0 idle-timeout 0 0 user-interface vty 0 4 user privilege level 3 set authentication password simple 222

return 11.telnet 192.168.1.20 Password: Info: The max number of VTY users is 5, and the number of current VTY users on line is 1. The current login time is 2020-12-21 11:14:53. 在这里插入图片描述

10.配置cloud 在这里插入图片描述

创建UDP端口和以太网端口 端口映射设置 端口类型:Ethernet 入端口编号:1 出端口编号:2 双向通道 在这里插入图片描述 11.xshell创建会话 协议:TELNET 主机号:192.168.1.10(交换机vlan1配置的地址) 在这里插入图片描述 确定连接,输入密码可以显示连接在这里插入图片描述



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3