Get the App
SLTechnology News&Howtos  ›  Servers  › 

Project practice (GVRP link bundling)

Shulou Source: shulou.com Published: 2022-06-02 05:55:19 10月31日 Update

Experimental demand

Lab requirements:

1.PC-1/2/3 addressing based on requirements

Interworking between 2.PC-1 and PC-3

Interworking between 3.PC-2 and PC-3

4.PC-1 can't communicate with PC-2.

5. Dynamic learning of VLAN information between switches

6. Achieve the robustness of the connection between SW2 and SW3

7.IP address planning

PC-1: 192.168.1.1/25

PC-2: 192.168.1.2/26

PC-3: 192.168.1.3/27

Experimental thinking

Based on the needs of the experiment, the knowledge points of analysis and confirmation are as follows:

1. Binary conversion, subnetting

2. The dynamic synchronization technology of VLAN-GVRP

3. Port type of VLAN (access/trunk/hybrid)

4. Link bundling technology-channel

Experimental procedure

1. Configure the IP address of PC-1/2/3

PC-1:

192.168.1.1 255.255.255.128

PC-2:

192.168.1.2 255.255.255.192

PC-3:

192.168.1.3 255.255.255.224

2. Configure the VLAN of the switch and configure the synchronization protocol

SW1:

-create VLAN manually

-enable GVRP

[SW1] vlan 10 # create VLAN 10

[SW1] vlan 20 # create VLAN 20

[SW1] vlan 30 # create VLAN 30

[SW1] gvrp # enable GVRP globally

[SW1] interface gi0/0/12 # must also enable GVRP under the API

[SW1-gi0/0/12] gvrp

SW2/3:-enable GVRP-static creation VLAN [SW2] gvrp # globally enable GVRP [SW2] interface gi0/0/12 # enable GVRP [SW2-gi0/0/12] gvrp [SW2] interface gi0/0/23 # enable GVRP [SW2-gi0/0/12] gvrp [SW2] interface gi0/0/24 # enable GVRP [SW2-gi0 under Port / 0lap12] gvrp [SW2] vlan 10 # VLAN list obtained based on GVRP protocol Manually create VLAN information [SW2] vlan 20 [SW2] vlan 30

The operation on SW3 is exactly the same as SW2, except that the configured interface is different.

3. Configure the type of port on which the switch connects to the PC-1/2/3

[SW1] interface gi0/0/1 # Port to connect to PC-1

[SW1-gi0/0/1] port link-type hybrid

[SW1-gi0/0/1] port hybrid pvid vlan 10 # inbound traffic is labeled vlan 10

[SW1-gi0/0/1] port hybrid untagged vlan10 30 # Traffic is untagged for vlan10 and vlan30

[SW1] interface gi0/0/2 # Port to connect to PC-2

[SW1-gi0/0/1] port link-type hybrid

[SW1-gi0/0/1] port hybrid pvid vlan 20 # inbound traffic is labeled vlan 20

[SW1-gi0/0/1] port hybrid untagged vlan20 30 # outbound traffic is untagged for vlan20 and vlan30

[SW1] interface gi0/0/12

[SW1-gi0/0/12]

4. Configure the link between the switch and the switch as trunk.

5. Configure the VLAN of the switch and the synchronization protocol

6. Configure "link bundling" between SW2 and SW3

Tags: Configuration port switch lab inter label traffic demand link synchronization information global dynamic address manual technology interface type different same Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Technology macOS Microsoft Shulou Information