cc/td/doc/product/access/acs_fix/750
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Profile Commands

Profile Commands

This chapter describes the commands used to create, modify, delete, and display user-defined profiles. The commands to display profile information also apply to the permanent profiles. A discussion on how profiles are used in Cisco 700 series routers is located in Appendix B, "Using Profiles with Cisco 700 Series Routers."

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 you are returned to system mode.

Example

The following steps delete the user-defined profile named 2503:

Step 1 Enter the reset user command:

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 user
show user

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 a reboot is performed.

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:

Host> set active 2503 
Connection 2 opened
Related Commands

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 a reboot is performed.

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:

Host> set inactive 2503
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 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

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

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
Host:2503> 

The following example changes an outgoing profile to be optimized for incoming calls:

Host> set user 2503 incoming
Host:2503> 
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
Syntax Description

This command has no keywords or arguments.

Command Mode

System or profile mode

Example

The following example shows output from the show profile command for profile 2503:

Host:2503> show profile
Profile for user
    Ethernet Address 00 00 00 00 00 00
    Power Up         ACTIVATE
    Disconnect       KEEP

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

Table 3-2 lists the original command modifiers that can be unset.


Table 3-2: Unset Command Syntax Descriptionsn
Original Command Unset Command Syntax
set auto unset link auto
set bridging unset bridging
set caller ID unset callerid
set compression unset compression
demand unset link demand
set learn unset learn
set number unset link number
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
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 

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.