华为
设置super密码
system
super password 2/3 cipher xxx 设置进入2/3用户级别加密的密码
console方式登录
认证方式为 none
user-interface aux 0 进入consle口
authentication-mode none 设置认证模式为 none
user privilege level 1 默认进入时的权限为1 monitor
认证方式为 password
user-interface aux 0 进入consle口
authentication-mode password 设置认证模式为 password
set authentication password simple 12345 设置密码为明文12345,如果simple换成cipher则密码加密
user privilege level 1 默认进入时的权限为1 monitor
认证方式为 scheme
local-user huawei 创建本地用户为huawei
password simple 12345 设置本地用户的明文密码为12345
service-type terminal level 2 服务类型为terminal ,默认权限为2
user-interface aux 0
authentication-mode scheme
user privilege level 1 默认进入时的权限为1 monitor
telnet方式登录
认证方式为 none
user-interface vty 0
authentication-mode none
user privilege level 2
protocol inbound telnet
认证方式为 password
user-interface vty 0
authentication-mode password
set authentication password simple 12345
user privilege level 2
protocol inbound telnet
认证方式为 scheme
local-user huawei
password simple 12345
service-type telnet level 2
user-interface vty 0
authentication-mode scheme
user privilege level 2
protocol inbound telnet
配置管理地址
interface vlan 1
ip address x.x.x.x x.x.x.x
配置缺省路由
ip route-static 0.0.0.0 0.0.0.0 getway ip
CISCO
设置终端控制台登陆密码
config terminal
line console 0
password ***
line vty 0 14
password 设置telnet密码
enable password ** /enable secret **(加密,建议) 设置特权模式进入密码
设置管理ip,和缺省网关
config terminal
ip default-gateway x.x.x.x
interface vlan 1
ip address x.x.x.x x.x.x.x
end