
48
C
HAPTER
3: VLAN C
ONFIGURATION
status of one or more Ethernet ports is UP, the status of the VLAN interface is UP
also, so the VLAN interface is enabled.
Displaying and Debugging a VLAN
After the configuring a VLAN, execute the
display
command in any view to
display the VLAN configuration, and to verify the effect of the configuration.
Example: VLAN
Configuration
Create VLAN2 and VLAN3. Add Ethernet 1/0/1 and Ethernet 2/0/1 to VLAN2 and
add Ethernet 1/0/2 and Ethernet 2/0/2 to VLAN3.
Figure 1
VLAN Configuration Example
1
Create VLAN 2 and enter its view.
[SW7700]
vlan 2
2
Add Ethernet 1/0/1 and Ethernet 2/0/1 to VLAN2.
[SW7700-vlan2]
port Ethernet 1/0/1 Ethernet 2/0/1
3
Create VLAN 3 and enters its view.
[SW7700-vlan2]
vlan 3
4
Add Ethernet 1/0/2 and Ethernet 2/0/2 to VLAN3.
[SW7700-vlan3]
port Ethernet 1/0/2 Ethernet 2/0/2
Table 6
Displaying and Debugging a VLAN
Operation
Command
Display the information about a VLAN
interface
display interface vlan-interface
[
vlan_id
]
Display the information about a VLAN
display vlan
[
vlan_id
|
all
|
static
|
dynamic
]
Display the protocol information and protocol
index configured on the specified VLAN
display protocol-vlan
vlan_list
Display the protocol information and protocol
index configured on the specified port
display protocol-vlan interface
interface_list
Switch
VLAN2
VLAN3
E1/0/1
E2/0/1
E1/0/2
E2/0/2
Summary of Contents for Switch 7700
Page 10: ...2 ABOUT THIS GUIDE ...
Page 52: ...44 CHAPTER 2 PORT CONFIGURATION ...
Page 194: ...186 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 195: ...Route Capacity 187 ...
Page 196: ...188 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 197: ...Route Capacity 189 ...
Page 198: ...190 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 237: ...GMRP 229 SW7700 Ethernet1 0 1 gmrp ...
Page 238: ...230 CHAPTER 6 MULTICAST PROTOCOL ...
Page 270: ...262 CHAPTER 7 QOS OPERATION ...
Page 320: ...312 CHAPTER 9 AAA AND RADIUS OPERATION ...
Page 330: ...322 CHAPTER 10 RELIABILITY ...
Page 390: ...382 CHAPTER 11 SYSTEM MANAGEMENT ...