
MES3000 Ethernet switch series
41
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
pattern.
exclude
pattern
Display all strings that doesn't contain the
pattern
.
5.3
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
]
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
word: (1..32)
characters
Apply the selected macro.
macro global trace
word
word: (1..32)
characters
Validate the selected macro.
macro global description
word
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
Value/Default value
Action
macro apply
word
word: (1..32)
characters
Apply the selected macro.
macro trace
word
Validate the selected macro.
show parser macro
[description [interface
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
port-channel
group
}] | name
macro_name
]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4);
group: (1..24);
macro_name: (1..32)
characters
Show parameters of macros configured on the device.
Interface configuration mode commands
Command line request in interface configuration mode appears as follows:
console(config-if)#