By default, the CLI displays network masks in classical IP address format (for example, 255.255.255.0). You can change the display to
prex format.
Assigning an IP address to an Ethernet port
To assign an IP address to port 1/1/1, enter the following commands.
device(config)# interface ethernet 1/1/1
device(config-if-1/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/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 ]
The ospf-ignore and ospf-passive parameters modify the Layer 3 switch defaults for adjacency formation and interface advertisement.
Use one of these parameters if you are
conguring multiple IP subnet addresses on the interface but you want to prevent OSPF from
running on some of the subnets:
• ospf-passive - This option disables adjacency formation with OSPF neighbors. By default, when OSPF is enabled on an
interface, the software forms OSPF router adjacencies between each primary IP address on the interface and the OSPF
neighbor attached to the interface.
• ospf-ignore - This option disables OSPF adjacency formation and also disables advertisement of the interface into OSPF. The
subnet is completely ignored by OSPF.
NOTE
The ospf-passive option disables adjacency formation but does not disable advertisement of the interface into OSPF. To
disable advertisement in addition to disabling adjacency formation, you must use the ospf-ignore option.
Use the secondary parameter if you have already congured an IP address within the same subnet on the interface.
NOTE
When you congure more than one address in the same subnet, all but the rst address are secondary addresses and do not
form OSPF adjacencies.
NOTE
All physical IP interfaces on Brocade FastIron Layer 3 devices share the same MAC address. For this reason, if more than one
connection is made between two devices, one of which is a Brocade FastIron Layer 3 device, Brocade recommends the use of
virtual interfaces. It is not recommended to connect two or more physical IP interfaces between two routers.
Assigning an IP address to a loopback interface
Loopback interfaces are always up, regardless of the states of physical interfaces. They can add stability to the network because they are
not subject to route ap problems that can occur due to unstable links between a Layer 3 switch and other devices. You can congure up
to eight loopback interfaces on a chassis Layer 3 switch devices. You can congure up to four loopback interfaces on a compact Layer 3
switch.
You can add up to 24 IP addresses to each loopback interface.
Conguring IP parameters - Layer 3 switches
FastIron Ethernet Switch Layer 3 Routing
38 53-1003627-04