Hybrid VLAN


HUAWEI spesifik Hybrid VLAN konfigürayonu

[S1]interface GigabitEthernet 0/0/1
[S1-GigabitEthernet0/0/1]undo port default vlan
[S1-GigabitEthernet0/0/1]port link-type hybrid
[S1-GigabitEthernet0/0/1]port hybrid untagged vlan 2 4
[S1-GigabitEthernet0/0/1]port hybrid pvid vlan 4

 

[S2]interface GigabitEthernet 0/0/3
[S2-GigabitEthernet0/0/3]undo port default vlan
[S2-GigabitEthernet0/0/3]port link-type hybrid
[S2-GigabitEthernet0/0/3]port hybrid untagged vlan 2 4
[S2-GigabitEthernet0/0/3]port hybrid pvid vlan 4
[S2-GigabitEthernet0/0/3]quit
[S2]interface GigabitEthernet 0/0/24
[S2-GigabitEthernet0/0/24]undo port default vlan
[S2-GigabitEthernet0/0/24]port link-type hybrid
[S2-GigabitEthernet0/0/24]port hybrid untagged vlan 2 4
[S2-GigabitEthernet0/0/24]port hybrid pvid vlan 2

 

 

<R1>ping 10.0.4.3
PING 10.0.4.3: 56 data bytes, press CTRL_C to break
Reply from 10.0.4.3: bytes=56 Sequence=1 ttl=255 time=140 ms
Reply from 10.0.4.3: bytes=56 Sequence=2 ttl=255 time=100 ms
Reply from 10.0.4.3: bytes=56 Sequence=3 ttl=255 time=80 ms
Reply from 10.0.4.3: bytes=56 Sequence=4 ttl=255 time=80 ms
Reply from 10.0.4.3: bytes=56 Sequence=5 ttl=255 time=70 ms
— 10.0.4.3 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 70/94/140 ms

 

 

<R1>ping 10.0.4.4
PING 10.0.4.4: 56 data bytes, press CTRL_C to break
Reply from 10.0.4.4: bytes=56 Sequence=1 ttl=255 time=410 ms
Reply from 10.0.4.4: bytes=56 Sequence=2 ttl=255 time=860 ms
Reply from 10.0.4.4: bytes=56 Sequence=3 ttl=255 time=1010 ms
Reply from 10.0.4.4: bytes=56 Sequence=4 ttl=255 time=1030 ms
Reply from 10.0.4.4: bytes=56 Sequence=5 ttl=255 time=940 ms
— 10.0.4.4 ping statistics —
5 packet(s) transmitted
5 packet(s) received
19 duplicates
0.00% packet loss
round-trip min/avg/max = 410/797/1970 ms

 

 

 

 

<R1>display current-configuration
#
sysname R1
#
interface GigabitEthernet0/0/1
ip address 10.0.4.1 255.255.255.0
#
Return

 

 

<S3>display current-configuration#sysname S3

#
interface Vlanif1
ip address 10.0.4.2 255.255.255.0
#
interface Ethernet0/0/1
shutdown
#
interface Ethernet0/0/21
shutdown
#
return

 

 

<S1>display current-configuration
#
sysname S1
#
vlan batch 2 to 4
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static
#
interface GigabitEthernet0/0/1
port hybrid pvid vlan 4
port hybrid untagged vlan 2 4
#
interface GigabitEthernet0/0/9
eth-trunk 1
#
interface GigabitEthernet0/0/10
eth-trunk 1
#
interface GigabitEthernet0/0/13
port link-type access
port default vlan 3
#
return

 

 

 

<S2>display current-configuration
#
sysname S2
#
vlan batch 2 to 4
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static
#
interface GigabitEthernet0/0/3
port hybrid pvid vlan 4
port hybrid untagged vlan 2 4
#
interface GigabitEthernet0/0/9
eth-trunk 1
#
interface GigabitEthernet0/0/10
eth-trunk 1
#
interface GigabitEthernet0/0/24
port hybrid pvid vlan 2
port hybrid untagged vlan 2 4
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
Return

 

<R3>display current-configuration
#
sysname R3
#
interface GigabitEthernet0/0/2
ip address 10.0.4.3 255.255.255.0
#
return

 

 

<S4>display current-configuration
#
sysname S4
#
interface Vlanif1
ip address 10.0.4.4 255.255.255.0
#
interface Ethernet0/0/14
shutdown
#
return