Technical data
Switching and Routing
May 2012 © 2012 Brocade Communications Systems, Inc. 2 - 21
To add a virtual routing interface, enter commands such as the following:
ServerIron(config)# vlan 1
ServerIron(config-vlan-1)# router-interface ve 1
The vlan 1 command changes the CLI to the configuration level for VLAN 1. The router-interface ve 1 command
adds virtual routing interface 1.
Syntax: [no] router-interface ve <num>
The <num> parameter specifies the interface ID and can be from 1 – 24.
After you add a virtual routing interface, you can add up to 64 IP interfaces to the virtual routing interface. To add
an IP interface, use the following CLI method.
NOTE: When you add an IP interface to a virtual routing interface and the interface is up, the software adds a
directly-connected static IP route to the route table for the address’ sub-net. The software does not add the route
unless the interface is up.
NOTE: For IP forwarding to work properly, you must add an IP interface that is in the same sub-net as the
management IP address. This is true regardless of whether you plan to allow management access from other
sub-nets.
NOTE: Do not configure a virtual routing interface to have the same IP address as the ServerIron’s management
address.
To add an IP interface, enter commands such as the following:
ServerIron(config)# interface ve 1
ServerIron(config-vif-1)# ip address 10.10.10.1 255.255.255.0
The interface ve 1 command changes the CLI to the configuration level for virtual routing interface 1. The ip
address command adds an IP interface.
Syntax: [no] ip address | nat-address | standby-address <ip-addr> <ip-mask> I <ip-addr>/<mask-bits>
The address | nat-address | standby-address parameter identifies the type of IP interface you are adding.
•The address parameter adds a standard IP interface. This option is applicable in most cases.
•The nat-address parameter applies to active-standby configurations. This parameter configures a shared IP
interface for use with SLB source NAT. Enter the same command with the same IP address on each of the
ServerIron’s in the active-standby configuration. The address is active only on one ServerIron’ (the
ServerIron’ that is currently active) at a time.
•The standby-address parameter applies to active-standby configurations and allows both ServerIrons to
share the same router interface. One of the ServerIrons actively supports the interface while the other
ServerIron provides failover for the interface if the first ServerIron becomes unavailable. Real servers can use
the shared interface as their default gateway. Enter the same command with the same IP address on each of
the ServerIrons in the active-standby configuration. The address is active only on one ServerIron (the
ServerIron that is currently active) at a time.
The <ip-addr> parameter specifies the IP address.
The <ip-mask> parameter specifies a class-based (or “Classical”) IP sub-net mask.
The <mask-bits> parameter specifies the number of significant bits in a Classless Interdomain Routing (CIDR)
sub-net mask.
You can use either format to configure the interface. For example, both the following commands are valid and
produce the same result:
• ip address 10.10.10.1 255.255.255.0
• ip address 10.10.10.1/24