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
|
Name of the profile to be deleted.
|
Default
None
Command Mode
System or profile mode
Usage Guidelines
The profile is removed and if you are in profile mode, you are returned to system mode.
Example
The following steps delete the user-defined profile named 2503:
Step 1
Enter the reset user command:
Host:2503> reset user 2503
Step 2
Enter y in response to the verification prompt:
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
|
When executed in system mode, the named profile is set to active. In profile mode, the username is not necessary; the profile from which the command is issued is set to active.
|
Default
None
Command Mode
System or profile mode
Usage Guidelines
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
The following example configures profile 2503 to be active and opens a connection:
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
|
Username of the profile to be deactivated.
|
Default
None
Command Mode
System or profile mode
Usage Guidelines
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
The following example sets the profile 2503 to be inactive:
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
|
Profile activation state when the router is powered on.
|
ACtive
|
Profile becomes active when the router is powered on. If a profile is set to 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.
|
INactive
|
Profile is inactive when the router is powered on. If a profile is set to inactive, outgoing WAN packets do not cause the router to dial out automatically. The call can be initiated manually with the call command. However, all incoming calls are answered.
|
DIsconnect
|
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
|
Use to change the name of an existing profile.
|
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> set profile powerup inactive 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
|
Ethernet address of a remote device associated with the profile. Every profile must have an Ethernet address entered with this command.
When the router receives a call, it uses the Ethernet address of a remote device to locate the correct profile.
|
Default
No Ethernet address configured.
Command Mode
Profile mode
Example
The following example configures the profile 2503 with the Ethernet address of the calling router:
Host:2503> set profile id 00000c0012ff
Related Commands
set auto
set user
set user
To create a new user-defined profile or modify the name of an existing user-defined profile, use the set user command.
SEt USer [username] [INcoming | OUTgoing]
Syntax Description
username
|
Name of the profile. A profile name can be 1 to 64 characters long. Names are case sensitive only when they are displayed and used for authentication.
|
INcoming
|
The profile is initialized for incoming calls only. The profile must have the following values:
• Powerup inactive (change with the set profile command)
• Disconnect deactivate (change with the set profile command)
• On-demand dialing off (change with the set auto command)
If this keyword is not specified, the profile applies to both incoming and outgoing calls.
|
OUTgoing
|
The profile is initialized for incoming or outgoing calls. The profile must have the following values:
• Powerup active (change with the set profile command)
• Disconnect keep (change with the set profile command)
• On-demand dialing on (change with the set auto command)
|
Usage Guidelines
In system mode, the command creates a new user-defined profile if a profile by that name does not already exist or changes the status of an existing profile. In profile mode, it changes the name and the status of the user-defined profile. The incoming and outgoing keywords are shortcuts for the set profile and set auto commands.
Default
Outgoing
Command Mode
System or profile mode
Examples
The following example configures a new profile named 2503:
Host> set user 2503 outgoing
The following example changes an outgoing profile to be optimized for incoming calls:
Host> set user 2503 incoming
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
System or profile mode
Example
The following example shows output from the show profile command for profile 2503:
Ethernet Address 00 00 00 00 00 00
Table 3-1 describes the fields shown in the display.
Table 3-1 Show Profile Field Descriptions
Field
|
Description
|
Ethernet Address
|
Ethernet address of the WAN switch associated with the profile. Configured with the set profile id command.
|
Powerup
|
Indicates whether the profile is active when the router is powered on. Configured with the set active command.
|
Disconnect
|
Indicates if the profile remains active after a physical connection to the WAN switch has been terminated. Configured with the set active command.
|
<*>
|
Indicates the value applies to this profile only.
|
unset
To return profile-configured parameters to the profile template value, use the unset command.
UNset commandparameter
Syntax Description
commandparameter
|
Original set command used to configure the parameter.
|
Default
None
Command Mode
Profile mode
Usage Guidelines
lists the original command modifiers that can be unset.
Table 3-2 Unset Command Syntax Description
Original Command
|
Unset Command Syntax
|
set link auto
|
unset link auto
|
set bridging
|
unset bridging
|
set callerid
|
unset callerid
|
set compression
|
unset compression
|
set link demand
|
unset link demand
|
set learn
|
unset learn
|
set link number
|
unset link number
|
set link permanent
|
unset link permanent
|
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 link ringback
|
unset link ringback
|
set speed
|
unset speed
|
set link timeout
|
unset link timeout
|
Example
The following example returns the PPP client password in the user-defined profile 2503 to the password in the profile template:
Host:2503> unset ppp password client