欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

华为3928配置telnet登录的命令

程序员文章站 2022-06-29 11:29:39
华为3928配置telnet登录的命令...
sys

local-user root 建登陆的帐号和密码
password simple *
service-type telnet
level 3
quit
user-interface vty 0 4
authentication-mode scheme
quit
建3928下所带设备的vlan,例如可以用vlan 2 to 10 批量建,注意用多少vlan建多少,4094和4001一定要建上,4094是交换机网管vlan,4000是华为网管vlan,4001是中兴网管vlan

下联端口的做法:
interface ethernet 1/0/1
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 522 to 537 4000 此端口下所带设备的vlan和网管vlan必须要通过,

上联端口的做法
interface gigabitethernet1/1/1
duplex full
speed 1000
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 2 to 1537 4000 此交换机所建立的vlan和网管vlan必须通过

网管地址和路由
interface vlan-interface 4094
ip address 60.*.*.* 255.255.255.224
q
ip route-static 0.0.0.0 0.0.0.0 60.*.*.1 preference 60

save