|
|
This chapter describes the commands you use to configure router security.
To log in to a remote router to make configuration changes, use the login command.
Syntax Description
| login | Used without an argument or keyword, this command enables you to log in to a router that is directly connected to your terminal through the console port.
If access to the router has been restricted with the set local access command, you will be required to enter the router's system password before making any configuration changes. |
| ipaddress | (Optional) Enables you to log in to a router on the same IP network or to a remote router connected across the ISDN line. The IP address must be in four-part dotted decimal format.
If access to the router has been restricted with the set remote access command, you will be required to enter the router's system password before making any configuration changes. |
| ethernetaddress | (Optional) Used with bridging. Enables you to log in to 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.
If access to the router has been restricted with the set remote access command, you will be required to enter the router's system password before making any configuration changes. |
| remote | (Optional) Used with Combinet Packet Protocol (CPP). Enables you to log in to a router connected across the ISDN line. This keyword should be used while in profile mode. |
Default
None
Command Mode
None
Usage Guidelines
You can only log in to a remote router that is directly connected to your terminal or that has an active ISDN or Ethernet connection to your local router. After five minutes of no activity, you will be logged out of the remote router. Use the logout command to manually log out of the remote router.
Example
The following example enables you to log in to a remote router across the ISDN connection using the remote router's IP address:
Host> login 150.150.50.25
Related Commands
logout
set local access
set remote access
To end any remote session initiated by the login command, use the logout command.
Syntax Description
This command does not contain any keywords or arguments.
Default
None
Command Mode
System level or in profile mode
Example
The following example ends a remote session initiated with the login command:
Host> logout
Related Command
login
To clear one or all router telephone numbers from which the router will receive callbacks, use the reset callback receive number command.
Syntax Description
| number | Deletes the specified remote router telephone number that has been entered with the set callback receive number command. |
| all | Deletes all remote router telephone numbers that have been entered with the set callback receive number command for the active profile. |
Default
None
Command Mode
Profile mode
Example
The following example deletes a telephone number of a remote router from which the router will accept callbacks:
Host:2503> reset callbackreceive 4085551234
Related Command
set callback receive number
reset caller id receive number
To delete one or all of the telephone numbers from which the router will receive calls when Caller ID is enabled, use the reset caller id receive number command:
Syntax Description
| number | Deletes the specified remote router telephone number that were entered with the set caller id receive number command. |
| all | Deletes all remote router telephone numbers that were entered with the set caller id receive number command. |
Default
None
Command Mode
System level
Example
The following example deletes a caller id receive number that has been entered with the set caller id receive number command:
Host> reset callidreceive 5559020
Related Command
set caller id receive number
To delete one or all of the host passwords, use the reset password command.
Syntax Description
| all | (Optional) Deletes all host passwords. |
Default
None
Command Mode
System level
Usage Guidelines
This command does not delete client or system passwords. See the following section, "Examples," for the procedure to change these passwords.
Examples
The following example deletes a single host password:
The following example deletes or changes client and system passwords:
To enable the Cisco router to disconnect an incoming call and then call back the remote router, use the set callback command.
Syntax Description
Default
off (disabled)
Command Mode
Profile mode
Usage Guidelines
For the Cisco router to call back to the remote router, the Cisco router uses the number configured in the remote router with the set ringback number command.
Example
The following example enables callback for the profile 2503:
Related Commands
set callback id
To enable the routers and to authenticate a caller before making a callback to the remote router, use the set callback id command:
Syntax Description
Default
off (disabled)
Command Mode
Profile mode
Usage Guidelines
Use the set callback command to enable the callback function before enabling this command.
Example
The following example enables callback authentication for the profile 2503:
Related Commands
set callback
To enter telephone numbers used for authentication when callback authentication is enabled, use the set callback receive number command.
Syntax Description
Default
No callback receive numbers are configured.
Command Mode
Profile mode
Usage Guidelines
To delete a callback receive number, use the reset callback receive number command.
Example
The following example configures a telephone number that will be authenticated before the Cisco router makes a callback on profile 2503's connection:
Related Commands
set callback
To enable ISDN Caller ID authentication, use the set caller id command.
Syntax Description
Default
off (disabled)
Command Mode
System level
Usage Guidelines
This configuration applies to all ISDN connections. Caller ID is a service offered by the ISDN service provider in which the calling router is authenticated by its telephone number.
Example
The following example enables Caller ID checking for all ISDN connections:
Related Command
set caller id receive number
To enter the ISDN telephone numbers from which the router will accept calls when Caller ID checking is enabled, use the set caller id receive number command.
Syntax Description
Default
No Caller ID receive numbers are configured.
Command Mode
System level
Usage Guidelines
To delete a telephone number set with this command, use the reset caller id receive number command.
Example
The following example enters the telephone number for a remote router that will be authenticated when Caller ID checking is enabled:
Related Commands
set caller id
To restrict commands that can be entered at the local configuration port, use the set local access command.
Syntax Description
See Table 5-1 for a summary of each keyword's security level.
Default
Enabled on for all commands
Command Mode
System level
Example
The following example configures local configuration access to protected:
Table 5-1 describes the set local access command settings.
Table 5-1 : Set Local Access Command Settings
Related Command
set password
To restrict remote configuration access to the router, use the set remote access command.
Syntax Description
Default
off
Command Mode
System level.
Example
The following example configures the router for protected remote access:
Table 5-2 describes the set remote access command settings.
Table 5-2 : Set Remote Access Command Settings
Related Command
set password
To set the PPP authentication that is performed for incoming and outgoing ISDN calls, use the set ppp authentication command.
Syntax Description
Defaults
incoming chap
Command Mode
System level or profile mode
Usage Guidelines
You can specify different authentication type. You may specify one, two, or all of the authentication options. They will be negotiated in the following order: chap, pap, none. If the none keyword is not specified and authentication fails, the call will be terminated.
Examples
The following example sets the router to use incoming PAP authentication for incoming calls.
The following example sets the router to use outgoing pap authentication for outgoing calls.
Related Command
set system name
set ppp callback request/reply
Use the set ppp callback request/reply command to set the callback mode for point-to-point encapsulation. This command ensures a level of callback security.
Syntax Description
Default
off (disabled)
Command Mode
Profile mode
Usage Guidelines
When the calling unit's request is set to On, the calling unit initiates a callback request. If the callback request is acknowledged by the called unit, the call will stay connected until one of the following occurs:
Example
The following example sets the profile to reply always:
Related Commands
set number
set security
set ringback
show security
To configure the passwords used during PAP and CHAP PPP authentication, use the set ppp password command.
Syntax Description
Default
No passwords or secrets are configured.
Command Mode
System level or profile mode
Usage Guidelines
Configure host passwords and secrets while in profile mode. Configure client passwords and secrets at the system level.
Examples
The following example configures the router with a PAP client password:
You have configured the Cisco router with a PAP client password.
The following example deletes the PAP client password:
You have deleted the Cisco router PAP client password.
Related Command
set ppp authentication
To set the password, use the set password command.
Syntax Description
Default
No passwords are configured.
Command Mode
System level (System Password)
Profile (Client Password)
Both (Host Password)
Usage Guidelines
The set password system command should be preceded with the set remote access command. After entering the command you will be prompted to enter the password. When configuring a host password, you will also be prompted for a user name to associate with the password. This user name can consist of a combination of 1 to 7 characters.
To delete or change passwords, use the reset password command.
Example
The following example configures a host password for profile 2503:
Related Command
reset password
To display the router's security configurations, use the show security command.
Syntax Description
Usage Guidelines
Use this command at the system level with the all keyword to display all security configurations. Use this command while in profile mode to display the security configurations for that profile.
Example
The following example shows output from the show security command at the system level:
Table 5-3 lists the significant fields shown in the display.
Table 5-3 : Show Security Field Descriptions
Copyright 1988-1996 © Cisco Systems Inc.
Host>
reset password client
Enter new Password: <host-password>
Host>
set password client
Enter new Password: <new-password>
Re-Type new Password: <new-password>
on
Enables callback.
off
Disables callback.
Host:2503> set callback on
set callback receive number
set ringback number
on
Enables callback authentication. The Cisco 750 series and the Cisco 760 series routers compare a calling router's telephone number to a list of numbers that it has configured with the set callback receive number command. If the remote router's telephone number matches one of these numbers, the Cisco router will make a callback to the remote router.
off
Disables callback authentication. If callback is enabled with the set callback command, the Cisco router will make a callback to the remote router without authenticating it.
Host:2503> set callbackid on
set callback receive number
number
Telephone number of any remote router that is authenticated before the Cisco router will make a callback. Use this command when the set callback id command is enabled. This number should contain any digits the Cisco router requires to complete the call to the remote router, for example access code and area code.
Host:2503> set callback receive 5551234
set callback id
reset callback receive number
on
Enables ISDN Caller ID authentication.
off
Disables ISDN Caller ID authentication.
Host> set callerid on
number
ISDN phone number of a remote router from which the router will accept calls when Caller ID checking is enabled with the set caller id command.
Host> set callidreceive 4085559020
reset caller id receive number
on
Sets commands to be performed without restriction.
partial
Sets commands to be performed with partial restrictions.
protected
Sets commands to be performed with system password only.
Host> set local access protected
Commands
On
Partial
Protected
call
See Note1
P2
demand
P
P
disconnect
P
help
P
log commands
P
login
logout
reboot
P
reset commands
P
P
set commands
P
P
show commands
P
software load
P
P
test commands
P
timeout
P
P
unset commands
P
P
upload
P
version
P
CD
P
Establish
P
Ping
P
Release
P
Unlearn
P
1 Note: An empty cell indicates that the command can be performed remotely without restrictions.
2 P indicates that a system password must be entered before performing the
set local
command at the local configuration port.
off
No remote login sessions are allowed.
protected
Sets commands to be performed with system password only.
partial
Sets commands to be performed with partial restrictions.
Host> set remote access protected
Commands
Partial
Protected
Off
call
See Note1
P2
X3
demand
P
P
X
disconnect
P
X
help
P
X
log commands
P
X
login
X
logout
X
reboot
P
X
reset commands
P
P
X
set commands
P
P
X
show commands
P
X
software load
P
P
X
test commands
P
X
timeout
P
P
X
unset commands
P
P
X
upload
P
X
version
P
X
CD
P
Establish
P
Ping
P
Release
P
Unlearn
P
1 Note: 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.
incoming
Applies the authentication method to incoming WAN calls.
outgoing
(Optional) Applies the authentication method to outgoing WAN calls.
chap
(Optional) Enables the challenge Handshake Authentication Protocol (CHAP) authentication. You must have a CHAP host secret configured with the set ppp password command and a User ID configured with the set system name command.
pap
(Optional) Enables Password Authentication Protocol (PAP) to be performed. You must have a PAP host password configured with the set ppp password command, and a User ID configured with the set system name command.
none
(Optional) No authentication is performed.
outgoing chap
Host>
set PPP
authentication
incoming pap
Host>
set PPP
authentication
outgoing pap
request
Specifies whether the router will request a callback when it receives or places a call.
reply
Specifies whether the router will agree to a callback when requested to do so by the remote router.
on
Enables callback.
off
Disables callback.
always
Forces callback at all times.
Host> set ppp callback reply always
password
Used for PAP authentication.
secret
Used for CHAP authentication.
host
Profile configurations used by the Cisco router to authenticate a remote router. The remote router's client password or secret must match the Cisco router's host password or secret.
client
Local system configurations used by the remote router to authenticate the Cisco router. The Cisco router's client password or secret must match the remote router's host password or secret.
Host>
set PPP password client
Enter new Password:
Re-Type new Password:
Host>
set PPP password client
Enter new Password:
<Return>
Re-Type new Password:
<Return>
host
Configures the host password that is used to authenticate remote ISDN calls when using CPP. The Cisco router compares its list of host passwords to the remote router's client password to authenticate the call. The host keyword can consist of a combination of 1 to 16 characters. The Cisco router can be configured with multiple host passwords. This keyword should be used while in profile mode. Any host password configured at the system level is inherited by all user-created profiles.
system
Configures the system password that is used to authenticate users requesting a local or remote configuration session. The system keyword can consist of a combination of 1 to 16 characters. The Cisco router can have one system password. This keyword should be used at the system level only.
client
Configures the client password that is sent by the router when making an ISDN connection When using CPP. The remote router compares the Cisco router's client password to its list of host passwords to authenticate the call.The client keyword can consist of a combination of 1 to 7 characters. The Cisco router can be configured with one client password per profile. This keyword should be used while in profile mode.
Host:2503>
set password host
Enter new Password: <password>
Re-Type new Password: <password>
Enter User Name:
JohnDoe
all
(Optional) In profile mode, displays all security configurations. This keyword has no effect when used in the profile mode.
Host> show security
System Parameters
Security
Access Status ON
System Password NONE
Remote Configuration PROTECTED
Local Configuration ON
Caller ID Security OFF
Caller Id Numbers
PPP Security
PAP Client Password NONE
CHAP Client Secret NONE
Profile Parameters
Callback ID Security OFF
CPP Security
Client Password NONE
Callback OFF
Callback Numbers
Profile Parameters
Callback ID Security OFF
CPP Security
Client Password NONE
Callback OFF
Callback Numbers
Field
Description
System Parameters
Security configurations that apply to the system level.
Access Status
Indicates if remote access is enabled. Can be On or Off.
System Password
Indicates if a system password has been entered with the set password system command. Can be none or exists.
Remote Configuration
Remote access restriction as configured with the set remote access command.
Local Configuration
Local configuration restriction as configured with the set local access command.
Caller ID Security
Indicates if Caller ID is enabled. Can be On or Off.
Caller ID Number
The phone numbers entered with the set caller id receive number command.
PPP Authentication In
The PPP authentication method used for incoming calls. Can be PAP, CHAP, none, or any combination of these three. Set with the set ppp authentication in command.
PAP Client Password
Indicates if a PAP client password has been entered with the set ppp password command. Can be none or exists.
CHAP Client Secret
Indicates if a CHAP client secret has been entered with the set ppp password command. Can be none or exists.
Profile Parameters
Security configurations that apply to the profile. If you are using the show security command at the system level, these configurations make up the profile template for security parameters.
Client Password
Indicates if a client password has been configured with the set password command. Can be none or exists.
Callback
Indicates if callback is enabled. Can be On or Off.
Callback ID Security
Indicates if callback authentication is enabled. Can be On or Off.
Callback Numbers
Numbers entered with the set callback id receive number command.
Number of Host Passwords
Number of host passwords that have been entered with the set password command.
Host Passwords
Lists the user names. An asterisk (*) indicates that a password exists for the user.
PPP Authentication out
PPP authentication method used for outgoing calls. Can be PAP, CHAP, none, or any combination of these three. Set with the set ppp authentication out command.
PAP Host Password
Indicates if a PAP host password has been entered with the set ppp password command. Can be none or exists.
CHAP Host Secret
Indicates if a CHAP host secret has been entered with the set ppp password command. Can be none or exists.
Callback Request
Indicates if the router will request a callback from the remote unit, can be on or off.
Callback Reply
Indicates if the router will perform a callback if requested to do so by the remote router, can be on or off.
![]()
![]()
![]()
![]()
![]()
![]()
![]()