настройка VLAN на huawei quidway s2300

<lt>system-view

что имеем:

[lt]dis port vlan
Port                    Link Type    PVID  Trunk VLAN List
-------------------------------------------------------------------------------
Ethernet0/0/1           hybrid       1     -                                   
Ethernet0/0/2           hybrid       1     -                                   
Ethernet0/0/3           hybrid       1     -                                   
Ethernet0/0/4           hybrid       1     -                                   
Ethernet0/0/5           hybrid       1     -                                   
Ethernet0/0/6           hybrid       1     -                                   
Ethernet0/0/7           hybrid       1     -                                   
Ethernet0/0/8           hybrid       1     -                                   
Ethernet0/0/9           hybrid       1     -                                   
Ethernet0/0/10          hybrid       1     -                                   
Ethernet0/0/11          hybrid       1     -                                   
Ethernet0/0/12          hybrid       1     -                                   
Ethernet0/0/13          hybrid       1     -                                   
Ethernet0/0/14          hybrid       1     -                                   
Ethernet0/0/15          hybrid       1     -                                   
Ethernet0/0/16          hybrid       1     -                                   
Ethernet0/0/17          hybrid       1     -                                   
Ethernet0/0/18          hybrid       1     -                                   
Ethernet0/0/19          hybrid       1     -                                   
Ethernet0/0/20          hybrid       1     -                                   
Ethernet0/0/21          hybrid       1     -                                   
Ethernet0/0/22          hybrid       1     -                                   
Ethernet0/0/23          hybrid       1     -                                   
Ethernet0/0/24          hybrid       1     -                                   
GigabitEthernet0/0/1    hybrid       1     -                                   
GigabitEthernet0/0/2    hybrid       1     -

добавляем группу gig
[lt]port-group gig

добавляем порты в группу gig
[lt-port-group-gig]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/2

меняем режим портов этой группы на trunk
[lt-port-group-gig]port link-type trunk

добавялем в эти порты тегированый vlan 215
[lt-port-group-gig]port trunk allow-pass vlan 215

создаем группу local
[lt]port-group local

добавляем порты свитча в эту группу
[lt-port-group-local]group-member Ethernet 0/0/1 to Ethernet 0/0/24

меняем режим портов на Access
[lt-port-group-local]port link-type access
[lt-port-group-local]quit

добавляем порты в 215 влан
[lt]vlan 215
[lt-vlan215]port Ethernet 0/0/1 to 0/0/24

проверяем

[lt-vlan215]dis port vlan                  
Port                    Link Type    PVID  Trunk VLAN List
-------------------------------------------------------------------------------
Ethernet0/0/1           access       215   -                                   
Ethernet0/0/2           access       215   -                                   
Ethernet0/0/3           access       215   -                                   
Ethernet0/0/4           access       215   -                                   
Ethernet0/0/5           access       215   -                                   
Ethernet0/0/6           access       215   -                                   
Ethernet0/0/7           access       215   -                                   
Ethernet0/0/8           access       215   -                                   
Ethernet0/0/9           access       215   -                                   
Ethernet0/0/10          access       215   -                                   
Ethernet0/0/11          access       215   -                                   
Ethernet0/0/12          access       215   -                                   
Ethernet0/0/13          access       215   -                                   
Ethernet0/0/14          access       215   -                                   
Ethernet0/0/15          access       215   -                                   
Ethernet0/0/16          access       215   -                                   
Ethernet0/0/17          access       215   -                                   
Ethernet0/0/18          access       215   -                                   
Ethernet0/0/19          access       215   -                                   
Ethernet0/0/20          access       215   -                                   
Ethernet0/0/21          access       215   -                                   
Ethernet0/0/22          access       215   -                                   
Ethernet0/0/23          access       215   -                                   
Ethernet0/0/24          access       215   -                                   
GigabitEthernet0/0/1    trunk        1     1 215
GigabitEthernet0/0/2    trunk        1     1 215