MES1000, MES2000 Ethernet Switches
45
login-banner
-/enabled
Enable login welcome messages.
no login-banner
Disable login welcome messages.
exec-banner
-/enabled
Enable exec welcome messages.
no exec-banner
Disable exec welcome messages.
5.3
Filtering of command line messages
Message filtering allows to reduce the amount of data shown in return to user requests and
facilitate the search of the necessary information. For information filtering, add '|' symbol at the end of
the command line and use one of the filtering options provided in the table
Table 5.6 —Global configuration mode commands
Method
Value/Default value
Action
begin
pattern
-
Show strings with first characters corresponding to the
pattern
template
include
pattern
Display all strings that contain the template
exclude
pattern
Display all strings that doesn't contain the template
5.4
Macrocommand configuration
This function allows to create the unified sets of commands—macros, that can be used later for
configuration purposes.
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#
Table 5.7 —Global configuration mode commands
Command
Value/Default value
Action
macro name [
word
]
(1..32) characters
Create a new command set, if the set with such name exists,
it will be overwritten. Commands are entered one line at a
time. Finish the macro with '@' character. Maximum macro
length—510 characters.
no macro name
word
Delete the selected macro.
macro global apply
word
(1..32) characters
Apply the selected macro.
macro global trace
word
(1..32) characters
Validate the selected macro.
macro global description
word
(1..160) characters
Create the global macro descriptor string.
no macro global description
Delete the descriptor string.
EXEC mode commands
Command line request in EXEC mode appears as follows:
console>
Table 5.8 —EXEC mode commands
Command
Action
macro apply
word
(1..32) characters
Apply the selected macro.
macro trace
word
Validate the selected macro.
show parser macro [
description [interface
{gigabitethernet
gi_port
|
fastethernet
fa_port
|
gi_port: (1..3/0/1..28);
fa_port: (1..3/0/1..24);
group: (1..8);
Show parameters of macros configured on the device.