Cisco WS-C6506 Software Manual page 1434

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Using SmartPorts
Displaying Macros
This section describes the various methods of displaying macros:
Displaying Macro Variables
This section describes the various methods of displaying macro variables:
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
55-52
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)
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
--------
DATAVLAN
DATAVLAN
DATAVLAN
AUXVLAN
AUXVLAN
CDPVER
Console> (enable)
Port
Value
----
-----
3/2
3
3/3
5
NA
99
3/2
4
3/7
77
NA
v2
Chapter 55
Configuring a VoIP Network
Type
------
Per-port
Per-port
Global
Per-port
Per-port
Global
OL-8978-04

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents