12.07.2015 Views

BROCADE IP PRIMER

BROCADE IP PRIMER

BROCADE IP PRIMER

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VLAN GroupsYou also have to assign the ve a number. This is an 8-bit number, so it can beany number from 1 to 255 (there is no ve 0). I chose a number that is thesame number as the VLAN. This was purely my choice, and it is not required. Ichose to do this, because it makes it easier for me to remember which ve isassigned to which VLAN.Now that we've declared the interfaces, we need to assign them <strong>IP</strong> addresses.This is done in the same way you would configure <strong>IP</strong> addresses on any otherinterface:BR-4thFloorSwitch#conf tBR-4thFloorSwitch(config)#interface ve 10BR-4thFloorSwitch(config-vif-10)#ip address 172.18.1.1/24BR-4thFloorSwitch(config-vif-10)#interface ve 20BR-4thFloorSwitch(config-vif-20)#ip address 172.22.2.1/24Now, configure all of the workstations in the Accounting department to use172.18.1.1 as their default gateway. Also, configure all of the workstations inthe Marketing department to use 172.22.2.1 as their default gateway. Andyou're done. The fourth floor switch will now route traffic between the twoLayer 3 VLANs.A Layer 3 VLAN can only have one router-interface. Likewise, a router-interfacemay only belong to one VLAN. The interface can be addressed with multiple <strong>IP</strong>addresses. You would assign additional <strong>IP</strong> addresses the same way that youassigned the first. Just like a router, you can't have an interface with two <strong>IP</strong>addresses in the same subnet. They must be in different subnets.VLAN GroupsFinally, let's say you've got a switch with a lot of VLANs. You've got a large chassisswitch that you're using as a backbone switch to your entire infrastructure.All VLANs will pass through this switch. You'll find a couple of things. For one,you'll notice that most of your interfaces will be tagged (as they will be trunkscoming from other switches). And two, you'll notice that, although you're configuringmany different VLANs, each VLAN configuration is identical.VLAN groups allow you to save config space (and configuration time) by allowingyou to group multiple VLANs together. For example, let's say you wereneeding to configure one four-port trunk (ports 1/1 to 1/4 on your chassis) tobe a member of VLANs 30 through 100. Now, you could define each VLAN(e.g., 30, 31, 32, etc.) and make your trunk port a tagged member in each. Amore efficient way would be:Switch#conf tSwitch(config)#vlan-group 1 vlan 30 to 100Switch(config-vlan-group-1)#tagged e 1/1 to 1/4Brocade <strong>IP</strong> Primer 187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!