H3C 交换机路由器常用命令 local-user admin (建立TELNET 用户) password simple admin authorization-attribute level 3 service-type telnet stp enable (开启生成树功能) interface Vlan-interface1 ip address 1
0(为只定VLAN 配置IP 地址) port access vlan 20 (在端口模式下将接口添加到相关VLAN) (接口的TRUNK 配置) port link-type trunk port trunk permit vlan all user-interface vty 0 4 authentication-mode scheme(开启TELNET 服务的虚拟端口) user-interface vty 5 15 description 首先配置交换机的管理IP 地址 [H3C]interface Vlan-interface 1 [H3C-vlan-interface1]ip address 10
0 只用密码的用户认证 [H3C]user-interface vty 0 4 [H3C-ui-vty0-4]authentication-mode password [H3C-ui-vty0-4]set authentication password simple 123456 远程用户缺省的级别都是0 级,Telnet 用户登录后的用户级别 [H3C-ui-vty0-4]user privilege level 3 本地用户名和口令的认证 [H3C]user-interface vty 0 4 [H3C-ui-vty0-4]authenti