Experimental
steps:
switch sw1 configure vlan 10 and add the interface to vlan
Switch sw1 configure vlan 20 and add the interface to vlan
Switch sw2 configuration vlan 10 and the interface is added to the inside vlan
switch sw1 created inside trunk group 1 link binding
to the relay configuration allows all vlan port by
the configuration of a trunk group bundle link
interface checks the interface trunk group 1
switch sw2 inside Create trunk group 1 Configure link bundling.
First configure the trunk port to allow all VLANs to check the interface of trunk group 1 by
configuring the link bundling of
trunk group 1.
Sw1 upper interface configuration trunk trunk port to
view the status of the interfaces in the trunk group
Configure single-arm routing on the lower interface in AR1 and configure it as trunk group 1.
Turn off the Layer 2 switch
Configure the two sub-interfaces of the switch, configure the IP address,
configure the ip address of the sub-interface of vlan10, configure the ip address
of the sub-interface of vlan20,
configure the trunk group of the right end interface of the ar1 router to 2, configure the IP address
and specify the next hop address of the default route to 128.56. 0.2
Configure the trunk group of the left end interface of ar2 to 2 Configure the IP address and
specify two static routes
Configure the trunk group of the right end interface of ar2 to 3 Configure the IP address
Configure the trunk group of the ar3 interface to 3 Configure the IP address
Configure the default route and specify it One hop address is 128.56.32.1
PC configuration address
Test the PC connectivity
remote connection to
create vlan10 and specify the route as 172.16.0.1
in the router ping 172.16.0.20
command explanation:
- port hybrid pvid vlan 10 Add the port identifier to vlan10
- port hybrid untagged vlan 10 Add port untagged to vlan 10
- port hybrid tagged vlan all allows all vlans to pass through with tags
- port link-type trunk Set the port type to trunk port
- port trunk allow-pass vlan all allows all vlans to pass through the trunk port
- mode lacp-static static link aggregation mode
- lacp preempt enable Link aggregation priority is enabled
- lacp timeout fast link aggregation timeout
- bpdu enable data unit on
- max active-linknumber 2 The maximum number of active links is 2
- undo portswitch Turn off the Layer 2 switch
- trunkport trunk port
- dhcp enable dhcp enable
- dot1q termination vid 10 package to vlan10
- arp broadcast enable address broadcast enable
- dhcp select interface automatically select interface