beautypg.com

Increasing the number of vlans you can configure – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 57

background image

Brocade Virtual ADX Switch and Router Guide

43

53-1003246-01

Configuring a virtual routing interface and assigning an IP address on a port-based VLAN

3

Configuring a virtual routing interface and assigning an
IP address on a port-based VLAN

In the following example, a Virtual ADX uses the ISR functionality to Layer-2 switch packets within a
VLAN while allowing Layer 3 switching across VLANs from one IP subnet to another. In this example,
two hosts connected to port 1and port 2 in the same IP subnet can directly send IP packets to each
other through VLAN 10. Two other hosts connected to port 1and port 3respectively and in IP
subnets 10.10.10.0/24 and 10.20.20.0/24 respectively can send IP packets to each other through
the virtual routing interfaces VE10 and VE20. In this situation, the Virtual ADX is Layer-3 routing the
IP packets from one VLAN to another. This example is configured as described in the following.

The following commands create a port-based VLAN and add two ports as tagged and untagged
members respectively.

Virtual ADX(config)# vlan 10

Virtual ADX(config-vlan-10)# untag ethernet 1

Virtual ADX(config-vlan-10)# tag ethernet 2

The following commands create a virtual routing interface for VLAN 10 and configure an IP address
on the virtual routing interface.

Virtual ADX(config-vlan-10)# router-interface ve 10

Virtual ADX(config-vlan-10)# interface ve 10

Virtual ADX(config-vif-10)# ip address 10.10.10.1/24

The following commands create a second virtual routing interface for VLAN 20.

Virtual ADX(config)# vlan 20

Virtual ADX(config-vlan-20)# untag ethernet 3

Virtual ADX(config-vlan-20)# tag ethernet 2

Virtual ADX(config-vlan-20)# router-interface ve 20

Virtual ADX(config-vlan-20)# interface ve 20

Virtual ADX(config-vif-20)# ip address 10.20.20.1/24

Allocating memory for more VLANs or virtual routing
interfaces

Increasing the number of VLANs you can configure

To increase the size of the VLAN table, which determines how many VLANs you can configure, use
either of the following methods.

NOTE

You can configure only 4094 VLANs. VLAN ID 4094 is reserved for use by the Single Spanning Tree
feature.

To increase the maximum number of VLANs you can configure, enter commands such as the
following at the global CONFIG level of the CLI.

Virtual ADX(config)# system-max vlan 256

Virtual ADX(config)# write memory

Virtual ADX(config)# end

Virtual ADX# reload

Syntax: system-max vlan num