[Quidway]vlan 1
[Quidway-vlan1]quit
[Quidway] interface vlan-interface 1
[Quidway-Vlan-interface1]ip add 192.168.1.25 255.255.255.0 (交换机地址)
[Quidway-Vlan-interface1]quit
[Quidway]int Ethernet 0/24
[Quidway- Ethernet0/24]port link-type trunk
[Quidway- Ethernet0/24]port trunk permit vlan 1
Please wait... Done!
[Quidway- Ethernet0/2]quit
[Quidway] ip route-static 0.0.0.0 0.0.0.0 192.168.1.1
[Quidway]vlan 10
[Quidway]q
[Quidway]int e 0/3 (内网口配置)
[Quidway- Ethernet0/3]port access vlan 10
[Quidway- Ethernet0/3]q
[Quidway]vlan 20
[Quidway]q
[Quidway]int e 0/4 (内网口配置)
[Quidway- Ethernet0/4]port access vlan 20
[Quidway- Ethernet0/4]q
[Quidway]local-user huawei
[Quidway-luser-huawei]password simple huawei
[Quidway-luser-huawei]service-type telnet level 3
[Quidway-luser-huawei]quit
[Quidway]user-interface vty 0 4
[Quidway-ui-vty0-4]authentication-mode scheme
[Quidway-ui-vty0-4]quit
[Quidway]quit
麻烦各位高手指点下,谢谢了哈。