RackSwitch G8000 Application Guide
3.Determine which switch ports and IP interfaces belong to which VLANs. The following table adds port and VLAN information:
Table 8-3 Subnet Routing Example: Optional VLAN Ports
Devices | IP Interface | Switch Ports | VLAN # |
|
|
|
|
Default router | 1 | 49 | 1 |
|
|
|
|
Web servers | 2 | 1 and 2 | 2 |
|
|
|
|
Database servers | 3 | 3 and 4 | 3 |
|
|
|
|
Terminal Servers | 4 | 5 and 6 | 4 |
|
|
|
|
NOTE – To perform this configuration, you must be connected to the switch Command Line Interface (CLI) as the administrator.
4.Add the switch ports to their respective VLANs.
The VLANs shown in Table 8-3 are configured as follows:
RS G8000 (config)# vlan | 1 |
| |
RS G8000 | enable |
| |
RS G8000 | member 49 | (Add ports to VLAN 1) | |
RS G8000 | exit |
| |
RS G8000 (config)# vlan | 2 |
| |
RS G8000 | enable |
| |
RS G8000 | member 1,2 | (Add ports to VLAN 2) | |
RS G8000 | exit |
| |
RS G8000 (config)# vlan | 3 |
| |
RS G8000 | enable |
| |
RS G8000 | member 3,4 | (Add ports to VLAN 3) | |
RS G8000 | exit |
| |
RS G8000 | (config)# vlan | 4 |
|
RS G8000 | enable |
| |
RS G8000 | member 5,6 | (Add ports to VLAN 4) | |
RS G8000 | exit |
|
Each time you add a port to a VLAN, you may get the following prompt:
Port 4 is an untagged port and its PVID is changed from 1 to 3.
BMD00041, November 2008 | Chapter 8: Basic IP Routing 125 |