交换机基础配置

华为
设置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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值