Cisco Systems OL-8978-02 manual Clearing Macros and Macro Variables, 55-53

Page 53

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)

 

 

Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7

 

 

 

 

 

 

OL-8978-02

 

 

55-53

 

 

 

 

 

Image 53
Contents 55-1 A P T E R55-2 Cisco IP Phone55-3 55-4 Cisco CallManager Access GatewaysAnalog Station Gateway 55-5Analog Trunk Gateway FXS Interface FeaturesDigital Trunk Gateway 55-6Converged Voice Gateway Digital Signal Processing Per T1/E1 PortLink Management 55-755-8 How a Call Is Made55-9 Switch-to-Phone ConnectionsCLI Commands Ethernet Module1 WS-X6608-T1/E12 WS-X6624-FXS3 Voice-Related CLI CommandsSet port inlinepower Set inlinepower defaultallocation Show port inlinepower55-11 Configuring Per-Port Power ManagementShow environment power 55-12 Task CommandShow module mod 55-13 Power Management ModesShow version mod 55-14 Power RequirementsPhone Class Required Power W Wall-Powered Phones Available PowerPowering Off the Phone Phone Removal55-16 Phone Detection SummaryHigh-Availability Support Setting the Default Power Allocation Setting the Power Mode of a Port or a Group of PortsSet port inlinepower mod/port auto static 55-1755-18 Set inlinepower notify-threshold percentageShow port inlinepower mod /port detail Show environment power mod Displaying the Switch Power Environment for ModulesConsole show port inlinepower 4/1 detail Console enable show environment powerEnter the set port auxiliaryvlan mod/port auxvlanid command Configuring the Auxiliary VLANs on Catalyst LAN SwitchesUnderstanding the Auxiliary VLANs 55-20Configuring the Auxiliary VLANs Auxiliary Vlan Configuration GuidelinesSet port auxiliaryvlan mod /ports vlan Untagged dot1p noneDisabling the Auxiliary VLANs Until an IP Phone is Detected Verifying the Auxiliary Vlan ConfigurationKeyword Action 55-2255-23 Configuring the Access GatewaysConfiguring a Port Voice Interface Displaying the FDL Statistics Displaying a Port Voice Interface ConfigurationShow port voice interface mod /port Show port voice fdl mod /portConsole enable show port voice fdl 7/1-3 Displaying the Port Configuration for the Individual PortsField Description Show port mod /portConsole show port Port T1/E1 Pstn Interface Module55-26 55-27 55-28 Port FXS Analog Interface ModuleShow port voice active mod/port Displaying the Active Call InformationAll call conference transcode ipaddr 55-29Console show port voice active 3/2 55-30Console show port voice active 55-31 Configuring QoS in the Cisco IP PhoneUnderstanding How QoS Works in the Cisco IP Phone Setting the Phone Access Port Trust Mode Configuring QoS in the Cisco IP PhoneSet port qos mod/ports...trust-ext trusted UntrustedSetting the Phone Access Port CoS Value Configuring a Trusted Boundary to Ensure Port SecurityVerifying the Phone Access Port QoS Configuration 55-33QoS, Cisco IP Phone, and PC Configuration QoS and Cisco IP Phone ConfigurationSupported Cisco IP Phones 55-3455-35 Trusted Boundary Configuration Guidelines55-36 Configuring a Trusted BoundarySpecifying a Cisco IP Phone as the Trust Device Default ConfigurationVerifying a Port’s Trust-Device State 55-3755-38 Understanding SmartPorts Macros55-39 SmartPorts-Cisco IP PhoneSmartPorts-Cisco Softphone SmartPorts Guidelines and Restrictions Ciscoipphone Command Output Command DescriptionCLI Interface for SmartPorts 55-41Console enable set port macro 3/1 ciscoipphone vlan Ciscosoftphone Command OutputConsole enable set port macro 3/1 ciscosoftphone vlan Detailed SmartPorts StatementsCiscoipphone Macro Statement How to Use SmartPorts in Your NetworkCiscosoftphone Macro Statement Keyword Port Type55-44 SmartPorts Enhancements in Software ReleaseCiscorouter SmartPorts Template Ciscodesktop SmartPorts Template Ciscoswitch SmartPorts Template55-45 Set port macro mod/port ciscodesktop vlan vlanCiscosoftphone SmartPorts Template Ciscoipphone SmartPorts Template55-46 Set port macro mod/port ciscosoftphone vlan nativevlanGlobal SmartPorts Template Configuring User-Definable SmartPorts MacrosOverview 55-47Console enable set macro name videophone Using the CLI to Configure User-Definable SmartPorts MacrosCreating User-Defined Macros 55-4855-49 Modifying Existing User-Defined MacrosDefining Variables 55-50 Using Special VariablesApplying a User-Defined Macro 55-51 Console enable set port macro 3/2 videophoneConsole enable set port macro 3/7 videophone Displaying Macro Variables Displaying MacrosShow macro name nameofmacro show macro all 55-5255-53 Clearing Macros and Macro VariablesClear macro name nameofmacro clear macro all 55-54 Displaying Macro Port MappingsShow macro map all name nameofmacro port mod/port 55-55 Configuring a Macro within a MacroConsole enable show macro map port 3/2 55-56

OL-8978-02 specifications

Cisco Systems OL-8978-02 is a comprehensive training curriculum designed to enhance the skills and knowledge of network professionals seeking to advance their careers in network management and security. This curriculum offers a significant focus on Cisco networking technologies and concepts, ensuring that learners are well-equipped to handle the intricacies of modern network environments.

One of the primary features of OL-8978-02 is its in-depth coverage of foundational networking concepts, which are crucial for effective network administration. The curriculum includes detailed modules on networking fundamentals, such as OSI and TCP/IP models, LAN and WAN architectures, and network protocols. This solid foundation enables learners to understand how different networking components interact and function together, forming the backbone of corporate and enterprise environments.

In addition to foundational knowledge, OL-8978-02 integrates a strong focus on security technologies and practices. Considering the increasing prevalence of cyber threats, the course emphasizes the importance of implementing robust security measures. Participants will learn about firewalls, intrusion prevention systems, VPNs, and other critical security technologies. This focus ensures that learners are prepared to safeguard networks against evolving security threats, a necessity in today’s digital landscape.

Another distinguishing characteristic of the OL-8978-02 curriculum is its emphasis on hands-on experience. The program often includes practical labs and simulations, allowing participants to apply theoretical knowledge in real-world scenarios. This experiential learning approach is pivotal for solidifying skills and boosting confidence in network management tasks.

Furthermore, OL-8978-02 addresses the latest advancements in networking technology, including software-defined networking (SDN) and cloud computing. By introducing emerging technologies, this curriculum ensures that professionals remain ahead of the curve, ready to adapt to the future demands of networking.

Finally, Cisco Systems OL-8978-02 positions itself not only as an educational tool but also as a career catalyst, providing learners with skills that are highly sought after in the IT job market. Upon completion, participants often find themselves well-prepared for various Cisco certifications, which can enhance their employability and professional growth opportunities in a competitive landscape. Through its thorough approach, OL-8978-02 plays a vital role in shaping the next generation of network professionals.