|
|
This chapter describes the ATM switch user interface and provides instructions for using the command-line interface (CLI). The following sections are included:
The user interface for the ATM switch provides access to several different command modes, each with related commands. Users familiar with the Cisco IOS user interface will find the interfaces very similar. This chapter describes how to access and list the commands available in each command mode, and explains the primary uses for each command mode.
You can enter commands in uppercase, lowercase, or a mix of both. Only passwords are case sensitive. You can abbreviate commands and keywords to a minimum unique string of characters. For example, you can abbreviate the show command to sh. After entering the command line at the system prompt, press the Return key to execute the command.
This section describes how to access the command modes for the ATM switch. Table 2-1 lists the command modes, access to each mode, the prompt you see while in that mode, the main uses for each configuration mode, and the method to exit that mode. The prompts listed assume the default ATM switch name "Switch." Table 2-1 might not include all of the possible ways to access or exit each command mode.
| Command Mode | Access Method | Prompt | Exit Method |
|---|---|---|---|
Log in to the ATM switch. | | Use the logout command. | |
From user EXEC mode, use the enable EXEC command and enter your password. | | To return to user EXEC mode, use the disable command. | |
From privileged EXEC mode, use the reload EXEC command. Press Break during the first 60 seconds while the system boots. | | To exit to user EXEC mode, type continue. | |
From privileged EXEC mode, use the configure privileged EXEC command. Use the keyword terminal to enter commands from your terminal. | | To exit to privileged EXEC mode, use the exit or end command or press Ctrl-Z. | |
From global configuration mode, specify an interface with an interface command. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From interface configuration mode, specify a subinterface with an interface command. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, specify a line with a line command. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, define a map list with the map-list command. | | To exit to global configuration mode, use the exit command. To enter map-class configuration mode, use the map-class command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, configure a map class with the map-class command. | | To exit to global configuration mode, use the exit command. To enter map-list configuration mode, use the map-list command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, configure the PNNI routing protocol with the atm router pnni command. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode use the end command or press Ctrl-Z. | |
From ATM router configuration mode, configure the PNNI routing node with the node command. | | To exit to ATM router configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, define an ATM accounting file with the atm accounting file command. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, define an ATM accounting selection table entry with the atm accounting selection command. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, specify a LANE configuration server database name with the lane database command. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, enter the atm e164 translation-table command | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, enter the atm signalling diagnostics command and an index to configure. | | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z. | |
From global configuration mode, enter the controller command. | Switch(config-controller)# | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, use the end command or press Ctrl-Z |
When you log in to the ATM switch, you are in user EXEC, or simply EXEC, command mode. The EXEC commands available at the user level are a subset of those available at the privileged level. In general, the user-level EXEC commands allow you to connect to remote devices, change terminal settings on a temporary basis, perform basic tests, and list system information.
The user-level prompt consists of the ATM switch's host name followed by the angle bracket (>):
Switch>
The privileged EXEC command set includes all user-level EXEC mode commands and the configure command, through which you can access global configuration mode and the remaining configuration submodes. Privilege EXEC mode also includes high-level testing commands, such as debug, and commands that display potentially secure information.
To enter privileged EXEC mode from EXEC mode, use the enable command and enter your password; the prompt changes to the ATM switch's host name followed by the pound sign (#):
Switch> enable
Password: Switch#
To exit from privileged EXEC mode back to EXEC mode, use the disable command.
Switch# disable
Switch>
ROM monitor mode provides access to a basic system kernel, from which you can boot the ATM switch or perform diagnostic tests. If a valid system image is not found, or if the configuration file is corrupted, the system might enter ROM monitor mode. The ROM monitor prompt is the angle bracket:
>
You can also enter ROM monitor mode by intentionally interrupting the boot sequence with the Break key during loading. For a description of this process, see the Cisco Configuration Fundamentals Configuration Guide.
To return to EXEC mode from ROM monitor mode, use the continue command:
> continue
Switch>
Global configuration mode provides access to commands that apply to the entire system. From global configuration mode you can also enter the other configuration modes described in the following subsections.
Switch# configure
Configuring from terminal, memory, or network [terminal]? <CR>
Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#
You can specify either the terminal, nonvolatile memory (NVRAM), or a file stored on a network server as the source of configuration commands. For more information, see the chapter "Managing Configuration Files, System Images, and Functional Images." The default is to enter commands from the terminal console.
As a shortcut for accessing the terminal method of configuration, enter the following:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#
To exit global configuration command mode and return to privileged EXEC mode, use the exit or end command, or press Ctrl-Z:
Switch(config)# end
Switch#
Interface configuration mode provides access to commands that apply on a per- interface basis. Such commands modify the operation of an interface such as an ATM, Ethernet, or asynchronous port.
Switch(config)# interface atm 3/0/0
Switch(config-if)#
To exit interface configuration mode and return to global configuration mode, use the exit command:
Switch(config-if)# exit
Switch(config)#
To exit interface configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-if)# end
Switch#
With this release of the ATM switch software, addressing the interface on the processor (CPU) has changed. The ATM interface is now called atm0, and the Ethernet interface is now called ethernet0.
The following example shows how to enter interface configuration mode to configure the Ethernet interface on the processor:
Switch(config)# interface ethernet0
Switch(config-if)#
Subinterface configuration mode allows access to commands that affect logical interfaces, also called subinterfaces. Subinterfaces are used, for example, to configure multiple VP tunnels on a single interface.
Switch(config)# interface atm 0/0/0.99
Switch(config-subif)#
To exit subinterface configuration mode and return to global configuration mode, use the exit command:
Switch(config-subif)# exit
Switch(config)#
To exit interface configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-subif)# end
Switch#
Line configuration mode provides access to commands that modify the operation of individual terminal lines. These commands are used to configure the console, auxiliary, and vty connections, set up modem connections, and so on.
Switch(config)# line vty 0
Switch(config-line)#
For detailed line configuration instructions, see the Cisco Configuration Fundamentals Configuration Guide.
To exit line configuration mode and return to global configuration mode, use the exit command:
Switch(config-line)# exit
Switch(config)#
To exit line configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-line)# end
Switch#
Map-list configuration mode provides access to commands used to statically map protocol addresses of remote hosts or switches to PVCs or SVCs.
Switch(config)# map-list newlist
Switch(config-map-list)#
You can also use the map-list command to enter map-list configuration mode directly from map-class configuration mode, without first returning to global configuration mode:
Switch(config-map-class)# map-list newlist
Switch(config-map-list)#
To exit map-list configuration mode and return to global configuration mode, use the exit command:
Switch(config-map-list)# exit
Switch(config)#
To exit map-list configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-map-list)# end
Switch#
Map-class configuration mode provides access to command used to define the traffic parameters when specifying a request for an SVC.
Switch(config)# map-class atm newclass
Switch(config-map-class)#
You can also use the map-class command to enter map-class configuration mode directly from map-list configuration mode, without first returning to global configuration mode:
Switch(config-map-list)# map-class atm newclass
Switch(config-map-class)#
To exit map-class configuration mode and return to global configuration mode, use the exit command:
Switch(config-map-class)# exit
Switch(config)#
To exit map-class configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-map-class)# end
Switch#
Switch(config)# atm router pnni
Switch(config-atm-router)#
To exit ATM router configuration mode and return to global configuration mode, use the exit command:
Switch(config-atm-router)# exit
Switch(config)#
To exit ATM router configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-atm-router)# end
Switch#
For detailed information on configuring PNNI routing, refer to the chapter "Configuring ATM Routing and PNNI."
The PNNI node configuration mode is a submode of ATM router configuration mode and provides access to commands you use to configure PNNI nodes on the ATM switch.
Switch(config-atm-router)# node 1
Switch(config-pnni-node)#
To exit PNNI node configuration mode and return to ATM router configuration mode, use the exit command:
Switch(config-pnni-node)# exit
Switch(config-atm-router)#
To exit PNNI node configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-pnni-node)# exit
Switch#
For detailed information on configuring PNNI nodes, refer to the chapter "Configuring ATM Routing and PNNI."
ATM accounting file configuration mode provides access to commands used to configure a file for accounting and billing of virtual circuits (VCs).
Switch(config)# atm accounting file acctng_file1
Switch(config-acct-file)#
To exit ATM accounting file configuration mode and return to global configuration mode, use the exit command:
Switch(config-acct-file)# exit
Switch(config)#
To exit ATM accounting file configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-acct-file)# end
Switch#
For detailed information on configuring ATM accounting, refer to the chapter "Configuring ATM Accounting and ATM RMON."
ATM accounting selection configuration mode provides access to commands used to specify the connection data to be gathered from the ATM switch.
Switch(config)# atm accounting selection 1
Switch(config-acct-sel)#
To exit ATM accounting selection configuration mode and return to global configuration mode, use the exit command:
Switch(config-acct-sel)# exit
Switch(config)#
To exit ATM accounting selection configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-acct-sel)# end
Switch#
For detailed information on configuring ATM accounting selections, refer to the chapter "Configuring ATM Accounting and ATM RMON."
LANE configuration server database configuration mode provides access to commands used to define the LAN emulation configuration server database.
Switch(config)# lane database lecsdb
Switch(lane-config-database)#
To exit LANE configuration server database configuration mode and return to global configuration mode, use the exit command:
Switch(lane-config-database)# exit
Switch(config)#
To exit LANE configuration server database configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(lane-config-database)# end
Switch#
For detailed information on configuring the LAN emulation configuration server database, refer to the chapter "Configuring LAN Emulation."
ATM E.164 translation table configuration mode provides access to commands used to configure the translation table that maps native E.164 format addresses to ATM end system (AESA) format addresses.
Switch(config)# atm e164 translation-table
Switch(config-atm-e164)
To exit ATM E.164 translation table configuration mode and return to global configuration mode, use the exit command:
Switch(config-atm-e164)# exit
Switch(config)#
To exit ATM E.164 translation table configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-atm-e164)# end
Switch#
For detailed information on configuring E.164 addresses, refer to the section "Configuring E.164 Addresses" in the chapter "Configuring Signalling Features."
ATM signalling diagnostics configuration mode provides access to commands used to configure the signalling diagnostics table.
Switch(config)# atm signalling diagnostics 1
Switch(cfg-atmsig-diag)
To exit ATM signalling diagnostics configuration mode and return to global configuration mode, use the exit command:
Switch(cfg-atmsig-diag)# exit
Switch(config)#
To exit ATM signalling diagnostics configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(cfg-atmsig-diag)# end
Switch#
For detailed information on configuring signalling diagnostics, refer to the section "Configuring Signalling Diagnostics Tables" in the chapter "Configuring Signalling Features."
Controller configuration mode provides access to commands used to configure physical and logical parameters of a channelized interface.
Switch(config)# controller e1 1/0/0
Switch(config-controller)#
To exit ATM controller configuration mode and return to global configuration mode, use the exit command:
Switch(config-controller)# exit
Switch(config)#
To exit ATM controller configuration mode and return to privileged EXEC mode, use the end command or press Ctrl-Z:
Switch(config-controller)# end
Switch#
For detailed information on configuring channel groups on a Frame Relay/FUNI interface, refer to the chapter "Configuring Frame Relay/ATM Interworking Port Adapter Interfaces."
Because the ATM switch's operating system is based on Cisco IOS software, its interface provides a number of features that help you use the CLI with greater flexibility, ease, and power. These features includes the following:
For information on using these and other features of IOS software, refer to the Cisco Configuration Fundamentals Configuration Guide.
|
|