A SERVICE OF

logo

55-52
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-02
Chapter 55 Configuring a VoIP Network
Using SmartPorts
Displaying Macros
This section describes the various methods of displaying macros:
The syntax is as follows:
show macro name name_of_macro
show macro all
Display the definition of a macro by entering the show macro name name_of_macro command as
follows:
Console> (enable) show macro name videophone
The macro definition for videophone is:
set port enable #MODPORT
set vlan $DATAVLAN #MODPORT
set port auxiliaryvlan #MODPORT $AUXVLAN
Console> (enable)
Display the names of all the macros in the switch by entering the show macro all command as
follows:
Console> (enable) show macro all
Macro Names
-----------
fileserver
videophone
Console> (enable)
Displaying Macro Variables
This section describes the various methods of displaying macro variables:
The syntax is as follows:
show macro variable [all] [name name_of_macro] [mod/port]
show macro variables name name_of_macro mod/port
Display all the macro variables in the switch by entering the show macro variable all command as
follows:
Console> (enable) show macro variable all
Variable Port Value Type
-------- ---- ----- ------
DATAVLAN 3/2 3 Per-port
DATAVLAN 3/3 5 Per-port
DATAVLAN NA 99 Global
AUXVLAN 3/2 4 Per-port
AUXVLAN 3/7 77 Per-port
CDPVER NA v2 Global
Console> (enable)