Foundry NetIron MLX Series Installation and Basic Configuration Guide
4-4
© 2008 Foundry Networks, Inc.
December 2008
Syntax:
configure terminal
Syntax:
interface management 1
Syntax:
[no] ip address <ip-addr> <ip-mask>
or
Syntax:
[no] ip address <ip-addr>/<mask-bits>
Assigning an IP Address to an Interface, Virtual Interface, or Loopback
As you have done with other Foundry devices, you must assign an IP address to each interface and virtual
interface over which user packets are routed. You can also assign an IP address to a loopback interface, which is
generally used for testing and diagnostic purposes.
You must use the serial connection to assign the first IP address. For subsequent addresses, you also can use the
CLI through Telnet or the Web management interface. You can use IronView Network Manager to assign IP
addresses to virtual routing interfaces only.
By default, you can configure up to 24 IP interfaces on each interface, virtual interface, and loopback interface.
For example, to assign the IP address 192.22.3.44 and sub-net mask 255.255.255.0 to Ethernet interface 1/1, do
the following.
1.
At the opening CLI prompt, enter enable.
NetIron> enable
2.
Enter the following command at the Privileged EXEC level prompt, 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
system you have already configured, the command erases the configuration. If you accidentally erase the
configuration 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 sub-net mask for Ethernet interface 1/1 by entering the following commands:
NetIron(config)# interface ethernet 1/1
NetIron(config-if-e10000-1/1)# ip address 192.22.3.44 255.255.255.0
Syntax:
enable [<password>]
Syntax:
configure terminal
Syntax:
[no] ip address <ip-addr> <ip-mask> [secondary]
or
Syntax:
[no] ip address <ip-addr>/<mask-bits> [secondary]
Use the secondary parameter if you have already configured an IP address within the same sub-net on the
interface.