|
|
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.
To delete a profile, use the reset user command.
REset USer username
username | Name of the profile to be deleted. |
None
System or profile mode
The profile is removed and if you are in profile mode, you are returned to system mode.
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:
Are you sure> y Host>
If you do not want to delete the profile, enter n or press Return without responding to the request.
set active
set user
show profile
To set a profile to active, use the set active command.
SEt ACtive [username]
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. |
None
System or profile 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.
The following example configures profile 2503 to be active and opens a connection:
Host> set active 2503 Connection 2 opened
call
set auto
set inactive
set user
To set a profile to inactive, use the set inactive command.
SEt INACtive [username]
username | Username of the profile to be deactivated. |
None
System or profile 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.
The following example sets the profile 2503 to be inactive:
Host> set inactive 2503 Connection 2 closed
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. |
powerup active
disconnect keep
Profile mode
Incoming calls from a remote device associated with a profile cause that profile to become active regardless of the profile activity settings.
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
To associate the Ethernet address of a WAN switch with a profile, use the set profile id command.
SEt PROfile ID ethernetaddress
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. |
No Ethernet address configured.
Profile mode
The following example configures the profile 2503 with the Ethernet address of the calling router:
Host:2503> set profile id 00000c0012ff
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) |
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.
Outgoing
System or profile mode
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>
set auto
set profile
To display the Ethernet address and activity status of the current profile, use the show profile command.
SHow PRofileSystem or profile mode
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.
| 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. |
To return profile-configured parameters to the profile template value, use the unset command.
UNset commandparameter
commandparameter | Original set command used to configure the parameter. |
None
Profile mode
Table 3-2 lists the original command modifiers that can be unset.
| 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 |
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
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Jul 8 12:50:57 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.