Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 766
736
Multi-Service IronWare Switching Configuration Guide
53-1003036-02
Configuring IP parameters
19
You can also enter the IP address and mask in the Classless Interdomain Routing (CIDR) format, as
follows.
Brocade(config-if-e1000-1/5)# ip address 10.9.9.9/31
Syntax: [no] ip address ip-address ip-mask
Syntax: [no] ip address ip-address/subnet mask-bits
The ip-address variable specifies the host address. The ip-mask variable specifies the IP network
mask. The subnet mask-bits variable specifies the network prefix mask.
To disable configuration for an IPv4 address with a 31-bit subnet mask on any interface, use the no
form of the command.
You cannot configure a secondary IPv4 address with a 31-bit subnet mask on any interface. The
following error message is displayed when a secondary IPv4 address with a 31-bit subnet mask is
configured.
Brocade(config-if-e1000-1/5)#ip address 10.8.8.8/31 secondary
IP/Port: Errno(10) Cannot assign /31 subnet address as secondary
Displaying the configuration for an IPv4 address with a 31-bit subnet mask
To display the interface running configuration when an IPv4 address with a 31-bit subnet mask is
configured, enter the following command at any level of the CLI.
In the previous example, interface ethernet 1/5 is assigned two IPv4 addresses (10.2.2.3/31 and
10.4.4.4/31) with a 31-bit subnet mask.
To display the configuration for an IPv4 address with a 31-bit subnet mask on a virtual ethernet
(VE) interface, enter the following command at any level of the CLI. In the example below, VE
interface 10 is assigned two IPv4 addresses (10.25.25.255/31 and 10.168.32.0/31) with a 31-bit
subnet mask.
Syntax: show run interface [ethernet slot/port | loopback number | tunnel number| ve number]
The show ip route command displays routes that are directly connected with interfaces configured
with IPv4 addresses with a 31-bit subnet mask.
Brocade(config-if-e1000-1/5)# show run interface ethernet 1/5
interface ethernet 1/5
enable
ip address 10.2.2.3/31
ip address 10.4.4.4/31
Brocade(config-if-e1000-2/5)#show run interface ve 10
interface ve 10
ip ospf area 0
ip address 10.25.25.255/31
ip address 10.168.32.0/31