Académique Documents
Professionnel Documents
Culture Documents
support for multiple advanced integration modules, the Cisco 3700 Series
Multiservice Access Router delivers new levels of service density for branch
offices in a compact form factor.
When configured with the 16- or 36-port EtherSwitch network module, the Cisco
3700 Series offers a single, integrated platform that combines flexible routing
and low-density switching. In addition, it can support internal inline power for the
EtherSwitch ports, delivering a single-platform IP telephony and voice gateway
solution that facilitates flexible, incremental, and scalable migration to a
converged network. These single-platform solutions help lower total cost of
ownership by simplifying training, deployment, and management, and modular
expansion options help protect current network investment.
As a cornerstone of Cisco AVVID (Architecture for Voice, Video and Integrated
Data), the Cisco 3700 Series supports rich Cisco IOS Software features such as
availability, quality of service, and security to address the resiliency needs of the
branch office. The Cisco 3700 Series combines these features with flexible
application and services consolidation to offer branch offices a platform
optimized for integrating future services.
Key features for the Cisco 3725 and 3745:
This document covers basic Cisco router IP configuration using the command-line
interface
Acknowledgments
The following sources where extremely useful:
Thank you to Martin Newman for giving me my first lesson in configuring Cisco
routers.
The information for this document was originally gathered for, or derived from,
completing a project for Mr. James Hart, instructor at the Technical/Vocational
Institute in Albuquerque, NM. A big thank you to him for allowing me to work on
that project.
Disclaimer
This document carries no explicit or implied warranty. Nor is there any guarantee
that the information contained in this document is accurate. It is offered in the
hopes of helping others, but you use it at your own risk. Neither the author nor
TVI will be liable for any damages that occur as a result of using this document.
Conventions
Important terms and concepts, when they are introduced, may be displayed in
bold. Commands included in the body of the text will be displayed in this font.
All names and addresses used in examples are just that, examples, and should
not be used on your network. Do not type them in verbatim when configuring
your system. Finally, in some examples where the command rquires an IP
address as an argument, the IP address may be represented in this way,
xx.xx.xx.xx, or aa.bb.cc.dd. You will never actually use these strings when
configuring your system. They are mearly a convention of this document to
specify that you should substitute the appropriate IP address at that point.
2. Getting started
Initially you will probably configure your router from a terminal. If the router is
already configured and at least one port is configured with an IP address, and it
has a physical connection to the network, you might be able to telnet to the
router and configure it across the network. If it is not already configured, then you
will have to directly connect to it with a terminal and a serial cable. With any
Windows box you can use Hyperterminal to easily connect to the router. Plug a
serial cable into a serial (COM) port on the PC and the other end into the console
port on the Cisco router. Start Hyperterminal, tell it which COM port to use and
click OK. Set the speed of the connection to 9600 baud and click OK. If the router is
not on, turn it on.
If you wish to configure the router from a Linux box, either Seyon or Minicom
should work. At least one of them, and maybe both, will come with your Linux
distribution.
Often you will need to hit the Enter key to see the prompt from the router. If it is
unconfigured it will look like this:
Router>
If it has been previously configured with a hostname, it will look like this:
hostname of router>
If you have just turned on the router, after it boots it will ask you if you wish to
begin initial configuration. Say no. If you say yes, it will put you in the menu
interface. Say no.
2.1 Modes
The Cisco IOS command-line interface is organized around the idea of modes.
You move in and out of several different modes while configuring a router, and
which mode you are in determines what commands you can use. Each mode has
a set of commands available in that mode, and some of these commands are
only available in that mode. In any mode, typing a question mark will display a list
of the commands available in that mode.
Router>?
You must enter privileged mode to configure the router. You do this by using the
command enable. Privileged mode will usually be password protected unless the
router is unconfigured. You have the option of not password protecting privileged
mode, but it is HIGHLY recommended that you do. When you issue the
command enable and provide the password, you will enter privileged mode.
To help the user keep track of what mode they are in, the command-line prompt
changes each time you enter a different mode. When you switch from
unprivileged mode to privileged mode, the prompt changes from:
Router>
to
Router#
This would probably not be a big deal if there were just two modes. There are, in
fact, numerous modes, and this feature is probably indispensable. Pay close
attention to the prompt at all times.
Within privileged mode there are many sub-modes. In this document I do not
closely follow Cisco terminology for this hierarchy of modes. I think that my
explanation is clearer, frankly. Cisco describes two modes, unprivileged and
privileged, and then a hierarchy of commands used in privileged mode. I reason
that it is much clearer to understand if you just consider there to be many submodes of privileged mode, which I will also call parent mode. Once you enter
privileged mode (parent mode) the prompt ends with a pound sign (#). There are
numerous modes you can enter only after entering privileged mode. Each of
these modes has a prompt of the form:
Router(arguments)#
They still all end with the pound sign. They are subsumed within privileged mode.
Many of these modes have sub-modes of their own. Once you enter priliged
mode, you have access to all the configuration information and options the IOS
provides, either directly from the parent mode, or from one of its submodes.
3. Configuring
interfaces
ip protocols
ip route
ip arp
When you enter privileged mode by using the command enable, you are in the
top-level mode of privileged mode, also known in this document as "parent
mode." It is in this top-level or parent mode that you can display most of the
information about the router. As you now know, you do this with the show
commands. Here you can learn the configuration of interfaces and whether they
are up or down. You can display what IP protocols are in use, such as dynamic
routing protocols. You can view the route and ARP tables, and these are just a
few of the more important options.
As you configure the router, you will enter various sub-modes to set options, then
return to the parent mode to display the results of your commands. You also
return to the parent mode to enter other sub-modes. To return to the parent
mode, you hit ctrl-z. This puts any commands you have just issued into affect,
and returns you to parent mode.
As demonstrated above, the prompt changes to indicate the mode that you are
now in.
In connfiguration mode you can set options that apply system-wide, also refered
to as "global configurations." For instance, it is a good idea to name your router
so that you can easily identify it. You do this in configuration mode with the
hostname command.
Router(config)#hostname ExampleName
ExampleName(config)#
As demonstrated above, when you set the name of the host with the hostname
command, the prompt immediately changes by replacing Router with
ExampleName.
This is also where you set the password for privileged mode.
ExampleName(config)#enable secret examplepassword
ExampleName(config)#ctrl-Z
ExampleName#
Until you hit ctrl-Z (or type exit until you reach parent mode)
your command
has not been put into affect. You can enter config mode, issue several different
commands, then hit ctrl-Z to activate them all. Each time you hit ctrl-Z you
return to parent mode and the prompt:
ExampleName#
Here you use show commands to verify the results of the commands you issued
in config mode. To verify the results of the ip name-server command, issue the
command show host.
"Media type" refers to the type of media that the port is an interface for, such as
Ethernet, Token Ring, FDDI, serial, etc. Slot numbers are only applicable for
routers that provide slots into which you can install modules. These modules
contain several ports for a given media. The 7200 series is an example These
modules are even hot-swapable. You can remove a module from a slot and
replace it with a different module, without interrupting service provided by the
other modules installed in the router. These slots are numbered on the router.
Port number refers to the port in reference to the other ports in that module.
Numbering is left-to-right, and all numbering starts at 0, not at one.
For example, a Cisco 7206 is a 7200 series router with six slots. To refer to an
interface that is the third port of an Ethernet module installed in the sixth slot, it
would be interface ethernet 6/2. Therefor, to display the configuration of that
interface you use the command:
ExampleName#show interface ethernet 6/2
If your router does not have slots, like a 1600, then the interface name consists
only of:
media type port#
For example:
ExampleName#show interface serial 0
In the Cisco IOS, the way to reverse or delete the results of any command is to
simply put no infront of it. For instance, if we wanted to unassign the IP address
we had assigned to interface serial 1/1:
ExampleName(config)#interface serail 1/1
ExampleName(config-if)#no ip address 192.168.155.2 255.255.255.0
ExampleName(config-if)ctrl-Z
ExampleName#show interface serial 1/1
Configuring most interfaces for LAN connections might consist only of assigning
a network layer address and making sure the interface is not administratively
shutdown. It is usually not necessary to stipulate data-link layer encapsulation.
Note that it is often necessary to stipulate the appropriate data-link layer
encapsulation for WAN connections, such as frame-relay and ATM. Serial
interfaces default to using HDLC. A discussion of data-link protocols is outside
the scope of this document. You will need to look up the IOS command
encapsulation for more details.
3.3 Routing
IP routing is automatically enabled on Cisco routers. If it has been previously
disabled on your router, you turn it back on in config mode with the command ip
routing.
ExampleName(config)#ip routing
ExampleName(config)#ctrl-Z
There are two main ways a router knows where to send packets. The
administrator can assign static routes, or the router can learn routes by
employing a dynamic routing protocol.
These days static routes are generally used in very simple networks or in
particular cases that necessitate their use. To create a static route, the
administrator tells the router operating system that any network traffic destined
for a specified network layer address should be forwarded to a similiarly specified
network layer address. In the Cisco IOS this is done with the ip route command.
ExampleName#config
ExampleName(config)#ip route 172.16.0.0 255.255.255.0 192.168.150.1
ExampleName(config)#ctrl-Z
ExampleName#show ip route
Two things to be said about this example. First, the packet destination address
must include the subnet mask for that destination network. Second, the address
it is to be forwarded to is the specified addres of the next router along the path to
the destination. This is the most common way of setting up a static route, and the
only one this document covers. Be aware, however, that there are other
methods.
Dynamic routing protocols, running on connected routers, enable those routers to
share routing information. This enables routers to learn the routes available to
them. The advantage of this method is that routers are able to adjust to changes
in network topologies. If a route is physically removed, or a neighbor router goes
down, the routing protocol searches for a new route. Routing protocols can even
dynamically choose between possible routes based on variables such as network
congestion or network reliability.
There are many different routing protocols, and they all use different variables,
known as "metrics," to decide upon appropriate routes. Unfortunately, a router
needs to be running the same routing protocols as its neighbors. Many routers
can, however, run mutliple protocols. Also, many protocols are designed to be
able to pass routing information to other routing protocols. This is called
"redistribution." The author has no experience with trying to make redistribution
work. There is an IOS redistribute command you can research if you think this
is something you need. This document's compagnion case study describes an
alternative method to deal with different routing protocols in some circumstances.
Routing protocols are a complex topic and this document contains only this
superficial description of them. There is much to learn about them, and there are
many sources of information about them available. An excelent source of
information on this topic is Cisco's website, http://www.cisco.com.
This document describes how to configure the Routing Information Protocol (RIP)
on Cisco routers. From the command-line, we must explicitly tell the router which
protocol to use, and what networks the protocol will route for.
ExampleName#config
ExampleName(config)#router rip
ExampleName(config-router)#network aa.bb.cc.dd
ExampleName(config-router)#network ee.ff.gg.hh
ExampleName(config-router)#ctrl-Z
ExampleName#show ip protocols
Now when you issue the show ip protocols command,
You do want to save your successful running configuration. Issue the command
copy running-config startup-config.
ExampleName#copy running-config startup-config
Now any time you need to return your router to that configuration, issue the
command copy startup-config running-config.
ExampleName#copy startup-config running-config
Router>enable
Router#config
Router(config)#hostname N115-7206
N115-7206(config)#interface serial 1/1
N115-7206(config-if)ip address 192.168.155.2 255.255.255.0
N115-7206(config-if)no shutdown
7. N115-7206(config-if)ctrl-z
8. N115-7206#show interface serial 1/1
9. N115-7206#config
10. N115-7206(config)#interface ethernet 2/3
11. N115-7206(config-if)#ip address 192.168.150.90 255.255.255.0
12. N115-7206(config-if)#no shutdown
13. N115-7206(config-if)#ctrl-z
14. N115-7206#show interface ethernet 2/3
15. N115-7206#config
16. N115-7206(config)#router rip
17. N115-7206(config-router)#network 192.168.155.0
18. N115-7206(config-router)#network 192.168.150.0
19. N115-7206(config-router)#ctrl-z
20. N115-7206#show ip protocols
21. N115-7206#ping 192.168.150.1
22. N115-7206#config
23. N115-7206(config)#ip name-server 172.16.0.10
24. N115-7206(config)#ctrl-z
25. N115-7206#ping archie.au
26. N115-7206#config
27. N115-7206(config)#enable secret password
28. N115-7206(config)#ctrl-z
29. N115-7206#copy running-config startup-config
30. N115-7206#exit
4. Troubleshooting
Inevitably, there will be problems. Usually, it will come in the form of a user
notifying you that they can not reach a certain destination, or any destinattion at
all. You will need to be able to check how the router is attempting to route traffic,
and you must be able to track down the point of failure.
You are already familiar with the show commands, both specific commands and
how to learn what other show commands are available. Some of the most basic,
most useful commands you will use for troubleshooting are:
ExampleName#show
ExampleName#show
ExampleName#show
ExampleName#show
interfaces
ip protocols
ip route
ip arp
be the line itself, or it could be another router, which may or may not be under
your administration.
One extremely useful and simple diagnostic tool is the ping command. Ping is an
implementation of the IP Message Control Protocol (ICMP). Ping sends an ICMP
echo request to a destination IP address. If the destination machine receives the
request, it responds with an ICMP echo response. This is a very simple
exchange that consists of:
Hello, are you alive?
Yes, I am.
ExampleName#ping xx.xx.xx.xx
If the ping test is successful, you know that the destination you are having
difficulty reaching is alive and physically reachable.
If there are routers between your router and the destination you are having
difficulty reaching, the problem might be at one of the other routers. Even if you
ping a router and it responds, it might have other interfaces that are down, its
routing table may be corrupted, or any number of other problems may exist.
To see where packets that leave your router for a particular destination go, and
how far, use the trace command.
ExampleName#trace xx.xx.xx.xx
It may take a few minutes for this utility to finish, so give it some time. It will
display a list of all the hops it makes on the way to the destination.
If the point of failure is farther up the line, the prolem might lie with equipment not
under your administration. Your only option might be to contact the equipment's
administrator, notify them of your problem, and ask them for help. It is in your
interest to be courtious and respectful. The other administrator has their own
problems, their own workload and their own priorities. Their agenda might even
directly conflict with yours, such as their intention to change dynamic routing
protocols, etc. You must work with them, even if the situation is frustrating.
Alienating someone with the power to block important routes to your network is
not a good idea.
7. More documentation
For more information on Cisco products, and many documents on networking in
general: http://www.cisco.com
For more documentation by the author of this document:
http://www.swcp.com/~jgentry
IP Subnet Calculations
1. IP Addressing
At this point you should know that IP, the Internet Protocol, is a network layer
(OSI layer 3) protocol, used to route packets between hosts on different
128
64
32
16
-----1
1
1
1
128 + 64 + 32 + 16 +
8
1
8 +
4
1
4 +
2
1
2 +
1
1
1 = 255
16
-1
+16 +
8
1
8 +
4
0
0 +
2
0
0 +
1
1
1 = 185
128
64
32
16
-----0
0
0
0
0 + 0 + 0 + 0 +
8
0
0 +
4
0
0 +
2
0
0 +
1
0
0 = 0
and 00000000
8
1
8 +
4
1
4 +
2
1
2 +
1
1
1 = 175
175=10101111
3.3 Simple Subnetting
The simpliest way to subnet is to take the octet in the subnet mask that covers
the first unassigned octet in the IP address block, and make all its bits high.
Remember, a high bit, a 1, in the subnet mask indicates that that corresponding
bit in the IP address is part of the network field. So, if you have a class B network
172.160.0.0, with the subnet mask 255.255.0.0, you have one network with 65,
534 possible addresses. If you take that subnet mask and make all the bits in the
third octet high
128
64
32
16
-----1
1
1
1
128 + 64 + 32 + 16 +
8
1
8 +
4
1
4 +
2
1
2 +
1
1
1 = 255
Now the third octet of all the addresses on this network are part of the network
field instead of the host field. That is one octet, or eight bits, that can be
manipulated to create subnets. 2^8-2=254 possible subnets now on this class B
network.
One octet is left for the host field. 2^8-2=254 possible host addressed on each
subnet.
3.4 Advanced Subnetting
That is the simplist way to subnet, but it may not be the most desirable. You
might not want 254 subnets on your class B network. Instead, you might use a
subnet mask like 255.255.224.0. How many subnets would this give you? The
first step is to see how many bits are allocated to the network by this mask.
128
64
32
16
-----1
1
1
0
128 + 64 + 32 + 0 +
8
0
0 +
4
0
0 +
2
0
0 +
1
0
0 = 224
We perform a logical on these two numbers. We will be left with only the bits
where there is a one in both octets.
00110010
11100000
-------00100000=32
The bits convered by the mask we will leave as they are. The rest of the bits we
make high. So
00100000
11100000
-------0011111=63
4. Sample Problem
Here is a sample problem for you to calculate. When you are done, you can
check your answers using an online subnet calcualtor at Tactix Engineering.
IP address: 154.16.52.16
subnet mask: 255.255.240.0
Find:
Number of subnets possible on this network:
Number of hosts possible on each subnet:
Which subnet this address is on:
Range of addresses on that subnet:
Table of Contents
Overview
Supported Protocols
Software Images
Administrative Configuration Options
Command Levels
Overview
Cisco 700 series routers connect small office Ethernet LANs to corporate
networks through Integrated Services Digital Network (ISDN) Basic Rate
Interface (BRI) lines. After configuration, the router automatically routes packets
to and from remote destinations using IP or Internetwork Packet Exchange (IPX).
The Cisco 700 series router is a fixed configuration router. The router operating
system is called Cisco IOS-700 software and is unique to the Cisco 700 series
router.
Supported Protocols
The Cisco 700 series routers support the following protocols:
IP
IPX
Internet Protocol Control Protocol (IPCP)
Internet Control Message Protocol (ICMP)
Internetwork Packet Exchange Control Protocol (IPXCP)
Point-to-Point Protocol (PPP)
Bridge Control Protocol (BCP)
Multilink PPP (MLPPP)
Address Resolution Protocol (ARP)
Service Advertisement Protocol (SAP)
Password Authentication Protocol (PAP)
Trivial File Transfer Protocol (TFTP server)
Simple Network Management Protocol (SNMP)
Routing Information Protocol (RIP) for IP and IPX
Triggered RIP for IP
Challenge Handshake Authentication Protocol (CHAP)
Dynamic Host Configuration Protocol (DHCP)
Port and Address Translation (PAT)
Remote Common Application Programmers Interface (RCAPI)
ISDN Device Control Protocol (ISDN-DCP)
Software Images
The Cisco 700 Series routers run a proprietary Cisco software (Cisco IOS-700
software) image, which is different than traditional Cisco IOS software. The
image you use varies, depending on the region in which the router is used and
what feature set you desire. The image name, for example, c760-in.r-TPH.431.bin, designates the region and features. The regions are as follows:
Internet Ready (IP only, 30 users with data compression on) images have
a "b" designation.
Internet Ready X.25 (IP only, four LAN devices, compression, X.25) images have
a "bxd" designation.
Remote Office (IP/IPX, 1500 LAN devices, compression) images have an "r"
designation.
Remote Office X.25 (IP/IPX, 1500 LAN devices, compression, X.25) images
have an "rxd" designation.
Command Levels
Commands and parameters have different results depending on where they are
entered. There are two primary levels, system and profile. The system mode
commands are global in nature. The profile mode commands are groups of
command parameters that relate to a specific switch or port. For additional
information regarding profiles, refer to the Cisco 700 Series Router Configuration
Guide.
Table of Contents
System Management Commands
cd
help
log
ping
reboot
reset packets
set baudrate
set callduration
set calltime
set compression
set date
set default
set echo
set ipx trace
set loopback
set screenlength
set serialport
set systemname
set time
set tpad parity
show
show callduration
show calltime
show configuration
show connection
show demand
show memstat
show packets
show tpad
show users
swl
test
upload
version
cd
To create a profile, enter an existing profile, or return to system mode, use the cd
command (also known as the change user command).
CD [username]
Syntax Description
Command Mode
This command creates a profile if the user name does not exist or moves to the
specified profile if the user name does exist. From within a profile, this command
returns from the profile to system mode.
The user name displays in the prompt, following the router name.
The user name can be abbreviated to the fewest number of characters that make
the name unique. The minimum is two characters. The maximum is 64
characters. User names are not case-sensitive. If no user name is specified, you
return to system mode.
For authentication purposes, the user name is the string the remote device uses
as a username when authenticating itself through Point-to-Point Protocol (PPP).
Example
The following example moves from system mode (where the router name is
Host) to a profile named 2503:
Host> cd 2503
Host:2503>
help
To display a list of commands and the syntax for each command, use the help
command.
HElp [cmd [modifier]]
Syntax Description
cmd
All commands for the specified group are listed. The most useful are set
commands, reset commands, show commands, log commands, test
commands, and unset commands.
modifier All modifiers for the specified command are listed. The most useful are ip
(Internet Protocol), ipx (Internetwork Packet Exchange), and snmp
(Simple Network Management Protocol).
Default
None
Command Mode
Use this command to display online help information about commands. You can
enter a question mark (?) in place of the word "help." Used without parameters,
the command displays all the commands.
Example
log
To implement the logging functions, use the log command.
LOg NOne | CAlls | MEssage | ERrors | IPx [TIme] [VErbose]
LOg [LAN | connection] PAckets | TRaffic [CHannel = channel] [VErbose [INbound |
OUtbound]]
NOne
Disable all logging.
CAlls
Log call statistics. Each major call event is logged, and a message
displays every time a channel is assigned a connection.
MEssage
ERrors
IPx
TIme
VErbose
Log all layers of the ISDN call control stack and traffic by printing the
entire packet.
LAN
PAckets
TRaffic
CHannel
INbound
OUtbound
Syntax Description
Default
Log calls
Command Mode
The log command displays all enabled logged entries. More than one keyword
can be entered at a time.
Examples
The following example shows output from the log calls command:
Host> log calls time
cb760>ca16545
04/04/199600:24:08L0506545OutgoingCallInitiated
cb760>cb760>01/01/199500:24:10L040LineDeactivated
cb760>01/01/199500:24:10L270Disconnected
cb760>
The following example shows output from the log messages command:
Host> log messages
The following example shows output from the log messages verbose
command:
Host> log messages verbose
Host>0300-->020a0280150240b3f6
0801160f
Host>0400-->05000004
04000280150418020101
Host>020a-->02000200000140b3f6
0093fa2e
0801160f
Host>0200-->020a0000000141b3f6
02810ce0
08019507
Host>04/04/1995604:22:48L082814159031605CallConnected
Host>020a-->03000100000241b3f6
02810ce0
08019507
Host>020a-->02000100000140b0c6
0281010e
The following example shows output from the log errors command:
2865_66>
2865_66>
2865_66>
2865_66>
2865_66>
2865_66>
2865_66>
ping
log
Log
Log
Log
Log
Log
errors
Errors:
Errors:
Errors:
Errors:
Errors:
11003
11003
11003
11003
11003
IPX
IPX
IPX
IPX
IPX
RIP
RIP
RIP
RIP
RIP
Not
Not
Not
Not
Not
Sent
Sent
Sent
Sent
Sent
To
To
To
To
To
Virtual
Virtual
Virtual
Virtual
Virtual
Conn
Conn
Conn
Conn
Conn
3
3
3
3
3
Default
None
Command Mode
The router generates a ping packet that includes the source address of the
profile from which it was sent. If the destination can be reached, the round-trip
delay is determined and reported. If the destination cannot be reached, a "no
response" message is generated.
The ping command automatically tries three times to reach the destination.
Example
ping 172.16.2.1
sending : round trip time is 40 msec.
sending : round trip time is 40 msec.
sending : round trip time is 40 msec.
ping 172.16.2.1
sending : no response
sending : no response
sending : no response
reboot
To boot the router manually, use the reboot command.
REBoot
Default
None
Command Mode
set baudrate
set default
reset packets
To set accumulated packet counts to zero for one connection, use the reset
packets command.
REset [connection | LAN] PACkets [ALl]
Syntax Description
ALl
Default
None
Command Mode
Profile mode
Example
The following example resets the packet counts for profile 2503:
Host:2503> reset packets
Related Command
show packets
set baudrate
To configure the baud rate for the console port, use the set baudrate command.
SEt BAudrate 300 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400
Syntax Description
300
Default
9600 baud
Command Mode
System mode
Example
The following example configures the console port for 2400 baud:
Host> set baudrate 2400
Related Command
reboot
set callduration
To place a limit on the length of time a data call is up, use the set callduration
command.
SEt CALLDuration minutes
Syntax Description
minutes Maximum duration of a call in minutes. Enter any value between 1 and
1430. A value of 0 turns off any configured limit on data call duration.
Default
None
Command Mode
set calltime
set password
show callduration
set calltime
To set the time of day when calls can be made or accepted, use the set calltime
command.
SEt CALLTime [VOice | DAta] INcoming | OUTgoing [starttime | endtime]
SEt CALLTime [VOice | DAta] INcoming | OUTgoing OFf]
Syntax Description
VOice
DAta
Starting time of day when calls are allowed. The router uses a 24-hour
clock, and the parameter is entered HH:MM format, where HH is a
number from 0 to 23, and MM is a two-digit number from 00 to 59.
endtime
Ending time of day when calls are no longer allowed. Enter the
parameter in HH:MM format, where HH is a number from 0 to 23, and
MM is a two-digit number from 00 to 59.
OFf
Default
None
Command Mode
System mode
Usage Guidelines
The system time on the router must be set correctly for this feature to be
accurate and effective. System-level password authentication is required before
the set calltime command is allowed. The router does not have an auxiliary
power supply, such as a battery, to maintain the router clock. If you power-cycle
the router, reenter the system date and time.
Example
The following example allows incoming voice calls from 8:00 am to 4:00 pm:
Host> set calltime voice incoming 08:00 16:00
Related Commands
set callduration
set date
set password
set sntp server
set time
show callduration
show calltime
set compression
To enable or disable data compression, use the set compression command.
SEt COmpression STac | OFf
Syntax Description
Default
STac (enabled)
Command Mode
Profile mode
Usage Guidelines
Turn compression off if you are using High Level Data Link Control (HDLC)
protocol.
Example
The following example disables compression for the profile 2503 connection:
Host:2503> set compression off
set date
To set the current date, use the set date command.
SEt DAte MM/DD/YYYY
Syntax Description
MM
DD
Default
System mode
Usage Guidelines
You must reset the date every time the router is booted. The date appears during
logging.
Example
The following example configures the date in the router for August 13, 1999:
Host> set date 08/13/1999
Related Command
set time
set default
To set all variable parameters to their default values, use the set default
command.
SEt DEfault
Default
None
Command Mode
The set default command resets all parameters to their default values, deletes
the user-defined profiles, sets the Auto_Config flag to FALSE, and reboots the
router. Setting the Auto_Config flag to FALSE triggers the auto-configuration
procedure in the power-up operation.
The auto-configuration feature allows the router to obtain the configuration file
from a remote server by using Bootstrap Protocol(BOOTP). Upon power-up, the
router examines the Auto_Config flag stored in nonvolatile RAM (NVRAM). If the
Auto_Config flag is FALSE, the router initiates a BOOTP to request an IP
address from the server when a connection is established. (If the flag is TRUE,
the BOOTP request is not initiated.)
When the router and BOOTP and TFTP servers at the central site are set up, use
ping to generate traffic and trigger the ISDN call. When the call is connected, the
Cisco 700 series router sends a BOOTP request. If the server finds a matching
MAC address from BOOTPTAB, the server returns a client profile that includes
an IP address and configuration filename. The router initiates a TFTP client
request, requesting the server download the configuration file. (The U.S. image
requires SPID and switch configuration information before the ISDN connection
can be established.)
After successfully loading the configuration file, the router sets the Auto_Config
flag to TRUE in NVRAM. In a subsequent power-up operation, if the Auto_Config
flag is TRUE, the router does not initiate BOOTP to request a configuration file
from the server.
This should be done on the LAN side (Ethernet interface) only. If this operation
fails, the Auto_Config flag remains FALSE. If this is done on the WAN side and
there is a WAN/PPP connection established, this process is triggered repeatedly
on the WAN link.
Example
reboot
set echo
To enable and disable terminal echo of keyboard entries, use the set echo
command.
SEt ECho ON | OFf
Syntax Description
Default
On
Command Mode
System mode
Example
OFf
Default
Off
Command Mode
Profile mode
Examples
The following example enables IPX trace and sets packet length to 4096:
Host> set ipx trace 4096 on
set loopback
To create a loop from the Cisco 700 series router toward the remote router on the
ISDN line, use the set loopback command.
SEt [connection] LOOpback ON | OFf
Syntax Description
Enable a loop.
OFf
Disable a loop.
Default
Disabled
Command Mode
This command is used with the test command for troubleshooting purposes. In
system mode, this command must be used with the connection-number
argument. The router displays an error message if a connection number is not
specified. In profile mode, the command uses the connection number for the
profile. Use the show connection command to display which profiles have a
loopback.
Example
show connection
test
set screenlength
To set the maximum number of lines to display on the terminal, use the set
screenlength command.
SEt SCreenlength lines
Syntax Description
lines Maximum screen length to display on your terminal. The length can be from
2 to 128 lines.
Default
20 lines
Command Mode
System mode
Example
set baudrate
set serialport
set serialport
To toggle the serial port to function as a configuration port or a TPAD (Controller
PAD) port, use the set serialport command.
SEt SErialport TPad | COnfig
Syntax Description
TPAD
Default
COnfig
Command Mode
System mode
Usage Guidelines
From the terminal connected to the serial port, enter ^A three times,
followed by a Return to restore the prompt.
Attention (AT) commands are entered at the prompt on the TPAD terminal.
There are two mode of operation in the TPAD implementation that respond to the
enhanced point-of-sale system (EPOS), Verbose and Terse. In Verbose mode,
the response is in strings, such as "CONNECT," "NO CARRIER," "BUSY" and so
forth. In Terse mode the response is in numbers, such as 1 (CONNECT), 3
(DISCONNECT), 7 (BUSY), and so forth.
When the router is in TPAD mode, these responses are echoed to a terminal
attached to the router serial port. Prior to software Release 4.3(1), the mode of
operation was always verbose with echo on. In software Release 4.3(1), a series
of TPAD commands were implemented to support RIVA functionality.
Multiple commands can be entered on a single line.
Table 2-1: AT Commands
Command Description
ATV0
ATV1
ATE0
ATE1
ATP
ATDT
AT&F
ATS7
The current state of the serial port can be displayed by using the show
configuration command.
Example
set systemname
To configure the router name as the system prompt and for Point-to-Point
Protocol (PPP) authentication, use the set systemname command.
SEt SYstemname [systemname]
Syntax Description
Default
No system name
Command Mode
System mode
Usage Guidelines
The system name identifies the router when making PPP connections to an
Internet service provider (ISP) if there is no PPP client name in the profile defined
with the set ppp clientname command. If a PPP client name is defined in the
profile, the router uses the PPP client name for PPP authentication; the router
retains the system name as part of the prompt. To delete the system name, enter
the systemname command without an argument.
Example
set time
To set the current time, use the set time command.
SEt TIme HH:MM:SS
Syntax Description
Default
None
Command Mode
System mode
Usage Guidelines
set calltime
Default
System mode
Usage Guidelines
You can change parity of TPAD communications in software Release 4.1(2) and
higher. (In software Release 4.1(1), serial port communication is limited to 8 data
bits, 1 stop bit, and no parity.)
The TPAD protocol requires the following X.25 fixed parameters:
T1 Timer - 1 second
N2 Retry Count - 2
DTE only
K frame count - 7
Module 8 only
VC - 1024 to 1279
Window Size - 2
Facility - No
DTE only
Reverse Charging - No
X.28 and other X.25 Packet Assembly Disassemblies (PADs) are not supported
because there is no provision for protocol sensing.
The call direction is dial-out only. Incoming calls and two-way calls are not
supported.
Cisco 700 series router software Release 4.2(1) supports Network User
Information (NUI) and Network User Address (NUA), as described in British
Telecom CardWay 0800 Phase 3 Access Platform specification.
Example
The following example sets the TPAD to even parity, 7 data bits, and 1 stop bit:
Host> set tpad parity even
Related Commands
set serialport
show tpad
show
To display the configuration and the status of both ISDN B channels, use the
show command.
SHow
Command Mode
In profile mode, the show command displays only the profile-based configuration
parameters. Parameters that have been changed are indicated by an asterisk (*).
Values without an asterisk are inherited from the profile template.
In system mode, the show command displays the profile template.
Example
The following example shows output from the show command in system mode:
Host>show
SystemParameters
Environment
ScreenLength20
EchoModeON
CountryGroup1
BridgingParameters
LANForwardModeANY
WANForwardModeONLY
AddressAgeTimeOFF
CallStartupParameters
MultidestinationOFF
LineParameters
SwitchType5ESS
AutoSPIDandSwitchDetectionOFF
CallParametersLink1Link2
RetryDelay3030
ProfileParameters
BridgingParameters
BridgingON
RoutedProtocols
LearnModeON
PassthruOFF
CallStartupParameters
LineParameters
LineSpeedAUTO
NumberingPlanNORMAL
CallParametersLink1Link2
AutoONON
CalledNumber
BackupNumber
RingbackNumber
CLICallbackOFF
Status01/01/199500:01:00
LineStatus
LineDeActivated
TerminalIdentifierUnassigned
PortStatusInterfaceConnectionLink
Ch:1WaitingforCall
Ch:2WaitingforCall
Related Command
show configuration
show callduration
To show the current setting for call duration, use the show callduration
command.
SHow CALLDuration
Default
None
Command Mode
10 min.
Related Commands
set callduration
show calltime
show calltime
To show the current of time-of-day limits on calls, use the show calltime
command.
SHow CALLTime
Default
None
Command Mode
Profile mode
Example
set callduration
set calltime
show callduration
show configuration
To display a subset of the current configuration parameters, use the show
configuration command.
SHow COnfig [ALl]
Syntax Description
Command Mode
The following example shows output from the show configuration command in
profile mode:
Related Command
show demand
show connection
To display all current connections, use the show connection command.
SHow CONNection
Command Mode
System mode
Example
The following example shows output from the show connection command:
Description
Start Time
Name
Ethernet
show demand
To display demand and timeout configurations, use the show demand
command.
SHow DEmand
Command Mode
demand
set timeout
show
timeout
show memstat
To display the memory configuration, use the show memstat command.
SHow MEmstat
Command Mode
System mode
Usage Guidelines
The RAM size displays in hexadecimal. For example, a Cisco 700 series router
with 1 MB displays 0x100000, and a router with 1.5 MB displays 0x180000.
Table 2-3 lists the RAM size hexadecimal values reported by the show memstat
command and the corresponding RAM size in megabytes.
Table 2-3: Device RAM Sizes
RAM Size (hex)
Memory
0x100000
1 MB
0x180000
1.5 MB
0x200000
2 MB
Example
The following example shows output from the show memstat command:
Host>showmemstat
ID0:Size:10Avail:8Max:8Used:1Addr:0x000DDBA8
ID1:Size:30Avail:69Max:80Used:16Addr:0x000DDDE2
ID2:Size:18Avail:35Max:35Used:0Addr:0x000DE5A8
ID3:Size:4Avail:36Max:36Used:0Addr:0x000DE850
ID4:Size:8Avail:220Max:220Used:1Addr:0x000DE908
ID5:Size:32Avail:223Max:400Used:180Addr:0x000E0650
ID6:Size:268Avail:20Max:20Used:1Addr:0x000E2238
ID7:Size:20Avail:80Max:80Used:2Addr:0x000E3764
ID8:Size:14Avail:124Max:200Used:76Addr:0x000E41E0
ID9:Size:54Avail:38Max:50Used:17Addr:0x000E629A
ID10:Size:8Avail:1Max:2Used:1Addr:0x000EEC40
ID11:Size:54Avail:6Max:6Used:0Addr:0x000EEC70
ID12:Size:462Avail:4Max:4Used:0Addr:0x000EF588
ID13:Size:134Avail:2Max:2Used:0Addr:0x000F00C0
ID14:Size:68Avail:5Max:5Used:1Addr:0x000F0BB8
ID15:Size:96Avail:5Max:6Used:2Addr:0x000F0DA0
ID16:Size:112Avail:2Max:2Used:0Addr:0x000F0FA8
NVStoreUsed:1203,Remaining6989(Deleted77+Unused6912),Total8192
RamStoreUsed:0,Remaining10000,Total10000
RAMSize=0x180000
Availablememory=517088,Allocs=119,Frees=0
MbufAllocs=0x5,MbufFrees=0x5,MbufFail=0x0
IbufAllocs=0x0,IbufFrees=0x0,IbufFails=0x0
MlenMax=0xe0,MlenAvail=0xe0,MlenLow=0xdf,MlenAllocs=0x5,MlenFails=0x0
ZeroMax=0x0,ZeroAvail=0x0,ZeroLow=0x7fff,ZeroAllocs=0x0,ZeroFails=0x0
show packets
To display packet count statistics, use the show packets command.
SHow [connection | LAn] PAckets
Syntax Description
Command Mode
Description
Filtered
Forwarded
Received
Dropped
Lost
Corrupted
show tpad
To display the TPAD parity, use the show tpad command.
SHow TPad
Default
None
Command Mode
set serialport
set tpad parity
show users
To display all profiles and their status, use the show users command.
SHow USers
Command Mode
System mode
Example
The following example shows output from the show users command:
Host> show users
UserStateConnection
-------------------------------------------LANActiveLAN
InternalActiveINTERNAL
StandardActive1
tomdInactive
Description
Active or inactive.
Connection
swl
To download new router software or configuration files across a TCP/IP network
using Trivial File Transfer Protocol (TFTP) or through the configuration port using
a serial cable link, use the swl command.
SWL [TFTP] [CONFIG] [ipaddress filename]
Syntax Description
TFTP
Load the software across a TCP/IP network by using TFTP or use the
router as a TFTP server, depending on the status of the ipaddress and
filename parameters. When the parameters are not included, the router
is a TFTP (proxy) server.
Name of the software image file when the router acts as a TFTP client
during download. The filename should include the directory path if the
file is not in the server default directory. When the filename is included,
the ipaddress must also be included.
Default
None
Command Mode
System mode
Usage Guidelines
The following example loads the operating system software in the router through
a serial connection from the terminal to the configuration port. (You can use an
ASCII terminal or a personal computer running terminal emulation software.)
To load software with the swl command, follow these steps:
Step 1 Connect your terminal to the configuration port on the router.
Step 2 Set the baud rate for the terminal to 9600 and the protocol to 8N1.
Step 3 Turn on power to the router. The router boots, and when the boot process
is complete, the router displays a prompt.
Step 4 Enter the swl command:
Host> swl
You are prompted to verify that you are downloading the software image.
Step 5 Enter y to continue:
Are you sure? y
300 baud
2 1200
3 2400
4 4800
5 9600
6 - 19200
7 - 38400
8 - 57600
9 - 115200
baud
baud
baud
baud
baud
baud
baud
baud
Step 6 At the prompt, enter one of the baud rates listed (do not press the Return
key), and make sure that the load rate you choose is supported by your terminal
emulation software. Table 2-6 shows the approximate software load times.
Table 2-6: Approximate Software Load Time
Load Rate (Baud) Approximate Time (Minutes)
2400
48
9600
12
19200
38400
57600
115200
Step 7 Change the baud rate of the terminal to the appropriate download rate.
Step 8 Set the protocol to ASCII on the terminal.
Step 9 Download the file containing the new software to the router by following
the prompts on your terminal. (The LINE LED blinks throughout the loading
process.)
You are prompted to change the terminal baud rate to 9600.
Change settings to 8n1/9600 baud and press a key
Step 10 Change the baud rate of the terminal emulation software to the
appropriate baud rate and press any key.
When the download is successful, the LINE LED turns off, and the RDY LED
turns on. If the download was not successful, use Table 2-7, which shows
symptoms and possible solutions.
Table 2-7: Software Download Command Troubleshooting
Symptom
Download takes
significantly longer than
the approximate time
listed in Table 2-6.
completed.
The following example shows the transfer of an image by using TFTP. The router
is the server and the workstation is the client. (Before beginning this procedure,
configure your workstation to operate as a TFTP client. In server mode, the
workstation only accepts put requests for the file.
Step 1 Check the file directory to confirm that the new software and, optionally,
the new configuration file are installed on the TFTP server.
Step 2 Ping the TFTP server from the router to confirm that the router can be
reached from the client machine:
Host> ping clientipaddress
Caution
When the swl tftp command is entered, the existing software is erased. If a
catastrophic event such as a power failure occurs before the file transfer is complete,
the router must be initialized through the configuration port.
Step 3 Enter the swl tftp command to load the software image on the router:
Host> swl tftp 171.69.91.33 foxus.fl
Are you sure? y
Host>
SWL TFTP: Starting transfer ...
SWL TFTP: Transfer successful.
Image received successfully.
Burning flash, standby (15 seconds max.) ...
The software is downloaded. You can follow the same procedure using the swl
tftp config command to download a configuration:
Host> swl tftp config 171.69.91.33 efoxcfg.txt
Are you sure? y
Host>
SWL TFTP: Starting transfer ...
SWL TFTP: Transfer successful.
SWL TFTP: Erasing old configuration.
Host> Connection 1 Closed
Host> Connection 2 Closed
Host> Connection 3 Closed
The following example loads a configuration. (The example uses Terminal for
Windows, a commonly used terminal emulation program. You can use other
terminal emulation software.) Although this is not part of the swl command, the
following example is provided for your convenience:
Step 1 From the terminal emulation program, go to the Setting menu, and select
Text Transfer. The Text Transfer dialog box appears.
Step 2 Set flow control to Line at a Time, and set Delay Between Lines to 0.5 to
1 second.
Step 3 Click OK.
Step 4 From the Transfer menu, select Send Text File.
Step 5 Select the file to be loaded.
Step 6 Click OK. The parameters are transferred to your router.
Step 7 If errors occur during the transfer, enter the set default command,
increase the delay between lines, and repeat the procedure for loading the
configuration beginning with Step 1.
Related Command
show security
test
To generate test packets, use the test command.
TEst [connection] [WAn | ALl] [STop | REsult | ETher] RAte pps [MInpkts bytes
MAxpkts bytes]
Syntax Description
Generate test packets on both the ISDN line and on the LAN.
STop
REsult
ETher
Generate test packets on the LAN and compare the number of sent
packets to the number of received packets.
RAte
Rate in packets per second (pps) at which test packets are generated.
The rate can be between 1 and 100; the default value is 10.
MInpkts
Minimum size (in bytes) of test packets. The size can be between 60
and 1514; the default value is 60.
Packets are generated in incrementally larger sizes, starting with the
minimum size and ending with the maximum size. After the maximum
length is reached, the next packet is the minimum size.
MAxpkts
Default
None
Command Mode
System mode
Example
The following example enables a test on the ISDN line and the LAN with a
minimum packet size of 255 bytes and a maximum packet size of 1024 bytes:
Host> test all min 255 max 1024
upload
To send a set of ASCII strings containing the current configuration to the terminal
or TFTP client, use the upload command.
TFTP
Default
None
Command Mode
Profile mode
Usage Guidelines
The upload command (without any parameters) sends the current configuration
to the console port. The upload tftp command uploads the configuration through
a TFTP client.
You can use the captured file to reconfigure the router after loading new software
or to configure multiple routers with the same parameters.
Set the ASCII download for 1 second so that each line is correctly processed.
Password and secret information are encrypted for security reasons. If you are
reloading a configuration into a router for reconfiguration, all password and secret
information is loaded.
Example
The following example uses TFTP to send the router configuration to IP address
10.1.1.1, filename 700ted.cfg:
Host> upload tftp 10.1.1.1 700ted.cfg
Related Commands
set default
set echo
swl
version
To display the software release level and date, use the version command.
VErsion
Default
None
Command Mode
Table 2-8 lists the specific types of basic telephone service (POTS) used in each
country.
Table 2-8: POTS Types and Countries
Board
Types
Countries
Type 0
Type 1
Type 2
Table of Contents
Profile Commands
reset user
set active
set inactive
set profile
set profile id
set user
show profile
unset
Profile Commands
This chapter describes the commands used to create, modify, delete, and display
user-defined profiles. Profile mode parameters affect how the router handles the
connection to a device and consist of individual parameters, maintained in
configuration sets.
User-defined profiles can be created, so individual parameters do not have to be
modified to establish different connections. The router also maintains three
permanent profiles, Internal, LAN, and Standard. The Internal profile stores
parameters used to communicate between the LAN and WAN ports. The LAN
profile stores parameters that configure the LAN port on the router. The Standard
profile is the default profile.
The commands to display profile information apply to both the user-defined and
permanent profiles. A detailed discussion on how profiles are used in Cisco 700
series routers is in the Cisco 700 Series Router Configuraiton Guide.
reset user
To delete a profile, use the reset user command.
REset USer username
Syntax Description
username
Default
None
Command Mode
The profile is removed and if you are in profile mode, you are returned to system
mode.
Example
If you do not want to delete the profile, enter n or press Return without
responding to the request.
Related Commands
set active
set user
show profile
set active
To set a profile to active, use the set active command.
SEt ACtive [username]
Syntax Description
username
Default
None
Command Mode
Newly created profiles are inactive by default. Profiles are active after the set
active command has been issued and you reboot the router.
When a profile is active, outgoing WAN packets cause a call to be made to a
WAN switch (if on-demand dialing is enabled with the set auto command). All
incoming calls are answered.
When a profile is inactive, outgoing WAN packets do not cause the router to
automatically dial out. The call must be initiated manually with the call command
before the router will forward the packets. However, all incoming calls are
answered.
Example
Related Commands
call
set auto
set inactive
set user
set inactive
To set a profile to inactive, use the set inactive command.
SEt INACtive [username]
Syntax Description
username
Default
None
Command Mode
Newly created profiles are inactive by default. Profiles are active after the set
active command has been issued and you reboot the router.
When a profile is active, outgoing WAN packets cause a call to be made to a
WAN switch (if on-demand dialing is enabled with the set auto command). All
incoming calls are answered.
When a profile is inactive, outgoing WAN packets do not cause the router to
automatically dial out. The call must be initiated manually with the call command
before the router will forward the packets. However, all incoming calls are
answered.
Example
Connection 2 closed
Related Commands
set auto
set active
set user
set profile
To change a profile name and profile activity status after power on and call
disconnect, use the set profile command:
SEt PROFile [POwerup = ACtive | INactive] [DIsconnect = DEactivate | KEep]
[USer = new profile name]
Syntax Description
POwerup
ACtive
INactive
DIsconnect
DEactivate
KEep
Profile remains active when all the links of its physical connection
are disconnected.
USer
Defaults
powerup active
disconnect keep
Command Mode
Profile mode
Usage Guidelines
Incoming calls from a remote device associated with a profile cause that profile to
become active regardless of the profile activity settings.
Example
The following example configures the profile 2503 to be inactive after the unit
powers up and inactive after all physical links to a remote device are
disconnected:
Host:2503> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set profile powerup in
active disconnect deactivate
Related Commands
set auto
set user
set profile id
To associate the Ethernet address of a WAN switch with a profile, use the set
profile id command.
SEt PROfile ID ethernetaddress
Syntax Description
ethernetaddress
Default
Profile mode
Example
The following example configures the profile 2503 with the Ethernet address of
the calling router:
Host:2503> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set profile id <EM&NBS
P;STYLE="FONT-STYLE:&NBSP;ITALIC;&NBSP;FONTWEIGHT:&NBSP;NORMAL">00000c0012ff
Related Commands
set auto
set user
set user
To create a new user-defined profile or modify the name of an existing userdefined profile, use the set user command.
SEt USer [username] [INcoming | OUTgoing]
Syntax Description
username
INcoming
The profile is initialized for incoming calls only. The profile must
have the following values:
Usage Guidelines
Outgoing
Command Mode
Related Commands
set auto
set profile
show profile
To display the Ethernet address and activity status of the current profile, use the
show profile command.
SHow PRofile
Command Mode
The following example shows output from the show profile command for profile
2503:
Host:2503> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">show profile
Profile for user
Ethernet Address 00 00 00 00 00 00
Power Up
ACTIVATE
Disconnect
KEEP
Description
Ethernet
Address
Powerup
Disconnect
<*>
unset
To return profile-configured parameters to the profile template value, use the
unset command.
UNset commandparameter
Syntax Description
commandparameter
Default
None
Command Mode
Profile mode
Usage Guidelines
Table 3-2 lists the original command modifiers that can be unset.
Table 3-2 Unset Command Syntax Description
Original Command
set bridging
unset bridging
set callerid
unset callerid
set compression
unset compression
set learn
unset learn
set passthru
unset passthru
set speed
unset speed
Example
The following example returns the PPP client password in the user-defined
profile 2503 to the password in the profile template:
Host:2503> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">unset ppp password cli
ent
Table of Contents
Security Commands
login
logout
reset calleridreceive
set callerid
set clicallback
set callidreceive
set local access
set logout
set password
set remote access
show security
Security Commands
This chapter describes the commands used to manage router security as it
relates to modifying the configuration and monitoring the activity of the router.
login
To log into a remote router to make configuration changes, use the login
command.
LOGIn [ipaddress | ethernetaddress | connectionid | REmote]
Syntax Description
ipaddress
ethernetaddress Used with bridging, the Ethernet address logs into a router on
the same Ethernet segment or to a remote router connected
across the ISDN line. The Ethernet address must be entered as
12 contiguous hexadecimal characters with no spaces.
connectionid
REmote
Log into a router connected to the ISDN line. Use this keyword
while in profile mode.
Default
None
Command Mode
If access to the router has been restricted with the set local access command,
you are required to enter the router system password before making any
configuration changes.
You can only log into a remote Cisco 700 series router directly connected to your
terminal or to a remote Cisco 700 series router with an active ISDN or Ethernet
connection to your router. After 5 minutes of no activity, the remote router logs
you out. Use the logout command to manually log out of the remote router.
Used without an argument or keyword, this command logs you into the router
directly connected to your terminal through the console port.
Example
The following example shows how to log into a remote router, from a profile,
across the ISDN connection by using the remote router IP address:
Host> login 150.150.50.25 remote
Related Commands
logout
set local access
set remote access
logout
To end any remote session initiated with the login command, use the logout
command.
LOGOut
Default
None
Command Mode
Example
The following example ends a remote session initiated with the login command:
Host> logout
Related Command
login
set local access
set remote access
reset calleridreceive
To delete one or all of the telephone numbers from which the router receives
calls when caller ID is enabled, use the reset callidreceive command:
REset CALLIdreceive number | ALl
Syntax Description
number Remote router telephone number entered with the set callidreceive
command.
ALl
Delete all remote router telephone numbers entered with the set
callidreceive command.
Default
None
Command Mode
System mode
Example
The following example deletes a caller ID receive number entered with the set
callidreceive command:
Host> reset callidreceive 5559020
Related Commands
set calledrid
set callidreceive
set callerid
To enable ISDN caller ID authentication, use the set callerid command.
SEt CALLErid ON | OFf
Syntax Description
Default
Off (disabled)
Command Mode
System level
Usage Guidelines
The following example enables caller ID checking for all ISDN connections:
Host> set callerid on
Related Command
set callidreceive
set clicallback
To change the callback delay, use the set clicallback command:
SEt CLICallback OFf | ON [# of digit to match] [DElay seconds]
Syntax Description
ON
OFf
# of digit to
match
seconds
Default
Profile mode
Usage Guidelines
In software Release 4.0(1), the callback delay was a fixed value of 3 seconds. In
software Release 4.1(2) and higher, the value can be set from 3 to 30 seconds
by using the set clicallback delay command.
Because clicallback rejects calls when a match is found and cliauthentication
accepts calls when a match is found, clicallback has precedence over
cliauthentication. For cliauthentication to be active, clicallback must be
turned off.
Example
set callidreceive
set callidreceive
To enter the ISDN telephone number from which the router accepts calls when
caller ID checking is enabled, use the set callidreceive command.
SEt CALLIdreceive number
Syntax Description
number ISDN phone number of a remote router from which the router accepts
calls when caller ID checking is enabled with the set callerid command.
Default
System level
Usage Guidelines
To delete a telephone number set with this command, use the reset
calleridreceive command.
Example
The following example enters the telephone number for a remote router
authenticated when caller ID checking is enabled:
Host> set callidreceive 4085559020
Related Commands
reset calleridreceive
set callerid
ON
PArtial
Default
System mode
Usage Guidelines
To use dual tone multifrequency (DTMF) commands from the telephone keypad,
the set local access command must be set to on. The set password command
must be set. Table 4-1 describes the set local access command settings.
Table 4-1: set localaccess Command Settings
Command
call
On
See Note
Partial Protected
1
P2
cd
demand
P
P
disconnect
establish
help
log
reboot
release
P
P
reset commands
set commands
show commands
software load
P
P
test commands
timeout
P
P
unlearn
P
P
unset commands
upload
version
An empty cell indicates that the command can be performed remotely without
restrictions.
2
P indicates that the system password must be entered before using the command.
Example
set password
set logout
To set the inactivity timer for remote logins, use the set logout command.
Default
5 minutes
Command Mode
System mode
Example
login
logout
set password
To set a password, use the set password command.
SEt PAssword SYstem [ENcrypted] [<password>]
Syntax Description
SYstem
ENcrypted Used by the computer when loading a saved configuration text file
(UPL output) into the router.
password Password used for authentication. If the password is absent from the
command statement, you are prompted for the entry.
Default
No passwords
Command Mode
System mode
Usage Guidelines
When this command is loaded back into the original router (or another router),
the router knows the password is already encrypted by examining the encrypted
parameter.
You should not use the encrypted parameter when typing in the system password
manually. If you do, the router will try to decrypt it, and you will not be able to log into
the router.
The password can be included in a configuration file, which can generate a set
password command that includes unencrypted or encrypted passwords for PPP
authentication.
Note that the system password protects remote access, but not local access.
Before downloading a configuration, a remote user has to enter a system
password (if it has been set), but a local user does not. For example, an
unauthorized user can use the upload command to generate PPP CHAP or PAP
authentication and cut-and-paste the password to a local console.
Examples
Step 2 Enter your host password. (Your password is not echoed on the screen.):
Enter new Password: <new password>
Step 4 Enter the username you want associated with the host password:
Enter User Name: johndoe
Related Commands
login
logout
set local access
set remote access
OFf
Default
Off
Command Mode
System mode
Usage Guidelines
Partial
Protected Off
call
See Note.1 P2
X3
demand
disconnect
help
log commands
login
logout
reboot
reset commands
set commands
unset commands P
upload
version
show commands
software load
test commands
timeout
cd
establish
ping
release
unlearn
An empty cell indicates that the command can be performed remotely without
restrictions.
2
P indicates that a system password must be entered before this command can be
performed remotely.
3
X indicates that this command cannot be performed remotely.
Example
The following example configures the router for protected remote access:
Host> set remote access protected
Related Command
show security
To display the security configurations, use the show security command.
SHow SEcurity [ALl]
Syntax Description
ALl In profile mode, display all security configurations as if the command were
issued in system mode. Ignored in system mode.
Command Mode
The following example shows output from the show security command in
system mode:
Host> show security
SystemParameters
Security
AccessStatus
SystemPasswordNE
RemoteConfigurationPROTECTED
LocalConfiguration
LogoutTimeout5
CallerIDSecurityOFF
CallerIdNumbers
PPPSecurity
PPPAuthenticationINCHAPPAP
CHAP REFUSE
NONE
CHAP ALLOW MULTIHOST
OFF
ProfileParameters
PPPSecurity
PPPAuthenticationOUTNONE
TokenAuthenticationSupport
TASClient0.0.0.0
UseLocalCHAPSecretON
Client
UserNameNONE
PAPPasswordNONE
CHAPSecretNONE
Host
PAPPasswordNONE
CHAPSecretNONE
Callback
RequestOFF
ReplyOFF
The following example shows output from the show security command in profile
mode:
Host:temp> show security
>PPP Security
PPP Authentication OUT
NONE
PPP Authentication ACCEPT
EITHER
Token Authentication Support
TAS Client
0.0.0.0
Use Local CHAP Secret ON
Client
User Name
odc7
PAP Password
NONE
CHAP Secret
NONE
Host
PAP Password
NONE
CHAP Secret
NONE
Callback
Request
OFF
Reply
OFF
Description
System
Parameters
Access Status
System Password Indicates a system password has been entered with the set
password system command. Can be none or exists.
Remote
Configuration
Local
Configuration
PPP
PPP authentication method used for outgoing calls. Can be
Authentication Out PAP, CHAP, none, or any combination of these three. Set with
the set ppp authentication out command.
PAP Client
Password
CHAP Client
Secret
Callback ID
Security
CHAP Refuse
CHAP Allow
Multihost
Callback
Number of host passwords that have been entered with the set
password command.
PAP Host
Password
CHAP Host Secret CHAP host password entered with the set ppp secret
command. Can be none or exists.
Callback Request Request a callback from the remote unit. Can be on or off.
Callback Reply
Related Commands
set clicallback
set local access
set password
set ppp authentication
set ppp password
set ppp secret
set remote access
Table of Contents
ISDN Calling Commands
Configuring Directory Numbers
SPIDs and Directory Numbers
Analog Telephone Ports
Data Over Voice Bearer Service
Automatic Data Call Disconnect
Distinctive Ringing
call
demand
disconnect
establish
release
reset directory number
reset phone
set aoctimeout
set alawvoice
set auto
set autodetection
set backupnumber
set button (Cisco 770 series routers)
set callwaiting
set conference
set countrygroup
set delay
set directorynumber
set internaltones
set multidestination
set number
set permanent
set phone
set plan
set ringback
set speed
set spid
set switch
set timeout
set transfer
set voicepriority
show status
show voicerouting
timeout
unset permanent
No SPIDs or
Two SPIDs
One SPID
X2
SPIDs
Not
Used1
1 SPIDs are used only inside North America. This column shows the behavior of the
analog telephone ports for devices outside North America, where SPIDs are not used.
2 An X indicates that the behavior applies for this configuration.
routers support incoming and outgoing DOV calls. DOV calls are data calls made
over the BRI (voice) line using Voice Bearer Capability (VBC).
If a directory number has been configured for DOV, incoming data calls with VBC
are routed to the LAN through the Ethernet port, as shown in Figure 5-1.
Incoming voice calls are forwarded to the analog (voice) device over the analog
telephone port, as shown in Figure 5-2.
Figure 5-1 Data Call with VBC
The set dov command instructs the router to treat incoming calls to a specified
directory number as data calls. (Before using the set phone command to
configure DOV, you must set the directory number with the correct SPID, as
described in the section "Configuring Directory Numbers," in this chapter.)
Any call received on the port that has been associated with this directory number
is treated as DOV and is forwarded to the LAN. One or two directory numbers
can be configured for DOV with the set phone command.
The set speed command with the voice keyword sets VBC on for outgoing DOV
calls, enabling the features of VBC and DOV.
If the priority is set to never, data calls are never bumped in favor of voice calls.
If the priority is set to disable, data calls are handled as indicated by the
set phone DOV command.
The voice priority mode is dependent on several factors, including the following:
Distinctive Ringing
Cisco 700 series routers have a Distinctive Ring Manager (DRM) that can
support distinctive ringing cadences for up to six external devices using the set
phone command. These external devices can be a telephone or fax machine.
Each POTS interface can support up to three devices.
call
To make a manual ISDN call on a specified link to a specified telephone number,
use the call command.
CAll [object] [number]
Syntax Description
object
number
Default
None
Command Mode
Usage Guidelines
2. Link
A logical 64/56-kbps data path assigned to users, numbered sequentially
beginning with one. The unit is limited to two links. The two syntax formats
for link are as follows:
L# or #
3. Channel
Channels provide a physical data path over the WAN. Channels are one or
more time slots kept in sequence through the WAN that do not require any
kind of inverse multiplexing. The unit can support 64-kbps channels or (in
INS release only) 128-kbps channels. The syntax format for a channel is as
follows:
CH#
The following example makes a manual call on the second link to 408 555-1212
while in profile mode for profile 2503:
Host:2503> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">call <EM&NBSP;STYLE="F
ONT-STYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">2 <EM&NBSP;STYLE="FO
NT-STYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">4085551212
Related Commands
set button
set number
demand
To specify when an on-demand ISDN call will be made, use the demand
command.
DEmand [link] [THreshold = kbps] [DUration= seconds] [SOurce =WAN | LAn |
BOth]
Syntax Description
link
Specifies the link with which all the following parameters are
associated.
THreshold
Minimum data rate (in kbps) that must exist on the channel before
the call will be made. The range is 0 to 128. 1
Inband negotiation traffic (traffic that terminates at the router) is not
taken into account for the threshold level.
DUration
Length of time (in seconds) that the traffic is to be above the data
threshold before the call is made. The range is 1 to 255.
SOurce
WAN
LAn
BOth
1 The data rate measured is the data that the router intends to forward across the ISDN
line, so the data rate might actually exceed the physical capacity of the line.
Default
The following example determines when on-demand dialing will take place for
profile 2503:
Host:2503> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">demand <EM&NBSP;STYLE=
"FONT-STYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">1 <SPAN&NBSP;STYLE
="FONT-WEIGHT:&NBSP;BOLD">threshold <B&NBSP;STYLE="FONTWEIGHT:&NBSP;BOLD">10 <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">duration <E
M&NBSP;STYLE="FONT-STYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">2 <SP
AN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">source lan
This specifies that link 1 will dial if 10 kbps is continuously exceeded for 2
seconds.
Related Commands
set auto
set delay
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set ringback
set timeout
timeout
show negotiation
disconnect
To manually terminate an ISDN call, use the disconnect command.
DIsconnect [object | ALl]
Syntax Description
object
ALl
Default
None
Command Mode
Profile mode
Usage Guidelines
2. Link
A logical 64/56-kbps data path assigned to users, numbered sequentially
beginning with one. The unit is limited to two links. The two syntax formats
for link are as follows:
L# or #
3. Channel
Channels provide a physical data path over the WAN. Channels are one or
more time slots kept in sequence through the WAN that do not require any
kind of inverse multiplexing. The unit can support 64-kbps channels or (in
INS release only) 128-kbps channels. The syntax format for a channel is as
follows:
CH#
The following example disconnects any calls on both links of the current
connection:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">disconnect
Related Command
set number
establish
To reassign a released service profile identifier (SPID) to the router, use the
establish command.
EStablish [spidid]
Note
Syntax Description
spidid
Default
None
Command Mode
System mode
Usage Guidelines
This command is applicable only in the United States. It reassigns one of the
SPIDs after it has been released to a device other than the router. For example, if
you have two SPIDs and the router is using both of them for data, one of the
SPIDs has to be released if an ISDN phone is to be used.
Example
The following example reassigns the SPID ID2 to the router following a release:
<B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">establish<EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL"> 2
release
release
To release the Layer 2 link and Terminal Identifier (TEI) Unassigned associated
with a SPID so that it can be used by another device on the same ISDN line
(SBus), use the release command.
RElease [spidid]
Syntax Description
spidid
Specify the number of the SPID you are releasing (1 or 2) as set by the
set spid command. (North America only.)
Default
None
Command Mode
System mode
Usage Guidelines
Use this command when your ISDN line only supports two SPIDs and one B
channel per SPID (DMS-100). When released, the SPID still resides in memory,
so you do not have to reenter the SPID. To reassign the SPID back to the router,
use the establish command.
Example
The following example releases the Channel 1 SPID from the router so that it can
be used by another device on the same ISDN line:
Host> <SPAN&NBSP;STYLE="FONTWEIGHT:&NBSP;BOLD">release<EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL"> 1
Related Command
establish
ALl
Deletes all the directory numbers entered with the set directory
number or set phone command.
number
Deletes the specified directory number that has been entered with
the set directory number or set phone command.
.subaddress
Default
None
Command Mode
System mode
Usage Guidelines
If you reset all of the directory numbers, the RCAPI number is automatically
reset.
Example
To delete a directory number entered with the set directory number use one of
the following commands:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">reset di all
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">reset di 14085559020
Related Commands
reset phone
To disassociate a directory number that has been associated with an interface,
use the reset phone command.
REset PHONE1 | PHONE2 | DOV
Syntax Description
PHONE1 |
PHONE2
DOV
All of the DOV (Data Over Voice) directory numbers set are
disassociated (a maximum of two).
Default
None
Command Mode
System mode
Usage Guidelines
To disassociate a directory number that has been entered with the set phone
command:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">reset phone1
Related Command
set phone
set aoctimeout
To extend the connection (after the idle time out has expired) based on the
frequency of the Advise of Charge During Call (AOC-D), use the set aoctimeout
command. The feature is also known as the fee pulse mode.
SEt AOctimeout ON [seconds] | OFf
Note
Syntax Description
ON
Default
4 seconds
Command Mode
Profile mode
Usage Guidelines
The aoctimeout command can only be used in conjunction with the set timeout
command. Before using this command, configure the set timeout command
parameters, threshold kbps and duration seconds.
Example
set timeout
set alawvoice
To set voice encoding, use the set alawvoice command.
SEt ALawvoice ON | OFf
Note
Syntax Description
ON
OFf
Default
On
Command Mode
System mode
Usage Guidelines
For the NET3 switch type, the set alawvoice command changes the voice
encoding to micro-law for countries such as Taiwan. Most countries that use the
NET3 switch type use A-law voice encoding. This command is needed for
countries (such as Taiwan) that require micro-law.
Example
set auto
To enable or disable on-demand dialing, use the set auto command.
SEt [link] AUto ON | OFf
Syntax Description
link
ON
OFf
Default
Profile mode
Example
The following example disables on-demand dialing for the second channel:
Host> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">2 <SPAN&NBSP;STYLE="FONT
-WEIGHT:&NBSP;BOLD">auto off
Related Commands
demand
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set ringback
set timeout
show negotiation
set autodetection
To enable or disable automatic service profile identifiers (SPID) detection, use
the set autodetection command.
SEt AUTODetection ON | OFf
Note
Syntax Description
ON
Specifies a North American switch with auto detection enabled. You must
Disables the auto detection feature. You must enter the SPID numbers and
switch type.
Default
Off
Command Mode
System mode
Usage Guidelines
The auto-SPID and auto-switch detection features simplify the use of ISDN
terminal equipment because there are fewer parameters to enter. Before the
feature is enabled, the user only enters the local directory numbers and area
code. No SPID number or switch type is required. This reduces the possibility of
mistakes made by the user or the carrier.
During the detection process, the control software tries to register SPIDs with the
switch based on the local directory numbers and area code. After a successful
registration, the control software stores the detected SPIDs and switch type in
NVRAM, as if they were entered by the user.
If auto detection fails to register SPIDs with the ISDN switch, the system prompts
the user with an error message. The user will be required to manually enter SPID
number(s) and switch type.
The auto-detection feature only applies to North American ISDN switches,
usually a 5ESS Custom, DMS-100 Custom, NI1, or NI2 switch. The autodetection mechanism might not work with any other switch, such as Siemens
switch.
The user can enter up to six directory numbers in software Release 4.0(1) and
higher, three for each interface. Including the area code helps the auto detection
software speed up the registration process.
The following limitations are inherit in SPID auto detection.
If the service provider has assigned SPIDs that cannot be generated by the search
table, the feature does not work.
The test call does not work if other router features are attempting to make calls
while detection is in progress. It is recommended that the LAN not be connected
to the router while detection is in progress.
You must not attempt to make a voice call while SPID detection is in progress.
An incoming call can cause the feature to fail or to incorrectly determine that the
test call was successful.
The detection procedure requires approximately 30 seconds for each table entry.
The current table size suggests a maximum time of approximately 12 minutes to
complete the SPID detection process.
The SPID detection procedure places a burden on the switch connected to the
Cisco 700 series router. Therefore, the feature disables itself after it has finished
the process. It is recommended that the feature is used only during installation and
that it be invoked sparingly.
Example
The following example disables on-demand dialing for the second channel:
Host> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">1 <SPAN&NBSP;STYLE="FONT
-WEIGHT:&NBSP;BOLD">directorynumber <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">4085551234
Host> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">2 <SPAN&NBSP;STYLE="FONT
-WEIGHT:&NBSP;BOLD">directorynumber <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">4085552345
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set autodetection on
Related Commands
set backupnumber
To set a backup number, use the set backupnumber command.
SEt [link] BackupNUmber = [subaddress]
Syntax Description
link
BackupNUmber
.subaddress
Command Mode
Profile mode
Usage Guidelines
Cisco 700 series routers can place a call to a backup telephone number when an
outgoing call is made. The call might not be successful because the receiving
side is busy or does not answer. Cisco 700 series routers support second
number fail-over for manual and auto data calls. Both the called number and the
backup numbers must be configured.
Example
Related Command
set number
STandard
OFf
Command Mode
System mode
Usage Guidelines
This command applies only to Cisco 770 series routers and associates a profile
with the ISDN make and break button. To use this command, choose an existing
profile. The status of the button is displayed in the output of the show
configuration command issued in system mode.
Table 5-2 summarizes the B-channel connection status and the button operation.
Table 5-2 B-Channel Connection Status and Button Operation
Current Status
Button Operation
No calls up
2 Data calls
2 Voice calls
No action
Example
The following example sets the button to use the Standard profile:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set button standard
Related Command
call
set callwaiting
To disable or enable the call waiting, use the set callwaiting command.
SEt CALLWaiting [INterface=PHONE1 | PHONE2] ON | OFf
Syntax Description
PHONE1 | PHONE2
ON
OFf
Default
Enabled
Command Mode
System mode
Usage Guidelines
This command applies only to routers with analog telephone support. If a fax
machine or modem is connected to the analog telephone interface PHONE2,
disable call waiting for PHONE2.
Example
set conference
To change the call conference feature access code, use the set conference
command.
accesscode
Default
60
Command Mode
System mode
Usage Guidelines
This command applies to NI1 and DMS switches only. Feature access codes for
a particular supplementary service varies from ISP to ISP. There is no range for
these codes.
Example
The following example changes the code used by the service provider to activate
the call:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set conference<SPAN&NBSP;ST
YLE="FONT-WEIGHT:&NBSP;NORMAL"> = <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">66
set countrygroup
To set the ring cadence duration for the analog telephone equipment for a
specific country group, use the set countrygroup command.
SEt COUntryGroup groupnumber
Syntax Description
groupnumber
Default
1 (North America)
Command Mode
System mode
Usage Guidelines
This command only applies to routers with analog telephone support. Ring
cadences for the analog telephone equipment differ for each country. This
command allows you to choose the appropriate ring cadence.
Note
Refer to the version command to verify the correct analog telephone
daughter card.
Table 5-3 lists each country group, associated group number, and the associated
ring cadences.
Table 5-3 Country Groups and Ring Cadence Duration
Group
Number
Country Group
Ring
Cadence
USA, Canada
2 41
15
Belgium
13
14
Finland, Sweden
19
France
1.5 3.5
Hong Kong
Japan, Korea
12
Spain
10
1.5 3
1 Underlined value indicates the ring duration in seconds. The numbers that are not
underlined indicate a silence.
Example
The following example sets the current country group value to 1. The appropriate
ring cadence takes effect immediately:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set countrygroup 1
Related Command
version
set delay
To set the time between unsuccessful demand call attempts, use the set delay
command.
SEt [link] DElay seconds
Syntax Description
link
Link to which the delay time applies. If no link is entered, the delay time
is set for both links.
DElay
Default
System mode
Usage Guidelines
The following example sets the first channel to retry demand calls every 15
seconds:
Host> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">1 <SPAN&NBSP;STYLE="FONT
-STYLE:&NBSP;NORMAL;&NBSP;FONTWEIGHT:&NBSP;BOLD">delay<SPAN&NBSP;STYLE="FONTSTYLE:&NBSP;OBLIQUE;&NBSP;FONT-WEIGHT:&NBSP;NORMAL"> 15
Related Command
demand
set backup number
set directorynumber
To enter the router directory number, use the set directorynumber command.
SEt [spidid] DIrectorynumber = number [.subaddress]
Note
Syntax Description
spidid
number
.subaddress
Default
System mode
Usage Guideline
VoicePriority
In
ALWAYS
ALWAYS
N/A
N/A
VoicePriority
Out
ALWAYS
ALWAYS
N/A
N/A
Call
Waiting
ON
ON
N/A
N/A
Directory
Number
5551234
5551235
Ring
Cadence
Examples
If your BRI line is not assigned SPIDs, use the set directory number command
without the spidid argument to configure the router with the directory numbers,
for example:
766> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set di <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">5551234
Related Command
set internaltones
To select the tone provided by the switch or the tone generated by the unit
locally, use the set internaltones command.
SEt INTernaltones None | DIaltone | All
Syntax Description
None
DIaltone
Dialtone is generated locally. All the other tones are provided by the
switch.
All
Default
None
Command Mode
System mode
Usage Guidelines
This command applies only to European ISDN Net3 and 1TR6 switches.
Example
set multidestination
To enable multidestination dialing, use the set multidestination command.
SEt MUltidestination ON | OFf
Syntax Description
ON
OFf
Default
Off (disabled)
Command Mode
System mode
Usage Guidelines
When setting multidestination, make sure you are not creating a bridging loop.
Example
set number
To enter the ISDN telephone number that each link calls, use the set number
command.
SEt [link] NUmber = [number .subaddress]
Syntax Description
link
number
.subaddress
Default
Profile mode
Usage Guidelines
To delete a number entered with the set number command, enter the command
without the telephone number.
Examples
The following example sets a telephone number that is automatically dialed for
profile 2503:
Host:2503><SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD"> <B&NBSP;STYLE="FONTWEIGHT:&NBSP;BOLD">set <EM&NBSP;STYLE="FONT-STYLE:&NBSP;ITALIC;&NBSP;FONTWEIGHT:&NBSP;NORMAL">1 <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">number <EM
&NBSP;STYLE="FONT-STYLE:&NBSP;ITALIC;&NBSP;FONTWEIGHT:&NBSP;NORMAL">14085551234
The following example deletes the dialed number for profile 2503:
Host:2503> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">1 <SPAN&NBSP;STYLE="FONT
-WEIGHT:&NBSP;BOLD">number
Related Commands
set auto
set plan
set permanent
Use the set link permanent command to enable permanent connections.
SEt link PErmanent ON | OFf
Syntax Description
link
PErmanent
ON
OFf
Default
Off
Command Mode
Profile mode
Usage Guidelines
If permanent mode is specified for more than one link on a single profile, all links
come up only if Multilink PPP is configured. If the D channel is configured for
permanent mode, it comes up only if no other B channels are active.
If the idling D channel configured for permanent mode is disconnected, it will not
come up if any B channel is already connected, until the B channel call is
discontinued. Permanent mode can be configured for three links only, two
B channels and the D channel, across all profiles. If you enter this command after
having configured it for two B channels and the D channel, an error message
displays on the console screen.
The permanent mode setting overrides only timeout and threshold parameters
and not other events such as
These events cause the line to be disconnected, but in permanent mode the
router attempts to restore the line immediately.
Related Commands
show configuration
show demand
unset permanent
set phone
To select the interface to which the voice calls are routed, use the set phone
command.
SEt PHONE1 | PHONE2 | DOV number [.subaddress][ring1 | ring2 | ring3]
Note
Syntax Description
PHONE1
PHONE2
DOV
number
.subaddress
ring1
ring2
ring3
Default
PHONE1
Command Mode
System mode
Usage Guidelines
If you are connected to a 5ESS Custom switch and you have assigned multiple
directory numbers to a SPID, an incoming voice call destined for a secondary
directory number is routed as the primary directory number. As a result, the call is
routed to a different phone interface or uses a different ring cadence than
expected.
The Distinctive Ringing feature provides up to three distinctive ring cadences that
can be assigned to directory numbers.
Ring Type
1
Ring Type
2
0.8 seconds on, 0.4 seconds off, 0.8 seconds on, 4 seconds off
Ring Type
3
0.4 seconds on, 0.2 seconds off, 0.4 seconds on, 0.2 seconds off,
0.8 seconds on, 4 seconds off
Example
The following example sets the telephone interface, directory number, and ring
cadence:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set phone1 <EM&NBSP;STYLE="
FONT-STYLE:&NBSP;ITALIC;&NBSP;FONTWEIGHT:&NBSP;NORMAL">6592651<SPAN&NBSP;STYLE="FONTSTYLE:&NBSP;NORMAL;&NBSP;FONT-WEIGHT:&NBSP;BOLD"> ring1
Related Command
reset phone
set plan
To set the numbering plan for outgoing calls, use the set plan command.
SEt PLan NOrmal | INternational | NAtional | SUbscriber | UNknown ISDN |
ABbreviated | CEntrex| NEtwork
Syntax Description
NOrmal
INternational
NAtional
SUbscriber
UNknown
ISDN
ABbreviated
CEntrex
NEtwork
Default
Normal
Command Mode
Profile mode
Usage Guidelines
The numbering plan is the type of telephone numbering plan the router uses
when making calls. Numbering plans are predefined settings that configure calls
so that they conform to telephone system requirements.
Example
The following example sets the router to use the international numbering plan
when making calls:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set plan international
set ringback
To set the router's ringback number, use the set ringback command.
SEt [link] RIngback [number [.subaddress]]
Syntax Description
link
number
.subaddress
Default
Profile level
Usage Guidelines
The ringback number is the number string used by the remote router to make a
callback to your router. If a remote router is calling in from a different area code,
requires a different access codes or a country code, it might be necessary to
specify that ringback number in each profile. For example, the ringback number
for a remote router in the same area code might be 555-1234 while the ringback
number for a remote router outside the area code might be 1408555-1234, and
the ringback number for a remote router on a PBX might be 95551234.
If BACP or BAP is used, the ringback number has another function; to make a
second-channel call, the router uses a combination of the number it used to
make the first-channel call, and the remote router's second-channel ringback
number.
For example, the Cisco router calls 555-1234 to reach the first channel of the
remote router. If the second channel telephone number is 555-5678, set the
remote router's second-channel ringback number to 5678. The Cisco router uses
the prefix of the first number it called (555) plus the second channel's ringback
number (5678) to make the second call.
Example
The following example sets the number that a remote router uses when making a
callback to the Cisco router on the first ISDN B channel:
Host> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">1 <SPAN&NBSP;STYLE="FONT
-WEIGHT:&NBSP;BOLD">ringback <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">14155551234
Related Commands
demand
set auto
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set timeout
show negotiation
set speed
To set the speed of data calls, use the set speed command.
SEt SPeed 56 | 64 | AUto | VOice
Syntax Description
56
Outgoing calls are made and connected at 56 kbps. Incoming calls are
connected at 56 kbps.
64
AUto
VOice
Outgoing calls are made using Voice Bearer Capability (VBC) and data
is transferred at 64 kbps. Used for Data Over Voice (DOV). This
parameter is used only in the United States. Incoming calls are
connected as in auto mode.
Default
Auto
Command Mode
Profile mode
Usage Guidelines
The voice keyword should be used only with ISDN switch types 5ESS, DMS or
NI1.
Example
The following example sets the speed for data calls to 64 kbps for profile 2503:
Host:2503> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set speed 64
set spid
To enter a service profile identifier (SPID), use the set spid command. (North
America only.)
SEt [spidid] SPId [spidnumber]
Syntax Description
spidid
(Optional if there is only one SPID) Used as a convenient singledigit number to identify the actual long SPIDs allocated by service
providers.
spidnumber
Default
System mode
Usage Guidelines
To delete a previously entered SPID, use the set spid command without the
SPID number argument.
Examples
Related Commands
release
establish
show configuration
set switch
To configure the central office switch, use the set switch command.
SEt SWitch 5Ess | DMS | NI-1 | INS | VN3 | NET3 | 1TR6 | TPH | PERM64 |
PERM128 | PERM2X64
Syntax Description
5Ess
5ESS
DMS
NI1
National ISDN-1
INS
VN3
NET3
1TR6
TPH
Australia
PERM64
Dedicated line service that enables the unit to use a single 64kbps data stream connected to one port. With this option, Channel
1 runs at 64 kbps, and Channel 2 is not used. NTT's Super Digital
service is an example of a leased line server. (Japan)
PERM128
Dedicated line service that enables the unit to use a single 128kbps data stream connected to one port. With this option, Channel
1 and 2 are combine to run at 128 kbps. (An example is Japan
NTT's HSD service.)
PERM2X64
Default
The switch type depends on which image of the Cisco IOS-700 software is
loaded. For example, if your image is c760-in.b-US.41-1, the default is 5ESS.
Command Mode
System mode
Usage Guidelines
Not all switch settings are available to all users. The switch type available
depends on the type of software loaded into the unit.
perm2x64 enables the router to use both of the 64-kbps data streams for
connecting to the remote end. In this mode, the B channels are bundled together
to total 128 kbps, with the help of Multilink PPP (MLP).
When the unit is set in PERM128 mode, only one PPP session runs at 128 kbps
and both B channels must be synchronized. PERM2X64 mode bundles the
B channels even if they are not synchronized.
Example
set timeout
To configure the amount of time the ISDN line remains idle before disconnecting,
use the set timeout command. This command sets the same parameter as the
timeout duration command.
SEt [link] TIMEout [seconds | OFf]
Syntax Description
link
seconds
Time (in seconds) that the ISDN line will remain idle before
disconnecting. Can be between 1 and 32767 seconds.
OFf
Default
Off
Command Mode
Profile mode
Example
Related Commands
demand
set aoctimeout
set auto
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set ringback
timeout
show negotiation
set transfer
To change the call conference feature access code, use the set transfer
command.
SEt TRansfer = accesscode
Syntax Description
accesscode
Default
9
Command Mode
System mode
Usage Guidelines
The following example changes the code used by the service provider to activate
the call:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set transfer = <EM&NBSP;STY
LE="FONT-STYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">67
set voicepriority
The set voicepriority command sets the voice priority mode. It determines if the
system will disconnect a B channel assigned to a data call to allow a voice call.
SEt VOicepriority [INcoming | OUtgoing] [INterface=PHONE1
| PHONE2] ALways | COnditional | NEver
Syntax Description
INcoming
OUtgoing
INterface
ALways
COnditional
Disables voicepriority; data calls are never bumped for voice calls.
Default
Always
Command Mode
System mode
Usage Guidelines
Voice priority can be set in a variety of ways. Table 5-4 lists the settings and the
modes for inbound calls.
Table 5-4 Inbound Voice Priority Modes
Inbound Calls
Mode
2 data channels
destination A
1 data channel to
destination A, 1 data
channel to
destination B
1 data channel to
destination A, but the
offered channel is
the one in use
Always
Bump 1 data
channel when
inbound call is
answered by going
off-hook
Bump 1 data
channel when
Conditional inbound call is
answered by going
off-hook
Never
Table 5-4 lists the settings and the modes for outbound calls.
Table 5-5 Outbound Voice Priority Modes
Outbound
Calls
1 data call to
destination A and
1 data call to
destination B
1 data call to
destination A, but the
telephone's channel is
the one in use
Mode
2 data calls to
destination A
Always
Conditional
Never
No bump; ring
busy
Example
The following example configures voice priority for incoming calls on both
telephone interfaces to conditional mode:
Host><SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">set voicepriority conditiona
l
show status
To display the current status of the ISDN line and both B channels, use the show
status command.
SHow STatus
Command Mode
Example
The following example shows output from the show status command:
Host> <SPAN&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">show status
Status
Line Status
Line Activated
Terminal Identifier Assigned
Port
Ch:1
Ch:2
Status
56K Call
64K Call
show voicerouting
To display the current settings of voice call routing, use the show voicerouting
command.
SHow VOicerouting
Note
Command Mode
System mode
Example
The following example shows the output from the show voicerouting command:
Host> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">show voicerouting
Interface VoicePriority VoicePriority
Call
Directory
In
Out
Waiting
Number
PHONE1
AlWAYS
CONDITIONAL
ON
6592651
6592655
6592667
PHONE2
ALWAYS
DOV
N/A
UNSPECIFIED N/A
timeout
CONDITIONAL
N/A
N/A
OFF
N/A
N/A
6592661
6592663
6592665
Ring
Cadence
1
2
3
1
2
3
To configure the parameters that specify when the ISDN line will be
disconnected, use the timeout command. This is an expanded version of the set
timeout command, which only allows you to specify duration.
TImeout link [THreshold= kbps] [DUration= seconds] [SOurce= WAn | LAn |
BOth]
Syntax Description
link
THreshold
Data rate in kbps. If the data rate falls below the specified threshold
for the specified duration, the ISDN line disconnects.
DUration
SOurce
WAn
LAn
BOth
Default
Profile mode
Usage Guidelines
If the set timeout command is configured to off, this command does not apply.
Example
The following example configures the router to disconnect the second channel if
the data rate from either the LAN or the ISDN line falls below 64 kbps for 60
seconds:
Host:2503> <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">timeout <EM&NBSP;STYLE="F
ONT-STYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">2 <B&NBSP;STYLE="FON
T-WEIGHT:&NBSP;BOLD">threshold <B&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">48 <B
&NBSP;STYLE="FONT-WEIGHT:&NBSP;BOLD">duration <EM&NBSP;STYLE="FONTSTYLE:&NBSP;ITALIC;&NBSP;FONT-WEIGHT:&NBSP;NORMAL">60 <B&NBSP;STYLE="FONTWEIGHT:&NBSP;BOLD">source both
Related Command
set timeout
unset permanent
To disable permanent connections and restore the parameters in the System
profile, use the unset link permanent command.
UNSEt link PErmanent
Syntax Description
link
Default
Off
Command Mode
Profile mode
Related Commands
set permanent
show demand
All contents are Copyright 1992--2003 Cisco Systems, Inc. All rights reserved.
Important Notices
By Jonathan Chin.
Sample Chapter is provided courtesy of Cisco Press.
Date: Apr 30, 2004.
Jonathan Chin dicussess basic Frame Relay operations on Cisco routers in a router-based Frame Relay
network. He also explains how to configure a basic frame relay network involving Cisco equipment and how
to perform basic monitoring and troubleshooting using relevant Cisco IOS show and debug commands.
Other Articles By Jonathan Chin.
The topics and questions that this chapter addresses include the following:
Configuring Frame Relay switching using a local significance approach to DLCI assignment
Configuring Frame Relay switching using a global significance approach to DLCI assignment
After completing this chapter, readers will be able to perform the basic Frame Relay configuration
commands with the Cisco IOS software. Readers will be able to configure a basic Frame Relay network
involving Cisco equipment and to perform basic monitoring and troubleshooting using relevant Cisco IOS
show and debug commands.
A basic setup involving the hardware configurations depicted in Figure 4-1 is used for this discussion and for
illustration purposes. In the later part of this chapter, additional hardware will be required to explain more
complex configuration tasks. In the setup used in this chapter, the Cisco routers are configured as Frame
Relay access devices, or data terminal equipment (DTE), connected directly to a dedicated Frame Relay
switch, or data circuit-terminating equipment (DCE). Note that Cisco routers can be configured to operate
similarly as a Frame Relay switch as well. The configuration tasks will be fully explained in a later section.
Figure 4-1 Frame Relay Hardware Configuration
NOTE
Different Cisco IOS software versions or releases may display slightly different outputs. To maintain
consistency of the Cisco IOS Software Version, IOS 12.2(1) release is loaded on all routers used in the
configuration examples of this chapter.
Example 4-1 displays the show output of the show version command on R1.
By Jonathan Chin.
Sample Chapter is provided courtesy of Cisco Press.
Date: Apr 30, 2004.
Step 2
The no form of the encapsulation frame-relay command removes the Frame Relay encapsulation on the
interface, as shown in Example 4-2. On a serial interface, the no encapsulation frame-relay command
causes the interface to revert to the default High-Level Data Link Control (HDLC) encapsulation. Moreover,
all preexisting Frame Relay configurations on the serial interface are automatically removed.
Example 4-5 Configuring Frame Relay Cisco and IETF Encapsulation at the
DLCI Level
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface serial 4/2
R1(config-if)#encapsulation frame-relay
R1(config-if)#frame-relay map ip 172.16.1.1 102 broadcast ietf
R1(config-if)#frame-relay map ip 192.168.1.1 103 broadcast cisco
After enabling Frame Relay encapsulation on the interface, it might be necessary to perform a no shutdown
command at the interface level to bring up the interface if it was previously in the shutdown mode. Verify the
status of the Frame Relay interface with the show interface type slot/port privileged EXEC mode command.
When the Frame Relay interface is operational, the interface is in the Interface is up, line protocol is up
state. Both configuration changes and the associated command output are illustrated in Example 4-6.