139
Task Command
Display information about super VLANs and their
associated sub-VLANs.
display supervlan
[
supervlan-id
]
Super VLAN configuration example
Network requirements
As shown in
:
•
GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 are in VLAN 2.
•
GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 are in VLAN 3.
•
GigabitEthernet 1/0/5 and GigabitEthernet 1/0/6 are in VLAN 5.
To save IP addresses and enable sub-VLANs to be isolated at Layer 2 but interoperable at Layer 3,
perform the following tasks:
•
Create a super VLAN and assign an IP address to its VLAN interface.
•
Associate the super VLAN with VLANs 2, 3, and 5.
Figure 43 Network diagram
Configuration procedure
# Create VLAN 10, and configure its VLAN interface IP address as 10.1.1.1/24.
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] quit
[DeviceA] interface vlan-interface 10
[DeviceA-Vlan-interface10] ip address 10.1.1.1 255.255.255.0
# Enable local proxy ARP.
[DeviceA-Vlan-interface10] local-proxy-arp enable
[DeviceA-Vlan-interface10] quit
# Create VLAN 2, and assign GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to the VLAN.
[DeviceA] vlan 2
[DeviceA-vlan2] port gigabitethernet 1/0/1 gigabitethernet 1/0/2
[DeviceA-vlan2] quit
GE1/0/1
GE1/0/2
GE1/0/3
GE1/0/4
GE1/0/5
GE1/0/6
Vlan-int10
10.1.1.1/24
VLAN 2
VLAN 5
VLAN 3
Device A
Device B
Содержание H3C S7500E-X
Страница 70: ...57 ...