Connecting a NetIron MLX Series Router to a Network Device
December 2008
© 2008 Foundry Networks, Inc.
4-3
This section describes the following:
•
NetIron MLX Series support of sub-net masks
•
How to assign an IP address to a management interface
•
How to assign an IP address to an interface or virtual interface over which user packets are routed
Support of Sub-Net Masks
The NetIron MLX Series router supports both classical IP network masks (Class A, B, and C sub-net masks, and
so on) and Classless Interdomain Routing (CIDR) network prefix masks.
•
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 sub-net mask.
•
To enter a prefix number for a 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 (“mask”) bits.
Assigning an IP Address to a Management Interface
Instead of assigning a global IP address to the NetIron MLX Series router for system management purposes, you
now assign an IP address to the management interface. The IP address is assigned to the active management
module port. If the active management module becomes unavailable and the redundant module becomes the
active module, the IP address is assigned to the new active management module port.
For example, to assign the IP address 10.0.1.1 to the management interface, do the following:
1.
At the opening CLI prompt, enter enable:
NetIron> enable
2.
Enter the following command at the Privileged EXEC level prompt (for example, NetIron#), then press Enter.
This command erases the factory test configuration if still present:
NetIron
# erase startup-config
CAUTION:
Use the erase startup-config command only for new systems. If you enter this command on a sys-
tem you have already configured, the command erases the configuration. If you accidentally erase the configura-
tion on a configured system, enter the write memory command to save the running configuration to the startup-
config file.
3.
Access the configuration level of the CLI by entering the following command:
NetIron# configure terminal Privileged EXEC Level
NetIron(config)# Global CONFIG Level
4.
Configure the IP address and mask for the management interface by entering the following commands:
NetIron(config)# interface management 1
NetIron(config-if-mgmt-1)# ip address 10.0.1.1 255.255.255.0
Syntax:
enable [<password>]
Any virtual interface over
which user packets are
routed
Any interface port
In band
Loopback interface
–
In band
Table 4.1: Assigning IP Addresses (Continued)
Interface
Associated Physical Port
Out of band/
In band