Cisco Systems OL-8978-02 manual 55-51, Console enable set port macro 3/2 videophone

Page 51

Chapter 55 Configuring a VoIP Network

Using SmartPorts

Variable AUXVLAN successfully created

Console> (enable) set macro variable $AUXVLAN 77 3/7

Console> (enable) set macro variable $DATAVLAN 99

Console> (enable) set macro variable $CDPVER v2

Variable CDPVER successfully created

Console> (enable)

Step 3 Apply the macro on port 3/2 by entering the following commands:

Console> (enable) set port macro 3/2 videophone

Before the macro is applied, the $DATAVLAN and $AUXVLAN variables are replaced by “3” and “4,” respectively, and then the following commands are executed:

set port enable 3/2 set vlan 3 3/2

set port auxiliaryvlan 3/2 4 set cdp enable

set cdp version v2 set qos autoqos

Step 4 Apply the macro on port 3/7 by entering the following commands:

Console> (enable) set port macro 3/7 videophone

Before the macro is applied, the $AUXVLAN variable is replaced by “77.” $DATAVLAN is not defined for port 3/7, so the macro searches the list of global variables and finds $DATAVLAN. In this case, the $DATAVLAN variable is replaced by the global definition “99,” and then the following commands are executed:

set port enable 3/7 set vlan 99 3/7

set port auxiliaryvlan 3/7 77 set cdp enable

set cdp version v2 set qos autoqos

Follow these guidelines and restrictions when applying user-defined macros:

If you attempt to apply a macro on a port and the macro has a variable that is not defined in its definition, the macro is not applied on the port and an appropriate error message is displayed. This error response does not affect the definition of the macro.

If you attempt to apply a macro on a port and the macro has some valid and some invalid commands in its definition, the macro is still applied on the port and an appropriate error message is displayed when the invalid command is executed. This error response does not affect the definition of the macro.

When you apply a macro, a record of the macro being applied is not stored in the configuration file or NVRAM. However, each port has a record of the latest macro that was applied to it.

Once a macro is applied to a port, you cannot clear the macro. However, one way to back out a macro on a port is to define another macro that clears the configurations on the port and then apply the newly created macro on the port.

 

 

Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7

 

 

 

 

 

 

OL-8978-02

 

 

55-51

 

 

 

 

 

Image 51
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 defaultallocationConfiguring Per-Port Power Management Show environment power55-11 Task Command Show module mod55-12 Power Management Modes Show version mod55-13 Power Requirements Phone Class Required Power W55-14 Phone Removal Available PowerWall-Powered Phones Powering Off the PhonePhone Detection Summary High-Availability Support55-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 staticSet inlinepower notify-threshold percentage Show port inlinepower mod /port detail55-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 the Access Gateways Configuring a Port Voice Interface55-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 DescriptionPort T1/E1 Pstn Interface Module 55-26Console 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 ipaddr55-30 Console show port voice activeConsole show port voice active 3/2 Configuring QoS in the Cisco IP Phone Understanding How QoS Works 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 IP Phone SmartPorts-Cisco Softphone55-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 StatementSmartPorts Enhancements in Software Release Ciscorouter SmartPorts Template55-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 MacrosModifying Existing User-Defined Macros Defining Variables55-49 Using Special Variables Applying a User-Defined Macro55-50 Console enable set port macro 3/2 videophone Console enable set port macro 3/7 videophone55-51 55-52 Displaying MacrosDisplaying Macro Variables Show macro name nameofmacro show macro allClearing Macros and Macro Variables Clear macro name nameofmacro clear macro all55-53 Displaying Macro Port Mappings Show macro map all name nameofmacro port mod/port55-54 Configuring a Macro within a Macro Console enable show macro map port 3/255-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.