146
Displaying and maintaining super VLAN
Task Command
Remarks
Display the mapping between a
super VLAN and its sub-VLANs.
display supervlan
[
supervlan-id
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Super VLAN configuration example
Network requirements
As shown in
•
Create super VLAN 10, and configure its VLAN interface IP address as 10.0.0.1/24.
•
Create the sub-VLANs VLAN 2, VLAN 3, and VLAN 5.
•
Assign Ethernet 1/0/1 and Ethernet 1/0/2 to VLAN 2, Ethernet 1/0/3 and Ethernet 1/0/4 to
VLAN 3, and Ethernet 1/0/5 and Ethernet 1/0/6 to VLAN 5.
•
The sub-VLANs are isolated at Layer 2 but connected at Layer 3.
Figure 47
Network diagram
Configuration procedure
# Create VLAN 10, and configure its VLAN interface IP address as 10.0.0.1/24.
<Sysname> system-view
[Sysname] vlan 10
[Sysname-vlan10] quit
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ip address 10.0.0.1 255.255.255.0
# Enable local proxy ARP.
[Sysname-Vlan-interface10] local-proxy-arp enable
[Sysname-Vlan-interface10] quit
# Create VLAN 2, and assign Ethernet 1/0/1 and Ethernet 1/0/2 to it.
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 1/0/1 ethernet 1/0/2
[Sysname-vlan2] quit
# Create VLAN 3, and assign Ethernet 1/0/3 and Ethernet 1/0/4 to it.
[Sysname] vlan 3