|
|
Understanding these concepts will save you time later on. If you have never used the Cisco IOS software or need a refresher, take a few minutes to read this chapter before you proceed to the next chapter.
If you are already familiar with the Cisco IOS software, skip this chapter and proceed to the next chapter, "Getting Started."
You can use the question mark (?) and arrow keys to help you enter commands.
For a list of available commands, type the question mark:
Switch> ?
To complete a command, type a few known characters followed by the question mark (with no space):
Switch> s?
For a list of command variables, type the command followed by a space and a question mark:
Switch> show ?
To redisplay a command you previously entered, press the up arrow key. Continue to press the up arrow key for more commands.
You use many different command modes when you configure the ATM switch router. Each command mode restricts you to a subset of commands.
In the following example, notice how the prompt changes after each command to indicate a new command mode:
Switch> enable Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# line vty 1 4 Switch(config-line)# atm router pnni Switch(config-atm-router)# exit Switch(config)# end Switch#
![]() | Tips |
If you are having difficulty entering a command, check the prompt and then enter the question mark (?) for a list of available commands. You might be in the wrong command mode or using the wrong syntax.
Before you can configure a software interface, you need to know how the physical location of the port adapter or interface module in the chassis corresponds to how it is addressed (referred to) in the software. In interface configuration mode, you must enter the card/subcard/port number to configure an interface:
Card, subcard, and port numbering all start at 0 and increment by 1, from top to bottom, and from left to right.
Card numbering starts at 0 and increments by 1 from top to bottom, as shown in Figure 1-1. The card number slots are silkscreened on the left side of each slot.

Subcards are numbered from 0 to 1, left to right. Subcards include half-width port adapters and full-width interface modules (such as an OC-12 interface module).
Two half-width port adapters can occupy one chassis slot. Figure 1-2 shows that the two half-width port adapters in slot 0 are numbered subcards 0 and 1, from left to right. The port adapter in the left slot is numbered subcard 0, and the port adapter in the right slot is numbered subcard 1.
When you apply this numbering scheme to full-width interface modules, the subcard number is 0, because only one full-width interface module fits in a card slot. See Figure 1-2.
So, the subcard portion of the card/subcard/port CLI variable is either 0 or 1 for half-width port adapters, and 0 only for full-width interface modules. For example, in 0/0/1 the second 0 represents subcard 0.

The CPU interface on the processor card is addressed as either ethernet 0 or atm 0, depending on the type of configuration. The other interfaces on the processor card start with 0 and increment by 1. See Figure 1-3.

Port numbering for each subcard starts with 0 and increments by 1, from left to right, as shown in Figure 1-4.

Figure 1-5 shows a Catalyst 8540 MSR chassis populated with several half-width port adapters and full-width interface modules. In this example, 12/0/3 is called out in the last interface module installed in the chassis. The 12/0/3 interface number is derived by:

If you want to undo a command you entered or disable a feature, you can enter the keyword no before most commands; for example, no atm router pnni.
You can display various aspects of the ATM switch router configuration by entering more commands. You can only use more commands in user EXEC and privileged EXEC modes.
To display the current running (unsaved) configuration, enter the more system:running-config command:
Switch# more system:running-config Building configuration... Current configuration: ! version XX.X <<Information omitted>> ! line con 0 line vty 0 4 no login ! end
To display the saved configuration (stored in nonvolatile random-access memory [NVRAM]), enter the more nvram:startup-config command.
To see a complete list of available more commands, enter the more ? command:
Switch# more ? access-lists List access lists accounting Accounting data for active sessions aliases Display alias commands arp ARP table async Information on terminal lines used as router interfaces atm ATM information boot Boot and related environment variable buffers Buffer pool statistics calendar Display the hardware calendar cdp CDP information <<Information omitted.>>
Enter the copy system:running-config nvram:startup-config command to save your configuration changes to NVRAM so that they will not be lost if there is a system reload or power outage:
Switch# copy system:running-config nvram:startup-config Building configuration...
Depending on the size and complexity of the configuration file, it might take a minute or two to save the configuration to NVRAM. After the configuration has been saved, the following displays:
[OK] Switch#
The ATM switch router contains two types of configuration files: the running configuration and the startup configuration. The running configuration is the current (unsaved) configuration that reflects the most recent configuration changes. The startup configuration is the saved configuration in NVRAM and is used when the system initializes. The two configuration files provide a safeguard against configuration mistakes. If you make a mistake while configuring the ATM switch router, you can revert back to the saved startup configuration by entering the copy nvram:startup-config system:running-config command. Or you can reboot the ATM switch router (without saving the configuration changes) to use the startup configuration in NVRAM.
Now that you have learned some Cisco IOS software basics, you can begin to configure the ATM switch router.
Remember that:
Proceed to the next chapter, "Getting Started," to begin configuring the ATM switch router.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Aug 28 12:22:25 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.