3-11
Cisco MGX 8220 Installation and Configuration
Release 5.0, Part Number 78-6430-03 Rev. D0, November 2003
Chapter Command-Line Interface

Connecting using an In-Band Connecti on

Before you can access Cisco MGX 8220 using the in-band method, you must set up or add a connection
across the network. To configure a conne cti on t o Ci sco MGX 8220 that will term in at e o n th e i n-band
port of the ASC card, proceed as follows:
1. Configure the Cisco MGX 8220 in-ba nd IP ad dres s e nteri ng the cnfifip command with an interface
type 37. See Setting-Up IP Addresses for Control Port, LAN Port, or In-Band Ac cess section on
page 3-8.
2. Management connection end points are already configured on the Cisco MGX 8220 shelf. The
reserved end points for management purposes are VPI = 3 and VCI = 8 to 15.
3. Add a connection from th e B N I co nn ec ted to the management term i na l ( d ir ect ly o r in d ir ect ly) to
the BNI in the Cisco BPX connected to the Cisco MGX 8220 shelf, using a destination address of
VPI = 3, and VCI= 8 to 15.
4. Using the in-band IP address of t he Ci s co M G X 8 22 0 she lf as the destination address, start th e
application for ente r in g C LI commands, the SN M P m a nager application for m a naging Cisco
MGX 8220 through SNMP comm an ds, or start the TFTP application t o co nfigu re o r co ll ect
statistics.

Connecting using the LAN Port

The LAN port allows the shelf to be connected to an Ethernet networ k using an appropriate transceiver.
Thus a workstation connected to th e E thernet network can communicate directly with the Cisco
MGX 8220. The port should be given an IP address to allow TCP/IP protocols to be used.
1. Set up the LAN on Cisco MGX 8220 using cnfifip with an interface type of 26 as described
Setting-Up IP Addresses for Control Port, LAN Port, or In-Band Access section on page3-8.
2. Make sure the Ethernet workstation has TCP/IP installed and is configured for TCP/IP
communication.
3. Start the Telnet application for ente ring C L I c ommands, the SNMP manager ap p lic ati on for
managing Cisco MGX8220 through SNMP commands, or start the TFTP application to configure
or collect statistics.
Command-Line Interface
The command-line interface (CLI) u ses a simple alphanumeric terminal an d em ploys the concept of a
system prompt to which the user types in commands.
The CLI also employs the concept of a user being logged into a particular module (slot) in the Cisco
MGX 8220 shelf, and all command s entered are assumed to apply to that mo dule (slot). In this way the
CLI can be used for managing both the core cards and the service modules.
For security, logging in involves entering a correct preas signed password, which allows the user acc ess
only to commands of a spec ified privilege level or below.
For information on perfor ming some o f t he m ana gement f unc tion s us ing t he CWM co nnec ti on m anag er
and equipment mana ge r, ref er to the Cisco WAN Manager Oper atio ns Guid e.
One command that must be ente red using the CLI is the Configu re I nt er fac e I P ad d re s s ( cn fifip).
Because a control station, in clu d in g CWM , uses an IP address to commu ni cat e w i th th e shelf, the
various ports on the shelf must first be assigned IP addresses using the cnfifip command.