Foundry Networks Switch and Router Installation And Configuration Manual page 951

Switch and router
Table of Contents

Advertisement

Configuring Virtual LANs (VLANs)
NetIron-A(config-vlan-3)# no spanning-tree
NetIron-A(config-vlan-3)# ip-subnet 1.1.1.0/24
NetIron-A(config-vlan-ip-subnet)# static e9 to 12
NetIron-A(config-vlan-ip-subnet)# router-interface ve3
NetIron-A(config-vlan-ip-subnet)# ipx-network 1 ethernet_802.3
NetIron-A(config-vlan-ipx-network)# static e13 to 16
NetIron-A(config-vlan-ipx-network)# router-interface ve4
NetIron-A(config-vlan-ipx-network)# other-proto name block-other-protocols
NetIron-A(config-vlan-other-proto)# exclude e9 to 16
NetIron-A(config-vlan-other-proto)# no dynamic
NetIron-A(config-vlan-other-proto)# interface ve 3
NetIron-A(config-vif-3)# ip addr 1.1.1.1/24
NetIron-A(config-vif-3)# ip ospf area 0.0.0.0
NetIron-A(config-vif-3)# int ve4
NetIron-A(config-vif-4)# ipx network 1 ethernet_802.3
NetIron-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 NetIron. In this example, NetIron-A will provide the routing
services for VLAN 4. You also want to configure the STP priority for VLAN 4 to make NetIron-A the root bridge for
this VLAN.
NetIron-A(config-vif-4)# vlan 4 name Bridged_ALL_Protocols
NetIron-A(config-vlan-4)# untag ethernet 17 to 24
NetIron-A(config-vlan-4)# tag ethernet 25 to 26
NetIron-A(config-vlan-4)# spanning-tree
NetIron-A(config-vlan-4)# spanning-tree priority 500
NetIron-A(config-vlan-4)# router-interface ve5
NetIron-A(config-vlan-4)# int ve5
NetIron-A(config-vif-5)# ip address 1.1.3.1/24
NetIron-A(config-vif-5)# ip ospf area 0.0.0.0
NetIron-A(config-vif-5)# ipx network 3 ethernet_802.3
NetIron-A(config-vif-5)#
It is time to configure a separate port-based VLAN for each of the routed backbone ports (Ethernet 25 and 26).
If you do not create a separate tagged port-based VLAN for each point-to-point backbone link, you need to include
tagged interfaces for Ethernet 25 and 26 within VLANs 2, 3, and 8. This type of configuration makes the entire
backbone a single STP domain for each VLAN 2, 3, and 8. This is the configuration used in the example in
"Configuring IP Sub-net, IPX Network and Protocol-Based VLANs" on page 25-23. In this scenario, the virtual
interfaces within port-based VLANs 2, 3, and 8 will be accessible using only one path through the network. The
path that is blocked by STP is not available to the routing protocols until it is in the STP FORWARDING state.
NetIron-A(config-vif-5)# vlan 5 name Rtr_BB_to_Bldg.2
NetIron-A(config-vlan-5)# tag e25
NetIron-A(config-vlan-5)# no spanning-tree
NetIron-A(config-vlan-5)# router-interface ve6
NetIron-A(config-vlan-5)# vlan 6 name Rtr_BB_to_Bldg.3
NetIron-A(config-vlan-6)# tag ethernet 26
NetIron-A(config-vlan-6)# no spanning-tree
NetIron-A(config-vlan-6)# router-interface ve7
NetIron-A(config-vlan-6)# int ve6
NetIron-A(config-vif-6)# ip addr 1.1.4.1/24
NetIron-A(config-vif-6)# ip ospf area 0.0.0.0
NetIron-A(config-vif-6)# ipx network 4 ethernet_802.3
NetIron-A(config-vif-6)# int ve7
NetIron-A(config-vif-7)# ip addr 1.1.5.1/24
NetIron-A(config-vif-7)# ip ospf area 0.0.0.0
NetIron-A(config-vif-7)# ipx network 5 ethernet_802.3
NetIron-A(config-vif-7)#
December 2000
25 - 31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents