beautypg.com

Brocade TurboIron 24X Series Configuration Guide User Manual

Page 421

background image

Brocade TurboIron 24X Series Configuration Guide

387

53-1003053-01

Routing between VLANs using virtual routing interfaces (Layer 3 Switches only)

TurboIron-A(config-ospf-router)#vlan 2 name IP-Subnet_10.1.2.0/24

TurboIron-A(config-vlan-2)#untag e 1 to 4

TurboIron-A(config-vlan-2)#no spanning-tree

TurboIron-A(config-vlan-2)#router-interface ve1

TurboIron-A(config-vlan-2)#other-proto name block_other_protocols

TurboIron-A(config-vlan-other-proto)#no dynamic

TurboIron-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.

TurboIron-A(config-vlan-other-proto)#interface ve1

TurboIron-A(config-vif-1)#ip address 10.1.2.1/24

TurboIron-A(config-vif-1)#ip ospf area 0.0.0.0

Do the same thing for VLAN 8.

TurboIron-A(config-vif-1)#vlan 8 name IPX_Network2

TurboIron-A(config-vlan-8)#untag ethernet 5 to 8

TurboIron-A(config-vlan-8)#no spanning-tree

TurboIron-A(config-vlan-8)#router-interface ve 2

TurboIron-A(config-vlan-8)#other-proto name block-other-protocols

TurboIron-A(config-vlan-other-proto)#no dynamic

TurboIron-A(config-vlan-other-proto)#exclude ethernet 5 to 8

TurboIron-A(config-vlan-other-proto)#int ve2

TurboIron-A(config-vif-2)#ipx network 2 ethernet_802.3

TurboIron-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 subnet and IPX network VLANs. Also there is no need
to exclude ports from the IP subnet and IPX network VLANs on the router.

TurboIron-A(config-vif-2)#vlan 3 name IP_Sub_&_IPX_Net_VLAN

TurboIron-A(config-vlan-3)#untag e 9 to 16

TurboIron-A(config-vlan-3)#no spanning-tree

TurboIron-A(config-vlan-3)#ip-subnet 10.1.1.0/24

TurboIron-A(config-vlan-ip-subnet)#static e 9 to 12

TurboIron-A(config-vlan-ip-subnet)#router-interface ve3

TurboIron-A(config-vlan-ip-subnet)#ipx-network 1 ethernet_802.3

TurboIron-A(config-vlan-ipx-network)#static e 13 to 16

TurboIron-A(config-vlan-ipx-network)#router-interface ve4

TurboIron-A(config-vlan-ipx-network)#other-proto name block-other-protocols

TurboIron-A(config-vlan-other-proto)#exclude e 9 to 16

TurboIron-A(config-vlan-other-proto)#no dynamic

TurboIron-A(config-vlan-other-proto)#interface ve 3

TurboIron-A(config-vif-3)#ip addr 10.1.1.1/24

TurboIron-A(config-vif-3)#ip ospf area 0.0.0.0

TurboIron-A(config-vif-3)#int ve4

TurboIron-A(config-vif-4)#ipx network 1 ethernet_802.3

TurboIron-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 device. In this example, device-A will
provide the routing services for VLAN 4. You also want to configure the STP priority for VLAN 4 to
make device-A the root bridge for this VLAN.

TurboIron-A(config-vif-4)#vlan 4 name Bridged_ALL_Protocols

TurboIron-A(config-vlan-4)#untag ethernet 17 to 24

TurboIron-A(config-vlan-4)#tag ethernet 25 to 26

TurboIron-A(config-vlan-4)#spanning-tree

TurboIron-A(config-vlan-4)#spanning-tree priority 500