Specifications

2-37
Cisco MGX 8850 (PXM45) and MGX 8950 Software Configuration Guide
Release 3, Part Number 78-14788-01 Rev. C0, January 2004
Chapter 2 Configuring General Switch Features
Setting the LAN IP Addresses
To set the IP address, enter the ipifconfig command as described in the following procedure.
Step 1 Establish a CLI management session using a username with SUPER_GP privileges. The default user
name and password for this level are superuser, superuser.
Step 2 Verify that the IP address is not already configured by entering the dspipif command, as shown in the
following example.
mgx8850a.7.PXM.a> dspipif lnPci0
Note If you omit the lnPci0 option, the switch displays the configuration for all switch IP interfaces:
the ATM interface (atm0), the PXM45 LAN port interface (lnPci0), and the PXM45 maintenance
port interface (sl0). Note that the address for each interface must be unique.
In the IP Interface Configuration Table, look for an Internet address entry under the lnPci entry. If an IP
address is configured, you can use that address and skip the rest of this procedure. However, if the
address has not been entered or is incompatible with your network, you must configure a valid IP address
as described in the next step.
Note If you are using CWM to manage your network, the IP address 10.0.XX cannot be used as the
LAN address for the switch.
Step 3 To set the IP address for the LAN port, enter the ipifconfig command using the following format:
mgx8850a.7.PXM.a> ipifconfig lnPci0 <IP_Addr> <netmask Mask>
Replace <IP_Addr> with the IP address you want this port to use, and replace <Mask> with the network
mask used on this network.
Note There are other options for the ipifconfig command, and you can set one or more options
simultaneously. Any options you do not define in a command remain unchanged. For more
information on this command, refer to Cisco MGX 8850, MGX 8950, and MGX 8830 Switch
Command Reference (PXM45/B).
Step 4 Verify that the IP address changes by entering the dspipif command. For example,
M8850_LA.7.PXM.a > dspipif lnPci0
M8850_LA System Rev: 02.01 Sep. 17, 2001 17:39:15 PST
MGX8850 Node Alarm: NONE
IP INTERFACE CONFIGURATION
--------------------------------------------------------------------
lnPci (unit number 0):
Flags: (0x63) UP BROADCAST ARP RUNNING
Internet address: 172.29.52.88
Broadcast address: 172.29.255.255
Netmask 0xffff0000 Subnetmask 0xffffff00
Ethernet address is 00:00:1a:53:1c:2a
Metric is 0
Maximum Transfer Unit size is 1500
1174481 packets received; 516574 packets sent
502 input errors; 3 output errors
3 collisions
DISK IP address: 172.29.52.88