![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/5/b0/5b0416fe-9027-4e74-837f-0eb17e81ee27/5b0416fe-9027-4e74-837f-0eb17e81ee27-bg36.png)
55-54
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-02
Chapter 55 Configuring a VoIP Network
Using SmartPorts
• Clear all macros and their variables by entering the clear macro all command as follows:
Console> (enable) clear macro all
Clearing all macros....
All macros are cleared
Console> (enable)
• Clear an individual macro variable from all ports by entering the clear macro variable
name_of_variable command as follows:
Console> (enable) clear macro variable $DATAVLAN
Clearing variable $DATAVLAN for all mod/ports...
Deleting Variable: DATAVLAN ...
Cleared variable DATAVLAN
Console> (enable)
• Clear an individual macro variable from a single port by entering the clear macro variable
name_of_variable mod/ports command as follows:
Console> (enable) clear macro variable $AUXVLAN 3/7
Clearing variable $AUXVLAN for mod/port.3/7..
Console> (enable)
• Clear all macro variables from all ports as follows:
Console> (enable) clear macro variable all
Clearing all variables for all mod/ports...
All variables in the switch are cleared
Console> (enable)
Displaying Macro Port Mappings
This section describes the various methods of displaying macro port mappings:
• The syntax is as follows:
show macro map [all] [name name_of_macro] [port mod/port]
• Display all macro port mappings by entering the show macro map all command as follows:
Console> (enable) show macro map all
Port Macro
----- -----
3/2 videophone
3/7 videophone
Console> (enable)
• Display the macro port mappings for a specific macro by entering the show macro map name
name_of_macro command as follows:
Console> (enable) show macro map name videophone
Port Macro
----- -----
3/2 videophone
3/7 videophone
Console> (enable)