Handbook
N8406-023 1Gb Intelligent L3 Switch Application Guide 94
Using VLANs to segregate broadcast domains
In the previous example, devices that share a common IP network are all in the same broadcast domain. If you
want to limit the broadcasts on your network, you could use VLANs to create distinct broadcast domains. For
example, as shown in the following procedure, you could create one VLAN for the client trunks, one for the routers,
and one for the servers.
In this example, you are adding to the previous configuration.
1. Determine which switch ports and IP interfaces belong to which VLANs.
The following table adds port and VLAN information:
Table 23 Subnet routing example: Optional VLAN ports
VLAN
Devices
IP Interface
Switch Port
VLAN #
1
First Floor Client Workstations
2
20
1
Second Floor Client Workstations
3
21
1
2
Primary Default Router
1
22
2
Secondary Default Router
1
23
2
3
Common Servers 1
4
1
3
Common Servers 2
4
2
3
2. Add the switch ports to their respective VLANs.
The VLANs shown in the table above are configured as follows:
>> # /cfg/l2/vlan 1(Select VLAN 1)
>> VLAN 1# add port 20 (Add port for 1st floor to VLAN 1)
>> VLAN 1# add port 21 (Add port for 2nd floor to VLAN 1)
>> VLAN 1# ena (Enable VLAN 1)
>> VLAN 1# ../VLAN 2 (Select VLAN 2)
>> VLAN 2# add port 22 (Add port for default router 1)
>> VLAN 2# add port 23 (Add port for default router 2)
>> VLAN 2# ena (Enable VLAN 2)
>> VLAN 2# ../VLAN 3 (Add port for default router 3)
>> VLAN 3# add port 1 (Select VLAN 3)
>> VLAN 3# add port 2 (Select port for common server 1)
>> VLAN 3# ena (Enable VLAN 3)
Each time you add a port to a VLAN, you may get the following prompt:
Port 4 is an untagged port and its current PVID is 1.
Confirm changing PVID from 1 to 2 [y/n]?
Enter y to set the default Port VLAN ID (PVID) for the port.










