Configuring Virtual LANs (VLANs)
December 2005 © Foundry Networks, Inc. 11 - 29
FESX424 Router-A(config-vlan-2)# other-proto name block_other_protocols
FESX424 Router-A(config-vlan-other-proto)# no dynamic
FESX424 Router-A(config-vlan-other-proto)# exclude e 1 to 4
Once you have defined the port-based VLAN and created the virtual routing interface, you need to configure the
virtual routing interface just as you would configure a physical interface.
FESX424 Router-A(config-vlan-other-proto)# interface ve1
FESX424 Router-A(config-vif-1)# ip address 1.1.2.1/24
FESX424 Router-A(config-vif-1)# ip ospf area 0.0.0.0
Do the same thing for VLAN 8.
FESX424 Router-A(config-vif-1)# vlan 8 name IPX_Network2
FESX424 Router-A(config-vlan-8)# untag ethernet 5 to 8
FESX424 Router-A(config-vlan-8)# no spanning-tree
FESX424 Router-A(config-vlan-8)# router-interface ve 2
FESX424 Router-A(config-vlan-8)# other-proto name block-other-protocols
FESX424 Router-A(config-vlan-other-proto)# no dynamic
FESX424 Router-A(config-vlan-other-proto)# exclude ethernet 5 to 8
FESX424 Router-A(config-vlan-other-proto)# int ve2
FESX424 Router-A(config-vif-2)# ipx network 2 ethernet_802.3
FESX424 Router-A(config-vif-2)#
The next thing you need to do is create VLAN 3. This is very similar to the previous example with the addition of
virtual routing interfaces to the IP sub-net and IPX network VLANs. Also there is no need to exclude ports from
the IP sub-net and IPX network VLANs on the router.
FESX424 Router-A(config-vif-2)# vlan 3 name IP_Sub_&_IPX_Net_VLAN
FESX424 Router-A(config-vlan-3)# untag e 9 to 16
FESX424 Router-A(config-vlan-3)# no spanning-tree
FESX424 Router-A(config-vlan-3)# ip-subnet 1.1.1.0/24
FESX424 Router-A(config-vlan-ip-subnet)# static e 9 to 12
FESX424 Router-A(config-vlan-ip-subnet)# router-interface ve3
FESX424 Router-A(config-vlan-ip-subnet)# ipx-network 1 ethernet_802.3
FESX424 Router-A(config-vlan-ipx-network)# static e 13 to 16
FESX424 Router-A(config-vlan-ipx-network)# router-interface ve4
FESX424 Router-A(config-vlan-ipx-network)# other-proto name block-other-protocols
FESX424 Router-A(config-vlan-other-proto)# exclude e 9 to 16
FESX424 Router-A(config-vlan-other-proto)# no dynamic
FESX424 Router-A(config-vlan-other-proto)# interface ve 3
FESX424 Router-A(config-vif-3)# ip addr 1.1.1.1/24
FESX424 Router-A(config-vif-3)# ip ospf area 0.0.0.0
FESX424 Router-A(config-vif-3)# int ve4
FESX424 Router-A(config-vif-4)# ipx network 1 ethernet_802.3
FESX424 Router-A(config-vif-4)#
Now configure VLAN 4. Remember this is a flat segment that, in the previous example, obtained its IP default
gateway and IPX router services from an external FESX. In this example, FESX-A will provide the routing
services for VLAN 4. You also want to configure the STP priority for VLAN 4 to make FESX-A the root bridge for
this VLAN.
FESX424 Router-A(config-vif-4)# vlan 4 name Bridged_ALL_Protocols
FESX424 Router-A(config-vlan-4)# untag ethernet 17 to 24
FESX424 Router-A(config-vlan-4)# tag ethernet 25 to 26
FESX424 Router-A(config-vlan-4)# spanning-tree
FESX424 Router-A(config-vlan-4)# spanning-tree priority 500
FESX424 Router-A(config-vlan-4)# router-interface ve5
FESX424 Router-A(config-vlan-4)# int ve5
FESX424 Router-A(config-vif-5)# ip address 1.1.3.1/24
FESX424 Router-A(config-vif-5)# ip ospf area 0.0.0.0
FESX424 Router-A(config-vif-5)# ipx network 3 ethernet_802.3