Page 35
Chapter 55 Configuring a VoIP Network
Configuring VoIP on a Switch
Trusted Boundary Configuration Guidelines
This section describes the guidelines for configuring the trusted boundary:
•Common Open Policy Service (COPS) considerations
COPS directly affects how the QoS parameters are applied. A port may have either a local policy or a COPS policy. This setting specifies whether the port should get its QoS configuration information from the local configuration or through a COPS server. If COPS is enabled on a port and is also globally enabled, the policy that is specified by the COPS server applies. If COPS is disabled and/or the run-time policy is local, the local configuration QoS policy applies. The extended trust boundary feature overrides the “local” policy on a port.
•QoS configuration support
All the QoS port trust configuration settings are supported (trust-cos, trust-ipprec, trust-dscp), but you should use trust-cosfor the Cisco IP Phone networks.
•System log messaging
New QoS syslogs were added for the trusted boundary to notify you of the changes to a port’s trust state and to warn of improper configuration. To see these syslogs, set the QoS logging level to 5 (set logging level qos 5). The default is 3. Refer to the Catalyst 6500 Series System Message Guide for the descriptions of the syslogs.
•Final run-time port trust value
The final run-time port trust on any port is dependent on the following:
–Trusted boundary configuration
–Phone’s presence on the port
–QoS configuration
–COPS configuration
To enable the trusted boundary, you must enable QoS and you must enable CDP globally and on the port, running in version 2 mode. You must set COPS to local policy (the COPS default) or to disabled (the COPS default). When ciscoipphone is configured as the trust-device on the port, the feature is enabled and detects the presence of a Cisco IP Phone and sets the trust values.
See Figure 55-6to determine the final trust value on a port.
| | Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7 | | |
| | |
| OL-8978-02 | | | 55-35 | |
| | | |
Contents
55-1
A P T E R
55-2
Cisco IP Phone
55-3
55-4
55-5
Access Gateways
Cisco CallManager
Analog Station Gateway
55-6
FXS Interface Features
Analog Trunk Gateway
Digital Trunk Gateway
55-7
Digital Signal Processing Per T1/E1 Port
Converged Voice Gateway
Link Management
55-8
How a Call Is Made
55-9
Switch-to-Phone Connections
Show port inlinepower
Voice-Related CLI Commands
CLI Commands Ethernet Module1 WS-X6608-T1/E12 WS-X6624-FXS3
Set port inlinepower Set inlinepower defaultallocation
55-11
Configuring Per-Port Power Management
Show environment power
55-12
Task Command
Show module mod
55-13
Power Management Modes
Show version mod
55-14
Power Requirements
Phone Class Required Power W
Phone Removal
Available Power
Wall-Powered Phones
Powering Off the Phone
55-16
Phone Detection Summary
High-Availability Support
55-17
Setting the Power Mode of a Port or a Group of Ports
Setting the Default Power Allocation
Set port inlinepower mod/port auto static
55-18
Set inlinepower notify-threshold percentage
Show port inlinepower mod /port detail
Console enable show environment power
Displaying the Switch Power Environment for Modules
Show environment power mod
Console show port inlinepower 4/1 detail
55-20
Configuring the Auxiliary VLANs on Catalyst LAN Switches
Enter the set port auxiliaryvlan mod/port auxvlanid command
Understanding the Auxiliary VLANs
Untagged dot1p none
Auxiliary Vlan Configuration Guidelines
Configuring the Auxiliary VLANs
Set port auxiliaryvlan mod /ports vlan
55-22
Verifying the Auxiliary Vlan Configuration
Disabling the Auxiliary VLANs Until an IP Phone is Detected
Keyword Action
55-23
Configuring the Access Gateways
Configuring a Port Voice Interface
Show port voice fdl mod /port
Displaying a Port Voice Interface Configuration
Displaying the FDL Statistics
Show port voice interface mod /port
Show port mod /port
Displaying the Port Configuration for the Individual Ports
Console enable show port voice fdl 7/1-3
Field Description
Console show port
Port T1/E1 Pstn Interface Module
55-26
55-27
55-28
Port FXS Analog Interface Module
55-29
Displaying the Active Call Information
Show port voice active mod/port
All call conference transcode ipaddr
Console show port voice active 3/2
55-30
Console show port voice active
55-31
Configuring QoS in the Cisco IP Phone
Understanding How QoS Works in the Cisco IP Phone
Untrusted
Configuring QoS in the Cisco IP Phone
Setting the Phone Access Port Trust Mode
Set port qos mod/ports...trust-ext trusted
55-33
Configuring a Trusted Boundary to Ensure Port Security
Setting the Phone Access Port CoS Value
Verifying the Phone Access Port QoS Configuration
55-34
QoS and Cisco IP Phone Configuration
QoS, Cisco IP Phone, and PC Configuration
Supported Cisco IP Phones
55-35
Trusted Boundary Configuration Guidelines
55-36
Configuring a Trusted Boundary
55-37
Default Configuration
Specifying a Cisco IP Phone as the Trust Device
Verifying a Port’s Trust-Device State
55-38
Understanding SmartPorts Macros
55-39
SmartPorts-Cisco IP Phone
SmartPorts-Cisco Softphone
SmartPorts Guidelines and Restrictions
55-41
Command Description
Ciscoipphone Command Output
CLI Interface for SmartPorts
Detailed SmartPorts Statements
Ciscosoftphone Command Output
Console enable set port macro 3/1 ciscoipphone vlan
Console enable set port macro 3/1 ciscosoftphone vlan
Keyword Port Type
How to Use SmartPorts in Your Network
Ciscoipphone Macro Statement
Ciscosoftphone Macro Statement
55-44
SmartPorts Enhancements in Software Release
Ciscorouter SmartPorts Template
Set port macro mod/port ciscodesktop vlan vlan
Ciscoswitch SmartPorts Template
Ciscodesktop SmartPorts Template
55-45
Set port macro mod/port ciscosoftphone vlan nativevlan
Ciscoipphone SmartPorts Template
Ciscosoftphone SmartPorts Template
55-46
55-47
Configuring User-Definable SmartPorts Macros
Global SmartPorts Template
Overview
55-48
Using the CLI to Configure User-Definable SmartPorts Macros
Console enable set macro name videophone
Creating User-Defined Macros
55-49
Modifying Existing User-Defined Macros
Defining Variables
55-50
Using Special Variables
Applying a User-Defined Macro
55-51
Console enable set port macro 3/2 videophone
Console enable set port macro 3/7 videophone
55-52
Displaying Macros
Displaying Macro Variables
Show macro name nameofmacro show macro all
55-53
Clearing Macros and Macro Variables
Clear macro name nameofmacro clear macro all
55-54
Displaying Macro Port Mappings
Show macro map all name nameofmacro port mod/port
55-55
Configuring a Macro within a Macro
Console enable show macro map port 3/2
55-56