
FIGURE 3-18 The Switch Config ⇒ VLANs Window
Command-line Interface: Adding Ports Manually to a VLAN
The following example adds two ports to VLAN 3 (named R&D), forbids server blade port SNP13 from joining the VLAN dynamically (using GVRP), and finally displays the VLAN’s membership:
Console(config)#interface ethernet NETP1 |
|
| ||
tagged | ||||
|
|
| ||
Console(config)#interface ethernet NETP2 |
|
| ||
untagged | ||||
|
|
| ||
Console(config)#interface ethernet SNP13 |
|
| ||
3 | ||||
|
|
| ||
Console#show vlan id 3 |
|
|
| |
VLAN Type | Name | Status | Ports/Channel groups |
3 | Static R&D | Active | NETP1 NETP2 |
Console# |
|
|