This chapter describes what you need to know about the Cisco IOS software (the software that runs the access server) before you begin to configure the access server. This chapter includes:
Getting help
Understanding command modes
Undoing a command or feature
Saving configuration changes
Understanding these concepts will save you time and help you run your network more efficiently. If you have never used the Cisco IOS software or need a refresher, take a few minutes to read this chapter before proceeding.
You can use the question mark (?) and arrow keys to help you enter commands.
To display a list of available commands in the current mode, enter a question mark:
5200> ?
To complete a command, enter a few known characters followed by a question mark (with no space):
5200> s?
To display a list of command variables, enter the command followed by a space and a question mark:
5200> show ?
To redisplay a command you previously entered, press the up arrow key. You can continue to press the up arrow key for more commands.
Understanding Command Modes
There are many different command modes that you will need to use to configure the access server. Each command mode restricts you to a subset of commands. 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.
In the following example, notice how the prompt changes after each command to indicate a new command mode:
5200> enable
5200# configure terminal
5200(config)# interface ethernet 0
5200(config-if)# line 0
5200(config-line)# controllert1 0
5200(config-controller)# exit
5200(config)# exit
5200#
%SYS-5-CONFIG_I: Configured from console by console
The last message is normal and does not indicate an error. Press Return to get the 5200# prompt.
Note You can press Ctrl-Z in any mode to return to enable mode (5200#), instead of entering
exit, which returns you to the previous mode.
How to Find Command Options
This section explains how to display options for a command. To display options for a command, enter a ? at the configuration prompt or after entering part of a command followed by a space. The configuration parser displays options available with the command. For example, if you were in global configuration mode and wanted to see all the keywords and arguments for the command arap, you would type arap ?.
You have entered enable mode when the prompt changes to 5200#.
5200# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
5200(config)#
Enter global configuration mode and the prompt changes to 5200(config)#.
5200(config)# controller t1 ?
<0-1> Controller unit number
5200(config)# controller t1 1
Specify the T1 controller that you want to configure using the controller T1 number global configuration command
5200(config-controller)# ?
Controller configuration commands:
cablelength Specify the cable length for a DS1 link cas-group Configure the specified timeslots for CAS(Channel Associate Signals) channel-group Specify the timeslots to channel-group mapping for an interface clock Specify the clock source for a DS1 link default Set a command to its defaults description Controller specific description ds0 ds0 commands exit Exit from controller configuration mode fdl Specify the FDL standard for a DS1 data link framing Specify the type of Framing on a DS1 link help Description of the interactive help system linecode Specify the line encoding method for a DS1 link loopback Put the entire T1 line into loopback no Negate a command or set its defaults pri-group Configure the specified timeslots for PRI shutdown Shut down a DS1 link (send Blue Alarm)
Display controller configuration commands.
5200(config-controller)# cas-group ?
<0-23> Channel number
Display the options for the cas-group controller configuration command. This command is used to configure the channel-associated signaling on a T1 controller.
5200(config-controller)# cas-group 1 ?
timeslots List of timeslots in the cas-group
Display the only command (timeslots) available in cas-group 1.
5200(config-controller)# cas-group 1 timeslots ?
<1-24> List of timeslots which comprise the cas-group
Display the range for the timeslot option. Specifies a timeslot range of values from 1 to 24. You can specify timeslot ranges (for example, 1-24), individual timeslots separated by commas (for example 1, 3, 5), or a combination of the two (for example 1-3, 8, 17-24). The 16th time slot is not specified in the command line, because it is reserved for transmitting the channel signaling.
service Specify the type of service type Specify the type of signaling
Display the two commands (service and type) available for the timeslots.
5200(config-controller)# cas-group 1 timeslots 1-24 type ?
e&m-fgb E & M Type II FGB e&m-fgd E & M Type II FGD e&m-immediate-start E & M Immediate Start fxs-ground-start FXS Ground Start fxs-loop-start FXS Loop Start sas-ground-start SAS Ground Start sas-loop-start SAS Loop Start
List supported signaling types.
5200(config-controller)# cas-group 1 timeslots 1-24 type e&m-fgb ?
dtmf DTMF tone signaling mf MF tone signaling service Specify the type of service <cr>
Display the types of channel-associated signaling available for the e&m-fgb type.
5200(config-controller)# cas-group 1 timeslots 1-24 type e&m-fgb dtmf ?
dnis DNIS addr info provisioned service Specify the type of service <cr>
Display the options supported for the DTMF tone signaling option.
Undoing a Command or Feature
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 ip routing.
Saving Configuration Changes
You need to enter the copy running-config startup-config command to save your configuration changes to NVRAM (nonvolatile random-access memory) so that they will not be lost if there is a system reload or power outage. For example:
5200# copy running-config startup-config
Building configuration...
It might take a minute or two to save the configuration to NVRAM. After the configuration has been saved, the following appears:
[OK]
5200#
Where to Go Next
Now that you have learned some Cisco IOS software basics, you can begin to configure the access server. Remember that:
You can use the question mark (?) and arrow keys to help you enter commands.
Each command mode restricts you to a set of commands. 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.
If you want to disable a feature, enter the keyword no before the command; for example, no ip routing.
You need to save your configuration changes to NVRAM so that they will not be lost if there is a system reload or power outage.
Proceed to, "Configuring the Access Server Manually," to manually configure the access server for the first time or to modify an existing configuration.