8-220 C122-E003-02EN
GSWB
CHAPTER 8 CLI Operations
(5) Examples
• If all interfaces belong to ID 1
• If GigabitEthernet 0/1 belongs to VLAN ID 10
• If GigabitEthernet 0/1 belongs to VLAN ID 10 (a VLAN ID is specified)
Switch# show vlan
ID Name interface
---- ------------------------------------- ------------
0001 default IO_Unit 0 0
IO_Unit 0 1
IO_Unit 1 0
•
GigabitEthernet 0/1
GigabitEthernet 0/2
GigabitEthernet 0/3
•
TenGigabitEthernet 1/1
TenGigabitEthernet 1/2
port-channel 1
•
Switch#
Switch#
Switch# show vlan
ID Name interface
---- ------------------------------------- ------------
0001 default IO_Unit 0 0
IO_Unit 0 1
IO_Unit 1 0
•
•
0010 VLAN0010 GigabitEthernet 0/1
Switch#
Switch# show vlan id 10
ID Name interface
---- ------------------------------------- ------------
0010 VLAN0010 GigabitEthernet 0/1
Switch#