|
|
This chapter describes the commands you use to create and configure user profiles.
To delete a profile, use the reset user command.
Syntax Description
| username | Name of the profile to be deleted. |
Default
None
Command Mode
System level or profile mode
Usage Guidelines
After you enter this command, you will be at the system level.
Example
The following steps delete profile 2503:
Related Command
set user
show user
To set a profile to active, use the set active command.
Syntax Description
Default
active
Command Mode
System level or profile mode
Usage Guidelines
Newly created profiles are inactive until activated, or until a reboot is performed.
Example
The following example configures profile 2503 to be active and opens a connection
Related Commands
set auto
To set a profile to inactive, use the set inactive command.
Syntax Description
Default
None
Command Mode
Profile mode
Example
The following example set the profile 2503 to be inactive.
To configure profile activity status after power on and call disconnect, use the set profile command:
Syntax Description
Default
powerup active
Command Mode
Profile mode
Example
The following example configures the profile 2503 to be inactive after the unit powers up and inactive after all physical links to the remote router are disconnected:
To associate the Ethernet address of a remote router with a profile, use the set profile id command (CPP only).
Syntax Description
Default
No Ethernet address is configured.
Command Mode
Profile mode for the profile you are configuring.
Example
The following example configures the profile 2503 with the Ethernet address of the remote router:
To create a new profile or modify an existing profile, use the set user command.
Syntax Description
Default
outgoing
Command Mode
System level or profile mode
Examples
The following example configures a new profile, 2503:
The following example changes an outgoing profile to be optimized for incoming calls:
Related Commands
set auto
To display the Ethernet address and activity status of the current profile, use the show profile command.
Syntax Description
This command has no keywords or arguments.
Default
None
Command Mode
Profile mode
Example
The following example shows output from the show profile command for profile 2503:
Table 4-1 describes the fields shown in the display.
Table 4-1 : Show Profile Field Descriptions
To return profile-configured parameters to the profile template value, use the unset command.
Syntax Description
Default
None
Command Mode
Profile mode
Table 4-2 : Unset Command Syntax Descriptions
Example
The following example returns the profile 2503's PPP client password to the profile template value:
Copyright 1988-1996 © Cisco Systems Inc.
Host:2503>
reset user 2503
Are you sure>
y
Host:2503>
active
Creates a virtual connection to the remote router associated with this profile. Incoming packets from the LAN cause a call to be made to the remote router (if on-demand dialing is enabled with the set auto command).
Incoming calls from the remote router associated with the profile use the profile's configurations. Whether the profile's state is active or inactive.
username
Username.
Host> set active 2503
Connection 2 opened
set user
inactive
Closes all virtual and physical connections to the remote router. Any calls in process will be disconnected.
Outgoing packets destined for the remote router associated with this profile will be ignored.
username
Username of the profile to be deactivated.
Host> set 2503 inactive
Connection 2 closed
power
(Optional) Profile activation state when the router is powered on
active
Profile becomes active when the router is powered on. Incoming packets from the LAN cause a call to be made to the remote router (if on-demand dialing is enabled with the set auto command). Incoming calls from the remote router associated with the profile use the profile's configurations. Depending on how the profile has been configured with the set profile command, the profile either is deactivated or remains active after the physical connection has been disconnected.
inactive
Profile is inactive when the router is powered on.
Outgoing packets destined for the remote router associated with this profile are ignored.
disconnect
(Optional) Profile activation state when the physical connection has been terminated.
deactivate
Profile becomes inactive when all the links of its physical connection are disconnected.
keep
Profile remains active when all the links of its physical connection are disconnected.
user
User (optional) used to change the name of an existing profile.
disconnect keep
Host:2503> set profile powerup inactive disconnect deactivate
ethernet address
Ethernet address of the remote router that is associated with the profile. Every profile using Combinet Packet Protocol (CPP) must have an Ethernet address entered with this command.
When it receives a call, the Cisco router uses the Ethernet address of the remote router to locate the correct profile to be used with the remote router.
Host:2503> set profile id 00000c0012ff
username
Name of profile. A profile name can be 1 to 20 characters. Names are case sensitive only when being displayed.
incoming
(Optional) Profile will be initialized for incoming calls only. Incoming profiles have the following default values:
· Powerup inactive (change with set profile command)
· Disconnect deactivate (change with set profile command)
· On-demand dialing off (change with set auto command)
If this keyword is not specified, the profile applies to both incoming and outgoing calls.
outgoing
(Optional) Profile will be initialized for incoming or outgoing calls. Outgoing profiles have the following default values:
· Powerup active (change with set profile command)
· Disconnect keep (change with set profile command)
· On-demand dialing on (change with set auto command)
Host> set user 2503 outgoing
Host> set user 2503 incoming
set profile
Host:2503> show profile
Profile for user
Ethernet Address 00 00 00 00 00 00
Power Up ACTIVATE
Disconnect KEEP
Field
Description
Ethernet Address
Ethernet address of the remote router associated with the profile. Configured with the set profile id command. (CPP only)
Powerup
Indicates whether the profile is active when the router is powered on. Configured with the set active command
Disconnect
Indicates whether the profile remains active after a physical connection to the remote router has been terminated. Configured with the set active command.
<*>
Indicates that the values shown apply to this profile only.
command parameter
Original command modifier used to configure the parameter. Refer to Table 4-2 for a complete list of all unset commands with the original command modifier.
Original Command
Unset Command Syntax
set auto
unset <link> auto
set bridging
unset bridging
set callback
unset callback
set callback ID
unset callbackid
set caller ID
unset callerid
set compression
unset compression
set cpp password client
unset cpp password client
demand
unset <link> demand
set encapsulation
unset encapsulation
set learn
unset learn
set number
unset <link> number
set CPP protocol
unset protocol
set ppp authentication
unset ppp authentication
set ppp callback
unset ppp callback
set ppp password host
unset ppp password host
set ppp secret host
unset ppp secret host
set passthru
unset passthru
set ringback
unset <link> ringback
set speed
unset speed
set timeout
unset <link> timeout
Host:2503> unset ppp client password
![]()
![]()
![]()
![]()
![]()
![]()
![]()