拓扑图
连接云时需先设置,相关设置如下:
修改设备名
system-view 进入系统视图 > sysname R1 修改设备名为R1
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R1
[R1]
设置接口IP地址
int g0/0/0 进入接口视图 > ip add 192.168.100.254 24 设置改接口的IP地址为192.168.100.1/24 >undo shutdown 应用当前设置 > display this 查看设置好的IP地址
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 192.168.100.254 24
[R1-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R1-GigabitEthernet0/0/0]display this
#
interface GigabitEthernet0/0/0
ip address 192.168.100.254 255.255.255.0
#
return
设置VTY用户密码
user-interface vty 0 4 进入VTY用户界面 > set authentication password cipher 123456 设置一个暗文密码 > dis th 查看一下当前设置
[R1-GigabitEthernet0/0/0]q
[R1]user-interface vty 0 4
[R1-ui-vty0-4]set authentication password cipher 123456
[R1-ui-vty0-4]dis th
#
user-interface con 0
user-interface vty 0 4
set authentication password cipher yED>QermTJ+/Y@:Y>Lw(Z36#
user-interface vty 16 20
#
return
设置super密码
super password cipher 123zxc 在系统视图下设置 > dis th 查看一下当前设置
[R1-ui-vty0-4]q
[R1]super password cipher 123zxc
[R1]dis th
#
sysname R1
#
super password level 3 cipher 5Eo9D-I7RTpe}@HMNPn@4:a#
#
undo info-center enable
#
return
Talnet远程登录路由器
输入VTY用户密码123456
拓扑图
连接云时需先设置,相关设置如下:
修改设备名
system-view 进入系统视图 > sysname R1 修改设备名为R1
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R1
[R1]
设置接口IP地址
int g0/0/0 进入接口视图 > ip add 192.168.100.254 24 设置改接口的IP地址为192.168.100.1/24 >undo shutdown 应用当前设置 > display this 查看设置好的IP地址
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 192.168.100.254 24
[R1-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R1-GigabitEthernet0/0/0]display this
#
interface GigabitEthernet0/0/0
ip address 192.168.100.254 255.255.255.0
#
return
设置VTY用户密码
user-interface vty 0 4 进入VTY用户界面 > set authentication password cipher 123456 设置一个暗文密码 > dis th 查看一下当前设置
[R1-GigabitEthernet0/0/0]q
[R1]user-interface vty 0 4
[R1-ui-vty0-4]set authentication password cipher 123456
[R1-ui-vty0-4]dis th
#
user-interface con 0
user-interface vty 0 4
set authentication password cipher yED>QermTJ+/Y@:Y>Lw(Z36#
user-interface vty 16 20
#
return
设置super密码
super password cipher 123zxc 在系统视图下设置 > dis th 查看一下当前设置
[R1-ui-vty0-4]q
[R1]super password cipher 123zxc
[R1]dis th
#
sysname R1
#
super password level 3 cipher 5Eo9D-I7RTpe}@HMNPn@4:a#
#
undo info-center enable
#
return
Talnet远程登录路由器
输入VTY用户密码123456