4. Configure the IP addresses and mask addresses for the interfaces on the router.
device(config)# interface e 1/1/1
device(config)# ip address 192.168.0.0 255.255.255.0
NOTE
You can use the
ip address
ip-addr
/
mask-bits
command if you know the subnet mask length. In the example in step
4, you could enter
ip address 192.168.0.0/24
.
Use the
secondary
parameter if you have already configured an IP address within the same subnet on the interface.
Configuring IP parameters for devices running Layer 3 software
This section describes how to configure IP parameters for devices running Layer 3 software.
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
By default, you can have up to 24 IP addresses on each interface, but you can increase this number to 128 IP addresses.
NOTE
Once you configure a virtual routing interface on a VLAN, you cannot configure Layer 3 interface parameters on individual
ports in the VLAN. 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 IP 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 (for example, 255.255.255.0). You can change the display to
prefix format.
Assigning an IP address to an Ethernet port
Enter the following commands to assign an IP address to port 1/1/1.
device(config)# interface ethernet 1/1/1
device(config-if-1/1/1)# ip address 192.168.0.0 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 192.168.0.0/24
Syntax:
[no] ip address
ip-addr
ip-mask
or
Syntax:
[no] ip address
ip-addr/mask-bits
Configuring IP addresses
Brocade ICX 6650 Hardware Installation Guide
46
Part Number: 53-1003621-04
Summary of Contents for ICX 6650 series
Page 6: ...Brocade ICX 6650 Hardware Installation Guide 6 Part Number 53 1003621 04 ...
Page 10: ...Brocade ICX 6650 Hardware Installation Guide 10 Part Number 53 1003621 04 ...
Page 12: ...Brocade ICX 6650 Hardware Installation Guide 12 Part Number 53 1003621 04 ...
Page 22: ...Brocade ICX 6650 Hardware Installation Guide 22 Part Number 53 1003621 04 ...
Page 42: ...Brocade ICX 6650 Hardware Installation Guide 42 Part Number 53 1003621 04 ...
Page 56: ...Brocade ICX 6650 Hardware Installation Guide 56 Part Number 53 1003621 04 ...
Page 72: ...Brocade ICX 6650 Hardware Installation Guide 72 Part Number 53 1003621 04 ...
Page 76: ...Brocade ICX 6650 Hardware Installation Guide 76 Part Number 53 1003621 04 ...