
1. VLAN aggregation

1.SW1 creates vlan 10 20 100
[SW1]vlan b 10 20 100
2. Set the PC1 and PC2 interfaces to access and add the corresponding vlan10 and 20
[SW1]int g0/0/1
[SW1-GigabitEthernet0/0/1]p l a
[SW1-GigabitEthernet0/0/1]int g0/0/2
[SW1-GigabitEthernet0/0/2]p l a
[SW1-GigabitEthernet0/0/2]p d vlan 20
3. Set vlan100 as Super-VLAN, and vlan10 and 20 as sub-VLANs.
[SW1]vlan 100
[SW1-vlan100]aggregate-vlan //Create an aggregate VLAN super VLAN (can serve multiple sub-VLANs)
[SW1-vlan100]access-vlan 10 20
4.vlanif100 sets the IP to enable the Proxy ARP function between Sub-VLANs
[SW1]int vlan 100
[SW1-Vlanif100]ip add 192.168.1.254 24 //VLANIF IP serves as the gateway for multiple sub-vlans
[SW1-Vlanif100]arp-proxy inter-sub-vlan-proxy en
5. Verify that PC1 can ping PC2

When PC1 pings PC2,
Capture packets on g0/0/1, the destination MAC is the MAC address of agent vlanif100


Capture packets on the g0/0/2 interface and observe that the source MAC is the MAC address of the agent vlanif100.

2. MUX VLAN aggregation

1.SW1 creates vlan 10 20 30 100
[SW1]vlan b 10 20 30 100
2. Set all interfaces to access and add the corresponding vlan
[SW1-GigabitEthernet0/0/1]p l a
[SW1-GigabitEthernet0/0/1]p d vlan 10
[SW1-GigabitEthernet0/0/2]p l a
[SW1-GigabitEthernet0/0/2]p d vlan 10
[SW1-GigabitEthernet0/0/3]p l a
[SW1-GigabitEthernet0/0/3]p d vlan 20
[SW1-GigabitEthernet0/0/4]p l a
[SW1-GigabitEthernet0/0/4]p a lan 20
[SW1-GigabitEthernet0/0/5] p l a
[SW1-GigabitEthernet0/0/5]p d vlan 30
[SW1-GigabitEthernet0/0/6]p l a
[SW1-GigabitEthernet0/0/6]p d vlan 30
[SW1-GigabitEthernet0/0/7]p l a
[SW1-GigabitEthernet0/0/7]p d vlan 100
3.MUX VLAN configuration
[SW1]vlan 100
[SW1-vlan100]mux-vlan //Set VLAN100 as the main VLAN
[SW1-vlan100]subordinate group 10 20 //Set VLAN10, 20 is the interoperable slave VLAN
[SW1-vlan100]subordinate separate 30 //Set VLAN30 as an isolated slave VLAN
[SW1-GigabitEthernet0/0/1]port mux-vlan enable //(all interfaces) enable MUX VLAN function
4. Verify configuration [SW1]display mux-vlanPrincipal Subordinate Type Interface
100 - principal GigabitEthernet0/0/7
100 30 separate GigabitEthernet0/0/6
100 10 group GigabitEthernet0/0/1 GigabitEthernet0/0/2
100 20 group GigabitEthernet0/0/3 GigabitEthernet0/0/4
PC1, PC2 and the server can communicate with each other

PC3, PC4, and servers can communicate with each other

PC5 and PC6 can only communicate with the server

