Configuring ip parameters - layer 3 switches, Configuring ip addresses, Assigning an ip address to an ethernet port – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 38
Configuring IP parameters - Layer 3 switches
The following sections describe how to configure IP parameters. Some parameters can be configured
globally while others can be configured on individual interfaces. Some parameters can be configured
globally and overridden for individual interfaces.
Configuring IP addresses
You can configure an IP address on the following types of Layer 3 switch interfaces:
• Ethernet port
• Virtual routing interface (also called a Virtual Ethernet or "VE")
• Loopback interface
• GRE tunnels
By default, you can configure up to 24 IP addresses on each interface.
You can increase this amount to up to 128 IP subnet addresses per port by increasing the size of the
ip-subnet-port table.
Refer to the section "Displaying system parameter default values" in the FastIron Ethernet Switch
Platform and Layer 2 Switching Configuration Guide .
NOTE
Once you configure a virtual routing interface on a VLAN, you cannot configure Layer 3 interface
parameters on individual ports. 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:
• To enter a classical network mask, enter the mask in IP address format. For example, enter
"10.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 "10.157.22.99/24" for an IP address that has a
network mask with 24 significant bits (ones).
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 1/1, enter the following commands.
device(config)# interface ethernet 1/1
device(config-if-1/1)# ip address 10.45.6.1 255.255.255.0
You also can enter the IP address and mask in CIDR format, as follows.
device(config-if-1/1)# ip address 10.45.6.1/24
Syntax: no ip address ip- addr ip-mask [ ospf-ignore | ospf-passive | secondary ]
or
Syntax: no ip address ip-addr/mask-bits [ ospf-ignore | ospf-passive | secondary ]
Configuring IP parameters - Layer 3 switches
38
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
53-1003087-04