4
Configuring IP addresses
Syntax: enable [<password>]
Syntax: configure terminal
Syntax: [no] ip address <ip-addr> <ip-mask>
or
Syntax: [no] ip address <ip-addr>/<mask-bits>
Syntax: ip default-gateway <ip-addr>
Devices running base layer 3 software
You can configure an IP address on the following types of Base Layer 3 device interfaces:
•
•
•
By default, you can configure up to 24 IP addresses on each interface. On Base Layer 3 devicees,
you can increase this amount to up to 64 IP subnet addresses per port by increasing the size of the
subnet-per-interface table.
NOTE
Once you configure a virtual routing interface on a VLAN, you cannot configure Base Layer 3
interface parameters on individual ports in the VLAN. Instead, you must configure the parameters
on the virtual routing interface itself.
Brocade devices support both classical IP network masks (Class A, B, and C subnet masks, and so
on) and Classless Interdomain Routing (CIDR) network prefix masks.
Follow the steps below:
•
•
By default, the CLI displays network masks in classical IP address format (example:
255.255.255.0). You can change the display to prefix format.
Assigning an IP address to an Ethernet port
To assign an IP address to port 0/1/1, enter the following commands:
FastIron(config)# interface ethernet 0/1/1
FastIron(config-if-0/1/1)# ip address 192.45.6.1 255.255.255.0
NOTE
You also can enter the IP address and mask in CIDR format, as follows:
FastIron(config-if-0/1/1)# ip address 192.45.6.1/24
Syntax: [no] ip address <ip-addr> <ip-mask>
or
40
DRAFT: BROCADE CONFIDENTIAL
Ethernet port
Virtual routing interface (also called a Virtual Ethernet or "VE")
Loopback interface
To enter a classical network mask, enter the mask in IP address format. For example, enter
"209.157.22.99 255.255.255.0" for an IP address with a Class-C subnet mask.
To enter a prefix network mask, enter a forward slash (/) and the number of bits in the mask
immediately after the IP address. For example, enter "209.157.22.99/24" for an IP address
that has a network mask with 24 significant bits (ones).
Brocade FastIron LS and FastIron LS-STK Hardware Installation Guide
53-1002187-01