Cisco Systems OL-8978-02 manual Configuring a Macro within a Macro, 55-55

Page 55

Chapter 55 Configuring a VoIP Network

Using SmartPorts

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

Macro

-----

-----

3/2

videophone

Console> (enable)

 

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.

Note If there is a macro inside a macro definition and if the root macro is applied on a port, the root macro is displayed by entering the show macro map commands.

 

 

Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7

 

 

 

 

 

 

OL-8978-02

 

 

55-55

 

 

 

 

 

Image 55
Contents 55-1 A P T E R55-2 Cisco IP Phone55-3 55-4 55-5 Access GatewaysCisco CallManager Analog Station Gateway55-6 FXS Interface FeaturesAnalog Trunk Gateway Digital Trunk Gateway55-7 Digital Signal Processing Per T1/E1 PortConverged Voice Gateway Link Management55-8 How a Call Is Made55-9 Switch-to-Phone ConnectionsShow port inlinepower Voice-Related CLI CommandsCLI Commands Ethernet Module1 WS-X6608-T1/E12 WS-X6624-FXS3 Set port inlinepower Set inlinepower defaultallocationShow environment power Configuring Per-Port Power Management55-11 Show module mod Task Command55-12 Show version mod Power Management Modes55-13 Phone Class Required Power W Power Requirements55-14 Phone Removal Available PowerWall-Powered Phones Powering Off the PhoneHigh-Availability Support Phone Detection Summary55-16 55-17 Setting the Power Mode of a Port or a Group of PortsSetting the Default Power Allocation Set port inlinepower mod/port auto staticShow port inlinepower mod /port detail Set inlinepower notify-threshold percentage55-18 Console enable show environment power Displaying the Switch Power Environment for ModulesShow environment power mod Console show port inlinepower 4/1 detail55-20 Configuring the Auxiliary VLANs on Catalyst LAN SwitchesEnter the set port auxiliaryvlan mod/port auxvlanid command Understanding the Auxiliary VLANsUntagged dot1p none Auxiliary Vlan Configuration GuidelinesConfiguring the Auxiliary VLANs Set port auxiliaryvlan mod /ports vlan55-22 Verifying the Auxiliary Vlan ConfigurationDisabling the Auxiliary VLANs Until an IP Phone is Detected Keyword ActionConfiguring a Port Voice Interface Configuring the Access Gateways55-23 Show port voice fdl mod /port Displaying a Port Voice Interface ConfigurationDisplaying the FDL Statistics Show port voice interface mod /portShow port mod /port Displaying the Port Configuration for the Individual PortsConsole enable show port voice fdl 7/1-3 Field Description55-26 Port T1/E1 Pstn Interface ModuleConsole show port 55-27 55-28 Port FXS Analog Interface Module55-29 Displaying the Active Call InformationShow port voice active mod/port All call conference transcode ipaddrConsole show port voice active 55-30Console show port voice active 3/2 Understanding How QoS Works in the Cisco IP Phone Configuring QoS in the Cisco IP Phone55-31 Untrusted Configuring QoS in the Cisco IP PhoneSetting the Phone Access Port Trust Mode Set port qos mod/ports...trust-ext trusted55-33 Configuring a Trusted Boundary to Ensure Port SecuritySetting the Phone Access Port CoS Value Verifying the Phone Access Port QoS Configuration55-34 QoS and Cisco IP Phone ConfigurationQoS, Cisco IP Phone, and PC Configuration Supported Cisco IP Phones55-35 Trusted Boundary Configuration Guidelines55-36 Configuring a Trusted Boundary55-37 Default ConfigurationSpecifying a Cisco IP Phone as the Trust Device Verifying a Port’s Trust-Device State55-38 Understanding SmartPorts MacrosSmartPorts-Cisco Softphone SmartPorts-Cisco IP Phone55-39 SmartPorts Guidelines and Restrictions 55-41 Command DescriptionCiscoipphone Command Output CLI Interface for SmartPortsDetailed SmartPorts Statements Ciscosoftphone Command OutputConsole enable set port macro 3/1 ciscoipphone vlan Console enable set port macro 3/1 ciscosoftphone vlanKeyword Port Type How to Use SmartPorts in Your NetworkCiscoipphone Macro Statement Ciscosoftphone Macro StatementCiscorouter SmartPorts Template SmartPorts Enhancements in Software Release55-44 Set port macro mod/port ciscodesktop vlan vlan Ciscoswitch SmartPorts TemplateCiscodesktop SmartPorts Template 55-45Set port macro mod/port ciscosoftphone vlan nativevlan Ciscoipphone SmartPorts TemplateCiscosoftphone SmartPorts Template 55-4655-47 Configuring User-Definable SmartPorts MacrosGlobal SmartPorts Template Overview55-48 Using the CLI to Configure User-Definable SmartPorts MacrosConsole enable set macro name videophone Creating User-Defined MacrosDefining Variables Modifying Existing User-Defined Macros55-49 Applying a User-Defined Macro Using Special Variables55-50 Console enable set port macro 3/7 videophone Console enable set port macro 3/2 videophone55-51 55-52 Displaying MacrosDisplaying Macro Variables Show macro name nameofmacro show macro allClear macro name nameofmacro clear macro all Clearing Macros and Macro Variables55-53 Show macro map all name nameofmacro port mod/port Displaying Macro Port Mappings55-54 Console enable show macro map port 3/2 Configuring a Macro within a Macro55-55 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.