
GSWB
CHAPTER 8 CLI Operations
(5)Examples
•If all interfaces belong to ID 1
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 |
| |
Switch# | • |
| |
Switch# |
|
• If GigabitEthernet 0/1 belongs to VLAN ID 10
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# |
|
• If GigabitEthernet 0/1 belongs to VLAN ID 10 (a VLAN ID is specified)
Switch# show vlan id 10
ID | Name | interface |
0010 | VLAN0010 | GigabitEthernet 0/1 |
Switch#