Cisco WS-C6506 Software Manual page 1437

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

Advertisement

Chapter 55
Configuring a VoIP Network
Displaying the User-Definable SmartPorts Macro Configuration
The macro and variable definitions are stored in NVRAM and can be displayed by entering the show
config command as follows:
Console> (enable) show config
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
.
.
.
....................
begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Tue Mar 22 2005, 09:39:57
!
#version 8.5(0.52)JAC
!
!
#Macros
set macro name videophone
set port enable #MODPORT
set vlan $DATAVLAN #MODPORT
set port auxiliaryvlan #MODPORT $AUXVLAN
@
!
#Macro-Port mapping
set port macro 3/2 videophone
set port macro 3/7 videophone
!
.
.
.
Configuring a Macro within a Macro
You can have a macro within a macro definition. When the root macro is applied to a port, the macro
inside the root macro gets replaced by its definition and the root macro is applied to the port. You can
also have a static macro (such as ciscoswitch or ciscorouter) inside a user-defined macro definition.
If there is a macro inside a macro definition and if the root macro is applied on a port, the root macro is
Note
displayed by entering the show macro map commands.
OL-8978-04
Display the macro port mappings for a specific port by entering the show macro map port mod/port
command as follows:
Console> (enable) show macro map port 3/2
Port
-----
3/2
Console> (enable)
Macro
-----
videophone
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Using SmartPorts
55-55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents