不同品牌交换机设置telnet方法
H3C交换机:
1、设置telnet
system-view
super password level 3 cipher ******
telnet server enable
user-interface vty 0 4
set authentication password cipher ******
user privilege level 3
2、配置接口为trunk
system-view
interface GigabitEthernet 1/0/28 --根据实际口来定
port link-type trunk
port trunk permit vlan all --根据实际来定
3、一次配置多个端口属性
system-view
port-group manual [port-group-name]
group-member [interface-list]
port link-type access
port access vlan
4、增加静态路由
ip route-static 0.0.0.0 0.0.0.0 172.30.80.254
华为交换机:
1、配置Telnet
telnet server enable
user-interace vty 0 4
protocol inbound telnet
user privilege level 15
authentication-mode aaa
quit
aaa
local-user admin password irreversible-cipher ******
local-user admin privilege level 15
local-user admin service-type telnet
2、配置端口聚合
interace eth-trunk 1
port link-type trunk
port trunk allow-pass vlan 10
mode lacp
quit
interace G0/0/1
eth-trunk 1
quit
interace G0/0/2
eth-trunk 1
quit