华为交换机配置telnet 登录的脚本


system-view
vlan 5
management-vlan
quit
interface vlanif 5
ip address 10.10.10.1 24
quit

interface g0/0/1
port link-type trunk
port trunk allow-pass vlan 5
quit

telnet server enable


user-interface vty 0 4
protocol inbound telnet
authentication-mode aaa
idle-timeout 15
quit

aaa
local-user admin1 password cipher 123
local-user admin1 privilege level 3
local-user admin1 service-type telnet 

标签: none

添加新评论