
58
Brocade FastIron GS and FastIron GS-STK Hardware Installation Guide
53-1001783-01
Configuring IP addresses
5
DRAFT: BROCADE CONFIDENTIAL
•
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).
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:
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
> [ospf-ignore | ospf-passive | secondary]
or
Syntax: [no] ip address <
ip-addr
>/<
mask-bits
> [ospf-ignore | ospf-passive | secondary]
The ospf-ignore | ospf-passive parameters modify the switch defaults for adjacency formation and
interface advertisement. Use one of these parameters if you are configuring 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 configured an IP address within the same subnet
on the interface.
NOTE
When you configure more than one address in the same subnet, all but the first address are
secondary addresses and do not form OSPF adjacencies.
FastIron(config)#interface ethernet 0/1/1
FastIron(config-if-0/1/1)#ip address 192.45.6.1 255.255.255.0