Switch Configuration
Create management interface
[sw1]interface Vlanif 29 Error: Can not create this interface because the interface number of this type has reached its maximum. [sw1]undo interface Vlanif 1 [sw1-Vlanif29]ip add 188.14.29.1 255.255.255.0 [sw1-Vlanif29]ip route-static 0.0.0.0 0.0.0.0 188.102.0.2
add vlanIF
[Switch]interface Vlanif 18 [Switch-Vlanif100]ip add 192.168.18.1 255.255.255.0
Assign vlan to port
[sw1]vlan 30 [sw1-vlan30]port GigabitEthernet 1/0/3 [sw1]vlan 30 [sw1-vlan29]port range GigabitEthernet 1/0/4 - G1/0/10
G1/0/23-24
interface GigabitEthernet 1/0/23 port link-type trunk port trunk allow-pass vlan 18 22 26 27 28 29 30 display port vlan display vlan
Create VLANs
<Quidway> system-view [Quidway] sysname TestSwitch [Switch] vlan batch 18 22 26 27 28 29 30
Enable VLAN transparent transmission
[Switch] vlan 20 [Switch-vlan20] description XXX [Switch-vlan20] protocol-transparent [Switch-vlan20] quit
Add interfaces to the VLANs
[Switch] interface gigabitethernet 1/0/1 [Switch-GigabitEthernet1/0/1] port hybrid tagged vlan 10 [Switch-GigabitEthernet1/0/1] quit [Switch] interface gigabitethernet 1/0/2 [Switch-GigabitEthernet1/0/2] port hybrid tagged vlan 10 20 [Switch-GigabitEthernet1/0/2] quit [Switch] interface gigabitethernet 1/0/3 [Switch-GigabitEthernet1/0/3] port hybrid tagged vlan 20 [Switch-GigabitEthernet1/0/3] quit
