EasyManuals Logo

Cisco WS-C6506 User Manual

Cisco WS-C6506
1488 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1435 background imageLoading...
Page #1435 background image
55-53
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 55 Configuring a VoIP Network
Using SmartPorts
Display an individual macro variable and all of the ports that it is applied by entering the show
macro variable name name_of_macro command as follows:
Console> (enable) show macro variable name $DATAVLAN
Variable Port Value Type
-------- ---- ----- ------
DATAVLAN 3/2 3 Per-port
DATAVLAN 3/3 5 Per-portGlobal
DATAVLAN NA 99 Global
Console> (enable)
Display an individual macro variable and a specific port that it is applied by entering the show
macro variable name name_of_macro mod/port command as follows:
Console> (enable) show macro variable name $DATAVLAN 3/2
Variable Port Value Type
-------- ---- ----- ------
DATAVLAN 3/2 3 Per-port
Console> (enable)
Display macro variables by macro name by entering the show macro variables name
name_of_macro mod/port command as follows:
Console> (enable) show macro variables name videophone 3/2
Variable-Name Variable Value Port
------------- -------------- -----
DATAVLAN 3 3/2
AUXVLAN 4 3/2
Console> (enable)
Clearing Macros and Macro Variables
When you clear a macro by entering the the clear macro name name_of_macro command, you clear the
commands from the macro and remove the macro from the switch. The configurations that were applied
using the macro that is being cleared are retained. If the macro that is being cleared is using any
variables, and if the variables are not being used by any other macros, the variables are automatically
cleared.
This section describes the various methods of clearing macros and macro variables:
The syntax is as follows:
clear macro name name_of_macro
clear macro all
clear macro variable [all] [name_of_variable] [mod/ports]
Clear an individual macro and its variables by entering the the clear macro name name_of_macro
command as follows:
Console> (enable) clear macro name videophone
Clearing macro videophone....
Cleared Macro videophone ....
Console> (enable)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco WS-C6506 and is the answer not in the manual?

Cisco WS-C6506 Specifications

General IconGeneral
BrandCisco
ModelWS-C6506
CategorySwitch
LanguageEnglish

Related product manuals