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.3PING 10.0.4.3: 56 data bytes, press CTRL_C to breakReply from 10.0.4.3: bytes=56 Sequence=1 ttl=255 time=140 msReply from 10.0.4.3: bytes=56 Sequence=2 ttl=255 time=100 msReply from 10.0.4.3: bytes=56 Sequence=3 ttl=255 time=80 msReply from 10.0.4.3: bytes=56 Sequence=4 ttl=255 time=80 msReply from 10.0.4.3: bytes=56 Sequence=5 ttl=255 time=70 ms— 10.0.4.3 ping statistics —5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 70/94/140 ms |
<R1>ping 10.0.4.4PING 10.0.4.4: 56 data bytes, press CTRL_C to breakReply from 10.0.4.4: bytes=56 Sequence=1 ttl=255 time=410 msReply from 10.0.4.4: bytes=56 Sequence=2 ttl=255 time=860 msReply from 10.0.4.4: bytes=56 Sequence=3 ttl=255 time=1010 msReply from 10.0.4.4: bytes=56 Sequence=4 ttl=255 time=1030 msReply from 10.0.4.4: bytes=56 Sequence=5 ttl=255 time=940 ms— 10.0.4.4 ping statistics —5 packet(s) transmitted5 packet(s) received19 duplicates0.00% packet lossround-trip min/avg/max = 410/797/1970 ms |
<R1>display current-configuration#sysname R1#interface GigabitEthernet0/0/1ip address 10.0.4.1 255.255.255.0#Return |
<S3>display current-configuration#sysname S3
#interface Vlanif1ip address 10.0.4.2 255.255.255.0#interface Ethernet0/0/1shutdown#interface Ethernet0/0/21shutdown#return |
<S1>display current-configuration#sysname S1#vlan batch 2 to 4#interface Eth-Trunk1port link-type trunkport trunk allow-pass vlan 2 to 4094mode lacp-static#interface GigabitEthernet0/0/1port hybrid pvid vlan 4port hybrid untagged vlan 2 4#interface GigabitEthernet0/0/9eth-trunk 1#interface GigabitEthernet0/0/10eth-trunk 1#interface GigabitEthernet0/0/13port link-type accessport default vlan 3#return |
<S2>display current-configuration#sysname S2#vlan batch 2 to 4#interface Eth-Trunk1port link-type trunkport trunk allow-pass vlan 2 to 4094mode lacp-static#interface GigabitEthernet0/0/3port hybrid pvid vlan 4port hybrid untagged vlan 2 4#interface GigabitEthernet0/0/9eth-trunk 1#interface GigabitEthernet0/0/10eth-trunk 1#interface GigabitEthernet0/0/24port hybrid pvid vlan 2port hybrid untagged vlan 2 4#interface NULL0#user-interface con 0user-interface vty 0 4#Return |
<R3>display current-configuration#sysname R3#interface GigabitEthernet0/0/2ip address 10.0.4.3 255.255.255.0#return |
<S4>display current-configuration#sysname S4#interface Vlanif1ip address 10.0.4.4 255.255.255.0#interface Ethernet0/0/14shutdown#return |