首页 > 代码库 > H3C 以太网接口配置IP、静态路由、TELNET配置
H3C 以太网接口配置IP、静态路由、TELNET配置
MSR36-20_1
1.路由器名称
sysname H3C
2.以太网接口配置IP
interfaceGigabitEthernet0/0
ip address 10.0.1.1 255.255.255.0
#
interfaceGigabitEthernet0/2
ip address 192.168.1.1 255.255.255.0
3.静态路由
ip route-static192.168.2.0 24 10.0.1.2
或
ip route-static0.0.0.0 0 10.0.1.2
4.TELNET配置
line vty 0 4
authentication-mode scheme
user-role level-3
local-user H3C class manage
password hash$h$6$9tRFfeKFBeZmb5us$KHE9PtpAA9777dh/2aYSAkkLTXmSQXRXukJL4eIi8KSyxXriiuUuNag80Xprk4/KmNY4Z8IrrrTSkoxbrVsMfg==
service-type telnet
MSR36-20_2
1.路由器名称
sysname H3C
2.以太网口配置IP
interfaceGigabitEthernet0/0
ip address 10.0.1.2 255.255.255.0
#
interfaceGigabitEthernet0/1
ip address 10.0.2.1 255.255.255.0
3.静态路由
ip route-static192.168.1.0 24 10.0.1.1
ip route-static 192.168.2.0 24 10.0.2.2
4.TELNET配置
line vty 0 4
authentication-mode scheme
user-role level-3
local-user H3Cclass manage
password hash$h$6$fbb01H71jZMCJ5g1$bcppUTl2bj+t8VDJ0vlmfV+ZBVuSDhdGWQUWyWIEgsQdteGIKA+NOknrUO9U/Y0Pi8ALSRAeqspQSWLyiw2aBw==
service-type telnet
MSR36-20_3
1.路由器名称
sysname H3C
2.以太网口配置IP
interfaceGigabitEthernet0/1
ip address10.0.2.2 255.255.255.0
#
interfaceGigabitEthernet0/2
ip address 192.168.2.1 255.255.255.0
3.静态路由
ip route-static192.168.1.0 24 10.0.2.1
或
ip route-static0.0.0.0 0 10.0.2.1
4.TELNET配置
line vty 0 4
authentication-mode scheme
user-role level-3
local-user H3Cclass manage
password hash$h$6$/lV08AQBy9hSUft8$olE9AGWhStmzHK69D8EFjjIt3swtsGvyZS6AB80x8GSHB+riKlWZiW5xnvUFRaYYxgZk01EHGILL1IfgxZW7fg==
service-type telnet
本文出自 “王佳凱” 博客,转载请与作者联系!
H3C 以太网接口配置IP、静态路由、TELNET配置