Cisco WS C4224V 8FXS - 200Mbps Ethernet Switch Software Configuration Manual

Access gateway switch
Table of Contents

Advertisement

Quick Links

Catalyst 4224 Access Gateway
Switch Software Configuration
Guide
March 2003
Corporate Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel:
408 526-4000
800 553-NETS (6387)
Fax:
408 526-4100
Text Part Number: OL-2031-02

Advertisement

Table of Contents
loading

Summary of Contents for Cisco WS C4224V 8FXS - 200Mbps Ethernet Switch

  • Page 1 Catalyst 4224 Access Gateway Switch Software Configuration Guide March 2003 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Text Part Number: OL-2031-02...
  • Page 2 Net Readiness Scorecard, Networking Academy, and ScriptShare are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, The Fastest Way to Increase Your Internet Quotient, and iQuick Study are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX,...
  • Page 3 Obtaining Technical Assistance xxiii Cisco.com xxiii Technical Assistance Center xxiii Cisco TAC Website xxiv Cisco TAC Escalation Center Obtaining Additional Publications and Information Product Overview C H A P T E R Features Solution IP Telephony Ethernet Switching Survivable Remote Site Telephony...
  • Page 4: Table Of Contents

    Separate VLAN for Voice and Data 1-19 Port Configuration for a Single Subnet 1-19 InterVLAN and WAN Routing Configuration 1-20 Centralized Cisco CallManager and DHCP Server 1-20 Voice Port Configuration 1-21 Interface Range Command Support 1-22 Switched Port Analyzer (SPAN)
  • Page 5 Disabling a Command or Feature Saving Configuration Changes Configuring Ethernet Switching C H A P T E R Configuring the Catalyst 4224 for Cisco IP Telephony Default Switch Configuration Connecting IP Phones to Your Campus Network Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 6 3-13 Specifying a Domain Name and Configuring the DNS 3-13 Configuring Voice Ports 3-14 Configuring a Port to Connect to a Cisco 7960 IP Phone 3-15 Disabling Inline Power on a Catalyst 4224 3-15 Enabling and Disabling Switch Port Analyzer...
  • Page 7 Configuring E1 Interfaces 5-13 Where to Go Next 5-16 H.323 Gateway Configuration 5-16 Configuring T1-CAS Analog Emulation (H.323) 5-19 Managing Input Gain for Cisco IP Voice Applications 5-21 FXS Emulation Example 5-21 FXO Emulation Example 5-23 E&M Emulation Example 5-23...
  • Page 8 Contents ISDN BRI Configuration (H.323) 5-24 Configuring ISDN BRI Lines 5-26 ISDN BRI Provisioning by Switch Type 5-26 Defining ISDN Service Profile Identifiers 5-29 BRI Direct-Inward Dialing Configuration 5-29 Gateway 1 Configuration 5-30 Gateway 2 Configuration 5-31 T1/E1 Configuration (H.323) 5-31 Configuring T1 Interfaces 5-31...
  • Page 9 Contents Configure Real-Time Transport Protocol Header Compression Enable RTP Header Compression on a Serial Interface 6-11 Change the Number of Header Compression Connections 6-11 RTP Header Compression Configuration Example 6-11 Configure Custom Queuing 6-11 Configure Weighted Fair Queuing 6-12 Configure Number Expansion 6-12 Create a Number Expansion Table 6-13...
  • Page 10 Activating the Voice Port Sample Configuration Cisco 2600 Sample Configuration 7-10 FXS Module Sample Configuration 7-10 Displaying Cisco 2600 Configuration Values 7-11 Displaying FXS Module Configuration Values 7-12 Configuring Survivable Remote Site Telephony C H A P T E R...
  • Page 11 Troubleshooting Survivable Remote Site Telephony 8-10 Monitoring and Maintaining Survivable Remote Site Telephony 8-11 SRST Configuration Example 8-12 Implementing Fax over IP on Cisco Voice Gateways C H A P T E R Overview Fax Pass-Through Cisco Fax Relay Supported Platforms and Features...
  • Page 12 Contents Frame Relay Traffic Shaping 10-9 How It Works 10-10 Derived Rates 10-10 Configuration and Commands 10-11 Restrictions 10-12 Distributed Traffic Shaping 10-12 Prerequisites 10-12 How It Works 10-12 Configuration 10-13 Restrictions 10-14 Low-Latency Queueing 10-14 Configuring Encryption Services 11-1 C H A P T E R Configuring the Encryption Service Adapter 11-2...
  • Page 13 VLAN Support 12-3 Multilayer Switching Support 12-3 IPX Configuration 12-3 IBM SNA 12-4 The Cisco Four-Phase Model for SNA-to-IP Integration 12-4 Phase One: SNA Centric 12-6 Phase Two: IP Transport 12-7 Phase Three: IP Client 12-8 Phase Four: IP Centric...
  • Page 14 Contents interface vlan Syntax Syntax Description Defaults Command Modes Usage Guidelines Example monitor session Syntax Syntax Description Defaults Command Modes Usage Guidelines Examples spanning-tree Syntax Syntax Description Defaults Command Modes Usage Guidelines Example spanning-tree portfast Syntax Syntax Description Defaults Command Modes Usage Guidelines Example Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 15 Contents switchport access Syntax Syntax Description Defaults Command Modes Usage Guidelines Example switchport voice vlan A-10 Syntax A-10 Syntax Description A-10 Defaults A-11 Command Modes A-11 Usage Guidelines A-11 Example A-11 Synopsis of Basic VoIP Concepts A P P E N D I X VoIP Overview A Voice Primer How VoIP Processes a Typical Telephone Call...
  • Page 16 Contents VoIP Configuration Examples A P P E N D I X FXS-to-FXS Connection Using RSVP Configuration for Catalyst 4224 RLB-1 Configuration for Catalyst 4224 RLB-w Configuration for Catalyst 4224 RLB-e Configuration for Catalyst 4224 RLB-2 Linking PBX Users with E&M Trunk Lines Router San Jose Configuration Router Salt Lake City Configuration FXO Gateway to PSTN...
  • Page 17 Preface This preface contains these sections: Objectives, page xvii • Audience, page xviii • Organization, page xviii • Related Documentation, page xix • Conventions, page xx • Obtaining Documentation, page xxi • Obtaining Technical Assistance, page xxiii • Objectives This guide explains how to configure basic commands and scenarios for Ethernet switching, IP WAN routing, Voice over IP (VoIP), and IP telephony on the Catalyst 4224 Access Gateway Switch.
  • Page 18: Chapter 2 Configuring For The First Time

    This guide is intended for network administrators, engineers, and managers who need to understand the Catalyst 4224 system or configure the software. It is also intended for Cisco customer service representatives and system engineers. Organization This guide contains the following chapters:...
  • Page 19: Appendix B Synopsi Of Basic Voip Concept

    Catalyst 4224 Access Gateway Switch Hardware Installation Guide • Cisco IOS configuration guides and command references—Use these • publications to help you configure the Cisco IOS software. For information about MIBs, refer to the following URL: • http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 20 Preface Conventions Conventions This guide uses the following conventions: Convention Description boldface font Commands and keywords are in boldface. italic font Arguments for which you supply values are in italics. Elements in square brackets are optional. { x | y | z } Alternative keywords are grouped in braces and separated by vertical bars.
  • Page 21: Obtaining Documentation

    These sections explain how to obtain technical information from Cisco Systems. Cisco.com You can access the most current Cisco documentation on the World Wide Web at this URL: http://www.cisco.com/univercd/home/home.htm You can access the Cisco website at this URL: http://www.cisco.com...
  • Page 22: Ordering Documentation

    Ordering Documentation You can find instructions for ordering documentation at this URL: http://www.cisco.com/univercd/cc/td/doc/es_inpck/pdi.htm You can order Cisco documentation in these ways: Registered Cisco.com users (Cisco direct customers) can order Cisco product • documentation from the Networking Products MarketPlace: http://www.cisco.com/en/US/partner/ordering/index.shtml Registered Cisco.com users can order the Documentation CD-ROM •...
  • Page 23: Obtaining Technical Assistance

    Cisco.com offers a suite of interactive, networked services that let you access Cisco information, networking solutions, services, programs, and resources at any time, from anywhere in the world. Cisco.com provides a broad range of features and services to help you with these tasks: Streamline business processes and improve productivity •...
  • Page 24 If you are a Cisco.com registered user, and you cannot resolve your technical issues by using the Cisco TAC website, you can open a case online at this URL: http://www.cisco.com/en/US/support/index.html If you have Internet access, we recommend that you open P3 and P4 cases through the Cisco TAC website so that you can describe the situation in your own words and attach any necessary files.
  • Page 25: Obtaining Additional Publications And Information

    These classifications are assigned when severe network degradation significantly impacts business operations. When you contact the TAC Escalation Center with a P1 or P2 problem, a Cisco TAC engineer automatically opens a case. To obtain a directory of toll-free Cisco TAC telephone numbers for your country, go to this URL: http://www.cisco.com/warp/public/687/Directory/DirTAC.shtml...
  • Page 26 Packet magazine at this URL: http://www.cisco.com/en/US/about/ac123/ac114/about_cisco_packet_maga zine.html iQ Magazine is the Cisco monthly periodical that provides business leaders • and decision makers with the latest information about the networking industry. You can access iQ Magazine at this URL: http://business.cisco.com/prod/tree.taf%3fasset_id=44699&public_view=tru...
  • Page 27: Product Overview

    C H A P T E R Product Overview The Cisco Catalyst 4224 Access Gateway Switch (Catalyst 4224) is an integrated switch/router that provides Voice-over-IP (VoIP) gateway and IP telephony services to a small branch office. This section provides an overview of the Catalyst 4224.
  • Page 28 These cards can be shared with the Cisco 1600 series, Note Cisco 1700 series, Cisco 2600 series, and Cisco 3600 series platforms. The Catalyst 4224 supports Cisco IOS software feature sets from the Cisco IOS Release 12.1.4T. The following Cisco IOS images are available: IP Plus (standard) •...
  • Page 29 Solution The Catalyst 4224 can be deployed as part of a centralized call processing network with a Cisco CallManager and Survivable Remote Site Telephony (SRST) software that provides Ethernet switching, IP routing, VoIP gateway, and IP telephony services for a small branch office.
  • Page 30 12 Channels data PSTN In the diagram, a Cisco CallManager cluster at a central site uses Simple Client Control Protocol (SCCP) to control IP phones at two branch offices. In the branch VoIP network, a Catalyst 4224 acts as an H.323 gateway, interconnecting the analog devices, the PSTN, and IP WAN.
  • Page 31: Ethernet Switching

    The term IP telephony identifies a networking solution that integrates a switched LAN, the Cisco CallManager, and IP phones. The Catalyst 4224 is designed to work as part of a centralized Cisco CallManager network that supports up to 24 remote users. As part of an IP telephony solution,...
  • Page 32: Voip Gateway

    Cisco CallManager cluster. Configuration for this capability is done only once in the Cisco CallManager at the central site. VoIP Gateway Voice Over IP (VoIP) receives voice traffic at one location, converts it to TCP/IP packets for the benefits of toll-bypass, and transports the packets across the WAN to their destination.
  • Page 33: Ip Routing And Wan Features

    Chapter 1 Product Overview IP Routing and WAN Features Table 1-1 describes the voice interface cards supported by the Catalyst 4224. Table 1-1 Voice Interface Cards Module Description VIC-2FXS Two-port FXS voice/fax interface card VIC-2FXO Two-port FXO voice/fax interface card (North American version) VIC-2FXO-EU Two-port FXO voice/fax interface card (European...
  • Page 34 Onboard hardware encryption provides up to 10 times the performance of • software-only encryption by offloading the processing from the routing CPU Modular WIC interfaces that can be shared with the Cisco 1600 series, • Cisco 1700 series, Cisco 2600 series, and Cisco 3600 series platforms Table 1-2 describes the data interface cards supported by the Catalyst 4224.
  • Page 35: Quality Of Service

    (WRR), and type-of-service/class-of-service (ToS/CoS) mapping to ensure that QoS is maintained as packets traverse the network. To ease the deployment of QoS, the Catalyst 4224 supports Cisco QoS Policy Manager (QPM). QPM is a complete policy management tool that enables provisioning of end-to-end differentiated services across network infrastructures with converged voice, video, and data applications.
  • Page 36: Application Notes

    Product Overview Application Notes DES and 3DES software is controlled by U.S. export regulations on encryption Note products. For additional details visit the following URL: http://www.cisco.com/wwl/export/crypto/ Application Notes This section contains the following topics: Architecture, page 1-10 • DSP Allocation, page 1-11 •...
  • Page 37: Dsp Allocation

    The DSPs on the Catalyst 4224 do not perform transcoding and hardware conferencing. These services are performed at the central site by Cisco CallManager. The DSPs only support VoIP. They do not support Voice over Frame Relay (VoFR) and Voice over ATM (VoATM). The DSPs are not field upgradeable.
  • Page 38 Chapter 1 Product Overview Application Notes The DSPs compress and decompress packets based on codecs. The Catalyst 4224 supports the following codecs: G.711 a-law 64 Kbps • G.711 mu-law 64 Kbps • G.729 abr 8 Annex-A & B 8 Kbps •...
  • Page 39 Chapter 1 Product Overview Application Notes The two-Port FXS and FXO VIC uses two of the available four DSO • channels. The DSP is used when the VIC is plugged in, even if the ports are not configured. The eight-Port FXS Module uses eight DS0 channels or two DSPs, even if it •...
  • Page 40: Intervlan Routing

    The forwarding performance for interVLAN routing on the Catalyst 4224 is 35 Kpps for 64-byte packets. Fast Switching is the default switching path. The Catalyst 4224 supports Cisco Express Forwarding (CEF). Quality of Service The Catalyst 4224 can function as a Layer 2 switch connected to a Layer 3 router.
  • Page 41: Separate Voice And Data Vlans

    You cannot configure port-based QoS on the Layer 2 switch ports. Separate Voice and Data VLANs To be consistent with Cisco IP Telephony QoS design recommendations, you should configure separate voice and data VLANs. The following sample configuration shows how to configure separate voice and data VLANs.
  • Page 42: Layer 3 Qos

    IP phone is attached to the port via the CDP message exchange. Layer 3 QoS You can configure QoS on the Layer 3 CPU from the CLI, which is very similar to the interface on the Cisco 1750, Cisco 2600 series, and Cisco 3600 series routers. WAN QoS Queuing and Scheduling The Catalyst 4224 supports WAN QoS queuing and scheduling.
  • Page 43 Chapter 1 Product Overview Application Notes Differentiated services code point (DSCP) marking – IP Precedence – L2 Marking – L2 Matching – Match RTP – Network-based Application Recognition (NBAR) – Policy-based Routing (PBR) – QoS Preclassification for tunnels – Congestion Avoidance: •...
  • Page 44: Configuration Guidelines

    • Port Configuration for a Single Subnet, page 1-19 • InterVLAN and WAN Routing Configuration, page 1-20 • Centralized Cisco CallManager and DHCP Server, page 1-20 • • Voice Port Configuration, page 1-21 Interface Range Command Support, page 1-22 •...
  • Page 45: Separate Vlan For Voice And Data

    Separate VLAN for Voice and Data Unlike the Catalyst 3500, you do not need to preconfigure VLANs with a VLAN database command. To be consistent with Cisco IP Telephony QoS design guidelines, you should configure a separate VLAN for voice and data. The following example shows a recommended configuration.
  • Page 46: Intervlan And Wan Routing Configuration

    Voice VLAN ip address 10.6.1.1 255.255.255.0 ip helper-address 172.20.73.14 As an alternative, you could use the Cisco IOS DHCP server capabilities on the Catalyst 4224. The following sample configuration shows a configuration for the DHCP configuration options. C4224_SF(config)# ip dhcp pool SF...
  • Page 47: Voice Port Configuration

    Voice Port Configuration You configure voice ports on the Catalyst 4224 as you would in standard Cisco IOS software. The following sample configuration shows a configuration for the eight-port FXS Module: dial-peer voice 41 voip destination-pattern 1...
  • Page 48: Interface Range Command Support

    • Fractional PRI Configuration, page 1-24 • No Ring Back Tone Generated, page 1-25 • MTP Required on Cisco CallManager, page 1-26 • H323-Gateway VOIP Bind SRCADDR Command, page 1-27 • Port Fast Not Enabled on Trunk Ports, page 1-28 •...
  • Page 49: No Vtp Or Dtp Support

    Chapter 1 Product Overview Recommended Configurations Maximum Number of VLAN and Multicast Groups, page 1-29 • IP Multicast Support, page 1-29 • No VTP or DTP Support Using the interface switchport access or switchport trunk VLAN commands automatically creates a voice VLAN and data VLAN. If you require an additional VLAN beyond the voice and data VLAN when connecting to another switch, you must add it manually using the VLAN database command from the EXEC prompt.
  • Page 50: Trunking

    Chapter 1 Product Overview Recommended Configurations Trunking The Catalyst 4224 supports only dot1Q trunking. Dynamic Trunking Protocol (DTP) is not supported. A Catalyst switch that is trunked to the Catalyst 4224 must have the trunking mode set to either On or No negotiate and type dot1q. Fractional PRI Configuration The maximum of 16 channels are available for trunk voice ports.
  • Page 51: No Ring Back Tone Generated

    Progress IE in the setup. (Progress IE = 0.) The Catalyst 4224 does not generate ringback when it receives an alert from Cisco CallManager. You can avoid this situation and force the Catalyst 4224 to generate a ringback using the progress indicator commands on the VoIP and POTS dial-peer statements.
  • Page 52: Mtp Required On Cisco Callmanager

    This checkbox is located in the Catalyst 4224 H.323 Gateway Configuration page in Cisco CallManager to define an H.323 gateway. All Cisco IOS H.323 gateways with Cisco IOS 12.07 or later now support H.323 Version 2. You should not ordinarily enable this checkbox box when defining the Catalyst 4224 as an H.323 Gateway.
  • Page 53: H323-Gateway Voip Bind Srcaddr Command

    10.253.1.1 255.255.255.0 h323-gateway voip bind srcaddr 10.253.1.1 You must place the h323 bind interface command on the interface with the IP address that Cisco CallManager uses to define the H.323 gateway. Catalyst 4224 Access Gateway Switch Software Configuration Guide 1-27...
  • Page 54: Port Fast Not Enabled On Trunk Ports

    Chapter 1 Product Overview Recommended Configurations Port Fast Not Enabled on Trunk Ports You should configure ports as switched access ports. However, there may be implementations where your requirements dictate configuring ports as trunks and you want to standardize this configuration across all 24 ports. This is not the recommended configuration.
  • Page 55: Maximum Number Of Vlan And Multicast Groups

    Chapter 1 Product Overview Recommended Configurations frame-relay fragment 320 frame-relay ip rtp priority 16384 16383 170 Apply the map class to a frame relay sub interface. The following sample Step 2 configuration shows how to apply the map class: interface Serial0/0.300 point-to-point ip address 1.1.1.1 frame-relay interface-dlci 300 frame-relay class VOIP_256...
  • Page 56 Chapter 1 Product Overview Recommended Configurations Catalyst 4224 Access Gateway Switch Software Configuration Guide 1-30 OL-2031-02...
  • Page 57: Configuring For The First Time

    Configuring for the First Time This section describes the initial steps of configuring the Catalyst 4224 and outlines the features of the Cisco IOS command line interface (CLI). Use this tool when you configure Catalyst 4224 interfaces. This section contains the following topics: First-Time Configuration, page 2-1 •...
  • Page 58: Booting The Catalyst 4224

    The factory configures the Catalyst 4224 to automatically load a Cisco IOS image. The software configuration register in the Catalyst 4224 determines where to find the image. The factory sets this register to load the Cisco IOS image into boot flash memory from configuration register 0x0101. This register enables autoboot at register 0x0103.
  • Page 59: Connecting A Terminal

    IP address. By default, the Fast Ethernet interface does not route data traffic. Caution Cisco recommends that you do not override this default configuration. If the Ethernet 10/100 management port is up and an IP address has been configured, the Catalyst 4224 selects the IP address assigned to the 10/100 Ethernet management port.
  • Page 60: Interface Numbering

    Chapter 2 Configuring for the First Time First-Time Configuration If the selected network management IP address is removed or the interface or subinterface associated with this IP address is shut down, the Catalyst 4224 selects another IP address as a replacement. If all the interfaces are down or no IP address has been assigned to any interface or subinterface that is running, the IP address for network management is 0.0.0.0.
  • Page 61: Using The Cisco Ios Cli

    Cisco voice gateways straightforward because you will use the Cisco IOS CLI, with which you are familiar. If you have never used the Cisco IOS CLI, you should still be able to perform the configuration required using the instructions and examples provided in this guide.
  • Page 62: Getting Help

    You can continue to press the Up Arrow key for more commands. Command Modes The Cisco IOS interface is divided into different modes. Each command mode permits you to configure different components on your gateway. The commands available at any given time depend on which mode you are currently using.
  • Page 63 Chapter 2 Configuring for the First Time Using the Cisco IOS CLI Table 2-2 Common Command Modes (continued) Gateway Prompt Command Mode Access Method Displayed Exit Method Global configuration From the privileged EXEC To exit to privileged EXEC hostname (config)#...
  • Page 64: Disabling A Command Or Feature

    Chapter 2 Configuring for the First Time Using the Cisco IOS CLI In the following example, which uses the default prompt (router>), notice how the prompt changes after each command to indicate a new command mode: router> enable Password: <enable password>...
  • Page 65: Chapter 3 Configuring Ethernet Switching

    Configuring Ethernet Switching This section describes the Ethernet switching capabilities of the Catalyst 4224. These capabilities are designed to work as part of the Cisco IP Telephony solution. This section also outlines how to configure Ethernet ports on the Catalyst 4224 to support IP phones in a branch office on your network.
  • Page 66: Default Switch Configuration

    Connecting IP Phones to Your Campus Network There are three ways to connect an IP phone to a campus network. You can use a single cable, multiple cables, or the Cisco IP SoftPhone application running on a PC. (See Figure 3-1.)
  • Page 67: Configuring Ethernet Ports To Support Ip Phones And A Daisy-Chained Workstation

    Configuring Ethernet Switching Configuring Ethernet Ports to Support IP Phones and a Daisy-Chained Workstation For more information about Option 3, which entails the Cisco IP SoftPhone application, see the Cisco IP SoftPhone documentation library. The Cisco IP SoftPhone application was developed to provide clients with a phone that runs on software.
  • Page 68: Configuring Separate Voice And Data Subnets

    Configuring Separate Voice and Data Subnets For ease of network administration and increased scalability, network managers can configure the Catalyst 4224 to support Cisco IP phones such that the voice and data traffic reside on separate subnets. You should always use separate VLANs when you are able to segment the existing IP address space of your branch office.
  • Page 69: Voice Traffic And Vvid

    Chapter 3 Configuring Ethernet Switching Configuring Ethernet Ports to Support IP Phones and a Daisy-Chained Workstation Task Command Enter the privileged EXEC mode. A preset enable password may be required to enter this mode. Enter global configuration mode. configure terminal Enter the interface configuration mode and interface interface the port to be configured (for example,...
  • Page 70: Sample Configuration 1

    IP phone. This is done to obtain its IP address as well as the address of the TFTP server required for its configuration. Be aware that Cisco IOS supports a DHCP server function. If this function is used, the Catalyst 4224 serves as a local DHCP server and a helper address would not be required.
  • Page 71: Configuring A Single Subnet For Voice And Data

    Layer 3 classification is already handled because the phone sets the type of service (ToS) bits in all media streams to an IP Precedence value of 5. (With Cisco CallManager Release 3.0(5), this marking changed to a Differentiated Services Code Point [DSCP] value of EF.) However, to ensure that there is Layer 2 classification for admission to the multiple queues in the branch office switches, the phone must also use the User Priority bits in the Layer 2 802.1p...
  • Page 72 Network managers should ensure that existing subnets have enough available • IP addresses for the new Cisco IP phones, each of which requires a unique IP address. Administering a network with a mix of IP phones and workstations on the •...
  • Page 73: Sample Configuration

    You might want to use multiple ports to connect the IP phones (option 2 in Figure 3-1) if any of the following conditions apply to your Cisco IP telephony network: You are connecting IP phones that do not have a second Ethernet port for •...
  • Page 74: Sample Configuration

    Note option for some small branch offices due to the IP routing configuration. If the IP routing can handle an additional subnet at the remote branch, you can use Cisco Network Registrar and secondary addressing. Managing the Catalyst 4224 Access Gateway Switch This section illustrates how to perform basic management tasks on the Catalyst 4224 with the Cisco IOS command-line interface (CLI).
  • Page 75: Adding Trap Managers

    Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch Adding Trap Managers A trap manager is a management station that receives and processes traps. When you configure a trap manager, community strings for each member switch must be unique.
  • Page 76: Assigning Ip Information To The Switch-Procedure

    Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch gateway addresses. In addition, the switch must be able to access the BOOTP server through one of its ports. At startup, a switch without an IP address requests the information from the BOOTP server;...
  • Page 77: Removing An Ip Address

    Specifying a Domain Name and Configuring the DNS Each unique IP address can have an associated host name. Cisco IOS software maintains a cache of host name-to-address mappings for use by the EXEC mode commands connect, telnet, ping, and related Telnet support operations. This cache speeds the process of converting names to addresses.
  • Page 78: Configuring Voice Ports

    Domain names are pieced together with periods (.) as the delimiting characters. For example, Cisco Systems is a commercial organization that IP identifies by a com domain name, so its domain name is cisco.com. A specific device in this domain, such as the File Transfer Protocol (FTP) system, is identified as ftp.cisco.com.
  • Page 79: Configuring A Port To Connect To A Cisco 7960 Ip Phone

    Because a Cisco 7960 IP Phone also supports connection to a PC or other device, a port connecting a Catalyst 4224 to a Cisco 7960 IP Phone can carry a mix of traffic. There are three ways to configure a port connected to a Cisco 7960 IP Phone: All traffic is transmitted according to the default CoS priority (0) of the port.
  • Page 80: Enabling And Disabling Switch Port Analyzer

    A detection mechanism on the Catalyst 4224 determines whether it is connected to a Cisco 7960 IP Phone. If the switch senses that there is no power on the circuit, the switch supplies the power. If there is power on the circuit, the switch does not supply it.
  • Page 81: Enabling The Switch Port Analyzer

    Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch Enabling the Switch Port Analyzer Beginning in privileged EXEC mode, follow these steps to enable SPAN: Task Command Step 1 Enter global configuration mode. configure terminal Step 2 Enable port monitoring for a specific monitor session number destination source...
  • Page 82: Managing The Mac Address Tables

    Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch The Address Resolution Protocol (ARP) associates a host IP address with corresponding media or MAC addresses and VLAN ID. Taking an IP address as input, ARP determines the associated MAC address. Once a MAC address is determined, the IP-MAC address association is stored in an ARP cache for rapid retrieval.
  • Page 83: Mac Addresses And Vlans

    Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch Figure 3-3 Contents of the Address Table MAC Addresses and VLANs All MAC addresses are associated with one or more VLANs. An address can exist in more than one VLAN and have different destinations in each. Multicast addresses, for example, could be forwarded to port 1 in VLAN 1 and ports 9, 10, and 11 in VLAN 5.
  • Page 84: Adding Secure Addresses

    Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch Beginning in privileged EXEC mode, follow these steps to configure the dynamic address table aging time. Task Command Step 1 Enter global configuration mode. configure terminal Step 2 Enter the number of seconds that dynamic mac-address-table aging-time seconds...
  • Page 85 Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch You can enter a secure port address even when the port does not yet belong to a VLAN. When the port is later assigned to a VLAN, packets destined for that address are forwarded to the port.
  • Page 86: Adding And Removing Static Addresses

    Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch Adding and Removing Static Addresses A static address has the following characteristics: It is manually entered in the address table and must be manually removed. • It can be a unicast or multicast address. •...
  • Page 87 Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch Removing Static Addresses Beginning in privileged EXEC mode, follow these steps to remove a static address: Task Command Step 1 Enter global configuration mode. configure terminal Step 2 Enter the static MAC address, the interface, no mac-address-table static hw-addr [interface] interface...
  • Page 88 Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch Catalyst 4224 Access Gateway Switch Software Configuration Guide 3-24 OL-2031-02...
  • Page 89 For advanced configuration topics, refer to the Cisco IOS configuration guide and command reference publications. These publications are available on the Documentation CD-ROM or on Cisco.com. You can also order printed copies separately. Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 90: Configuring The Data Interfaces

    Chapter 4 Configuring the Data Interfaces Configuring the Host Name and Password Configuring the Host Name and Password One of your first configuration tasks is to configure the host name and set an encrypted password. Configuring a host name allows you to distinguish multiple Catalyst 4224s.
  • Page 91 Chapter 4 Configuring the Data Interfaces Configuring the Host Name and Password Task Command Step 6 Enter to prevent the exec-timeout 0 0 gwy1(config-line)# exec-timeout 0 0 Catalyst 4224’s EXEC facility from timing out if you do not type any information on the console screen for an extended period.
  • Page 92: Configuring The Fast Ethernet Interface

    Chapter 4 Configuring the Data Interfaces Configuring the Fast Ethernet Interface Exit global configuration mode and attempt to reenter it using the new enable Step 2 password: gwy1# exit gwy1 con0 is now available Press RETURN to get started. gwy1> enable Password: guessme gwy1# If you are having trouble, ensure that the Caps Lock function is off;...
  • Page 93 Chapter 4 Configuring the Data Interfaces Configuring the Fast Ethernet Interface To configure the Fast Ethernet interface, follow these steps: Task Command Step 1 Enter enable mode. gateway> enable Password: <password> Enter the password. gateway# You know you have entered enable mode when the prompt changes to gateway# Step 2...
  • Page 94: Configuring Asynchronous/Synchronous Serial Interfaces

    Chapter 4 Configuring the Data Interfaces Configuring Asynchronous/Synchronous Serial Interfaces Configuring Asynchronous/Synchronous Serial Interfaces This section describes how to configure the serial interfaces on your asynchronous/synchronous serial WIC. The asynchronous/synchronous serial WIC supports synchronous Note mode only. At this time, asynchronous mode is not supported. Before you begin, disconnect all WAN cables from the Catalyst 4224 to keep it Timesaver from running the AutoInstall process.
  • Page 95 Chapter 4 Configuring the Data Interfaces Configuring Asynchronous/Synchronous Serial Interfaces Task Command Step 4 Enter the interface configuration mode. gateway(config)# interface serial 1/0 You know you have entered interface configuration mode gateway(config-if)# when the prompt changes to gateway(config-if)#. Step 5 Assign the IP address and subnet mask to the interface.
  • Page 96 Chapter 4 Configuring the Data Interfaces Configuring Asynchronous/Synchronous Serial Interfaces Task Command Step 10 Exit back to global configuration mode. gateway(config-if)# exit If your Catalyst 4224 has more that one serial interface that you need to configure, repeat Step 4 through Step 9. Step 11 When you finish configuring the interface, return to enable gateway(config)# Ctrl-z...
  • Page 97: Configuring Isdn Bri Interfaces

    Chapter 4 Configuring the Data Interfaces Configuring ISDN BRI Interfaces 14400 bps • 19200 bps • 28800 bps • 32000 bps • 38400 bps • 56000 bps • 57600 bps • 64000 bps • 72000 bps • 115200 bps • 125000 bps •...
  • Page 98 Chapter 4 Configuring the Data Interfaces Configuring ISDN BRI Interfaces To configure ISDN BRI interfaces, perform the following steps: Task Command Step 1 Enter enable mode. gateway> enable < > Password: password Enter the password. gateway# You know you have entered enable mode when the prompt changes to gateway# Step 2...
  • Page 99 Chapter 4 Configuring the Data Interfaces Configuring ISDN BRI Interfaces Task Command Step 9 By default, the Catalyst 4224 allocates 25 percent of gateway(config)# memory-size iomem 40 DRAM to shared memory (used for data transmitted (or received) by WAN interface cards). Specifying increases shared memory from 25 memory-size iomem 40 percent to 40 percent.
  • Page 100: Configuring T1 And E1 Interfaces

    Chapter 4 Configuring the Data Interfaces Configuring T1 and E1 Interfaces Configuring T1 and E1 Interfaces This section describes how to configure a T1/E1 multiflex trunk interface on your Catalyst 4224. It describes a basic configuration, including how to enable the interface and to specify IP routing.
  • Page 101 Specify the T1 framing type. The framing type defines the gateway(config-controller)# framing esf control bits and data bits. Cisco supports super frame (SF) and extended super frame (ESF) for T1s. SF is used in channel-bank robbed bit signalling (RBS) configurations. SF uses the framing bit to identify the channel and voice-related signaling within the frame.
  • Page 102 Specify the T1 framing type. The framing type defines the gateway(config-controller)# framing esf control bits and data bits. Cisco supports super frame (SF) and extended super frame (ESF) for T1s. SF is used in channel-bank robbed bit signalling (RBS) configurations. SF uses the framing bit to identify the channel and voice-related signaling within the frame.
  • Page 103 Chapter 4 Configuring the Data Interfaces Configuring T1 and E1 Interfaces Task Command Step 9 Specify the channel group and time slots to be mapped. gateway(config-controller)# channel-group 0 timeslots When configuring a T1 data line, channel-group numbers 1,3-5,7 can be values from 0 to 23. Time slots are assigned to channels.
  • Page 104: Configuring E1 Interfaces

    Chapter 4 Configuring the Data Interfaces Configuring T1 and E1 Interfaces Configuring E1 Interfaces To configure a new E1 interface (balanced or unbalanced) or to change the configuration of an existing interface, perform these steps: Task Command Step 1 Enter enable mode. gateway>...
  • Page 105 Chapter 4 Configuring the Data Interfaces Configuring T1 and E1 Interfaces Task Command Step 8 Specify the channel group and time slots to be mapped. gateway(config-controller)# channel-group 0 timeslots When configuring a E1 data line, channel-group numbers 1,3-5,7 can be values from 0 to 30. Time slots are assigned to channels.
  • Page 106: Checking The Interface Configuration

    Chapter 4 Configuring the Data Interfaces Checking the Interface Configuration Checking the Interface Configuration After configuring the new interface, you can perform the following tests to verify that the new interface is operating correctly: Display the Catalyst 4224 hardware configuration with the show version •...
  • Page 107: Saving Configuration Changes

    Chapter 4 Configuring the Data Interfaces Saving Configuration Changes Saving Configuration Changes To prevent the loss of the Catalyst 4224 configuration, you need to save it to NVRAM. To save configuration changes, perform these steps: Task Command Step 1 Enter enable mode. gateway>...
  • Page 108 Chapter 4 Configuring the Data Interfaces Saving Configuration Changes Catalyst 4224 Access Gateway Switch Software Configuration Guide 4-20 OL-2031-02...
  • Page 109: Configuring The Voice Interfaces

    Configuring Voice Interfaces Use a voice interface card (VIC) for a voice connection. For information about installing these components in a Catalyst 4224, refer to the Cisco Catalyst 4224 Access Gateway Switch Hardware Installation Guide. For an explanation about how these components work and how they are identified, see the “First-Time...
  • Page 110 Chapter 5 Configuring the Voice Interfaces Configuring Voice Interfaces When you start a Catalyst 4224, it automatically detects the voice network modules and VICs that have been installed. The first time you use a Catalyst 4224, you need to configure each voice port that you want to enable. If you replace a card after you configure each port, the gateway will recognize the new hardware component and use the previous configuration settings.
  • Page 111: Mgcp Configuration

    Cisco CallManager 3.1 online help and to Configuring Cisco IP Telephony Gateways, available online at Cisco.com. With Cisco CallManager 3.0, you must configure each voice port for MGCP on the Catalyst 4224 and then duplicate this configuration in Cisco CallManager Administration.
  • Page 112: Enabling Mgcp

    T1/E1 Configuration (H.323), page 5-31 • Where to Go Next, page 5-16 • For more information on using MGCP with Cisco CallManager 3.0, refer to the Cisco CallManager 3.0 online help and to Configuring Cisco IP Telephony Gateways. Enabling MGCP To configure the Catalyst 4224 so that it can be controlled by Cisco CallManager Release 3.0 using MGCP, you must identify the primary...
  • Page 113: Enabling Switchover And Switchback

    DNS host name or dotted decimal format, and hostname2 identifies the second backup Cisco CallManager server. If you configure one or two backup Cisco CallManager servers, you can control how the gateway behaves if the primary server becomes unavailable at some point and then later becomes available again.
  • Page 114 Permitted values range from 1 to 1440 (1 minute to 24 hours). You can also manually redirect a Cisco voice gateway to the backup Cisco CallManager server by entering the following command: Gateway(config)#ccm-manager switchover-to-backup Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 115 MGCP Configuration The switchover occurs immediately with a manual redirect. This command does not switch the gateway to the backup Cisco CallManager server if you have the switchback option set to immediate and the primary Cisco CallManager server is still running.
  • Page 116: Configuring Fxs And Fxo Analog Ports

    Use the application MGCPAPP command to place the port under control of the Cisco CallManager MGCP call agent. For example, the following command string configures voice port 0 in voice...
  • Page 117 Chapter 5 Configuring the Voice Interfaces MGCP Configuration To configure T1-CAS E&M emulation with MGCP using Cisco CallManager Administrator, perform the following steps and configure the route pattern and dial plan: Identify the port number and then enter the configuration information provided by...
  • Page 118: Configuring T1/E1 (Isdn-Pri) Ports

    Configuring T1/E1 (ISDN-PRI) Ports To configure an E1/T1 multiflex interface with ISDN-PRI signaling, use the Cisco IOS command line interface to perform the procedures in this section. Configuring T1 Interfaces To configure a new T1 interface or to change the configuration of an existing...
  • Page 119 Configure the PRI port by entering the following command: Step 3 Gateway(controller-t1)# pri-group timeslots 1-24 service mgcp Bind Layer 3 to the Cisco CallManager for PRI Q.931: Step 4 Gateway(config-if)# isdn bind-l3 ccm-manager This command backhauls (tunnels) ISDN Layer 3 and above to the Cisco CallManager.
  • Page 120 The ISDN lower layer information (Q.921 and below) is terminated and processed on the gateway. The Layer 3 information (Q.931 and above) is transported over TCP to the Cisco CallManager (MGCP call agent). Enable MGCP for the port by entering the following commands:...
  • Page 121: Configuring E1 Interfaces

    Chapter 5 Configuring the Voice Interfaces MGCP Configuration Sample Configuration The following example shows the overall configuration required to enable MGCP on a T1/PRI line: isdn switch-type primary-5ess controller T1 1/0 framing crc4 linecode hdb3 pri-group timeslots 1-24 service mgcp interface Serial1/0:23 no ip address no logging event link-status...
  • Page 122 Configure the PRI port by entering the following command: Step 3 Gateway(controller-e1)# pri-group timeslots 1-31 service mgcp Bind Layer 3 to the Cisco CallManager for PRI Q.931: Step 4 Gateway(config-if)# isdn bind-l3 ccm-manager backhaul q931 This command backhauls (tunnels) ISDN Layer 3 and above to the Cisco CallManager.
  • Page 123 Chapter 5 Configuring the Voice Interfaces MGCP Configuration This command displays information about the status of the PRI backhaul link and the status of any PRI D channels in the gateway. The following example shows the type of information the system displays. Example 5-4 PRI Backhaul Status PRI Backhaul link info:...
  • Page 124: Where To Go Next

    H.323 Gateway Configuration Where to Go Next At this point, make sure that Cisco CallManager is properly configured to provision the voice gateway and to configure MGCP endpoints or H.323 route patterns as required. Refer to the documentation and online help provided with Cisco CallManager.
  • Page 125 Chapter 5 Configuring the Voice Interfaces H.323 Gateway Configuration Perform the following steps to complete H.323 configuration: Identify the port number and enter line-specific information provided by your Step 1 local carrier, as described in the following sections: Configuring T1-CAS Analog Emulation (H.323), page 5-19 •...
  • Page 126 For instance, you can direct all incoming calls starting with specific digits, such as 525, to a Cisco CallManager configured as an H.323 endpoint. You might direct all calls starting with a 9 to voice ports connected to the Public Switched Telephone Network (PSTN), or direct all calls beginning with an 8 to a private branch exchange (PBX).
  • Page 127: Configuring T1-Cas Analog Emulation (H.323)

    The number of digits that you substitute for pattern plus the number of periods in the wildcard (...) must match the total number of digits configured for use by the Catalyst 4224 in Cisco CallManager Administration. Also, remember that the numbers that you substitute for pattern are removed by the Catalyst 4224. When the call is forwarded to the destination number, only the digits in the position of the wildcard pattern (...) are received by the destination endpoint.
  • Page 128 Chapter 5 Configuring the Voice Interfaces Configuring T1-CAS Analog Emulation (H.323) Identify the port number and then enter the configuration information provided by Step 1 your telco, as in the following example: c4224(config)# controller T1 1/port# c4224(config-controller)# framing esf c4224(config-controller)# clock source internal c4224(config-controller)# linecode b8zs Assign time slots to the DS-0 group and identify the emulation type.
  • Page 129: Managing Input Gain For Cisco Ip Voice Applications

    When using the FXO ports on a Catalyst 4224, set the input gain to a value provides adequate audio quality for Cisco IP voice applications or the Cisco 7960 IP Phone. Input gain values higher than 12 may cause dual tone multifrequency (DTMF) recognition difficulties.
  • Page 130 Configuring the Voice Interfaces Configuring T1-CAS Analog Emulation (H.323) endpoints on a Catalyst 4224. If you configure Cisco CallManager as an H.323 endpoint, you must use Cisco CallManager Administration to define the route patterns required to route calls to the Catalyst 4224.
  • Page 131: Fxo Emulation Example

    To use FXO emulation to connect the T1-CAS port to the PSTN, you must have Direct Inward Dialing (DID) enabled on incoming DS-0 groups. DID allows the gateway or Cisco CallManager to identify the extension to which each call on an incoming DS-0 group is directed. Because DID only works on incoming connections, you must have separate DS-0 groups allocated for incoming and outgoing calls.
  • Page 132: Isdn Bri Configuration (H.323)

    Chapter 5 Configuring the Voice Interfaces ISDN BRI Configuration (H.323) calls to and from the PBX to which the gateway is connected. The commands required to make these changes are shown below (all the extensions on the PBX begin with the prefix 625): c4224(config-controller)# dso-group 0 timeslots 1 type e&m-immediate-start c4224(config)# dial-peer voice 1 pots...
  • Page 133 0/0 c4224(config-if)# isdn switch-type basic-5ess For details about configuring Cisco CallManager, refer to the Cisco CallManager Administration Guide. After completing these steps, configure the route pattern and dial plan and...
  • Page 134: Configuring Isdn Bri Lines

    Chapter 5 Configuring the Voice Interfaces ISDN BRI Configuration (H.323) Configuring ISDN BRI Lines Before using a Catalyst 4224 with an ISDN BRI interface, you must order a correctly configured ISDN BRI line from your local telecommunications service provider. The ordering process varies from provider to provider and from country to country;...
  • Page 135 Chapter 5 Configuring the Voice Interfaces ISDN BRI Configuration (H.323) Table 5-4 ISDN Provisioning by Switch Type Switch Type Provisioning 5ESS Custom BRI For voice only: (Use these values only if you have an ISDN telephone • connected.) 2 B channels for voice •...
  • Page 136 Chapter 5 Configuring the Voice Interfaces ISDN BRI Configuration (H.323) Table 5-4 ISDN Provisioning by Switch Type (continued) Switch Type Provisioning 5ESS National ISDN (NI-1) BRI Terminal type = A • 2 B channels for voice • 2 directory numbers assigned by service provider •...
  • Page 137: Defining Isdn Service Profile Identifiers

    Currently, only DMS-100 and NI-1 switch types require SPIDs. Two SPIDs are assigned for the DMS-100 switch type, one for each B channel. The AT&T 5ESS switch type might support SPIDs, but Cisco recommends that you set up that ISDN service without SPIDs.
  • Page 138: Gateway 1 Configuration

    Chapter 5 Configuring the Voice Interfaces ISDN BRI Configuration (H.323) In this example, a call comes in to Catalyst 4224 1 on the BRI port. The DID information allows the Catalyst 4224 to route the call based on the called number. If the called number is 2xxx, the call is routed to Catalyst 4224 2000;...
  • Page 139: Gateway 2 Configuration

    Chapter 5 Configuring the Voice Interfaces T1/E1 Configuration (H.323) Gateway 2 Configuration dial-peer voice 1 pots port 1/0/0 destination-pattern 2000 T1/E1 Configuration (H.323) To configure an ISDN PRI interface or T1/E1 multiflex trunk interface on your Catalyst 4224, use configuration mode. This section contains the following topics: Configuring T1 Interfaces, page 5-31 •...
  • Page 140 Chapter 5 Configuring the Voice Interfaces T1/E1 Configuration (H.323) Specify which end of the circuit provides clocking. c4224(config-controller)# clock source line The clock source should be set to use internal clocking only for testing the network or if the full T1 line is used as the channel group. Only one end of the T1 line should be set to internal.
  • Page 141: T1/Pri Configuration Example

    Chapter 5 Configuring the Voice Interfaces T1/E1 Configuration (H.323) T1/PRI Configuration Example isdn switch-type primary-5ess isdn voice-call-failure 0 controller T1 1/0 framing esf linecode b8zs pri-group timeslots 1-24 interface Serial1/0:23 no ip address no logging event link-status isdn switch-type primary-5ess isdn incoming-voice voice no cdp enable Configuring E1 Interfaces...
  • Page 142: E1/Pri Configuration Example

    Chapter 5 Configuring the Voice Interfaces T1/E1 Configuration (H.323) Configure each channel group as a virtual serial interface. c4224(config-controller)# interface serial 1/0:31 Specify the E1 interface, unit number, and channel group to modify, as in the following example: interface Serial1/0:23 no ip address no logging event link-status isdn switch-type primary-5ess...
  • Page 143: E&M Trunk Line Configuration (H.323)

    Chapter 5 Configuring the Voice Interfaces E&M Trunk Line Configuration (H.323) E&M Trunk Line Configuration (H.323) The section illustrates how to configure VoIP to link PBX users with E&M trunk lines. This section contains the following topics: • Scenario, page 5-35 Handling Incoming Caller ID Digits on an E&M Port, page 5-36 •...
  • Page 144: Handling Incoming Caller Id Digits On An E&M Port

    Handling Incoming Caller ID Digits on an E&M Port When using an H.323 T1-CAS E&M port on the Catalyst 4224, Incoming Caller ID Digits may not be processed correctly by Cisco CRA, such as Cisco IP Auto-Attendant. Depending on the T1-CAS line provisioning, incoming dialed number...
  • Page 145: Gateway San Jose Configuration

    Chapter 5 Configuring the Voice Interfaces E&M Trunk Line Configuration (H.323) Gateway San Jose Configuration hostname sanjose !Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +527..port 1/0/0 !Configure pots dial-peer 2 dial-peer voice 2 pots destination-pattern +527..port 1/0/1 !Configure voip dial-peer 3 dial-peer voice 3 voip destination-pattern +569..
  • Page 146 Configuration” section on page 5-16. At this point in the configuration process, make sure that Cisco CallManager is properly configured to provision the Catalyst 4224 and to configure MGCP endpoints or H.323 route patterns, as required. Refer to the Cisco CallManager Administration Guide or to the online help for the application.
  • Page 147: Chapter 6 Configuring Voip

    C H A P T E R Configuring VoIP The Catalyst 4224 Access Gateway Switch (Catalyst 4224) provides Voice-over-IP (VoIP) gateway applications for a micro branch office. This section provides comprehensive information on how to configure VoIP on your Catalyst 4224. This section contains the following topics: Prerequisite Tasks, page 6-2 •...
  • Page 148: Prerequisite Tasks

    Integrate your dial plan and telephony network into your existing IP network • topology. Merging your IP and telephony networks depends on your particular IP and telephony network topology. In general, Cisco recommends the following: Use canonical numbers wherever possible. Avoid situations in which –...
  • Page 149: Configuration Tasks

    QoS deployment. Cisco IOS software provides many tools for enabling QoS on your network backbone. These tools include Random Early Detection (RED), Weighted Random Early Detection (WRED), Fancy Queuing (meaning custom, priority, or...
  • Page 150 Chapter 6 Configuring VoIP Configure IP Networks for Real-Time Voice Traffic weighted fair queuing), and IP precedence. To configure your IP network for real-time voice traffic, you need to consider the entire scope of your network and then select the appropriate QoS tool or tools. To improve voice network performance, QoS must be configured throughout your network, not just on your Catalyst 4224 running VoIP.
  • Page 151: Configure Rsvp For Voice

    Chapter 6 Configuring VoIP Configure IP Networks for Real-Time Voice Traffic Configure RSVP for Voice Resource Reservation Protocol (RSVP) enables routers to reserve enough bandwidth on an interface to provide reliable, high-quality performance. RSVP allows end systems to request a particular QoS from the network. Real-time voice traffic requires network consistency.
  • Page 152: Rsvp Configuration Example

    The reason the reservation will be refused is because the physical interface lacks supporting bandwidth. A Cisco 1750 running VoIP and configured for RSVP requests allocations by using the following formula: bps = packet_size + ip/udp/rtp header size x 50 per second For the codec standard G.729, wherein voice is coded into 8-kbps streams, the...
  • Page 153: Configure Multilink Point-To-Point Protocol With Interleaving

    Configure the dialer interface or virtual template, as defined in the relevant • chapters of the Dial Solutions Configuration Guide for Cisco IOS Release 12.0T. Configure multilink PPP and interleaving on the interface or template. • Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 154 RSVP, this command is not required. For more information about multilink PPP, refer to the “Configuring Media-Independent PPP and Multilink PPP” section in the Dial Solutions Configuration Guide for Cisco IOS Release 12.0 T. Catalyst 4224 Access Gateway Switch Software Configuration Guide OL-2031-02...
  • Page 155: Multilink Ppp Configuration Example

    Chapter 6 Configuring VoIP Configure IP Networks for Real-Time Voice Traffic Multilink PPP Configuration Example The following example defines a virtual interface template that enables multilink PPP with interleaving and a maximum real-time traffic delay of 20 milliseconds, and then applies that virtual template to the multilink PPP bundle: c4224(config)# interface virtual-template 1 c4224(config-if)# ppp multilink c4224(config-if)# encapsulated ppp...
  • Page 156 Chapter 6 Configuring VoIP Configure IP Networks for Real-Time Voice Traffic Figure 6-1 RTP Header Compression Before RTP header compression: 20 bytes 8 bytes 12 bytes Payload Header 20 to 160 bytes After RTP header compression: 2 to 4 bytes Payload IP/UDP/RTP header 20 to 160 bytes...
  • Page 157: Enable Rtp Header Compression On A Serial Interface

    For more information about RTP header compression, see the “Configuring IP Multicast Routing” section of the Network Protocols Configuration Guide, Part 1 for Cisco IOS Release 12.0 T. Configure Custom Queuing Some QoS features, such as IP RTP reserve and custom queuing, are based on the transport protocol and the associated port number.
  • Page 158: Configure Weighted Fair Queuing

    PPP to define how data is managed; use RSVP or IP precedence to give priority to voice packets. For more information about weighted fair queuing, refer to the “Managing System Performance” section in the Configuration Fundamentals Configuration Guide for Cisco IOS Release 12.0 T. Configure Number Expansion...
  • Page 159: Create A Number Expansion Table

    Chapter 6 Configuring VoIP Configure Number Expansion Create a Number Expansion Table The example depicted in Figure 6-2 pertains to a small company that decides to use VoIP to integrate its telephony network with its existing IP network. The destination pattern (or expanded telephone number) associated with Catalyst 4224 1 (left of the IP cloud) is 408-555-xxxx, where xxxx identifies the individual dial peers by extension.
  • Page 160 Chapter 6 Configuring VoIP Configure Number Expansion Table 6-1 Sample Number Expansion Table Destination Num-Exp Extension Pattern Command Entry Description 1... 14085551... Expands a four-digit num-exp 1... 14085551... extension beginning with the numeral 1 by prefixing 1408555 to the extension. 2...
  • Page 161: Configure Number Expansion

    Chapter 6 Configuring VoIP Configure Dial Peers Configure Number Expansion To define how to expand an extension number into a particular destination pattern, use the following global configuration command: num-exp extension-number extension-string extension-number represents the digit(s) defining an extension number to be expanded, whereas extension-string represents the digit(s) defining an extension string to be expanded.
  • Page 162 Chapter 6 Configuring VoIP Configure Dial Peers Figure 6-3 Dial Peer Call Legs, from the Perspective of the Source Catalyst 4224 Source Destination IP cloud Call leg for POTS Call leg for VoIP dial peer 1 dial peer 2 Figure 6-4 Dial Peer Call Legs, from the Perspective of the Destination Catalyst 4224 Call leg for VoIP...
  • Page 163: Inbound Versus Outbound Dial Peers

    Chapter 6 Configuring VoIP Configure Dial Peers addition, you can use VoIP dial peers to define characteristics such as IP precedence, additional QoS parameters (when RSVP is configured), codec, and VAD. Inbound Versus Outbound Dial Peers Dial peers are used for both inbound and outbound call legs. The terms inbound and outbound are defined from the router perspective.
  • Page 164 Chapter 6 Configuring VoIP Configure Dial Peers Figure 6-5 Outgoing Calls, from the Perspective of POTS Dial Peer 1 Source Destination Catalyst 4224 Catalyst 4224 Voice port Voice port 10.1.1.2 10.1.2.2 IP cloud (310) 555-1000 (408) 555-4000 POTS call leg dial peer 1 VoIP call leg dial peer 2...
  • Page 165: Create A Dial-Peer Configuration Table

    Table 6-2 Dial Peer Example Configuration Table Commands Destination- Router Dial Peer Tag Pattern Type Session Target codec Cisco 1750 1729555..VoIP IPV4 10.1.1.2 G.729 Best effort Router 1 Cisco 1750 1408555..VoIP IPV4 10.1.1.1 G.729...
  • Page 166: Configure Pots Dial Peers

    Chapter 6 Configuring VoIP Configure Dial Peers Configure POTS Dial Peers POTS dial peers enable incoming calls to be received by a particular telephony device. To configure a POTS dial peer, you need to uniquely identify the dial peer (by assigning it a unique tag number), define its telephone number(s), and associate it with a voice port through which calls are established.
  • Page 167: Configure Voip Dial Peers

    Chapter 6 Configuring VoIP Configure Dial Peers Configure VoIP Dial Peers VoIP dial peers enable outgoing calls to be made from a particular telephony device. To configure a VoIP dial peer, you need to identify the dial peer (by assigning it a unique tag number), define its destination telephone number, and define its destination IP address.
  • Page 168: Troubleshooting Tips

    Ping the associated IP address to confirm connectivity. If you cannot • successfully ping your destination, refer to the “Configuring IP” section in the Network Protocols Configuration Guide, Part 1 for Cisco IOS Release 12.0 T. If you have configured number expansion, use the show num-exp command •...
  • Page 169: Configure Fxs Or Fxo Voice Ports

    Chapter 6 Configuring VoIP Configure Voice Ports FXO—The foreign exchange office interface uses a RJ-11 modular telephone • cable to connect local calls to a PSTN central office or to a PBX that does not support E&M signaling. This interface is used for off-premise extension applications.
  • Page 170: Verifying Your Configuration

    Chapter 6 Configuring VoIP Configure Voice Ports Table 6-3 Commands to Configure FXS and FXO Voice Ports (continued) Required or Task Optional Command Step 7 (For FXO ports only) Specify the Required ring number number maximum number of rings before answering a call.
  • Page 171: Troubleshooting Tips

    • Make sure the VICs are correctly installed. For more information about installing a VIC in your router, refer to the Cisco WAN Interface Cards Hardware Installation Guide. Fine-Tune FXS and FXO Voice Ports In most cases, the default values for voice-port tuning commands are sufficient.
  • Page 172 Chapter 6 Configuring VoIP Configure Voice Ports Table 6-4 Commands to Fine Tune FXS and FXO Voice Ports (continued) Default Task Command Valid Entries Value Step 3 Specify (in dB) the amount of –6 to 14 dB 0 dB input gain value gain to be inserted at the receiver side of the interface.
  • Page 173: Configure E&M Voice Ports

    After you change any voice port setting, Cisco recommends that you cycle the Note port by using the shutdown and no shutdown commands. Configure E&M Voice Ports Unlike FXS and FXO voice ports, the default E&M voice-port parameters are not sufficient to enable voice and data transmission over your IP network.
  • Page 174 Chapter 6 Configuring VoIP Configure Voice Ports Table 6-5 Commands to Configure E&M Voice Ports (continued) Required Task or Optional Command Step 4 Select the appropriate signal type for this Required signal {wink-start | immediate delay-dial} interface. Step 5 Select the appropriate voice call progress tone Required cptone {australia | brazil | china | finland | france |...
  • Page 175: Verifying Your Configuration

    Chapter 6 Configuring VoIP Configure Voice Ports Table 6-5 Commands to Configure E&M Voice Ports (continued) Required Task or Optional Command Step 8 Specify a terminating impedance for an E&M Required impedance 600c 600r 900c complex1 complex2 voice port. The impedance value selected must match the specifications from the telephony system to which this voice port is connected.
  • Page 176: Troubleshooting Tips

    PBX setup, such as timing and type, are correct. Make sure the VICs are correctly installed. For more information, refer to the • Cisco WAN Interface Cards Hardware Installation Guide. Fine-Tune E&M Voice Ports In most cases, the default values for voice port tuning commands are sufficient.
  • Page 177 Chapter 6 Configuring VoIP Configure Voice Ports Table 6-6 Commands to Fine Tune E&M Voice Ports (continued) Default Task Command Valid Entries Values Step 3 Specify (in dB) the amount –6 to 14 dB 0 dB input gain value of gain to be inserted at the receiver side of the interface.
  • Page 178 100 to 1000 ms 100 to 400 ms 100 to 5000 ms After you change any voice port setting, Cisco recommends that you cycle the Note port by using the shutdown and no shutdown commands. Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 179: Additional Voip Dial-Peer Configurations

    Chapter 6 Configuring VoIP Additional VoIP Dial-Peer Configurations Additional VoIP Dial-Peer Configurations Depending on how you have configured your network interfaces, you might need to configure additional VoIP dial-peer parameters. This section describes the following topics: Configure IP Precedence for Dial Peers, page 6-33 •...
  • Page 180: Configure Rsvp For Dial Peers

    RSVP reservation request is made between the local router, all intermediate routers in the path, and the final destination router. Cisco recommends that you select controlled-load for the requested QoS. The Note controlled-load service uses admission (or capacity) control to ensure that preferential service is provided even when the bandwidth is overloaded.
  • Page 181: Configure Codec And Vad For Dial Peers

    Chapter 6 Configuring VoIP Additional VoIP Dial-Peer Configurations To generate Simple Network Management Protocol (SNMP), use the following commands beginning in global configuration mode: Table 6-8 Configuration Commands to Generate SNMP Task Command Step 1 Enter the dial peer configuration mode to configure a dial-peer voice number voip VoIP dial peer.
  • Page 182: Configure Vad For A Voip Dial Peer

    Note Prior to Cisco IOS Release 12.0(5)T, g729r8 is implemented in the pre-IETF format; thereafter, it is implemented in the standard IETF format. When new images, such as Release 12.0(5)T or later, interoperate with older versions of VoIP (when the g729r8 codec was not compliant with the IETF standard), users can hear garbled voices and ringback on either side of the connection.
  • Page 183: Configure Frame Relay For Voip

    For Frame Relay links with slow output rates (less than or equal to 64 kbps), where data and voice are transmitted over the same permanent virtual circuit (PVC), Cisco recommends the following solutions: Separate DLCIs for voice and data—By providing a separate subinterface for •...
  • Page 184: Frame Relay For Voip Configuration Example

    (Bc) to 4000 to obtain an interpacket wait time of 125 milliseconds. In Cisco IOS Release 12.0 T, Frame Relay traffic shaping is not compatible with RSVP. Cisco suggests one of the following workarounds: Provision the Frame Relay permanent virtual circuits (PVC) to have the CIR •...
  • Page 185 32 kbps. For more information about configuring Frame Relay for VoIP, refer to the “Configuring Frame Relay” section in the Wide-Area Networking Configuration Guide for Cisco IOS Release 12.0 T. Catalyst 4224 Access Gateway Switch Software Configuration Guide 6-39 OL-2031-02...
  • Page 186 Chapter 6 Configuring VoIP Configure Frame Relay for VoIP Catalyst 4224 Access Gateway Switch Software Configuration Guide 6-40 OL-2031-02...
  • Page 187 C H A P T E R Configuring the Eight-Port FXS RJ-21 Module The Eight-port RJ-21 FXS Module is a high-density analog phone and fax relay interface. By providing service to analog phones and fax machines, the eight Foreign Exchange Station (FXS) ports emulate a Public Switched Telephone Network (PSTN) central office (CO) or private branch exchange (PBX).
  • Page 188: Configuring The Eight-Port Fxs Rj-21 Module

    Chapter 7 Configuring the Eight-Port FXS RJ-21 Module Eight-Port RJ-21 FXS Module User Interface Conventions Eight-Port RJ-21 FXS Module User Interface Conventions The eight-port Foreign Exchange Station (FXS) module is similar to the two-port FXS analog interface card (VIC-2FXS). Because the eight-port FXS module is located in slot 4, the eight ports are numbered 4/0 to 4/7.
  • Page 189 1. Private line automatic ringdown For complete information about configuration commands and about configuring LAN and WAN interfaces on your switch, refer to the Cisco IOS configuration guides and command references. The following example shows how to use the FXS configuration commands: Gateway# conf t Enter configuration commands, one per line.
  • Page 190: Validating The Configuration

    Chapter 7 Configuring the Eight-Port FXS RJ-21 Module Configuring FXS Voice Ports Validating the Configuration To validate your voice port configuration, perform one or both of the following tasks: Pick up the handset of a telephony device attached to your IP network and •...
  • Page 191: Troubleshooting The Configuration

    Chapter 7 Configuring the Eight-Port FXS RJ-21 Module Configuring FXS Voice Ports Ring Frequency is 50 Hz Hook Status is On Hook Ring Active Status is inactive Ring Ground Status is inactive Tip Ground Status is inactive Digit Duration Timing is set to 100 ms InterDigit Duration Timing is set to 100 ms Ring Cadence is defined by CPTone Selection Ring Cadence are [4 2] [4 20] * 100 msec...
  • Page 192: Fine-Tuning Fxs Voice Ports

    Chapter 7 Configuring the Eight-Port FXS RJ-21 Module Fine-Tuning FXS Voice Ports Fine-Tuning FXS Voice Ports Depending on the specifics of your particular network, you might need to fine-tune the FXS voice port settings. Under most circumstances, the default values will suffice; however, if you need to change them, use the following commands in privileged EXEC mode.
  • Page 193 50 to 500; the default is 100. For complete information about configuration commands and about configuring LAN and WAN interfaces on your switch, refer to the Cisco IOS configuration guides and command references. The following example shows how to use the fine-tune FXS commands: Gateway# conf t Enter configuration commands, one per line.
  • Page 194: Activating The Voice Port

    Sample Configuration This section provides a sample configuration for sending a fax or a call from the Cisco 2610 (a voice-enabled router) to the eight-port FXS module on a Catalyst 4224, and vice versa. You can substitute any voice-enabled router for the Cisco 2610 and any Note Fast Ethernet interface connected to an IP network.
  • Page 195 In the sample configuration illustrated in Figure 7-1, Fax1 is connected through an FXS port to the Cisco 2610 router. The router is connected through Fast Ethernet to the eight-port FXS module, which is connected through an FXS port to Fax2.
  • Page 196: Cisco 2600 Sample Configuration

    3. Identifies the remote end of the VoIP call, which can be specified using an IP address (as shown in the configuration) or a DNS name. Cisco 2600 Sample Configuration Using the configuration template shown, you could configure the Cisco 2600 as follows: >[Configure the fast ethernet interface] >2600# conf t...
  • Page 197: Displaying Cisco 2600 Configuration Values

    >Gateway(config-dial-peer)# dial-peer voice 2 voip >Gateway(config-dial-peer)# destination-pattern 10 >Gateway(config-dial-peer)# session target ipv4:172.20.59.61 At this point, you should be able to send a fax or phone call from the Cisco 2600 to the FXS module, and vice versa. Displaying Cisco 2600 Configuration Values...
  • Page 198: Displaying Fxs Module Configuration Values

    Chapter 7 Configuring the Eight-Port FXS RJ-21 Module Sample Configuration >ip classless >ip route 8.1.1.0 255.255.255.0 30.1.1.1 >no ip http server >! >snmp-server packetsize 4096 >call rsvp-sync >! >voice-port 1/1/0 >! >voice-port 1/1/1 >! >dial-peer cor custom >! >dial-peer voice 1 pots >...
  • Page 199 Chapter 7 Configuring the Eight-Port FXS RJ-21 Module Sample Configuration >no service password-encryption >! >hostname Gateway >! >no logging buffered >no logging buffered >logging rate-limit console 10 except errors >! >ip subnet-zero >no ip finger >! >ip audit notify log >ip audit po max-events 100 >! >voicecard mode toll-by-pass...
  • Page 200 Chapter 7 Configuring the Eight-Port FXS RJ-21 Module Sample Configuration >! >voice-port 4/7 >! >dial-peer voice 1 pots > destination-pattern 20 > port 4/0 >! >dial-peer voice 2 voip > destination-pattern 10 > session target ipv4:172.20.59.61 >! >gatekeeper > shutdown >! >line con 0 >...
  • Page 201: Chapter 8 Configuring Survivable Remote Site Telephony

    Telephony Survivable Remote Site Telephony (SRST) provides Cisco CallManager with fallback support for Cisco IP Phones that are attached to the Catalyst 4224 Access Gateway Switch (Catalyst 4224) on your local Ethernet. SRST enables the Catalyst 4224 to provide call handling support for Cisco IP Phones when a Cisco IP Phones lose connection to the remote primary, secondary, or tertiary Cisco CallManager or when the WAN connection is down.
  • Page 202: Overview Of Survivable Remote Site Telephony

    WAN connection between the branch office Catalyst 4224 and Cisco CallManager fails or when connectivity with Cisco CallManager is lost, the Cisco IP Phones at the remote site are unusable for the duration of the failure. The SRST feature overcomes this problem, enabling the basic features of the Cisco IP Phones by providing call-handling support on the Catalyst 4224 for its attached Cisco IP Phones.
  • Page 203: Prerequisites

    • Catalyst 4224 Cisco IP Phone and plain old telephone service (POTS) telephones on the • Catalyst 4224 Graying out of all Cisco IP Phone function keys that are not supported during • SRST mode: CFwdAll (call forward all) –...
  • Page 204: Fallback Behavior

    When the primary Cisco CallManager is restored, the displayed message is Note removed and you can access all the previous functionality of the Cisco IP Phone. Fallback Behavior When the Cisco IP Phones lose contact with all primary, secondary, and tertiary Cisco CallManagers, the phones re-home to the local SRST Catalyst 4224 to provide the call processing capability required to place and receive calls.
  • Page 205 Operating” at the bottom of the screen. The Cisco 7910 IP Phone displays the message “CM Fallback Service” for 5 seconds every 30 seconds. The message is brief because the Cisco IP Phone 7910 has only a two-line display area and the display panel is also used to display the telephone number.
  • Page 206 WAN connection to the branch office is down and that the Cisco IP Phones are able to make calls by being connected to the local SRST Catalyst 4224. This Catalyst 4224 acts as a fallback Cisco CallManager. The branch office Cisco IP Phones on the LAN network, connected to the PSTN, are capable of making off-net calls outside the network using the Catalyst 4224s.
  • Page 207: Configuring Survivable Remote Site Telephony

    Cisco IP phones Configuring Survivable Remote Site Telephony When SRST is enabled, Cisco IP Phones do not need to be reconfigured individually during Cisco CallManager fallback mode because Cisco IP Phones retain the same configuration used with the primary Cisco CallManager.
  • Page 208 Command Step 3 Configure the allowable number of C4224(config-cm-fallback)# max-ephone s max phone Cisco IP Phones that can be supported by the Catalyst 4224. You cannot reduce the allowable Note number of Cisco IP Phones once the maximum allowable number is configured, without rebooting the Catalyst 4224.
  • Page 209: Verifying Survivable Remote Site Telephony

    Enter the show call-manager-fallback all command to verify that the SRST Step 2 feature is enabled. Verify that the default Catalyst 4224 IP address on the Cisco IP Phone is the same Step 3 as the IP address of the SRST Catalyst 4224. Use the settings display on a Cisco IP Phone to do so.
  • Page 210: Troubleshooting Survivable Remote Site Telephony

    Temporarily block the TCP port 2000 Skinny Client Protocol (SCCP) connection Step 4 for one of the Cisco IP Phones. This forces the Cisco IP Phone to lose its connection to Cisco CallManager and register with the SRS Catalyst 4224.
  • Page 211: Monitoring And Maintaining Survivable Remote Site Telephony

    Displays the configuration. C4224# show run Displays the detailed configuration of all the C4224# show call-manager-fallback Cisco IP Phones, voice ports, and dial peers of the SRST Catalyst 4224. Displays the output of the dial peers of the SRST C4224# show call-manager-fallback dial-peer Catalyst 4224.
  • Page 212: Srst Configuration Example

    Chapter 8 Configuring Survivable Remote Site Telephony SRST Configuration Example SRST Configuration Example This section provides a configuration example for the SRST feature: version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption hostname Garfield logging rate-limit console 10 except errors ip subnet-zero no ip finger...
  • Page 213 Chapter 8 Configuring Survivable Remote Site Telephony SRST Configuration Example no ip address interface TokenRing1/0 no ip address shutdown ip kerberos source-interface any ip classless no ip http server snmp-server packetsize 4096 snmp-server manager call rsvp-sync mgcp modem passthrough voip mode ca no mgcp timer receive-rtcp mgcp profile default dial-peer cor custom...
  • Page 214 Chapter 8 Configuring Survivable Remote Site Telephony SRST Configuration Example Catalyst 4224 Access Gateway Switch Software Configuration Guide 8-14 OL-2031-02...
  • Page 215: Chapter 9 Implementing Fax Over Ip On Cisco Voice Gateways

    Supported Platforms and Features, page 9-4 • For detailed Fax information, configuration, best practices and troubleshooting Note tips, see Implementing Fax Over IP on Cisco Voice Gateways at the following location: http://www.cisco.com/univercd/cc/td/doc/product/voice/c_access/fxmdmnt.htm Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 216: Overview

    In fax pass-through mode, the gateways do not distinguish a fax call from a voice call. The fax communication between the two fax machines is carried in-band over a “voice” call in its entirety. All Cisco voice gateways support fax pass-through.
  • Page 217: Cisco Fax Relay

    If the two sides cannot negotiate on a common codec and speed, the fax fails. If negotiation is successful, fax transmission begins. Cisco fax relay is supported using MGCP or H.323, depending on the specific gateway type. The Cisco voice gateways support as many concurrent fax calls as G.711 voice calls.
  • Page 218: Supported Platforms And Features

    Table 9-1 shows the supported fax protocol, modes, and required software version for the Catalyst 4224 Access Gateway Switch. You can obtain the latest versions of Cisco software from the Cisco software downloads site: http://www.cisco.com/kobayashi/sw-center/index.shtml Table 9-1 Fax Support on Cisco Catalyst 4224 Access Gateway Switch...
  • Page 219: Chapter 10 Traffic Shaping

    Class-Based Shaping use a weighted fair queue to hold the delayed traffic. FRTS uses either a custom queue or a priority queue. This section explains how traffic shaping works and describes the Cisco IOS QoS traffic shaping mechanisms. It also described traffic-shaping feature called Low Latency Traffic Shaping (LLQ).
  • Page 220: About Traffic Shaping

    Chapter 10 Traffic Shaping About Traffic Shaping About Traffic Shaping Traffic shaping allows you to control outgoing traffic on an interface to match the traffic speed of the remote target interface and to ensure that the traffic conforms to specific policies. Traffic that adheres to a particular profile can be shaped to meet downstream requirements, thereby eliminating bottlenecks in topologies caused by data-rate mismatches.
  • Page 221: Traffic Shaping And Rate Of Transfer

    Chapter 10 Traffic Shaping About Traffic Shaping Traffic Shaping and Rate of Transfer Traffic shaping limits the rate of transmission of data. You can limit the data transfer to one of the following: A specific configured rate • A derived rate based on the level of congestion •...
  • Page 222: Discard Eligible Bit

    Chapter 10 Traffic Shaping About Traffic Shaping Discard Eligible Bit You can specify which Frame Relay packets have low priority or low time sensitivity. These packets are the first to be dropped when a Frame Relay switch is congested. The Discard Eligible (DE) bit allows a Frame Relay switch to identify such packets.
  • Page 223 Chapter 10 Traffic Shaping About Traffic Shaping Table 10-1 summarizes these differences. Table 10-1 Differences Between Shaping Mechanisms Mechanism Class-Based FRTS Command-Line Applies Applies Applies Classes of • • • • Interface parameters parameters parameters parameters per interface per interface Applies parameters •...
  • Page 224: Traffic Shaping And Queueing

    Generic Traffic Shaping (GTS) shapes traffic by reducing outbound traffic flow to avoid congestion. GTS constrains traffic to a particular bit rate using the token bucket mechanism. See the section “What is a Token Bucket” in the Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos...
  • Page 225: Configuration And Commands

    Traffic Shaping” in the Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos _c/fqcprt4/qcfgts.htm#80560 For information on traffic shaping commands, see the Cisco IOS Quality of Service Solutions Command Reference, Release 12.2 manual: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos _r/index.htm Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 226: Class-Based Traffic Shaping

    Moreover, you can configure up to 64 discrete classes in a service policy. Configuration and Commands For information on how to configure Class-Based Shaping, see the chapter “Configuring Class-Based Shaping” in the Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.2: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos _c/fqcprt4/qcfcbshp.htm#80464...
  • Page 227: Restrictions

    Cisco IOS software. Frame Relay Traffic Shaping Cisco has long provided support for FECN for DECnet and OSI, and BECN for Systems Network Architecture (SNA) traffic using Logical Link Control, type 2 (LLC2) encapsulation via RFC 1490 and DE bit support. FRTS builds upon this...
  • Page 228: How It Works

    Frame Relay network. The throttling is done on a per-VC basis and the transmission rate is adjusted based on the number of BECN-tagged packets received. With the Cisco FRTS feature, you can integrate ATM ForeSight closed-loop congestion control to actively adapt to downstream congestion conditions. Derived Rates In Frame Relay networks, BECNs and FECNs indicate congestion.
  • Page 229: Configuration And Commands

    Configuration Guide, Release 12.2 manual: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fwan _c/wcffrely.htm For information on configuring Frame Relay as it relates to voice traffic, refer to the chapter “Configuring Voice Over Frame Relay” in the Cisco IOS Voice, Video, and Fax Configuration Guide, Release 12.2 manual: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvf ax_c/vvfvofr.htm For information on Frame Relay commands, see the section “Frame Relay...
  • Page 230: Restrictions

    Prerequisites Distributed Cisco Express Forwarding (dCEF) must be enabled on the interface before DTS can be enabled. A policy map and class maps must be created before DTS is enabled.
  • Page 231: Configuration

    Other matching criteria. For information about other matching criteria, – see the section “Creating a Traffic Class” in the Cisco IOS Quality of Service Solutions Command Reference, Release 12.2 manual. Optional configuration to respond to Frame Relay network congestion by •...
  • Page 232: Restrictions

    Chapter 10 Traffic Shaping Low-Latency Queueing Restrictions DTS does not support the following: Fast EtherChannel, Multilink PPP (MLP), Tunnel, VLANs, and dialer • interface Any VIP below a VIP2-40 • A VIP2-50 is strongly recommended when the aggregate line rate of the port Note adapters on the VIP is greater than DS3.
  • Page 233 ToS byte in the IP header. Although it is possible to enqueue various types of real-time traffic to the strict priority queue, Cisco strongly recommends that you direct only voice traffic to this queue. The reason is that voice traffic is well-behaved, whereas other types of real-time traffic are not well-behaved.
  • Page 234 Chapter 10 Traffic Shaping Low-Latency Queueing Catalyst 4224 Access Gateway Switch Software Configuration Guide 10-16 OL-2031-02...
  • Page 235: Chapter 11 Configuring Encryption Services

    C H A P T E R Configuring Encryption Services The Encryption Service Adapter (ESA) is a high-performance data encryption module that offloads some of the encryption processing from the Catalyst 4224 main processor and improves performance. The ESA implements data encryption and authentication algorithms on the Catalyst 4224 through a software service called a crypto engine.
  • Page 236: Configuring The Encryption Service Adapter

    Chapter 11 Configuring Encryption Services Configuring the Encryption Service Adapter Configuring the Encryption Service Adapter Configuring the ESA requires four steps, as outlined below: • Step 1: Configure the T1 Channel Group, page 11-2 Step 2: Configure the Internet Key Exchange Security Protocol, page 11-3 •...
  • Page 237: Step 2: Configure The Internet Key Exchange Security Protocol

    Chapter 11 Configuring Encryption Services Configuring the Encryption Service Adapter Task Command Step 4 Specify the framing type for the T1 or E1 data line. Gateway(config-controller)# framing {sf|esf} sf specifies Super Frame as the T1 frame type. esf specifies Extended Super Frame as the T1 frame type.
  • Page 238 In the context of this document, a peer refers to a Catalyst 4224 or other device that participates in IPSec and IKE. For information on how to create a private or public key and to download a certificate, visit the following website: http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/secu r_c/scprt4/scdipsec.htm Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 239: Step 3: Configure Ipsec Network Security

    Chapter 11 Configuring Encryption Services Configuring the Encryption Service Adapter Step 3: Configure IPSec Network Security The third step is to define how the T1 data will be handled. This requires that you use IPSec (IP Security Protocol) security. IPSec is a framework of open standards that provides data confidentiality, data integrity, and data authentication between participating peers.
  • Page 240 Chapter 11 Configuring Encryption Services Configuring the Encryption Service Adapter Task Command Step 4 Create a crypto map denoted by map-name. Enter Gateway(config)# crypto map map_name seq_num ipsec-isakmp [dynamic crypto map configuration mode, unless you use dynamic_map_name] [discover] the dynamic keyword. seq-num is the number you assign to the crypto map entry.
  • Page 241 Packet filtering helps control packet movement through the network. Such control can help limit network traffic and restrict network use by certain users or devices. To permit or deny packets from crossing specified interfaces, Cisco provides access lists. An access list is a sequential collection of permit and deny conditions that apply to IP addresses.
  • Page 242: Step 4: Configure Encryption On The T1 Channel Group Serial Interface

    NVRAM. For complete information about configuration commands and about configuring LAN and WAN interfaces on your switch, refer to the Cisco IOS configuration guides and command references. Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 243: Verifying The Configuration

    Chapter 11 Configuring Encryption Services Verifying the Configuration Verifying the Configuration After configuring the new interface, use the following commands to verify that it is operating correctly: Use show version to display the router hardware configuration. Check that • the list includes the new interface. Use show controllers to display all network modules and their interfaces.
  • Page 244: Configuration File For The Public Gateway

    Chapter 11 Configuring Encryption Services Sample Configurations Encrypting Traffic Between Two Networks The sample configurations in this section show you how to encrypt traffic between a private network (10.103.1.x) and a public network (98.98.98.x) using IPSec. The 98.98.98.x network knows the 10.103.1.x network by the private addresses.
  • Page 245: Configuration File For The Private Gateway

    Chapter 11 Configuring Encryption Services Sample Configurations no ip directed-broadcast no ip route-cache no ip mroute-cache crypto map rtp interface Ethernet0/2 no ip address no ip directed-broadcast shutdown interface Ethernet0/3 no ip address no ip directed-broadcast shutdown ip classless ip route 0.0.0.0 0.0.0.0 99.99.99.1 no ip http server access-list 115 permit ip 98.98.98.0 0.0.0.255 10.103.1.0 0.0.0.255 access-list 115 deny ip 98.98.98.0 0.0.0.255 any...
  • Page 246 Chapter 11 Configuring Encryption Services Sample Configurations ip subnet-zero ip audit notify log ip audit PO max-events 100 isdn switch-type basic-5ess isdn voice-call-failure 0 crypto isakmp policy 1 hash md5 authentication pre-share crypto isakmp key cisco123 address 99.99.99.2 crypto ipsec transform-set rtpset esp-des esp-md5-hmac crypto map rtp 1 ipsec-isakmp set peer 99.99.99.2 set transform-set rtpset...
  • Page 247 Chapter 11 Configuring Encryption Services Sample Configurations shutdown interface Serial1/0 no ip address no ip directed-broadcast shutdown interface TokenRing1/0 no ip address no ip directed-broadcast shutdown ring-speed 16 interface Ethernet3/0 ip address 95.95.95.2 255.255.255.0 no ip directed-broadcast ip nat outside no ip route-cache no ip mroute-cache crypto map rtp...
  • Page 248: Exchanging Encrypted Data Through An Ipsec Tunnel

    Chapter 11 Configuring Encryption Services Sample Configurations dialer-list 1 protocol ipx permit route-map nonat permit 10 match ip address 110 tftp-server flash:cgateway-io3s56i-mz.120-7.T line con 0 transport input none line 65 72 line aux 0 line vty 0 4 password WW login Exchanging Encrypted Data Through an IPSec Tunnel This section contains sample configuration files for two peer Catalyst 4224s set...
  • Page 249 Chapter 11 Configuring Encryption Services Sample Configurations crypto ipsec transform-set transform-1 esp-des crypto map cmap 1 ipsec-isakmp set peer 6.6.6.2 set transform-set transform-1 match address 101 controller T1 1/0 framing esf linecode b8zs channel-group 0 timeslots 1-23 speed 64 channel-group 1 timeslots 24 speed 64 controller T1 1/1 channel-group 0 timeslots 1-23 speed 64 channel-group 1 timeslots 24 speed 64...
  • Page 250: Configuration File For Peer 2

    Chapter 11 Configuring Encryption Services Sample Configurations crypto map cmap interface Serial1/0:1 no ip address no ip directed-broadcast fair-queue 64 256 0 interface Serial1/1:0 no ip address no ip directed-broadcast interface Serial1/1:1 no ip address no ip directed-broadcast fair-queue 64 256 0 router rip network 4.0.0.0 network 6.0.0.0...
  • Page 251 Chapter 11 Configuring Encryption Services Sample Configurations logging buffered 100000 debugging enable password lab ip subnet-zero no ip domain-lookup crypto isakmp policy 10 authentication pre-share crypto isakmp key pre-shared address 6.6.6.1 crypto ipsec security-association lifetime seconds 86400 crypto ipsec transform-set transform-1 esp-des crypto map cmap 1 ipsec-isakmp set peer 6.6.6.1 set transform-set transform-1...
  • Page 252 Chapter 11 Configuring Encryption Services Sample Configurations interface Serial1/0:0 bandwidth 1472 ip address 6.6.6.2 255.0.0.0 no ip directed-broadcast encapsulation ppp no ip route-cache load-interval 30 no fair-queue crypto map cmap interface Serial1/0:1 no ip address no ip directed-broadcast fair-queue 64 256 0 interface Serial1/1:0 no ip address no ip directed-broadcast...
  • Page 253: Chapter 12 Configuring Other Routing Protocols

    • metric in determining the best path to a destination. The Cisco Implementation of Novell IPX The Cisco implementation of the Novell IPX protocol is certified to provide full IPX routing functionality. Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 254: Ipx Mib Support

    Novell IPX IPX MIB Support Cisco supports the IPX MIB (currently, read-only access is supported). The IPX Accounting group represents one of the local Cisco-specific IPX variables Cisco supports. This group provides access to the active database that is created and maintained if IPX accounting is enabled on a router or access server.
  • Page 255: Lan Support

    Cisco IOS Switching Services Configuration Guide. Multilayer Switching Support Cisco IOS software supports IPX Multilayer Switching (MLS). For more information on IPX MLS, refer to the “Multilayer Switching” chapter of the Cisco IOS Switching Services Configuration Guide. IPX Configuration For details on how to configure IPX protocol, refer to the following documentation, available online at Cisco.com:...
  • Page 256: Ibm Sna

    IBM networking technologies enable the delivery of SNA data over routers supporting TCP/IP. The Cisco Four-Phase Model for SNA-to-IP Integration Cisco has developed a high-level, four-phase model illustrating a typical integration path to incorporate TCP/IP into an SNA-based network. Figure 12-1 illustrates the four-phase integration path.
  • Page 257 Chapter 12 Configuring Other Routing Protocols IBM SNA Figure 12-1 The Cisco Four-Phase SNA-to-IP Integration Model Phase 1 Phase 2 Network SNA/APPN SNA centric IP transport Phase 3 Phase 4 Appl IP client IP centric The phases can be differentiated by the protocol that runs in each of three key elements in the network: the mainframe/midrange computer, the network backbone, and the desktop.
  • Page 258: Phase One: Sna Centric

    Chapter 12 Configuring Other Routing Protocols IBM SNA This section contains the following topics: Phase One: SNA Centric, page 12-6 • Phase Two: IP Transport, page 12-7 • Phase Three: IP Client, page 12-8 • Phase Four: IP Centric, page 12-9 •...
  • Page 259: Phase Two: Ip Transport

    APPN/HPR. The encapsulation schemes also provide more flexible configurations for SNA devices and reduced polling traffic across the backbone. Cisco offered the first such encapsulation scheme with RSRB. Since then, the industry has adopted a standard, data-link switching (DLSw), that has been very widely accepted and implemented.
  • Page 260: Phase Three: Ip Client

    TCP/IP. The same rich functionality that end users relied on in their emulation software remains the same, only it now runs over a TCP/IP stack. Cisco Transaction Connection (CTRC) provides TCP/IP end-users and servers with direct access to Customer Information Control System (CICS) and IBM DB2 databases.
  • Page 261: Phase Four: Ip Centric

    Summary of Four-Phase Model The four-phase model of SNA-to-IP integration is based on Cisco experience helping to integrate some of the world’s largest and most complex SNA networks. In reality, very few organizations go through a stepwise, linear migration from SNA centric to IP transport, to IP client, to IP centric.
  • Page 262: Scenarios For Sna-To-Ip Integration

    Cisco IOS technologies used for this conversion. In addition, Cisco routers also support the tunneling of both bisynchronous and certain asynchronous protocols with Cisco IOS features such as STUN and BSTUN and the Airline Product Set (ALPS). FEP Replacement...
  • Page 263: Desktop Consolidation

    For example, the Cisco CIP and CPA both support TCP Offload, TCP Assist, CTRC, and TN3270 Server features to offload mainframe cycles.
  • Page 264: Sna Configuration

    Configuring Other Routing Protocols IBM SNA SNA Configuration For details on how to configure SNA protocol, refer to the following documentation: Cisco IOS Bridging and IBM Networking Configuration Guide, Release 12.2 • http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ fibm_c/index.htm • Cisco IOS Bridging and IBM Networking Command Reference, Volume 1, Release 12.2...
  • Page 265: Appendix

    A P P E N D I X Command Reference for Voice VLAN This section provides reference information for the following voice VLAN commands: interface range, page A-1 • interface vlan, page A-3 • monitor session, page A-4 • spanning-tree, page A-6 •...
  • Page 266: Syntax Description

    Appendix A Command Reference for Voice VLAN interface range Syntax Description slot Slot number. interface Interface number. Defaults None. Command Modes Global configuration Usage Guidelines The space before the dash is required. You can enter up to five comma-separated ranges. You are not required to enter spaces before or after the comma. If you enter multiple configuration commands while you are in interface range mode, each command is executed as it is entered.
  • Page 267: Interface Vlan

    Appendix A Command Reference for Voice VLAN interface vlan interface vlan Use the interface vlan configuration command to configure an interface type, create a switch virtual interface to be used as the routed VLAN interface, and to enter interface configuration mode. Syntax interface vlan number no interface vlan number...
  • Page 268: Example

    Appendix A Command Reference for Voice VLAN monitor session Example The following example shows how to enter configuration mode for vlan 3: Switch# configure terminal Switch(config)# interface vlan 3 Switch(config-if)# monitor session Use the monitor session configuration command to set a port session. Syntax monitor session number destination_interface monitor session number source_interface...
  • Page 269 Appendix A Command Reference for Voice VLAN monitor session Command Modes Interface configuration. Usage Guidelines You can span only selected interfaces. You cannot span VLANs. Examples The following example shows how to set up a port monitor session. For this example, we configure two sessions in global configuration mode.
  • Page 270: Syntax Description

    Appendix A Command Reference for Voice VLAN spanning-tree spanning-tree Use the spanning-tree global configuration command to enable Spanning Tree Protocol (STP) on a VLAN. Use the no form of the command to disable STP on a VLAN. Syntax spanning-tree [vlan stp-list] no spanning-tree [vlan stp-list] Syntax Description vlan stp-list...
  • Page 271: Example

    Appendix A Command Reference for Voice VLAN spanning-tree portfast You can disable STP on a VLAN that is not currently active, and verify the change by using the privileged EXEC show running-config or the show spanning-tree vlan stp-list command. The setting takes effect when the VLAN is activated. If the variable stp-list is omitted, the command applies to the STP instance associated with VLAN 1.
  • Page 272: Command Modes

    Appendix A Command Reference for Voice VLAN switchport access Defaults The Port Fast feature is disabled; however, it is automatically enabled on dynamic-access ports. Command Modes Interface configuration. Usage Guidelines This feature should be used only on ports that connect to end stations. It affects all VLANs on the port.
  • Page 273: Syntax

    Appendix A Command Reference for Voice VLAN switchport access Syntax switchport access vlan vlan-id no switchport access vlan vlan-id Syntax Description vlan vlan-id ID of the VLAN. Valid IDs are from 1 to 1005. Do not enter leading zeroes. Defaults All ports are in static-access mode in VLAN 1.
  • Page 274: Switchport Voice Vlan

    Appendix A Command Reference for Voice VLAN switchport voice vlan You can verify the previous command by entering the show interface interface-id switchport command in privileged EXEC mode and examining information in the Administrative Mode and Operational Mode rows. switchport voice vlan Use the switchport voice vlan interface configuration command to configure the voice VLAN on the port.
  • Page 275: Defaults

    Command Reference for Voice VLAN switchport voice vlan Defaults The switch default is not to configure the telephone automatically (none). The Cisco 7960 IP Phone default is to generate an 802.1Q/802.1P frame. Command Modes Interface configuration. Usage Guidelines Ports that are not configured as trunk ports but have a configured voice VLAN are access ports with a voice VLAN ID (VVID).
  • Page 276 Appendix A Command Reference for Voice VLAN switchport voice vlan Catalyst 4224 Access Gateway Switch Software Configuration Guide A-12 OL-2031-02...
  • Page 277: Appendix

    A P P E N D I X Synopsis of Basic VoIP Concepts The Catalyst 4224 Access Gateway Switch (Catalyst 4224) provides Voice over IP (VoIP) gateway applications for a micro branch office. This chapter introduces some basic VoIP concepts. This chapter contains these sections: VoIP Overview, page B-1 •...
  • Page 278: How Voip Processes A Typical Telephone Call

    Appendix B Synopsis of Basic VoIP Concepts A Voice Primer A Voice Primer This section describes some basic telephony concepts that might help you understand VoIP: How VoIP Processes a Typical Telephone Call, page B-2 • • Numbering Scheme, page B-3 Analog Versus Digital, page B-3 •...
  • Page 279: Numbering Scheme

    Appendix B Synopsis of Basic VoIP Concepts A Voice Primer The coder-decoder compression schemes (codecs) are enabled for both ends of the connection using Real-Time Transport Protocol/User Datagram Protocol/Internet Protocol (RTP/UDP/IP) as the protocol stack. Any call-progress indications (or other signals that can be carried inband) are cut through the voice path as soon as an end-to-end audio channel is established.
  • Page 280: Codecs

    Appendix B Synopsis of Basic VoIP Concepts A Voice Primer In response to the limitations of analog transmission, the telephony industry migrated to digital transmission using pulse code modulation (PCM) or adaptive differential PCM (ADPCM). In both cases, analog sound is converted into digital form by sampling the analog sound 8000 times per second and converting each sample into a numeric code.
  • Page 281: Delay

    Appendix B Synopsis of Basic VoIP Concepts A Voice Primer Table B-1 Compression Methods and MOS Scores Bit Rate Framing Size Compression Method (kbps) (ms) MOS Score G.711 PCM 0.125 G.729 CS-ACELP 3.92 G.729 x 2 encodings 3.27 G.729 x 3 encodings 2.68 G.729a CS-ACELP...
  • Page 282: Jitter

    Voice devices such as the Cisco 3600, Cisco MC3810, and the Catalyst 4224 compensate for jitter by setting up a playout buffer to play back voice in a smooth fashion.
  • Page 283: End-To-End Delay

    Signaling Although there are various types of signaling used in telecommunications today, this document describes only those with direct applicability to Cisco voice implementations. One signaling type involves access signaling, which determines Catalyst 4224 Access Gateway Switch Software Configuration Guide...
  • Page 284 Appendix B Synopsis of Basic VoIP Concepts A Voice Primer when a line has gone off-hook or on-hook. Foreign Exchange Station (FXS) and Foreign Exchange Office (FXO) are types of access signaling. There are two common methods of providing this basic signal: Loop start is the most common technique for access signaling in a standard •...
  • Page 285: Appendix

    A P P E N D I X VoIP Configuration Examples This section uses four different scenarios to demonstrate how to configure Voice over IP (VoIP). The actual VoIP configuration procedure depends on the topology of your voice network. The following configuration examples should give you a starting point, but you will need to customize them to reflect your network topology.
  • Page 286 Appendix C VoIP Configuration Examples Figure C-1 illustrates the topology of this FXS-to-FXS connection example. Figure C-1 FXS-to-FXS Connection (Example) IP cloud 128K Voice port Voice port Serial port Serial port Catalyst 4224 Catalyst 4224 RLB-2 RLB-1 Dial peer 1 Dial peer 2 POTS POTS...
  • Page 287: Configuration For Catalyst 4224 Rlb-1

    Appendix C VoIP Configuration Examples Configuration for Catalyst 4224 RLB-1 hostname RLB-1 ! Create voip dial-peer 2 dial-peer voice 2 voip ! Define its associated telephone number and IP address destination-pattern 14155553001 sess-target ipv4:40.0.0.1 ! Request RSVP req-qos controlled-load ! Create pots dial-peer 1 dial-peer voice 1 pots ! Define its associated telephone number and voice port destination-pattern 14085554001...
  • Page 288: Configuration For Catalyst 4224 Rlb-W

    Appendix C VoIP Configuration Examples Configuration for Catalyst 4224 RLB-w hostname RLB-w ! Configure serial interface 0 interface Serial0 ip address 10.0.0.2 255.0.0.0 ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 ! Configure serial interface 1...
  • Page 289: Configuration For Catalyst 4224 Rlb-E

    Appendix C VoIP Configuration Examples Configuration for Catalyst 4224 RLB-e hostname RLB-e ! Configure serial interface 0 interface Serial0 ip address 40.0.0.2 255.0.0.0 ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 ! Configure serial interface 1...
  • Page 290: Configuration For Catalyst 4224 Rlb-2

    Appendix C VoIP Configuration Examples Configuration for Catalyst 4224 RLB-2 hostname RLB-2 ! Create pots dial-peer 2 dial-peer voice 2 pots ! Define its associated telephone number and voice-port destination-pattern 14155553001 port 0/0 ! Create voip dial-peer 1 dial-peer voice 1 voip !Define its associated telephone number and IP address destination-pattern 14085554001 sess-target ipv4:10.0.0.1...
  • Page 291: Linking Pbx Users With E&M Trunk Lines

    Appendix C VoIP Configuration Examples Linking PBX Users with E&M Trunk Lines The following example shows how to configure VoIP to link PBX users with E&M trunk lines. In this scenario, a company decides to connect two offices: one in San Jose, California, and the other in Salt Lake City, Utah.
  • Page 292: Router San Jose Configuration

    Appendix C VoIP Configuration Examples Router San Jose Configuration hostname router SJ !Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern 1408555..port 0/0 !Configure pots dial-peer 2 dial-peer voice 2 pots destination-pattern 1408555..port 0/1 !Configure voip dial-peer 3 dial-peer voice 3 voip destination-pattern 1801555..
  • Page 293: Router Salt Lake City Configuration

    PBXs should be configured to pass all dual tone multifrequency (DTMF) signals Note to the router. Cisco recommends that you do not configure, store, or forward tone. If you change the gain or the telephony port, make sure that the telephony port Note still accepts DTMF signals.
  • Page 294: Fxo Gateway To Pstn

    Appendix C VoIP Configuration Examples FXO Gateway to PSTN Foreign Exchange Office (FXO) interfaces provide a gateway from the VoIP network to the analog public switched telephone network (PSTN) or to a PBX that does not support Ear and Mouth (E&M) signaling. In this scenario, users connected to Catalyst 4224 SJ in San Jose, California, can reach PSTN users in Salt Lake City, Utah, via Catalyst 4224 SLC.
  • Page 295: Router San Jose Configuration

    Appendix C VoIP Configuration Examples Router San Jose Configuration hostname router SJ ! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern 14085554000 port 0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern 1801..session target ipv4:172.16.65.182 ip precedence 5 ! Configure serial interface 0 interface serial0 clock rate 2000000...
  • Page 296: Fxo Gateway To Pstn (Plar Mode)

    Appendix C VoIP Configuration Examples FXO Gateway to PSTN (PLAR Mode) The following scenario shows an FXO gateway to PSTN connection in PLAR mode. In this scenario, PSTN users in Salt Lake City, Utah, can dial a local number and establish a private line connection in a remote location.
  • Page 297: Router San Jose Configuration

    Appendix C VoIP Configuration Examples Router San Jose Configuration hostname router SJ ! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern 14085554000 port 0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern 1801..session target ipv4:172.16.65.182 ip precedence 5 ! Configure the serial interface 0 interface serial0 clock rate 2000000...
  • Page 298 Appendix C VoIP Configuration Examples Catalyst 4224 Access Gateway Switch Software Configuration Guide C-14 OL-2031-02...
  • Page 299 I N D E X static adding 3-22 adding described 3-18, 3-22 secure addresses 3-20, 3-21 removing 3-23 static addresses 3-22 Address Resolution Protocol (ARP) address see ARP table resolution 3-17 address table see also addresses aging time, configuring 3-19 addresses dynamic addresses, removing 3-20...
  • Page 300 Cisco CallManager feature description 10-8 6-39 CMCC (Cisco Mainframe Channel Connection) 6-39 adapter BECN 6-38 SNA-to-IP integration 12-11 BECN (backward explicit congestion codec notification) applied FRTS...
  • Page 301 DS-0 group aging time timeslots for a DS-0 group 3-19 5-20 asynchronous/synchronous serial trap managers 3-11 interface VLANs Cisco CallManager 5-16 voice interfaces codec and VAD 6-35 Voice over IP custom queuing 6-11 voice ports 6-22...
  • Page 302 Index configuring 3-13 DE (discard eligible) lists, traffic shaping 10-4 described 3-14 debug cch323 h225 command 6-22 enabling 3-14 debug cch323 rtp command 6-22 document debug vpm spi command 6-22 conventions delay objectives xvii dial-peer command organization xviii dial-peer configuration documentation optimizing 6-33...
  • Page 303 Index E&M voice port FEP (front-end processor) configuration example replacement 12-10 configuring Frame Relay for VoIP 6-27 fine-tuning commands 6-30 configuring 6-37 signaling type example 6-38 troubleshooting tips FRTS (Frame Relay Traffic Shaping) 6-30 10-9 verifying 6-29 E.164 emulation, sample configuration 5-23 E1/T1 ISDN PRI interface emulation options...
  • Page 304 Cisco’s implementation 12-2 inline power 3-16 LANE support 12-3 interface configuration command mode 12-2 interface numbering MLS support 12-3 Cisco 3600 series routers Multilayer Switching 6-9, B-3 See IPX, MLS support Catalyst 4224 Access Gateway Switch Software Configuration Guide IN-6 OL-2031-01...
  • Page 305 Index routing between emulated LANs 12-3 MAC addresses metrics 12-1 adding secure 3-20 12-1 aging time 3-19 VLAN support 12-3 discovering 3-18, 3-19 ISDN BRI interface, configuring MAC address tables, managing 3-18 ISDN PRI interface manual redirection of call agent configuring 4-12 mean opinion score...
  • Page 306 Index power, inline 3-15 power detection on the 3524-PWR 3-16 NANP primary Cisco CallManager North American Numbering Plan privileged EXEC command mode Novell IPX provisioning the gateway 5-16 See IPX 6-37 number expansion command 6-12 configuring 6-15 described 6-12 table...
  • Page 307 Index removing signaling types dynamic address entries E&M 3-20 6-22, B-8 IP information FXS/FXO 3-13 6-22, B-8 secure addresses 3-21 SNA (Systems Network Architecture) static addresses internetworking overview 3-22, 3-23 12-11 RSVP SNA-to-IP integration applied description 12-4 configuring for voice phases enabled (figure)
  • Page 308 Index switchover trap managers switchover command adding 3-11 Switch Port Analyzer (SPAN) configuring 3-11 disabling 3-17 troubleshooting enabling dial-peer configuration 3-16 6-22 E&M configuration 6-30 FXS/FXO configuration 6-25 T1 channel bank 5-19 T1 interface configuring 4-12 6-9, B-3 terminal, connecting to undo command timeout, disabling user EXEC command mode...
  • Page 309 Index voice activity detection VoIP see VAD see Voice-over-IP voice interfaces VoIP dial peer configuring configuring 6-21 Voice over IP described 6-16 configuring 3-14, 5-1, 6-1 Frame Relay, configuring for 6-37 port configuration 3-15 voice over IP weighted fair queuing 6-12 linking PBX users with E&M trunk lines Weighted Random Early Detection...
  • Page 310 Index Catalyst 4224 Access Gateway Switch Software Configuration Guide IN-12 OL-2031-01...

This manual is also suitable for:

Catalyst 4224

Table of Contents