1. 配置Switch的接口IP地址:<HUAWEI>system-view[HUAWEI]sysnameSwitch[Switch]vlanbatch100[Switch]interfacevlanif100[Switch-Vlanif100]ipaddress10.1.2.1024[Switch-Vlanif100]quit[Switch]interfacegigabitethernet1/0/1[Switch-GigabitEthernet1/0/1]portlink-typehybrid[Switch-GigabitEthernet1/0/1]porthybridpvidvlan100[Switch-GigabitEthernet1/0/1]porthybriduntaggedvlan100[Switch-GigabitEthernet1/0/1]quit
2. 开启Telnet服务器功能:[Switch]telnetserverenable
3. 配置VTY用户界面的验证方式为aaa:[Switch]user-interfacemaximum-vty15[Switch]user-interfacevty014[Switch-ui-vty0-14]authentication-modeaaa[Switch-ui-vty0-14]protocolinboundtelnet[Switch-ui-vty0-14]quit
