华为交换机配置stelent过程

交换机型号为:s5700,Software Version V200R010C00SPC600。
笔记本通过consloe 口连入交换机,默认用户名admin,默认密码admin@huawei.com,首次登陆强制更改密码。
输入默认密码后,重复输入新密码两次。

配置业务vlan 10和管理vlan 3000
sys
vlan 10
vlan 3000

配置管理IP:
int vlan 3000
ip add 172.16.30.1 24

批量配置access口
port-group group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/24
port link-type access
port default vlan 10
quit

配置trunk口(用于交换机级联):
interface gigabitethernet 0/0/25
port link-type trunk
port trunk allow vlan 10 3000

配置stelnet:
stelnet server enable

user-interface vty 0 4
user privilege level 15
protocol inbound ssh
authentication-mode aaa

ssh user admin123
ssh user admin123 service-type stelnet
ssh user admin123 authentication-type password
aaa
local-user admin123 password irreversible-cipher abcd@123
local-user admin123 privilege level 15
local-user admin123 service-type ssh
quit

配置默认路由(重要):
ip route-static 0.0.0.0 0.0.0.0 68.89.3.254

保存:
save

转载于:https://blog.51cto.com/862187818/2370250

点赞