Auto-Execute Command - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

auto-execute command

Syntax
View
Parameter
Description
Example
**************************************************************************
User interface con0 is available.
Please press ENTER.
# Enter <s> at the prompt of "Please press ENTER". You will see the terminal
session being started.
<Sysname>
%Mar
2 18:40:27:981 2005 Sysname SHELL/5/LOGIN: Console login from con0
auto-execute command command
undo auto-execute command
User interface view
command: Command to be automatically executed.
Use the
auto-execute command
executed automatically.
Use the
undo auto-execute command
By default, command auto-execution is disabled.
The auto-execute command command is supported on all types of user
interfaces except the Console port and the AUX port functioning as the console
port.
Once a command is configured using the auto-execute command command,
the system automatically executes the command when a user logs on from the
interface where the command is configured. After the command is completed, the
connection breaks automatically.
A good example is configuring the auto-execute command telnet command to
let users telnet to the specified host automatically.
c
CAUTION: The auto-execute command command may disable you from
configuring the system through the terminal line to which the command is
applied. Therefore, before configuring the command and saving it with the
configuration (using the save command), make sure that you can access the
system by other means to remove the configuration in case a problem occurs.
# Automatically execute the display brief interface loopback command after a
user logs on from the VTY 0 interface.
<Sysname> system-view
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] auto-execute command display brief interface loopback
% This action will lead to configuration failure through ui-vty0-4. Are you
command to specify a command to be
command to disable this feature.
2451

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents