beautypg.com

Assigning an ip address to an ethernet port, Assigning an ip address to a loopback interface – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 758

background image

728

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Configuring IP parameters

19

Assigning an IP address to an Ethernet port

To assign an IP address to port 1/1, enter the following commands.

Brocade(config)# interface ethernet 1/1

Brocade(config-if-e1000-1/1)# ip address 10.45.6.1 255.255.255.0

NOTE

You also can enter the IP address and mask in CIDR format, as follows.

Brocade(config-if-e10000-1/1)# ip address 10.45.6.1/24

Syntax: [no] interface ethernet slot/port

Syntax: [no] ip address ip-addr ip-mask | ip-addr/mask-bits [ospf-ignore | ospf-passive |

secondary]

The ospf-ignore | ospf-passive parameters modify the Brocade device 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 – disables adjacency formation with OSPF neighbors (but does not disable
advertisement of the interface into OSPF). 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 – disables OSPF adjacency formation and advertisement of the interface into
OSPF. The subnet is completely ignored by OSPF.

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.

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 flap problems that can occur due to
unstable links between a Brocade device and other devices.

You can configure up to 64 loopback interfaces on a Brocade device.

You can add up to 24 IP addresses to each loopback interface.

NOTE

If you configure the Brocade device to use a loopback interface to communicate with a BGP4
neighbor, you also must configure a loopback interface on the neighbor and configure the neighbor
to use that loopback interface to communicate with the Brocade device.

To add a loopback interface, enter commands such as those shown in the following example.

Brocade(config-bgp-router)# exit

Brocade(config)# int loopback 1

Brocade(config-lbif-1)# ip address 10.0.0.1/24

Syntax: [no] interface loopback num