Application Delivery (ADX)

Reply
Contributor
Posts: 25
Registered: ‎05-04-2009

How do I use tagging (802.1q)/create vlans at the ServerIron and how to I assign IP addresses to a VLAN?

How do I use tagging (802.1q)/create vlans at the ServerIron and how to I assign IP addresses to a VLAN?

This might sound simple but I have used L2 code only before and I just went to PREM 2 days ago.

one more Q will follow quickly ;-)

Super Contributor
Posts: 316
Registered: ‎05-01-2009

Re: How do I use tagging (802.1q)/create vlans at the ServerIron and how to I assign IP addresses to a VLAN?

You have to move you ports into the VLANs as needed. You do need to jump into the VLAN needed using "vlan <id>" and you need to add ports to this VLAN. A port might be tagged or untagged (802.1q or not). The following example is creating 3 VLANs (IDs 101, 102 and 103). I am going to put port 1 into all of these VLANs - port 1 is tagged. I am putting port 2 into vlan 101 only, port 3 into vlan 102 and port 4 into vlan 103. Port 2 to 4 are untagged.

vlan 101

     tagged ethernet 1

     untagged ethernet 2

vlan 102

     tagged ethernet 1

     untagged ethernet 3

vlan 103

     tagged ethernet 1

     untagged ethernet 4

Use the command "show vlan" to get the current VLAN/port relationship:

ServerIron#show vlan
Total PORT-VLAN entries: 4
PORT-VLAN 1, Name DEFAULT-VLAN, Priority level0, Spanning tree Off

PORT-VLAN 101, Name , Priority level0, Spanning tree Off
Untagged Ports:  2
   Tagged Ports:  1
   Uplink Ports: None
DualMode Ports: None
PORT-VLAN 102, Name , Priority level0, Spanning tree Off
Untagged Ports:  3
   Tagged Ports:  1
   Uplink Ports: None
DualMode Ports: None
PORT-VLAN 103, Name , Priority level0, Spanning tree Off
Untagged Ports:  4
   Tagged Ports:  1
   Uplink Ports: None
DualMode Ports: None
ServerIron#

You do have to create so called virtual ethernet interfaces (VEs) to bind IP addresses to your VLANs. I am going to put one VE into every VLAN and I am going to assign an IP address to every VE. The IP addresses are 192.168.x.1/24 - x (the 3rd Octeto fhe IP) is the VLAN ID:

vlan 101

     router-interface ve 101

vlan 102

     router-interface ve 102

vlan 103

     router-interface ve 103

interface ve 101

     ip address 192.168.101.1/24

interface ve 102

     ip address 192.168.102.1/24

interface ve 103

     ip address 192.168.103.1/24

That is all. Use "show ip interface" to get a summary of all configured IP addresses / interfaces:

ServerIron#show ip interface
Interface       IP-Address      OK?  Method    Status                 Protocol
Ve 101          192.168.101.1   YES  NVRAM     up                     up
Ve 102          192.168.102.1   YES  NVRAM     up                     up
Ve 103          192.168.103.1   YES  NVRAM     up                     up
ServerIron#

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

vADC is now Pulse Secure
Download FREE NVMe eBook