Cisco Catalyst 4224 Software Configuration Manual Download Page 1

 

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

Catalyst 4224 Access Gateway 
Switch Software Configuration 
Guide

March 2003

Text Part Number: OL-2031-02

Summary of Contents for Catalyst 4224

Page 1: ...stems 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 Catalyst 4224 Access Gateway Switch Software Configuration Guide March 2003 Text Part Number OL 2031 02 ...

Page 2: ... DAMAGES INCLUDING WITHOUT LIMITATION LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Catalyst 4224 Access Gateway Switch Software Configuration Guide Copyright 2001 2003 Cisco Systems Inc All rights reserved CCIP CCSP the Cisco Arrow logo the Cisco Powered Network mark...

Page 3: ...Cisco com xxi Documentation CD ROM xxi Ordering Documentation xxii Documentation Feedback xxii Obtaining Technical Assistance xxiii Cisco com xxiii Technical Assistance Center xxiii Cisco TAC Website xxiv Cisco TAC Escalation Center xxv Obtaining Additional Publications and Information xxv C H A P T E R 1 Product Overview 1 1 Features 1 2 Solution 1 3 IP Telephony 1 5 Ethernet Switching 1 5 Surviv...

Page 4: ...r 3 QoS 1 16 WAN QoS Queuing and Scheduling 1 16 Summary of the Layer 3 WAN QoS Features 1 16 Configuration Guidelines 1 18 Default Port Configuration 1 18 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...

Page 5: ... 2 Configuring for the First Time 2 1 First Time Configuration 2 1 Booting the Catalyst 4224 2 2 Downloading an Image to Boot Flash Memory 2 2 Connecting a Terminal 2 3 Connecting a Modem 2 3 Configuring the Management Port 2 3 Interface Numbering 2 4 Using the Cisco IOS CLI 2 5 Getting Help 2 6 Command Modes 2 6 Disabling a Command or Feature 2 8 Saving Configuration Changes 2 8 C H A P T E R 3 C...

Page 6: ...Gateway Switch 3 10 Adding Trap Managers 3 11 Configuring IP Information 3 11 Assigning IP Information to the Switch Overview 3 11 Assigning IP Information to the Switch Procedure 3 12 Removing an IP Address 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 ...

Page 7: ...rface Configuration 4 18 Saving Configuration Changes 4 19 C H A P T E R 5 Configuring the Voice Interfaces 5 1 Configuring Voice Interfaces 5 1 MGCP Configuration 5 3 Enabling MGCP 5 4 Enabling Switchover and Switchback 5 5 Configuring FXS and FXO Analog Ports 5 8 Configuring T1 CAS E M Emulation 5 8 Configuring T1 E1 ISDN PRI Ports 5 10 Configuring T1 Interfaces 5 10 Configuring E1 Interfaces 5 ...

Page 8: ...31 T1 PRI Configuration Example 5 33 Configuring E1 Interfaces 5 33 E1 PRI Configuration Example 5 34 E M Trunk Line Configuration H 323 5 35 Scenario 5 35 Handling Incoming Caller ID Digits on an E M Port 5 36 Gateway San Jose Configuration 5 37 Gateway Salt Lake City Configuration 5 37 C H A P T E R 6 Configuring VoIP 6 1 Prerequisite Tasks 6 2 Configuration Tasks 6 3 Configure IP Networks for R...

Page 9: ... a Number Expansion Table 6 13 Configure Number Expansion 6 15 Configure Dial Peers 6 15 Inbound Versus Outbound Dial Peers 6 17 Create a Dial Peer Configuration Table 6 19 Configure POTS Dial Peers 6 20 Outbound Dialing on POTS Dial Peers 6 20 Configure VoIP Dial Peers 6 21 Verifying Your Configuration 6 21 Troubleshooting Tips 6 22 Configure Voice Ports 6 22 Configure FXS or FXO Voice Ports 6 23...

Page 10: ...XS RJ 21 Module 7 1 Eight Port RJ 21 FXS Module User Interface Conventions 7 2 Configuring FXS Voice Ports 7 2 Changing Default Configurations 7 2 Validating the Configuration 7 4 Troubleshooting the Configuration 7 5 Fine Tuning FXS Voice Ports 7 6 Activating the Voice Port 7 8 Sample Configuration 7 8 Cisco 2600 Sample Configuration 7 10 FXS Module Sample Configuration 7 10 Displaying Cisco 2600...

Page 11: ...menting Fax over IP on Cisco Voice Gateways 9 1 Overview 9 2 Fax Pass Through 9 2 Cisco Fax Relay 9 3 Supported Platforms and Features 9 4 C H A P T E R 10 Traffic Shaping 10 1 About Traffic Shaping 10 2 Why Use Traffic Shaping 10 2 Traffic Shaping and Rate of Transfer 10 3 Discard Eligible Bit 10 4 Differences Between Shaping Mechanisms 10 4 Traffic Shaping and Queueing 10 6 Generic Traffic Shapi...

Page 12: ... Configuring the Encryption Service Adapter 11 2 Step 1 Configure the T1 Channel Group 11 2 Step 2 Configure the Internet Key Exchange Security Protocol 11 3 Step 3 Configure IPSec Network Security 11 5 Step 4 Configure Encryption on the T1 Channel Group Serial Interface 11 8 Verifying the Configuration 11 9 Sample Configurations 11 9 Encrypting Traffic Between Two Networks 11 10 Configuration Fil...

Page 13: ...guration 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 12 9 Summary of Four Phase Model 12 9 Scenarios for SNA to IP Integration 12 10 Line Consolidation 12 10 FEP Replacement 12 10 Desktop Consolidation 12 11 SNA Configuration 12 12 A P P E N D I X A Command Refere...

Page 14: ...delines A 3 Example A 4 monitor session A 4 Syntax A 4 Syntax Description A 4 Defaults A 4 Command Modes A 5 Usage Guidelines A 5 Examples A 5 spanning tree A 6 Syntax A 6 Syntax Description A 6 Defaults A 6 Command Modes A 6 Usage Guidelines A 6 Example A 7 spanning tree portfast A 7 Syntax A 7 Syntax Description A 7 Defaults A 8 Command Modes A 8 Usage Guidelines A 8 Example A 8 ...

Page 15: ...tchport 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 A P P E N D I X B Synopsis of Basic VoIP Concepts B 1 VoIP Overview B 1 A Voice Primer B 2 How VoIP Processes a Typical Telephone Call B 2 Numbering Scheme B 3 Analog Versus Digital B 3 codecs B 4 Mean Opinion Score B 4 Delay B 5 Jitter B 6 End to End Delay B 7 Echo B 7 S...

Page 16: ...lyst 4224 RLB w C 4 Configuration for Catalyst 4224 RLB e C 5 Configuration for Catalyst 4224 RLB 2 C 6 Linking PBX Users with E M Trunk Lines C 7 Router San Jose Configuration C 8 Router Salt Lake City Configuration C 9 FXO Gateway to PSTN C 10 Router San Jose Configuration C 11 Router Salt Lake City Configuration C 11 FXO Gateway to PSTN PLAR Mode C 12 Router San Jose Configuration C 13 Router S...

Page 17: ...x 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 To use this document effectively you need to be an experienced data networking professional with a background...

Page 18: ...ing the Catalyst 4224 Chapter 3 Configuring Ethernet Switching Describes how to configure the Ethernet ports and voice VLANs Chapter 4 Configuring the Data Interfaces Describes how to configure the data interfaces for IP WAN routing Chapter 5 Configuring the Voice Interfaces Describes how to configure key voice interfaces Chapter 6 Configuring VoIP Provides comprehensive information on Cisco VoIP ...

Page 19: ...mt cmtk mibs shtml Chapter 10 Traffic Shaping Describes different types of traffic shaping and provides pointers to configuration and command information Chapter 11 Configuring Encryption Services Describes how to configure encryption services Chapter 12 Configuring Other Routing Protocols Describes how to configure the Novell Internetwork Packet Exchange IPX and IBM Systems Network Architecture S...

Page 20: ...Optional alternative keywords are grouped in brackets and separated by vertical bars string A nonquoted set of characters Do not use quotation marks around the string or the string will include the quotation marks screen font Terminal sessions and information the system displays are in screen font boldface screen font Information you must enter is in boldface screen font italic screen font Argumen...

Page 21: ...t this URL http www cisco com univercd home home htm You can access the Cisco website at this URL http www cisco com International Cisco websites can be accessed from this URL http www cisco com public countries_languages shtml Documentation CD ROM Cisco documentation and additional literature are available in a Cisco Documentation CD ROM package which may have shipped with your product The Docume...

Page 22: ...CONDOCCD through the online Subscription Store http www cisco com go subscription Nonregistered Cisco com users can order documentation through a local account representative by calling Cisco Systems Corporate Headquarters California U S A at 408 526 7208 or elsewhere in North America by calling 800 553 NETS 6387 Documentation Feedback You can submit comments electronically on Cisco com On the Cis...

Page 23: ...es 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 Resolve technical issues with online support Download and test software packages Order Cisco learning materials and merchandise Register for online skill assessment training and certification p...

Page 24: ...isco TAC website to resolve P3 and P4 issues yourself saving both cost and time The site provides around the clock access to online tools knowledge bases and software To access the Cisco TAC website go to this URL http www cisco com tac All customers partners and resellers who have a valid Cisco service contract have complete access to the technical support resources on the Cisco TAC website Some ...

Page 25: ...ample SMARTnet SMARTnet Onsite or Network Supported Accounts NSA When you call the center please have available your service agreement number and your product serial number Obtaining Additional Publications and Information Information about Cisco products technologies and network solutions is available from various online and printed sources The Cisco Product Catalog describes the networking produ...

Page 26: ...t 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 e kbns 1 html Internet Protocol Journal is a quarterly journal published by Cisco Systems for engineering professionals involved in the design development and operation of public and private internets and intranets You can access the Internet Pro...

Page 27: ...w of the Catalyst 4224 This section contains the following topics Features page 1 2 Solution page 1 3 IP Telephony page 1 5 VoIP Gateway page 1 6 IP Routing and WAN Features page 1 7 Application Notes page 1 10 Configuration Guidelines page 1 18 Recommended Configurations page 1 22 For a synopsis of basic VoIP concepts see the following section in this manual Appendix B Synopsis of Basic VoIP Conc...

Page 28: ...de variety of cards and can provide connectivity to the public switched telephone network PSTN or wide area network WAN Multiflex Voice WAN Interface Card VWIC Voice interface card VIC WAN interface card WIC Onboard hardware based encryption accelerator Note These cards can be shared with the Cisco 1600 series Cisco 1700 series Cisco 2600 series and Cisco 3600 series platforms The Catalyst 4224 su...

Page 29: ...porate headquarters or the corporate data center Deploying and managing key systems or PBXs in branch offices is no longer necessary Centralized call processing provides remote branch office users with access to IP telephony applications at centralized locations over the IP WAN Centralized call processing has the following benefits Centralized configuration and management Remote access at to all C...

Page 30: ...nnecting the analog devices the PSTN and IP WAN This system uses ISDN Basic Rate Interface BRI as a lifeline to the PSTN If the WAN link or the Cisco CallManager cluster becomes unavailable Survivable Remote Site Telephony SRST allows the Catalyst 4224 to keep the IP phones on the branch networks running Under these circumstances the Catalyst 4224 functions as an H 323 gateway thereby ensuring uni...

Page 31: ...DSP farm Transcoding and conferencing services are supplied to the branch office by a central Cisco CallManager Ethernet Switching Using the auxiliary VLAN feature you can segment phones into separate logical networks even though the data and voice infrastructure are physically the same The auxiliary VLAN feature places the phones into their own VLANs without the need for end user intervention You...

Page 32: ...processing backup for the IP phones in the remote office The Catalyst 4224 provides call processing for the duration of the failure and ensures that the phones remain operational Upon restoration of the WAN and connectivity to the network the system automatically shifts call processing functions to the primary Cisco CallManager cluster Configuration for this capability is done only once in the Cis...

Page 33: ...rts the following WAN features Multilink Point to Point Protocol MLPPP Frame relay 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 version VIC 2BRI S T TE Two port BRI S T terminal equipment voice fax interface card also ...

Page 34: ... 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 Table 1 2 Data Interface Cards Module Description VWIC 1MFT T1 One port T1 Fractional T1Multiflex Trunk with CSU DSU VWIC 2MFT T1 Dual port...

Page 35: ...o and data applications The combination of QPM and CiscoWorks Service Management Solution enables network administrators to adjust service levels in accordance with defined QoS policies The end result is network wide intelligent and consistent QoS that enables performance protection for voice applications while reducing costs for growing networks VPN and Firewall Features The Catalyst 4224 provide...

Page 36: ...y of Service page 1 14 Layer 2 QoS page 1 14 Separate Voice and Data VLANs page 1 15 Single Voice and Data VLAN with dot1p page 1 15 Layer 3 QoS page 1 16 WAN QoS Queuing and Scheduling page 1 16 Summary of the Layer 3 WAN QoS Features page 1 16 Architecture The Catalyst 4224 consists of the following physical subsystems Time division multiplexing TDM subsystem Two VIC WIC VWIC slots one VIC slot ...

Page 37: ...TDM switch in one system Figure 1 2 shows a logical view of the Catalyst 4224 Figure 1 2 Logical View of Catalyst 4224 DSP Allocation The Catalyst 4224 has six digital signal processors DSPs installed on the motherboard The DSPs convert voice signals into data packets and data packets into voice signals The DSPs on the Catalyst 4224 do not perform transcoding and hardware conferencing These servic...

Page 38: ...um number of T1 E1 DS0s that you can configure is 24 on the six available DSPs The eight port FXS module must be disabled using the CLI otherwise only 16 channels are supported by four available DSPs Only use DSP channels if you configure voice DS0s Each set of four DS0s uses one DSP One entire DSP is used even if less than four DS0s are configured Five DS0s use two DSPs T1 E 1 DS0 channels cannot...

Page 39: ... 003 04 anlgMC 3 IDLE idle 0 0 4 4 0 05 anlgMC 3 IDLE idle 0 0 4 5 0 06 anlgMC 3 IDLE idle 0 0 4 6 0 07 anlgMC 3 IDLE idle 0 0 4 7 0 5409 004 00 medium 3 5 IDLE idle 0 0 2 0 1 1 01 medium 8 IDLE idle 0 0 2 0 1 2 02 medium IDLE idle 0 0 2 0 1 3 03 medium IDLE idle 0 0 2 0 1 4 5409 005 00 medium 3 5 IDLE idle 0 0 2 0 1 5 01 medium 8 IDLE idle 0 0 2 0 1 6 02 medium IDLE idle 0 0 2 0 1 7 03 medium IDL...

Page 40: ... assignment is based on the dot1p value in the packet Any voice bearer packets that come in from the IP phones on the voice VLAN are automatically placed in the highest priority Queue 3 based on the 802 1p value generated by the IP phone The queues are then serviced on a WRR basis The control traffic which uses a CoS ToS of 3 is placed in Queue 2 Layer 2 QoS Table 1 3 summarizes the queues CoS val...

Page 41: ... configure separate voice and data VLANs interface FastEthernet5 22 no ip address duplex auto speed auto switchport access vlan 60 switchport voice vlan 160 snmp trap link status Packets arriving on the specified voice VLAN will automatically have the 802 1p priority values read on ingress Unlike the Catalyst 3500 trunking mode does not have to be used to distinguish between a voice and a data VLA...

Page 42: ...cheduling The Catalyst 4224 supports WAN QoS queuing and scheduling Table 1 4 shows Catalyst 4224 WAN QoS queuing and scheduling features The Service Policy command is disabled for Frame Relay Summary of the Layer 3 WAN QoS Features In summary the Catalyst 4224 supports the following Cisco IOS Layer 3 WAN QoS features Classification and Marking Access control lists ACL Class based marking Class ba...

Page 43: ... RTP Network based Application Recognition NBAR Policy based Routing PBR QoS Preclassification for tunnels Congestion Avoidance Flow based RED FRED Weighted RED WRED WRED with DSCP Policing and Traffic Shaping Class based policing Class based shaping IP Precedence Frame Relay Traffic Shaping FRTS General Traffic Shaping GTS Link Efficiency cRTP fast CEF switching FR LFI FRF 12 MLPPP LFI RTP Header...

Page 44: ...ing 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 Switched Port Analyzer SPAN page 1 22 For Voice over IP VoIP configuration examples see the following section in this manual Appendix C VoIP Configuration Examples Default Port Configuration The Catalyst 4224 boots up as a Layer 2 switch T...

Page 45: ...This sample configuration instructs the IP phone to generate a packet with an 802 1q VLAN ID of 160 and an 802 1p value of 5 default for voice bearer traffic Note Portfast is supported only on nontrunk ports Port Configuration for a Single Subnet If you have only a single subnet available use the same subnet for voice and data The following sample configuration shows a port configuration for a sin...

Page 46: ...rotocol IGRP Enhanced Interior Gateway Routing Protocol EIGRP and open shortest path first OSPF It also supports multicast routing for PIM dense mode sparse mode and sparse dense mode Centralized Cisco CallManager and DHCP Server In a centralized Cisco CallManager deployment model the DHCP server would probably be located across the WAN link You should include an ip helper command on the voice VLA...

Page 47: ...ote DHCP option 150 is supported locally This local support provides the IP address of the TFTP server which has the IP phones configuration An ip helper address would not be required in this case because the IP phone has its IP address and the TFTP server address The configuration request to the TFTP server is a unicast packet Voice Port Configuration You configure voice ports on the Catalyst 422...

Page 48: ...ou can only span selected interfaces The following sample configuration shows a configuration for setting a port monitor session with the range command C4224_SF config monitor session 1 destination SPAN destination interface or VLAN source SPAN source interface or VLAN Recommended Configurations This section contains the following topics No VTP or DTP Support page 1 23 Creating a VLAN page 1 23 De...

Page 49: ...from the EXEC prompt Creating a VLAN The following sample configuration shows how to define a VLAN manually C4224 vlan vlan 10 name external_switch_Vlan10 VLAN 10 added Name external_switch_Vlan10 C4224 vlan vlan 11 name external_switch_Vlan11 VLAN 11 added Name external_switch_Vlan11 C4224 vlan exit APPLY completed Exiting Defining a VLAN on a Trunk Port The following sample configuration shows h...

Page 50: ...onfigure the Primary Rate Interface PRI VIC last after you configure all the VIC cards that require the DSP resources Step 2 Allocate all 24 time slots for the PRI group The following sample configuration shows a configuration for the range command controller T1 1 0 framing esf linecode b8zs pri group timeslots 1 24 Note The DSP resources are not sufficient for the 24 time slots Therefore you rece...

Page 51: ...7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 State 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 For incoming calls only time slots 1 16 are used by the switch or PBX North American CO ISDN switches should support SERVICE SERVCE ACK messages for maintenance service of B channels on the PRI span For the CO switches that do not support this service you must ask the provider to busy out the channels No Ring...

Page 52: ...ow support H 323 Version 2 You should not ordinarily enable this checkbox box when defining the Catalyst 4224 as an H 323 Gateway The only time you should check the box is if transcoding is used at the central site Transcoding would be necessary in situations where the Catalyst 4224 uses G 729 for IP WAN calls and a voice mail system at the central site supports G 711 only If you enable MTP Requir...

Page 53: ...d local calls use WAN bandwidth When the MTP Required checkbox is not enabled the local FXS to IP phone call is directly connected between the Catalyst 4224 H 323 gateway and the IP phone H323 Gateway VOIP Bind SRCADDR Command You must always use the following command to configure the IP address of the gateway This command ensures that the IP address included in the H 323 packet is deterministic i...

Page 54: ...e vlan 60 forward time 4 spanning tree vlan 160 forward time 4 These commands configure VLAN ports to forward data in eight seconds If you connect Catalyst 4224 to another switch make sure that the timers are the same value Otherwise Spanning Tree issues may arise Also note that only 802 1Q trunking is supported on the Catalyst 4224 Priority Queuing on Frame Relay Frame relay does not support LLQ ...

Page 55: ...The following sample configuration shows how to apply shaping interface ser0 0 encapsulation frame relay frame relay traffic shaping Maximum Number of VLAN and Multicast Groups The maximum number of VLANs multiplied by the number of multicast groups must be less than or equal to 242 For example the number for 10 VLANs and 20 groups would be 200 which is within the 242 limit IP Multicast Support Th...

Page 56: ...Chapter 1 Product Overview Recommended Configurations 1 30 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 57: ...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 Using the Cisco IOS CLI page 2 5 First Time Configuration This section contains the following topics Booting the Catalyst 4224 page 2 2 Downloading an Image to Boot Flash Memory page 2 2 Configuring the Management Port page ...

Page 58: ...24 for the first time you can configure the interfaces and then save the configuration to a file in NVRAM Downloading an Image to Boot Flash Memory Note Before you can download an image you must first configure the management port See Configuring the Management Port section on page 2 3 If you have already configured the Catalyst 4224 you can download a run time image from a TFTP server on the netw...

Page 59: ...he default baud rate 9600 baud of the console port Set up the terminal as follows 9600 baud Eight data bits No parity Two stop bits No flow control Connecting a Modem Connect the modem to the port using the RJ 45 to RJ 45 cable and the RJ 45 to DB 25 DCE adapter labeled Modem Configuring the Management Port You can manage the Catalyst 4224 through the 10 100 management port by assigning it an IP a...

Page 60: ...WICs Slot 2 supports VICs WICs and VWICs Slot 3 supports VICs and VWICs but does not support WICs Slot 4 supports an eight Port FXS RJ21 Module Slot 5 supports 10 100 Ethernet switching ports Each individual interface is identified by a slot number and a port number The slots are numbered as follows Slot 0 supports the following interfaces embedded in the mainboard Console port con 0 Ethernet Mana...

Page 61: ... able to perform the configuration required using the instructions and examples provided in this guide To help get you started this section provides a brief overview of some of the main features of the CLI For further information refer to the Cisco IOS configuration guides and command references for details about specific commands This section contains the following topics Getting Help page 2 6 Co...

Page 62: ...ress the Up Arrow key 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 Entering a question mark at the prompt displays a list of commands available for ...

Page 63: ...EXEC mode use the exit or end command or press Ctrl Z Interface configuration From the global configuration mode enter the interface type number command such as FastEthernet int 0 0 hostname config if The default is router config if To exit to global configuration mode use the exit command To exit directly to privileged EXEC mode press Ctrl Z Dial peer configuration From the global configuration m...

Page 64: ...to the prompt Note You can press Ctrl Z in any mode to return immediately to privileged EXEC mode router instead of entering exit which returns you to the previous mode Disabling a Command or Feature If you want to undo a command you entered or disable a feature enter the keyword no before most commands for example no mgcp Saving Configuration Changes You need to enter the copy running config star...

Page 65: ... Daisy Chained Workstation page 3 3 Configuring Ethernet Ports to Support IP Phones with Multiple Ports page 3 9 Managing the Catalyst 4224 Access Gateway Switch page 3 10 Configuring the Catalyst 4224 for Cisco IP Telephony The Catalyst 4224 has 24 10 100 switched Ethernet ports with integrated inline power and Quality of Service QoS features These features allow you to extend Voice over IP VoIP ...

Page 66: ...r is automatically supplied on the 10 100 ports 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 Figure 3 1 Ways to Connect IP Phones to the Network For more information about Option 1 see the Configuring Ethernet Ports to Suppor...

Page 67: ...of a centralized Cisco CallManager deployment model used to enable converged networks Figure 3 2 Catalyst 4224 with IP Phone and Workstation The configurations described in this section use the model shown in Figure 3 2 In this model voice traffic is given a higher priority CoS 5 than data traffic CoS 0 Hence voice traffic is placed in a high priority queue that gets serviced first and data traffi...

Page 68: ...tion in Ethernet switches This is a vital component in designing Cisco IP Telephony networks The Catalyst 4224 provides the performance and intelligent services of Cisco IOS software for branch office applications The Catalyst 4224 can identify user applications such as voice or multicast video and classify traffic with the appropriate priority levels QoS policies are enforced using Layer 2 and 3 ...

Page 69: ...tion A user can plug the phone into the switch and the switch provides the phone with the necessary VLAN information Enter the privileged EXEC mode A preset password may be required to enter this mode enable Enter global configuration mode configure terminal Enter the interface configuration mode and the port to be configured for example interface fa5 1 interface interface Configure the port as ac...

Page 70: ...e IP phone to generate a packet with an 802 1Q VLAN ID of 150 with an 802 1p value of 5 default for voice bearer traffic Note The portfast command is only supported on nontrunk ports Note In a centralized Cisco CallManager deployment model the DHCP server might be located across the WAN link If so an ip helper address command pointing to the DHCP server should be included on the voice VLAN interfa...

Page 71: ... Subnet for Voice and Data For network designs with incremental IP telephony deployment network managers can configure the Catalyst 4224 so that the voice and data traffic coexist on the same subnet This might be necessary when it is impractical to allocate an additional IP subnet for IP phones You must still prioritize voice above data at both Layer 2 and Layer 3 Layer 3 classification is already...

Page 72: ...nfigure IP phone on the same VLAN as the access VLAN Enter global configuration mode configure terminal Enter the interface configuration mode and the port to be configured for example interface fa5 1 interface interface Set the native VLAN for untagged traffic vlan id represents the ID of the VLAN that is sending and receiving untagged traffic on the port Valid IDs are from 1 to 1001 Leading zero...

Page 73: ...IP phone to generate an 802 1Q frame with a null VLAN ID value but with an 802 1p value default is CoS of 5 for bearer traffic The voice and data vlans are both 40 in this example ConfiguringEthernetPortstoSupportIPPhoneswith Multiple Ports 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 networ...

Page 74: ...ng 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 You might find this information useful when you configure the switch for the previous scenarios Note For...

Page 75: ...on on the Catalyst 4224 and contains the following topics Assigning IP Information to the Switch Overview page 3 11 Assigning IP Information to the Switch Procedure page 3 12 Removing an IP Address page 3 13 Specifying a Domain Name and Configuring the DNS page 3 13 Assigning IP Information to the Switch Overview You can use a BOOTP server to automatically assign IP information to the switch howev...

Page 76: ... then referred to as a subnet mask The broadcast address is reserved for sending messages to all hosts The CPU sends traffic to an unknown IP address through the default gateway Assigning IP Information to the Switch Procedure Beginning in privileged EXEC mode follow these steps to enter the IP information Task Command Step 1 Enter global configuration mode configure terminal Step 2 Enter interfac...

Page 77: ... session your connection to the switch will be lost 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 Task Command Step ...

Page 78: ...global naming scheme that uniquely identifies network devices Specifying the Domain Name You can specify a default domain name that the software uses to complete domain name requests You can specify either a single domain name or a list of domain names When you specify a domain name any IP host name without a domain name will have that domain name appended to it before being added to the host tabl...

Page 79: ... 2 on page 3 3 shows a sample configuration for a Cisco 7960 IP Phone 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 accordi...

Page 80: ... IP phone by the Catalyst 4224 To display the maximum power requested by the IP phone enter the show cdp neighbors interface type number detail command in privileged EXEC mode Enabling and Disabling Switch Port Analyzer You can monitor traffic on a given port by forwarding incoming and outgoing traffic on the port to another port in the same VLAN A Switch Port Analyzer SPAN port cannot monitor por...

Page 81: ... data link address of that device The process of determining the local data link address from an IP address is called address resolution Task Command Step 1 Enter global configuration mode configure terminal Step 2 Enable port monitoring for a specific session number Optionally supply a SPAN destination interface and a source interface monitor session number destination source Step 3 Return to pri...

Page 82: ...abled on the IP interface When you manually add entries to the ARP Table by using the CLI you must be aware that these entries do not age and must be manually removed Managing the MAC Address Tables The switch uses the MAC address tables to forward traffic between ports All MAC addresses in the address tables are associated with one or more ports These MAC tables include the following types of add...

Page 83: ... VLAN and dynamic in another Addresses that are statically entered in one VLAN must be static addresses in all other VLANs Changing the Address Aging Time Dynamic addresses are source MAC addresses that the switch learns and then drops when they are not in use Use the Aging Time field to define how long the switch retains unseen addresses in the table This parameter applies to all VLANs Configurin...

Page 84: ... address is a manually entered unicast address that is forwarded to only one port per VLAN If you enter an address that is already assigned to another port the switch reassigns the secure address to the new port Task Command Step 1 Enter global configuration mode configure terminal Step 2 Enter the number of seconds that dynamic addresses are to be retained in the address table You can enter a num...

Page 85: ...teps to remove a secure address You can remove all secure addresses by using the clear mac address table secure command in privileged EXEC mode Task Command Step 1 Enter global configuration mode configure terminal Step 2 Enter the MAC address its associated port and the VLAN ID mac address table secure hw addr interface vlan vlan id Step 3 Return to privileged EXEC mode end Step 4 Verify your ent...

Page 86: ...res the VLAN ID for the address from the ports that you select on the forwarding map A static address in one VLAN must be a static address in other VLANs A packet with a static address that arrives on a VLAN where it has not been statically entered is flooded to all ports and not learned Adding Static Addresses Beginning in privileged EXEC mode follow these steps to add a static address Task Comma...

Page 87: ...e a static address You can remove all secure addresses by using the clear mac address table static command in privileged EXEC mode Task Command Step 1 Enter global configuration mode configure terminal Step 2 Enter the static MAC address the interface and the VLAN ID of the port to be removed no mac address table static hw addr interface interface vlan vlan id Step 3 Return to privileged EXEC mode...

Page 88: ...Chapter 3 Configuring Ethernet Switching Managing the Catalyst 4224 Access Gateway Switch 3 24 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 89: ...st Name and Password page 4 2 Configuring the Fast Ethernet Interface page 4 4 Configuring Asynchronous Synchronous Serial Interfaces page 4 6 Configuring ISDN BRI Interfaces page 4 9 Configuring T1 and E1 Interfaces page 4 12 Checking the Interface Configuration page 4 18 Saving Configuration Changes page 4 19 This section describes some of the most commonly used configuration procedures For adva...

Page 90: ...way enable Password password gateway Step 2 Enter global configuration mode You know you have entered global configuration mode when the prompt changes to gateway config gateway configure terminal Enter configuration commands one per line End with Ctrl Z gateway config Step 3 Provide the Catalyst 4224 a meaningful name Substitute your host name for gwy1 gateway config hostname gwy1 gwy1 config Ste...

Page 91: ...w config Using 1888 out of 126968 bytes version XX X hostname gwy1 enable secret 5 1 60L4 X2JYOwoDc0 kqa1loO w8 Check the host name and encrypted password displayed near the top of the command output Step 6 Enter exec timeout 0 0 to prevent the Catalyst 4224 s EXEC facility from timing out if you do not type any information on the console screen for an extended period gwy1 config line exec timeout...

Page 92: ...unction is off passwords are case sensitive Configuring the Fast Ethernet Interface This section describes how to configure the Fast Ethernet interface on the Catalyst 4224 Timesaver Before you begin disconnect all WAN cables from the Catalyst 4224 to prevent it from running the AutoInstall process The Catalyst 4224 attempts to run AutoInstall if there is a WAN connection on both ends and the Cata...

Page 93: ... with Ctrl Z gateway config Step 3 Enable routing protocols as required for your global configuration gateway config ip routing Step 4 Enter interface configuration mode You know you have entered interface configuration mode when the prompt changes to gateway config if gateway config interface fastethernet 0 0 gateway config if Step 5 Assign an IP address and subnet mask to the interface gateway c...

Page 94: ... to run AutoInstall if there is a WAN connection on both ends and the Catalyst 4224 does not have a valid configuration file stored in NVRAM The Catalyst 4224 can take several minutes to determine that AutoInstall is not connected to a remote TCP IP host To configure the serial interfaces perform these steps Task Command Step 1 Enter enable mode Enter the password You know you have entered enable ...

Page 95: ...Step 7 When a port is operating in DCE mode the default operation is for the DCE to send serial clock transmit SCT and serial clock receive SCR clock signals to the DTE and for the DTE to return an serial clock transmit external SCTE signal to the DCE If the DTE does not return an SCTE signal enter this command to configure the DCE port to use its own clock signal gateway config if dce terminal ti...

Page 96: ...peat Step 4 through Step 9 gateway config if exit Step 11 When you finish configuring the interface return to enable mode gateway config Ctrl z gateway Task Command Table 4 1 Half duplex timer commands Timer Syntax Default Setting Milliseconds CTS delay1 1 CTS Clear To Send half duplex timer cts delay 100 CTS drop timeout half duplex timer cts drop timeout 5000 DCD2 drop delay 2 DCD Data Carrier D...

Page 97: ... order a correctly configured ISDN BRI line from your local telecommunications service provider ISDN BRI provisioning refers to the types of services provided by the ISDN BRI line Although provisioning is performed by your ISDN BRI service provider you must tell the provider what you want Timesaver Before you begin disconnect all WAN cables from the Catalyst 4224 to keep it from running the AutoIn...

Page 98: ...is setting for the configured interface gateway config isdn switch type switch type Step 4 Enable routing protocols as required for your global configuration gateway config ip routing Step 5 Enter the interface configuration mode You know you have entered interface configuration mode when the prompt changes to gateway config if gateway config interface bri 2 0 gateway config if Step 6 Enable encap...

Page 99: ...emory size iomem 40 Step 10 When you finish configuring the interface return to enable mode gateway config Ctrl z gateway Task Command Table 4 2 ISDN Switch Types Region ISDN Switch Type Description Australia basic ts013 Australian TS013 switches Europe basic 1tr6 German 1TR6 ISDN switches basic nwnet3 Norwegian NET3 ISDN switches phase 1 basic net3 NET3 ISDN switches UK and others vn2 French VN2 ...

Page 100: ...alyst 4224 does not have a valid configuration file stored in NVRAM The Catalyst 4224 can take several minutes to determine that AutoInstall is not connected to a remote TCP IP host Configuring T1 Interfaces To configure a new T1 Channelized T1 CT1 PRI or CT1 PRI channel status unit CSU interface or to change the configuration of an existing interface perform these steps Task Command Step 1 Enter ...

Page 101: ...it signalling RBS configurations SF uses the framing bit to identify the channel and voice related signaling within the frame SF is not recommended for PRI configurations ESF is required for 64 kb operation on DS0s ESF requires 2k framing bits for synchronization The remaining 6k is used for error detection CRC and data link monitoring ESF is recommended for PRI configurations This example uses ES...

Page 102: ...it signalling RBS configurations SF uses the framing bit to identify the channel and voice related signaling within the frame SF is not recommended for PRI configurations ESF is required for 64 kb operation on DS0s ESF requires 2k framing bits for synchronization The remaining 6k is used for error detection CRC and data link monitoring ESF is recommended for PRI configurations This example uses ES...

Page 103: ...ts of five time slots and runs at a speed of 56 kbps per time slot gateway config controller channel group 0 timeslots 1 3 5 7 Step 10 Configure each channel group as a virtual serial interface Specify the T1 interface 1 unit number 0 and channel group 0 to modify and enter the interface configuration mode You know you have entered interface configuration mode when the prompt changes to gateway co...

Page 104: ...tered global configuration mode when the prompt changes to gateway config gateway configure terminal Enter configuration commands one per line End with Ctrl Z gateway config Step 3 Enable routing protocols as required for your global configuration gateway config ip routing Step 4 Select frame clock gateway config frame clock s elect Step 5 Enter controller configuration mode for the CE1 PRI interf...

Page 105: ...0 consists of five time slots and runs at a speed of 64 kbps per time slot gateway config controller channel group 0 timeslots 1 3 5 7 Step 9 Configure each channel group as a virtual serial interface Specify the E1 interface unit number and channel group to modify and enter the interface configuration mode You know you have entered interface configuration mode when the prompt changes to gateway c...

Page 106: ...figured for the entire Catalyst 4224 and for individual interfaces with the show protocols command If necessary return to configuration mode to add or remove protocol routing on the Catalyst 4224 or its interfaces Display the running configuration with the show running config command and the configuration stored in NVRAM using the show startup config command Use the ping command to send an echo re...

Page 107: ...sk Command Step 1 Enter enable mode Enter the password You know you have entered enable mode when the prompt changes to gateway gateway enable Password password gateway Step 2 Save the configuration changes to NVRAM so that they are not lost during resets power cycles or power outages gateway copy running config startup config or gateway write memory Step 3 Return to enable mode This message is no...

Page 108: ...Chapter 4 Configuring the Data Interfaces Saving Configuration Changes 4 20 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 109: ... Gateway prompt This section includes the following topics Configuring Voice Interfaces page 5 1 MGCP Configuration page 5 3 H 323 Gateway Configuration page 5 16 Configuring T1 CAS Analog Emulation H 323 page 5 19 ISDN BRI Configuration H 323 page 5 24 T1 E1 Configuration H 323 page 5 31 E M Trunk Line Configuration H 323 page 5 35 Configuring Voice Interfaces Use a voice interface card VIC for a...

Page 110: ...lyst 4224 Refer to the Catalyst 4224 Access Gateway Switch Hardware Installation Guide for instructions Step 2 Power on the Catalyst 4224 If the current configuration is no longer valid you see the following prompt within about one minute Would you like to enter the initial dialog yes no Step 3 Enter no You now enter the normal operating mode of the gateway Note If the current configuration is val...

Page 111: ...config command at the enable prompt c4224 copy running config startup config Building configuration OK c4224 MGCP Configuration If you want to use Media Gateway Control Protocol MGCP configuration of the Catalyst 4224 differs depending on whether you are using it with Cisco CallManager 3 0 or 3 1 With Cisco CallManager 3 1 and later you can create the MGCP gateway configuration on the Cisco CallMa...

Page 112: ...u must identify the primary server and any backup Cisco CallManager servers in case the primary server becomes unavailable You must also configure each voice gateway as an MGCP gateway in Cisco CallManager as described in the Cisco CallManager Administration Guide Finally you must configure the voice ports installed on your gateway To enable generic MGCP support on a Cisco voice gateway enter the ...

Page 113: ... ccm manager redundant host hostname1 hostname2 where hostname1 identifies the first backup Cisco CallManager server using the 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 ...

Page 114: ...e primary Cisco CallManager server without delay as soon as the network connection to the server is reestablished schedule time hh mm Returns the gateway to the control of the primary Cisco CallManager server at the specified time where hh mm is the time according to a 24 hour clock If the configured schedule time is earlier than the time at which the gateway reestablishes a network connection to ...

Page 115: ...d router sh ccm manager MGCP Domain Name router Priority Status Host Primary Registered 172 20 71 44 First backup None Second backup None Current active Call Manager 172 20 71 44 Backhaul Redundant link port 2428 Failover Interval 30 seconds Keepalive Interval 15 seconds Last keepalive sent 00 54 14 elapsed time 00 00 13 Last MGCP traffic time 00 54 14 elapsed time 00 00 13 Last switchover time No...

Page 116: ...in the command To enable FXS or FXO ports with MGCP enter the following commands Gateway config dial peer voice number pots Gateway config dial peer application MGCPAPP Gateway config dial peer port portnumber To use these commands replace number with a unique numeric ID and replace portnumber with the port identifier in the form slot voice module port Use the application MGCPAPP command to place ...

Page 117: ...ch DS 0 group to use FXS FXO or E M using the following command Gateway config controller ds0 group group groupnumber timeslots timeslotnumber type emulationtype Replace emulationtype with e m wink start or e m delay dial Replace groupnumber with the DS 0 group number and replace timeslotnumber with the number of DS 0 time slots to allocate to the group For example the following command configures...

Page 118: ... for MGCP Gateway config controller ds0 group 0 timeslots 1 type e m wink start Gateway config dial peer voice 1 pots Gateway config dial peer application MGCPAPP Gateway config dial peer port 1 0 0 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 Inte...

Page 119: ...gcp For multiflex trunk interfaces you can configure only channel 0 b Configure each PRI group as a virtual serial interface Gateway config controller interface serial 1 0 23 c Specify the T1 interface and unit number to modify interface Serial 1 0 23 no ip address no logging event link status isdn switch type primary 5ess isdn incoming voice voice no cdp enable Step 3 Configure the PRI port by en...

Page 120: ...s0group Replace portnumber with the port number on the voice gateway you are configuring and ds0group with the DS0 group number Step 6 To view the status of the PRI line enter the following command Gateway show ccm manager backhaul This command displays information about the status of the TCP backhaul link and the status of any PRI D channels in the gateway Example 5 3 shows the type of informatio...

Page 121: ...no cdp enable isdn bind l3 ccm manager dial peer voice 1 pots application mgcpapp port 1 0 0 Configuring E1 Interfaces Use the following procedure to configure a new E1 interface balanced or unbalanced or to change the configuration of an existing interface Step 1 Identify the port number and enter line specific information provided by your local carrier a Choose the E1 PRI interface to configure ...

Page 122: ... 4 Bind Layer 3 to the Cisco CallManager for PRI Q 931 Gateway config if isdn bind l3 ccm manager backhaul q931 This command backhauls tunnels ISDN Layer 3 and above to the Cisco CallManager PRI Q 931 signaling backhaul transports signals Q 931 and higher layers for processing a PRI trunk that is physically connected to an MGCP call agent The ISDN lower layer information Q 921 and below is termina...

Page 123: ...emote IP Address 172 20 71 44 Current Link State OPEN Statistics Packets recvd 0 Recv failures 0 Packets xmitted 0 Xmit failures 0 PRI Ports being backhauled Slot 1 port 1 Slot 1 port 0 Sample Configuration The following example shows the overall configuration required to enable MGCP on a E1 PRI line isdn switch type primary 5ess controller E1 1 0 framing esf linecode b8zs pri group timeslots 1 31...

Page 124: ...teway Configuration Compared to Media Gateway Control Protocol MGCP H 323 requires more configuration on a gateway because the gateway must maintain the dial plan and route pattern The gateway must have enough information to direct calls to the correct end point which must be an H 323 capable device When using H 323 ensure that you configure Cisco CallManager correctly to provision the Catalyst 42...

Page 125: ...rvice POTS dial peers use the following command strings c4224 config dial peer voice number pots c4224 config dial peer destination pattern endpoint c4224 config dial peer port 1 portnumber DS0groupnumber Replace number with a unique numeric identifier for each dial peer endpoint with the E 164 telephone extension of the POTS dial peer portnumber with 0 or 1 depending on which T1 port you are usin...

Page 126: ...Finally you must identify the coder decoder codec used by the Voice over IP VoIP dial peer For example the following commands assign extension 2001 to the IP device with the network address 192 168 100 1 c4224 config dial peer voice 1 voip c4224 config dial peer destination pattern 2001 c4224 config dial peer session target ipv4 192 168 100 1 c4224 config dial peer codec g711u1aw Step 5 Direct cal...

Page 127: ...ferent set of digits use the prefix command Step 6 Complete and save the configuration by entering the following commands c4224 line con 0 c4224 transport input none c4224 line aux 0 c4224 line vty 0 4 c4224 login c4224 no scheduler allocate c4224 end c4224 copy running config startup config Building configuration OK c4224 Configuring T1 CAS Analog Emulation H 323 You can connect the T1 CAS channe...

Page 128: ...ots timeslotnumber type emulationtype Replace groupnumber with the DS 0 group number timeslotnumber with the number of DS 0 time slots to allocate to the group emulationtype with one of the modes described in Table 5 2 For example the following command configures the first DS 0 group with one time slot using FXS emulation in loop start mode c4224 config controller dso group 0 timeslots 1 type fxs ...

Page 129: ...cations 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 Cisco recommends that you use the Cisco CallManager graphical user interface to set the input gain However you can also enter the...

Page 130: ...lephones and other devices on the IP network The devices on the IP network have numbers beginning with 525 c4224 config interface FastEthernet5 0 c4224 config ipaddress 172 20 71 48 255 255 255 0 c4224 config no ip directed broadcast c4224 config no keepalive c4224 config duplex auto c4224 config speed 10 c4224 config controller T1 1 0 c4224 config controller framing esf c4224 config controller cl...

Page 131: ... the same as for the FXO example However you must configure your DS 0 groups for FXS by changing the emulation type and enabling direct inward dialing DID Then enter the destination patterns required for routing voice calls to and from the PSTN The commands required to make these changes are shown below c4224 config controller dso group 0 timeslots 1 type fxo loop start c4224 config dial peer voic...

Page 132: ...ots c4224 config dial peer port 1 0 0 c4224 config dial peer destination pattern 625 ISDN BRI Configuration H 323 To configure an ISDN BRI interface perform the following steps After completing these steps configure the route pattern and dial plan and save your configuration as described in H 323 Gateway Configuration section on page 5 16 Step 1 Enter an ISDN switch type by entering the following ...

Page 133: ...mpleting these steps configure the route pattern and dial plan and save your configuration as described in H 323 Gateway Configuration section on page 5 16 Table 5 3 ISDN Switch Types Region ISDN Switch Type Description Australia basic ts013 Australian TS013 switches Europe basic 1tr6 German 1TR6 ISDN switches basic nwnet3 Norwegian NET3 ISDN switches phase 1 basic net3 NET3 ISDN switches UK and o...

Page 134: ... provider to provider and from country to country however here are some general guidelines Ask for two channels to be called by one number Ask for delivery of calling line identification also known as caller ID or Automatic Number Identification ANI ISDN BRI Provisioning by Switch Type ISDN BRI provisioning refers to the types of services provided by the ISDN BRI line Although provisioning is perf...

Page 135: ...values only if you have an ISDN telephone connected 2 B channels for voice Multipoint Terminal type D 2 directory numbers assigned by service provider 2 SPID1 s required assigned by service provider MTERM 2 Number of call appearances 1 Display No Ringing idle call appearances 1 Autohold no Onetouch no Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside ...

Page 136: ...n hunt to directory number 2 DMS 100 BRI 2 B channels for voice 2 directory numbers assigned by service provider 2 SPIDs required assigned by service provider Functional signaling Dynamic TEI2 assignment Maximum number of keys 64 Release key no or key number no Ringing indicator no EKTS no PVC 2 Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local ...

Page 137: ...itch 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 If your service provider assigns you SPIDs you must define these SPIDs on the Catalyst 4224 To define SPIDs and the local directory number LDN on the gateway for both ISDN BRI B channels use the following isdn spid commands c4224 config if isdn spid1 s...

Page 138: ...he called number is 3xxx the call is routed to Catalyst 4224 3000 Figure 5 1 illustrates the topology of this connection example Figure 5 1 Configuring DID on a BRI Port Gateway 1 Configuration dial peer voice 1 pots port 1 0 0 destination pattern 1 direct inward dial dial peer voice 2 voip session target ipv4 1 1 1 2 destination pattern 2 dial peer voice 3 voip session target ipv4 1 1 1 3 destina...

Page 139: ... T1 PRI Configuration Example page 5 33 Configuring E1 Interfaces page 5 33 E1 PRI Configuration Example page 5 34 Configuring T1 Interfaces Use the following procedure to configure a new T1 interface or to change the configuration of an existing interface After completing these steps configure the route pattern and dial plan and save your configuration as described in H 323 Gateway Configuration ...

Page 140: ...ller linecode b8zs Step 2 Configure parameters for the voice interface a Specify the PRI group and time slots to be mapped c4224 config controller pri group timeslots 1 24 For multiflex trunk interfaces only channel 0 can be configured b Configure each pri group as a virtual serial interface c4224 config controller interface serial 1 0 15 c Specify the T1 interface unit number and channel group to...

Page 141: ...figure a new E1 or CE1 PRI interface balanced or unbalanced or to change the configuration of an existing interface Step 1 Identify the port number and enter line specific information provided by your local carrier a Select the CE1 PRI interface to configure by entering the following command from global configuration mode This example configures an E1 interface in slot 1 and unit 0 c4224 config co...

Page 142: ...23 no ip address no logging event link status isdn switch type primary 5ess isdn incoming voice voice no cdp enable Note After completing these steps configure the route pattern and dial plan and save your configuration as described in H 323 Gateway Configuration section on page 5 16 E1 PRI Configuration Example isdn switch type primary 5ess isdn voice call failure 0 controller E1 1 0 framing esf ...

Page 143: ...o Suppose that a company wants to connect two offices one in San Jose California and the other in Salt Lake City Utah Each office has an internal telephone network using a PBX connected to the voice network with an E M interface Both the Salt Lake City and the San Jose offices are using E M Port Type II with four wire operation and ImmediateStart signaling Each E M interface connects to the gatewa...

Page 144: ...y the Catalyst 4224 after its first wink to the Central Office CO are treated as user entered digits and are sent to the remote endpoint as out of band DTMF digits If the remote endpoint is a Cisco CRA application the out of band digits will be interpreted as a user entry and will change the application response There are two ways to handle this situation Ask the T1 service provider to stop sendin...

Page 145: ...target ipv4 172 16 65 182 Configure the E M interface voice port 1 0 0 signal immediate operation 4 wire type 2 voice port 1 0 1 signal immediate operation 4 wire type 2 Configure the serial interface interface serial 0 0 description serial interface type dce provides clock clock rate 2000000 ip address 172 16 1 123 no shutdown Gateway Salt Lake City Configuration hostname saltlake Configure pots ...

Page 146: ... not configure store and forward tone If you change the gain or the telephony port make sure that the telephony port still accepts DTMF signals Note After completing E M configuration configure the route pattern and dial plan and save your configuration as described in the H 323 Gateway Configuration section on page 5 16 At this point in the configuration process make sure that Cisco CallManager i...

Page 147: ...his section provides comprehensive information on how to configure VoIP on your Catalyst 4224 This section contains the following topics Prerequisite Tasks page 6 2 Configuration Tasks page 6 3 Configure IP Networks for Real Time Voice Traffic page 6 3 Configure Number Expansion page 6 12 Configure Dial Peers page 6 15 Configure Voice Ports page 6 22 Additional VoIP Dial Peer Configurations page 6...

Page 148: ... company dial plan Establish a working telephony network based on your company dial plan 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 numbering systems...

Page 149: ...of the full E 164 telephone number See the Configure Number Expansion section on page 6 12 for information about number expansion Step 4 Use the dial peer voice command to define dial peers and switch to the dial peer configuration mode See the Configure Dial Peers section on page 6 15 and the Additional VoIP Dial Peer Configurations section on page 6 33 for additional information about configurin...

Page 150: ...o consider the functions of both edge and backbone routers in your network and then select the appropriate QoS tool or tools In general edge routers perform the following QoS functions Packet classification Admission control Bandwidth management Queuing In general backbone routers perform the following QoS functions High speed switching and transport Congestion management Queue management Scalable...

Page 151: ...ilar serial line interfaces It does not work well on multiaccess LANs RSVP can be equated to a dynamic access list for packet flows You should configure RSVP to ensure QoS if the following conditions describe your network Small scale voice network implementation Links slower than 2 Mbps Links with high utilization Need for the best possible voice quality Enable RSVP To minimally configure RSVP for...

Page 152: ...ng 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 allocation works out to be 24 000 bps For G 711 the allocation is 80 000 bps For more information about configuring RSVP refer to the Configuring RSVP section of the Network Protocols C...

Page 153: ... for other best effort traffic In general multilink PPP with interleaving is used in conjunction with weighted fair queuing and RSVP or IP precedence to ensure voice packet delivery Use multilink PPP with interleaving and weighted fair queuing to define how data is managed use RSVP or IP precedence to give priority to voice packets You should configure multilink PPP if the following conditions des...

Page 154: ...P refer to the Configuring Media Independent PPP and Multilink PPP section in the Dial Solutions Configuration Guide for Cisco IOS Release 12 0 T Task Command Step 1 Enable Multilink PPP ppp multilink Step 2 Enable real time packet interleaving ppp multilink interleave Step 3 Optionally configure a maximum fragment delay of up to 20 milliseconds ppp multilink fragment delay milliseconds Step 4 Res...

Page 155: ... c4224 config multilink virtual template 1 Configure Real Time Transport Protocol Header Compression Real Time Transport Protocol RTP is used for carrying audio traffic in packets over an IP network RTP header compression compresses the RTP UDP IP header in an RTP data packet from 40 bytes to approximately 2 to 4 bytes in most cases as shown in Figure 6 1 This compression feature is beneficial if ...

Page 156: ...ve bandwidth Note Do not use RTP header compression on links faster than two Mbps Perform the following tasks to configure RTP header compression for VoIP The first task is required but the second task is optional Enable RTP Header Compression on a Serial Interface page 6 11 Change the Number of Header Compression Connections page 6 11 Before RTP header compression 20 bytes 8 bytes 20 to 160 bytes...

Page 157: ...ections on an interface To specify a different number of RTP header compression connections use the following interface configuration command c4224 config if ip rtp compression connections number RTP Header Compression Configuration Example The following example enables RTP header compression for a serial interface c4224 config interface serial0 c4224 config if ip rtp header compression c4224 conf...

Page 158: ...unction with multilink PPP with interleaving and RSVP or IP precedence to ensure voice packet delivery Use weighted fair queuing with multilink 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 ...

Page 159: ... 1 left of the IP cloud is 408 555 xxxx where xxxx identifies the individual dial peers by extension The destination pattern or expanded telephone number associated with Catalyst 4224 2 right of the IP cloud is 729 555 xxxx Figure 6 2 Sample VoIP Network Table 6 1 shows the number expansion table for this scenario 408 555 1002 408 555 1001 408 555 1003 729 555 3002 729 555 2002 729 555 3001 729 55...

Page 160: ...at begins with the digits 17295552 or 17295553 to connect to Catalyst 4224 2 Catalyst 4224 2 can call any number string that begins with the digits 14085551 to connect to Catalyst 4224 1 Table 6 1 Sample Number Expansion Table Extension Destination Pattern Num Exp Command Entry Description 1 14085551 num exp 1 14085551 Expands a four digit extension beginning with the numeral 1 by prefixing 140855...

Page 161: ... to them use the show dialplan number command to see how a telephone number maps to a dial peer Configure Dial Peers The key to understanding how VoIP functions is to understand dial peers All of the voice technologies use dial peers to define the characteristics associated with a call leg Dial peers are used to apply specific attributes to call legs and to identify call origin and destination As ...

Page 162: ...tination pattern command defines the telephone number associated with the POTS dial peer The port command associates the POTS dial peer with a specific logical dial interface normally the voice port connecting your router to the local POTS network VoIP The dial peer associates a telephone number with an IP address The key commands you need to configure are the destination pattern and session targe...

Page 163: ...on pattern is used to identify the outbound dial peer The call is associated with the outbound dial peer at setup time A POTS dial peer associates a telephone number with a particular voice port so that incoming calls for that telephone number can be received and outgoing calls can be placed VoIP dial peers point to specific devices by associating destination telephone numbers with a specific IP a...

Page 164: ...4 config dial peer voice 2 voip c4224 config dial peer destination pattern 13105551000 c4224 config dial peer session target ipv4 10 1 1 2 Figure 6 6 shows how to complete the end to end call between dial peer 1 and dial peer 4 Figure 6 6 Outgoing Calls from the Perspective of POTS Dial Peer 2 58510 408 555 4000 310 555 1000 10 1 2 2 Source Destination 10 1 1 2 Voice port 0 0 Voice port 0 0 Cataly...

Page 165: ...ial peer configuration table Using the example in Figure 6 2 on page 6 13 Router 1 with an IP address of 10 1 1 1 connects a small sales branch office to the main office through Router 2 There are three telephones in the sales branch office that need to be established as dial peers Router 2 with an IP address of 10 1 1 2 is the primary gateway to the main office There are four devices that need to...

Page 166: ...mmand The string value is the destination telephone number associated with this POTS dial peer Outbound Dialing on POTS Dial Peers When a router receives a voice call the router selects an outbound dial peer by comparing the called number with the number configured as the destination pattern for the POTS dial peer The router then removes the left justified numbers corresponding to the destination ...

Page 167: ...ice voip command is a tag that uniquely identifies the dial peer To configure the identified VoIP dial peer use the following dial peer configuration commands For examples of how to configure dial peers see Appendix C VoIP Configuration Examples Verifying Your Configuration You can check the validity of your dial peer configuration by performing the following tasks If you have relatively few dial ...

Page 168: ...of the connection have incompatible codec values Make sure that both VoIP peers have been configured with the same codec value Use the debug vpm spi command to verify that the router dials the correct output string Use the debug cch323 rtp command to check RTP packet transport Use the debug cch323 h225 command to check the call setup Configure Voice Ports Routers provide only analog voice ports fo...

Page 169: ...P network However if you need to change the default configuration for these voice ports use the commands outlined in Table 6 3 beginning in privileged EXEC mode Table 6 3 Commands to Configure FXS and FXO Voice Ports Task Required or Optional Command Step 1 Enter the global configuration mode Required configure terminal Step 2 Identify the voice port you want to configure and enter the voice port ...

Page 170: ...ep 7 For FXO ports only Specify the maximum number of rings before answering a call Required ring number number Step 8 Specify the private line auto ringdown PLAR connection if this voice port is used for a PLAR connection The string value specifies the destination telephone number Optional connection plar string Step 9 Specify the threshold in dB for on hold music Valid entries are from 70 to 30 ...

Page 171: ...bout 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 Depending on the specifics of your particular network you might need to adjust voice parameters involving timing input gain and output attenuation for FXS or FXO voice ports Collectiv...

Page 172: ...which shuts off any signal if no near end speech is detected Nonlinear processing is used with echo cancellation non linear Step 8 Specify the number of seconds the system will wait for the caller to input the first digit of the dialed digits timeouts initial seconds 0 to 120 sec 10 sec Step 9 Specify the number of seconds the system will wait after the caller has input the initial digit for the c...

Page 173: ... in Table 6 5 beginning in privileged EXEC mode Step 12 FXO ports only If the voice port dial type is pulse configure the pulse digit signal duration timing pulse digit milliseconds 10 to 20 ms 20 ms Step 13 FXO ports only If the voice port dial type is pulse configure the pulse inter digit signal duration timing pulse inter digit milliseconds 100 to 1000 ms 500 ms Table 6 4 Commands to Fine Tune ...

Page 174: ...wire 4 wire Step 7 Select the appropriate E M interface type Type 1 is for the following lead configuration E Output relay to ground M Input referenced to ground Type 2 is for the following lead configuration E Output relay to SG M Input referenced to ground SB Feed for M connected to 48V SG Return for E galvanically isolated from ground Type 3 is for the following lead configuration E Output rela...

Page 175: ... The impedance value selected must match the specifications from the telephony system to which this voice port is connected Required impedance 600c 600r 900c complex1 complex2 Step 9 Specify the private line auto ringdown PLAR connection if this voice port is used for a PLAR connection The string value specifies the destination telephone number Optional connection plar string Step 10 Specify the t...

Page 176: ...tup 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 Depending on the specifics of your particular network you might need to adjust voice parameters involving timing input gain ...

Page 177: ...that is sent out of the interface and received back on the same interface echo cancel enable Step 6 Adjust the size in milliseconds of the echo cancel echo cancel coverage value 8 16 24 and 32 ms 16 ms Step 7 Enable nonlinear processing which shuts off any signal if no near end speech is detected Nonlinear processing is used with echo cancellation non linear Step 8 Specify the number of seconds th...

Page 178: ... 0 to 120 sec 10 sec Step 10 Specify the indicated timing parameters timing clear wait milliseconds timing delay duration milliseconds timing delay start milliseconds timing dial pulse min delay milliseconds timing digit milliseconds timing inter digit milliseconds timing pulse pulses per second timing pulse inter digit milliseconds timing wink duration milliseconds timing wink wait milliseconds 2...

Page 179: ...give voice packets a priority over other IP data traffic IP precedence scales better than RSVP but provides no admission control To give real time voice traffic precedence over other IP network traffic use the following global configuration commands In IP precedence the numbers 1 through 5 identify classes for IP flows while the numbers 6 and 7 are used for network and backbone routing and updates...

Page 180: ...t be enabled at each LAN or WAN interface across which voice packets will travel After enabling RSVP you must use the req qos dial peer configuration command to request an RSVP session and configure the QoS for each VoIP dial peer Otherwise no bandwidth is reserved for voice traffic For example to configure controlled load QoS for VoIP dial peer 108 enter the following global configuration command...

Page 181: ...ed to disable the transmission of silence packets codec and VAD values for a dial peer determine how much bandwidth the voice session uses Configure codec for a VoIP Dial Peer To specify a voice coder rate for a selected VoIP dial peer 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 configur...

Page 182: ... 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 To avoid this problem configure the dial peers with the g729r8 pre ietf argument Configure VAD for a VoIP Dial Peer To disable the transmission of silence packets and enable ...

Page 183: ...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 voice and data you can use the appropriate QoS tool per line For example each DLCI would use 32 kbps of a 64 kbps line Apply adaptive traffic shaping to both DLCIs Use...

Page 184: ...c 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 equal to the port speed Use generic traffic shaping with RSVP Frame Relay for VoIP Configuration Example For Frame Relay it is cus...

Page 185: ...igured as follows MTU size is inherited from the main interface IP address for the subinterface is specified RSVP is enabled to use the default value which is 75 percent of the configured bandwidth Bandwidth is set to 64 kbps Generic traffic shaping is enabled with 32 kbps CIR where committed burst Bc 4000 bits and excess burst Be 4000 bits Frame Relay DLCI number is specified IP RTP header compre...

Page 186: ...Chapter 6 Configuring VoIP Configure Frame Relay for VoIP 6 40 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 187: ...nes the eight Foreign Exchange Station FXS ports emulate a Public Switched Telephone Network PSTN central office CO or private branch exchange PBX This section describes how to configure the eight port FXS module on the Catalyst 4224 This section contains the following topics Eight Port RJ 21 FXS Module User Interface Conventions page 7 2 Configuring FXS Voice Ports page 7 2 Fine Tuning FXS Voice ...

Page 188: ...s numbered 4 through 7 on the right side represent ports 4 4 through 4 7 Configuring FXS Voice Ports The default values for FXS voice ports are usually adequate but this section includes information on changing the defaults if necessary This section describes the following procedures Changing Default Configurations page 7 2 Validating the Configuration page 7 4 Troubleshooting the Configuration pa...

Page 189: ...X Gateway config voiceport comfort noise To display the values configured use the show running config command cptone country Selects the appropriate voice call progress tone for this interface The default for this command is us For a list of supported countries refer to the Voice Video and Home Applications Command Reference ring frequency 25 50 Selects the appropriate ring frequency in Hertz spec...

Page 190: ...FXS Operation State is DORMANT Administrative State is UP No Interface Down Failure Description is Connection to PBX Noise Regeneration is enabled Non Linear Processing is enabled Music On Hold Threshold is Set to 50 dBm In Gain is Set to 0 dB Out Attenuation is Set to 0 dB Echo Cancellation is enabled Echo Cancel Coverage is set to 8 ms Playout delay Mode is set to default Playout delay Nominal i...

Page 191: ...able to resolve the problem by performing one or more of the following tasks Ping the associated IP address to confirm connectivity as follows Gateway ping 172 20 59 93 Type escape sequence to abort Sending 5 100 byte ICMP Echos to 172 20 59 93 timeout is 2 seconds Success rate is 100 percent 5 5 round trip min avg max 1 1 4 ms If you cannot successfully ping your destination refer to the Network ...

Page 192: ... decibels the amount of attenuation at the transmit side of the interface Acceptable values are from 0 to 14 echo cancel enable Enables echo cancellation of voice that is sent out through the interface and received back on the same interface echo cancel coverage value Adjusts the size in milliseconds of the echo cancel Acceptable value is 8 impedance value Specifies the impedance of the port The f...

Page 193: ...onfig voiceport non linear Gateway config voiceport timeouts initial 10 Gateway config voiceport timeouts interdigit 10 Gateway config voiceport timing digit 60 Gateway config voiceport timing inter digit 60 To display the values configured use the show running config command as follows Gateway sh running config voice port 4 0 input gain 10 output attenuation 10 echo cancel coverage 8 timeouts ini...

Page 194: ...3 LINK 3 UPDOWN Interface Foreign Exchange Station 4 0 changed state to up To deactivate a port use the shutdown command as follows Gateway conf t Enter configuration commands one per line End with CNTL Z Gateway config voice port 4 0 Gateway config voiceport shutdown Gateway config voiceport 00 55 23 LINK 3 UPDOWN Interface Foreign Exchange Station 4 0 changed state to Administrative Shutdown Sam...

Page 195: ...e 7 10 Displaying Cisco 2600 Configuration Values page 7 11 Displaying FXS Module Configuration Values page 7 12 Figure 7 1 Configuration for Connecting Faxs through Catalyst 4224 The following template can be used to implement this configuration V Fax 1 Fax 2 FXS port 1 1 0 FXS port 4 0 Cisco 2601 Catalyst 4224 58987 Dial Peer Tag1 1 Assigns a unique number 1 2 to a dial peer Has only local signi...

Page 196: ...call leg as shown in the template above 2600 config dial peer dial peer voice 2 voip 2600 config dial peer destination pattern 20 2600 config dial peer session target ipv4 172 20 59 93 FXS Module Sample Configuration Similarly the eight Port RJ 21 FXS module could be configured as follows Configure the fast ethernet interface Gateway conf t Enter configuration commands one per line End with CNTL Z...

Page 197: ...isplay the values configured on the Cisco 2600 use the show running config command as follows 2600 sh running config Building configuration Current configuration 951 bytes version 12 1 no service single slot reload enable service timestamps debug uptime service timestamps log uptime no service password encryption hostname 2600 no logging buffered no logging buffered logging rate limit console 10 e...

Page 198: ...s destination pattern 10 port 1 1 0 dial peer voice 2 voip destination pattern 20 session target ipv4 172 20 59 93 line con 0 transport input none line aux 0 line vty 0 4 login end Displaying FXS Module Configuration Values To display the values configured on the eight Port RJ 21 FXS module use the show running config command as follows Gateway sh running config Building configuration Current conf...

Page 199: ...ors ip subnet zero no ip finger ip audit notify log ip audit po max events 100 voicecard mode toll by pass interface FastEthernet0 0 ip address 172 20 59 93 255 255 0 0 duplex auto speed auto interface GigabitEthernet0 0 ip address 1 1 1 1 255 255 255 0 no negotiation auto ip default gateway 172 20 59 1 ip classless no ip http server call rsvp sync voice port 3 0 voice port 3 1 voice port 4 0 voic...

Page 200: ...ess Gateway Switch Software Configuration Guide OL 2031 02 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 exec timeout 0 0 transport input none line vty 0 4 login end ...

Page 201: ...atalyst 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 This section contains following topics Overview of Survivable Remote Site Telephony page 8 2 Configuring Survivable Remote Site Telephony page 8 7 Verifying Survivable Remote Site Telephony page 8 9...

Page 202: ...SNAP technology to autoconfigure the Catalyst 4224 to provide call processing for the local Cisco IP Phones When the WAN link or connection to the primary Cisco CallManager is restored call handling capabilities for the Cisco IP Phones switch back to the primary Cisco CallManager During a failure when the SRST feature is enabled the Cisco IP Phone displays a message stating that the Cisco IP Phone...

Page 203: ...ropriate Cisco IP Phone load versions that support the SRST feature for the Cisco IP Phone 7960 Cisco IP Phone 7940 and Cisco IP Phone 7910 models For further details refer to your Cisco CallManager documentation Supported Features The following features are supported on the Cisco IP Phones Re homing of Cisco IP Phones to use call processing on the local Catalyst 4224 Cisco IP Phone and plain old ...

Page 204: ...ce FXO ports BRI support for EuroISDN PRI support for NET5 switch type Support for a maximum of 48 Cisco IP Phones Note When the primary Cisco CallManager is restored the displayed message is 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...

Page 205: ...atalyst 4224 the fallback process itself takes 10 to 20 seconds after the primary Cisco CallManager has failed An active standby connection to the SRST Catalyst 4224 exists only if the phone has a single Cisco CallManager in its Cisco CallManager list Otherwise the phone will maintain a standby connection to its secondary Cisco CallManager If the phone has multiple Cisco CallManagers in its Cisco ...

Page 206: ...ctive calls Figure 8 1 shows a branch office with several Cisco IP Phones connected to a Catalyst 4224 The Catalyst 4224 is connected to the remote centralized Cisco CallManager by the WAN and PSTN Figure 8 1 Branch Office Cisco IP Phones Connected to the Remote Central Cisco CallManager Figure 8 2 shows that the WAN connection to the branch office is down and that the Cisco IP Phones are able to ...

Page 207: ...ode because Cisco IP Phones retain the same configuration used with the primary Cisco CallManager To configure SRST on the Catalyst 4224 use the following steps beginning in global configuration mode IP IP IP V PSTN IP network WAN disconnected Central Cisco CallManager Catalyst 4224 Fax Telephone Telephone Cisco IP phones PCs 58957 V Task Command Step 1 Enable SRST support and enters Cisco CallMan...

Page 208: ...ep 5 Optional Configure the time interval between keepalive messages sent by Cisco IP Phones to the Catalyst 4224 E This setting is effective during Cisco CallManager fallback mode when SRST is enabled C4224 config cm fallback keepalive seconds Step 6 Optional Assign a default destination number for incoming telephone calls C4224 config cm fallback default destination telephone number Step 7 Optio...

Page 209: ...that the SRST feature is enabled Step 3 Verify that the default Catalyst 4224 IP address on the Cisco IP Phone is the same as the IP address of the SRST Catalyst 4224 Use the settings display on a Cisco IP Phone to do so Step 9 Optional Configure trunk access codes for each type of line Basic Rate Interface BRI E M Foreign Exchange Office FXO and Primary Rate Interface PRI so that the Cisco IP Pho...

Page 210: ...10 has a two line display area and the display panel is also used to display the telephone number 2 Delete the access list command to restore normal service for the phone by entering the no form of the appropriate access list command 3 Use the debug ephone register command to observe the registration process of the Cisco IP Phone on the SRST Catalyst 4224 4 You can also enter the show ephone comma...

Page 211: ...urpose C4224 show run Displays the configuration C4224 show call manager fallback all Displays the detailed configuration of all the Cisco IP Phones voice ports and dial peers of the SRST Catalyst 4224 C4224 show call manager fallback dial peer Displays the output of the dial peers of the SRST Catalyst 4224 C4224 show call manager fallback ephone dn Displays the Cisco IP Phone destination number C...

Page 212: ...me Garfield logging rate limit console 10 except errors ip subnet zero no ip finger no ip domain lookup ip dhcp pool PHONE1 host 10 1 0 2 255 255 0 0 client identifier 0100 3094 c337 cb option 150 ip 172 198 0 2 default C4224 10 1 0 1 ip dhcp pool PHONE2 host 10 1 0 3 255 255 0 0 client identifier 0100 3094 c3f9 6a default C4224 10 1 0 1 option 150 ip 172 198 0 2 interface FastEthernet0 0 ip addre...

Page 213: ...e 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 call manager fallback ip source address 10 0 0 1 port 2000 strict match max ephones 24 max dn 24 dialplan pattern 1 408734 extension length 4 transfer pattern 510650 voicemail 11111 line con 0 tr...

Page 214: ...Chapter 8 Configuring Survivable Remote Site Telephony SRST Configuration Example 8 14 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 215: ...The fax image is converted from an analog signal and is carried as digital data over the packet network This section contains the following topics Overview page 9 2 Supported Platforms and Features page 9 4 Note For detailed Fax information configuration best practices and troubleshooting tips see Implementing Fax Over IP on Cisco Voice Gateways at the following location http www cisco com univerc...

Page 216: ...e call Cisco Fax Relay In fax relay mode the gateways terminate the T 30 fax signaling Fax relay mode is the preferred method to transmit fax traffic However if a specific gateway does not support Cisco fax relay the gateway supports fax pass through Fax Pass Through In fax pass through mode the gateways do not distinguish a fax call from a voice call The fax communication between the two fax mach...

Page 217: ... the V 21 preamble is detected at the terminating gateway the originating and the terminating gateway negotiate the codec type 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 ...

Page 218: ... 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 V V Demodulated data Modulated data Modulated data IP network Latency Jitter buffers Packet loss Fax Fax Voice Gateway with fax relay Voice Gateway with fax relay PSTN 63613 Table 9 1 Fax Support on Cisco Catalyst 4224 Access Gat...

Page 219: ...ypes of queues to contain and shape traffic that is deferred If a packet is deferred GTS and 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 Shapi...

Page 220: ...icy dictates that the average rate of a given interface should not exceed a certain rate Configure traffic shaping on an interface if you have a network with differing access rates Suppose that one end of the link in a Frame Relay network runs at 256 kbps and the other end of the link runs at 128 kbps Sending packets at 256 kbps could cause failure of the applications using the link A similar more...

Page 221: ... mean rate at any given time One additional variable applies to traffic shaping Excess Burst Size called the Be size The Be Size corresponds to the number of noncommitted bits those outside the committed information rate CIR that are still accepted by the Frame Relay switch but are marked as discard eligible DE The Be size allows more than the burst size to be sent during a time interval in certai...

Page 222: ... Shaping DTS and FRTS are similar in implementation sharing the same code and data structures but they differ in regard to their CLIs and the queue types they use Here are a few ways in which these mechanisms differ For GTS the shaping queue is a weighted fair queue For FRTS the queue can be a weighted fair queue configured by the frame relay fair queue command a strict priority queue with weighte...

Page 223: ...ms Mechanism GTS Class Based DTS FRTS Command Line Interface Applies parameters per subinterface traffic group command supported Applies parameters per interface or per class Applies parameters per interface or subinterface Classes of parameters Applies parameters to all virtual circuits VCs on an interface through inheritance mechanism No traffic group command Queues Supported WFQ per subinterfac...

Page 224: ...low 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 _c fqcprt4 qcfpolsh htm 1000909 How It Works GTS applies traffic shaping on a per interface basis and ...

Page 225: ...fic 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...

Page 226: ...e up to 64 classes and control their distribution Flow based WFQ applies weights to traffic to classify the traffic into conversations and determine how much bandwidth each conversation is allowed These weights and traffic classifications are dependent on and limited to the seven IP Precedence levels CBWFQ allows you to define what constitutes a class based on criteria that exceed the confines of ...

Page 227: ...pported using the Class Based Shaping feature To configure adaptive GTS for Frame Relay networks you must use the commands from releases prior to Release 12 1 2 of 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 bi...

Page 228: ...ing information contained in the BECN tagged packets received from the network FRTS can also dynamically throttle traffic With BECN based throttling packets are held in the buffers of the router to reduce the data flow from the router into the 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 ...

Page 229: ...me Relay refer to the chapter Configuring Frame Relay in the Cisco IOS Wide Area Networking 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 Configurat...

Page 230: ...l value 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 How It Works The Be size allows more than the Bc size to be sent during a time interval under certain conditions Therefore DTS provides two types of shape commands average and peak When shape average is configur...

Page 231: ...et marking Input port 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 reducing the shaped to rate for a period of time until congestion is believed to have subsided Supports FECN BEC...

Page 232: ...or CBWFQ the weight for a packet belonging to a specific class is derived from the bandwidth you assigned to the class at configuration Therefore the bandwidth assigned to the packets of a class determines the order in which packets are sent All packets are serviced fairly based on weight no class of packets may be granted strict priority This scheme poses problems for voice traffic that is largel...

Page 233: ... can specify that traffic matches are allowed based on the IP differentiated services code point DSCP value This value is set using the first six bits of the 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 b...

Page 234: ...Chapter 10 Traffic Shaping Low Latency Queueing 10 16 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 235: ...r These features support public key cryptography for key generation exchange and authentication The ESA can encrypt and authenticate two full duplex T1 or two E1 communication links Each data line can be channelized with a separate encryption context The ESA uses Public Key PK technology based on the concept of the Protected Entity PE and employs IPSec Data Encryption Standard DES 56 bit and 3 Tri...

Page 236: ...teristics of a configuration group such as speed and slot number To configure the T1 channel group follow this procedure Task Command Step 1 Specify a controller and enter controller configuration mode Gateway config controller t1 e1 slot port Step 2 Specify the clock source for a link line specifies that the link uses the recovered clock from the link and is the default setting Generally this set...

Page 237: ...re information on IPSec see the Step 3 Configure IPSec Network Security section on page 11 5 Step 4 Specify the framing type for the T1 or E1 data line sf specifies Super Frame as the T1 frame type esf specifies Extended Super Frame as the T1 frame type Gateway config controller framing sf esf Step 5 Specify the line code format ami specifies alternate mark inversion AMI as the line code type Vali...

Page 238: ...ng the IKE negotiation IKE negotiations must be protected so each IKE negotiation begins by each peer agreeing on a common shared IKE policy This policy states which security parameters will be used to protect subsequent IKE negotiations After the two peers agree upon a policy the security parameters of the policy are identified by a security association established at each peer and these security...

Page 239: ...ocedure Task Command Step 1 Specify the lifetime of a security association1 As a general rule the shorter the lifetime up to a point the more secure your IKE negotiations will be However with longer lifetimes future IPSec security associations can be set up more quickly The default lifetimes are 3600 seconds one hour and 4608000 kilobytes 10 megabytes per second for one hour Gateway config crypto ...

Page 240: ... you use this keyword none of the crypto map configuration commands will be available dynamic map name specifies the name of the dynamic crypto map set that should be used as the policy template Gateway config crypto map map_name seq_num ipsec isakmp dynamic dynamic_map_name discover Step 5 Specify the same remote IPSec peer that you specified in Step 4 in the previous procedure Step 2 Configure t...

Page 241: ...KE can negotiate and establish its own SA The IPSec SA is established either by IKE or by manual user configuration 2 A transform set represents a specific combination of security protocols and algorithms During the IPSec security association negotiation the peers search for a transform set that is the same on both peers When such a transform set is found it is selected and applied to the protecte...

Page 242: ...teway config interface serial slot port timeslot Step 2 Specify an IP address followed by the subnet mask for this interface Gateway config if ip address address mask Step 3 Assign a crypto map to this interface Gateway config if crypto map map_name Step 4 Return to global configuration mode Gateway config if exit Step 5 Return to the enable mode Gateway config exit Step 6 Display the current oper...

Page 243: ...e protocol are in the correct state up or down Use show protocols to display the protocols configured for the entire router and for individual interfaces If necessary add or remove protocol routing on the router or its interfaces Use show running config to display the running configuration Use show startup config to display the configuration stored in NVRAM Use ping to send an echo request to a sp...

Page 244: ...Configuration File for the Public Gateway gateway 2b show running config Building configuration Current configuration version 12 0 service timestamps debug uptime service timestamps log uptime no service password encryption hostname gateway 2b ip subnet zero ip audit notify log ip audit po max events 100 crypto isakmp policy 1 hash md5 authentication pre share crypto isakmp key cisco123 address 95...

Page 245: ...wn 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 line con 0 transport input none line aux 0 line vty 0 4 login end Configuration File for the Private Gateway gateway 6a show running config Building configuration Current configuration version 12 0 service timesta...

Page 246: ...o 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 match address 115 interface Ethernet0 0 no ip address no ip directed broadcast interface Serial0 0 no ip address no ip directed broadcast no ip mroute cache shutdown interface Ethernet0 1 no ip address no ip directed broadcast interface Serial0 1 no ip address no ip directed...

Page 247: ... ip directed broadcast shutdown interface Ethernet3 2 ip address 10 103 1 75 255 255 255 0 no ip directed broadcast ip nat inside interface Ethernet3 3 no ip address no ip directed broadcast shutdown ip nat pool FE30 95 95 95 10 95 95 95 10 netmask 255 255 255 0 ip nat inside source route map nonat pool FE30 overload ip classless ip route 0 0 0 0 0 0 0 0 95 95 95 1 ip route 171 68 120 0 255 255 25...

Page 248: ...IPSec Tunnel This section contains sample configuration files for two peer Catalyst 4224s set up to exchange encrypted data through a secure IPSec tunnel over a channelized T1 interface channel group serial 1 0 0 Configuration File for Peer 1 version 12 1 service timestamps debug uptime service timestamps log uptime no service password encryption hostname Rose logging buffered 100000 debugging ena...

Page 249: ...controller T1 1 1 channel group 0 timeslots 1 23 speed 64 channel group 1 timeslots 24 speed 64 process max time 200 interface FastEthernet0 0 ip address 111 0 0 2 255 0 0 0 no ip directed broadcast no ip route cache no ip mroute cache speed 10 interface Serial0 0 no ip address no ip directed broadcast shutdown interface FastEthernet0 1 ip address 4 4 4 1 255 0 0 0 no ip directed broadcast no ip r...

Page 250: ...no ip directed broadcast fair queue 64 256 0 router rip network 4 0 0 0 network 6 0 0 0 ip classless ip route 0 0 0 0 0 0 0 0 111 0 0 1 no ip http server access list 101 deny udp any eq rip any access list 101 deny udp any any eq rip access list 101 permit ip 6 6 6 0 0 0 0 255 6 6 6 0 0 0 0 255 line con 0 exec timeout 0 0 transport input none line aux 0 line vty 0 4 password lab login end Configur...

Page 251: ... esp des crypto map cmap 1 ipsec isakmp set peer 6 6 6 1 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 process max time 200 interface FastEthernet0 0 ip address 172 0 0 13 255 0 0 ...

Page 252: ... 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 3 0 0 0 network 6 0 0 0 ip classless ip route 0 0 0 0 0 0 0 0 111 0 0 1 no ip http server access list 101 deny udp any eq rip any access list 101 deny udp any any eq rip acces...

Page 253: ...Datagram Protocol IDP IPX and XNS have the following differences IPX and XNS do not always use the same Ethernet encapsulation format IPX uses the Novell proprietary Service Advertising Protocol SAP to advertise special network services File servers and print servers are examples of services that typically are advertised IPX uses delay measured in ticks while XNS uses hop count as the primary metr...

Page 254: ...est possible width of your network is 15 hops When Enhanced IGRP is enabled the largest possible width is 224 hops Because the Enhanced IGRP metric is large enough to support thousands of hops the only barrier to expanding the network is the transport layer hop counter Cisco works around this problem by incrementing the transport control field only when an IPX packet has traversed 15 routers and w...

Page 255: ...more information on VLANs and routing IPX between them over ISL refer to the Configuring Routing Between VLANs with ISL Encapsulation chapter of the 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 Config...

Page 256: ...te the TCP IP based environment with the SNA based environment Cisco bridging and 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 pha...

Page 257: ... the protocol that runs in each of three key elements in the network the mainframe midrange computer the network backbone and the desktop This section describes the characteristics of each of the phases along with the problems solved types of products and technologies implemented and challenges SNA APPN SNA centric Phase 1 Phase 2 Phase 3 Phase 4 IP centric IP client IP IP transport SNA SNA IP SNA...

Page 258: ...ing in the network The mainframe complex which now comprises multiple complementary metal oxide semiconductor CMOS processors implements Parallel Sysplex to provide the ultimate in redundancy and session persistence The FEP has often been replaced by a high performance channel connected router such as the Channel Interface Processor CIP or the Channel Port Adapter CPA The network backbone comprise...

Page 259: ...o support the encapsulation of SNA in TCP IP for transport across the TCP IP network This encapsulation brings many benefits First and foremost while it is encapsulated in TCP IP the SNA traffic is dynamically routed around network failures a benefit that only recently has been added to SNA networks with APPN HPR The encapsulation schemes also provide more flexible configurations for SNA devices a...

Page 260: ...ICS In addition to eliminating a second protocol from each desktop organizations reap the following benefits by implementing low cost standards based solutions such as TN3270 E TN5250 and CTRC Availability of high performance servers Very high capacity and high performance gateway servers are available that offload the protocol processing of TN3270 E or TN5250 from the mainframe or midrange host T...

Page 261: ...those provided to SNA based applications today With the full native support of TCP IP the mainframe and midrange systems can be fully participating members in the corporate intranet 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...

Page 262: ...to IP integration dictates the building of a single network backbone based upon TCP IP This setup often allows organizations to consolidate the number of communication lines in the network which simplifies the support and maintenance The primary product in a line consolidation project is a multiprotocol router that encapsulates and converts the traffic from the SNA lines RSRB and DLSw are the Cisc...

Page 263: ... communication or it can be accomplished by leveraging new browser based access approaches Phases three and four of the SNA to IP integration require end users to access host systems using TCP IP The primary products in a desktop consolidation project are desktop devices desktop software and new gateway servers Other products that may be considered for deployment are additional load balancing doma...

Page 264: ...M 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 http www cisco com univercd cc td doc product software ios122 122cgcr fibm_r1 index htm Cisco IOS Bridging and IBM Networking Command Reference Volume 2 Release 12 2 http www cisco com univ...

Page 265: ...anning tree portfast page A 7 switchport access page A 8 switchport voice vlan page A 10 interface range The interface range command allows you to configure multiple interfaces with the same configuration parameters By using this command you enter range configuration mode While you are in this mode the command parameters that you enter are attributed to all interfaces within the range specified Sy...

Page 266: ...re 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 If you exit interface range configuration mode while the commands are being executed some commands may not be executed on all interfaces in the range Wait until the command prompt reappears before exiting interface ra...

Page 267: ...e 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 Syntax Description number Valid VLAN IDs are from 1 to 1005 Do not enter leading zeroes Defaults The default management VLAN interface is VLAN 1 Command Modes Global configuration Usage Guidelines To enable inter VLAN routing configure...

Page 268: ...de 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 Syntax Description number Session number destination_interface SPAN destination interface source_interface SPAN source interface Default...

Page 269: ...l mirror all of its packets to 5 9 sjc12 42a sw1 config monitor session 1 source interface fast 5 2 sjc12 42a sw1 config monitor session 1 dest int fas 5 9 In session 2 int fas 5 3 will mirror all of its packets to 5 13 sjc12 42a sw1 config monitor session 2 source int fas 5 3 sjc12 42a sw1 config monitor session 2 destination int fas 5 13 You can sees what is being mirrored by entering the show m...

Page 270: ...tion vlan stp list Optional List of spanning tree instances Each spanning tree instance is associated with a VLAN ID Valid IDs are from 1 to 1005 Enter each VLAN ID separated by a space Do not enter leading zeroes Ranges are not supported Defaults STP is enabled Command Modes Global configuration Usage Guidelines Disabling STP causes the VLAN or list of VLANs to stop participating in STP Ports tha...

Page 271: ... following example shows how to disable STP on VLAN 5 Switch config no spanning tree vlan 5 You can verify the previous command by entering the show spanning tree command in privileged EXEC mode In this instance VLAN 5 does not appear in the list spanning tree portfast Use the spanning tree portfast interface configuration command to enable the Port Fast feature on a port in all its associated VLA...

Page 272: ...e port A port with the Port Fast feature enabled is moved directly to the spanning tree forwarding state Example The following example shows how to enable the Port Fast feature on fixed port 2 Switch config if spanning tree portfast fa5 2 You can verify the previous command by entering the show running config in privilege EXEC mode switchport access Use the switchport access interface configuratio...

Page 273: ...VLAN Valid IDs are from 1 to 1005 Do not enter leading zeroes Defaults All ports are in static access mode in VLAN 1 Command Modes Interface configuration Usage Guidelines An access port can be assigned to only one VLAN When the no switchport access vlan form is used the access mode is reset to static access on VLAN 1 Example The following example shows how to assign a port to VLAN 2 instead of th...

Page 274: ...VLAN on the port Use the no form of this command to return the setting to its default Syntax switchport voice vlan vlan id dot1p none untagged no switchport voice vlan Syntax Description vlan id VLAN used for voice traffic Valid IDs are from 1 to 1001 IDs 1002 to 4095 are not supported on Catalyst 4224 switches Do not enter leading zeroes dot1p The telephone uses priority tagging and uses an 802 1...

Page 275: ...lt 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 Example The following example shows how to configure VLAN 2 as the voice VLAN Switch config if switchport voice vlan 2 You can verify the previous command by entering the show interfa...

Page 276: ...Appendix A Command Reference for Voice VLAN switchport voice vlan A 12 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 277: ... distribute these packets across a WAN In VoIP technology a digital signal processor DSP segments the voice signals into frames and stores them in packets These packets are transported using IP in compliance with the International Telecommunication Union Telecommunication Standardization Sector s ITU T s specification H 323 the specification for transmitting multimedia voice video and data across ...

Page 278: ...e and waits for the caller to dial a telephone number 3 The caller dials the telephone number The session application stores the dialed digits 4 After enough digits are accumulated to match a configured destination pattern the telephone number is mapped to an IP host via the dial plan mapper The IP host has a direct connection to either the destination telephone number or a private branch exchange...

Page 279: ...ff hook condition to trigger another call setup Numbering Scheme The standard Public Switched Telephone Network PSTN is a large circuit switched network It uses a specific numbering scheme which complies with the ITU T s international public telecommunications numbering plan E 164 recommendations For example in North America the North American Numbering Plan NANP is used NANP consists of an area c...

Page 280: ...evel quantization MP MLQ Coding techniques for telephony and voice packet are standardized by the ITU T in its G series recommendations The Catalyst 4224 uses the following coding standards G 711 Describes the 64 kbps PCM voice coding technique In G 711 encoded voice is already in the correct format for digital voice delivery in the PSTN or through PBXs G 729 Describes CELP compression where voice...

Page 281: ...mplementing voice is minimizing one way end to end delay Voice traffic is real time traffic if there is too long a delay in voice packet delivery speech becomes unrecognizable Delay is inherent in voice networking and is caused by a number of different factors An acceptable delay is less than 200 milliseconds There are two kinds of delays inherent in today s telephony networks propagation delay an...

Page 282: ...Cisco IOS software expedites the process of determining packet destination and getting the packet to the output queue The actual delay at the output queue is another source of handling delay and should be kept under 10 milliseconds whenever possible by using queuing methods that are optimal for your network In Voice over Frame Relay you need to make sure that voice traffic is not crowded out by da...

Page 283: ...receiver while you are talking When timed properly echo is reassuring to the speaker But if the echo exceeds approximately 25 milliseconds it can be distracting and cause breaks in the conversation In a traditional telephony network echo is normally caused by a mismatch in impedance from the four wire network switch conversion to the two wire local loop and is controlled by echo cancellers In voic...

Page 284: ...ating a change in status This change in status signals the CO to provide a dial tone An incoming call is signalled from the CO to the handset by a standard on off pattern signal causing the telephone to ring Ground start is another access signaling method used to indicate on hook off hook status to the CO but this signaling method is primarily used on trunk lines or tie lines between PBXs Ground s...

Page 285: ...runk Lines page C 7 FXO Gateway to PSTN page C 10 FXO Gateway to PSTN PLAR Mode page C 12 FXS to FXS Connection Using RSVP The following example shows how to configure VoIP for a simple FXS to FXS connection In this scenario a very small company with two offices decides to integrate VoIP into its existing IP network One basic telephony device is connected to Catalyst 4224 RLB 1 therefore Catalyst ...

Page 286: ...2031 02 Figure C 1 illustrates the topology of this FXS to FXS connection example Figure C 1 FXS to FXS Connection Example Catalyst 4224 RLB 1 58515 Dial peer 1 POTS 408 555 4001 Dial peer 2 POTS 415 555 3001 64K 64K Voice port 0 0 Voice port 0 0 128K Catalyst 4224 RLB 2 Serial port 0 Serial port 0 IP cloud V V ...

Page 287: ...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 port 0 0 Configure serial interface 0 interface Serial0 ip address 10 0 0 1 255 0 0 0 no ip mroute cache Configure RTP header compression ip rtp header compression ip rtp compression connections 25 Enable RSVP on this interfac...

Page 288: ...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 interface Serial1 ip address 20 0 0 1 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 ...

Page 289: ...ion 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 interface Serial1 ip address 20 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 clockrate 128000 C...

Page 290: ...eate 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 Configure serial interface 0 interface Serial0 ip address 40 0 0 1 255 0 0 0 no ip mroute cache Configure RTP header compression ip rtp header compression ip rtp compression connections 25 Enable RSVP on this interface ip rsvp bandwidth 96 96 ...

Page 291: ...M interface connects to the Catalyst 4224 using two voice interface connections Users in San Jose dial 801 555 and then the extension number to reach a destination in Salt Lake City Users in Salt Lake City dial 408 555 and then the extension number to reach a destination in San Jose Figure C 2 illustrates the topology of this scenario Figure C 2 Linking PBX Users with E M Trunk Lines Example Note ...

Page 292: ...ort 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 session target ipv4 172 16 65 182 ip precedence 5 Configure the E M interface voice port 0 0 signal immediate operation 4 wire type 2 voice port 0 1 signal immediate operation 4 wire type 2 Configure the serial interface 0 inte...

Page 293: ...voice 1 voip destination pattern 1408555 session target ipv4 172 16 1 123 ip precedence 5 Configure the E M interface voice port 0 0 signal immediate operation 4 wire type 2 voice port 0 1 signal immediate operation 4 wire type 2 Configure the serial interface 0 interface serial0 ip address 172 16 65 182 no shutdown Note PBXs should be configured to pass all dual tone multifrequency DTMF signals t...

Page 294: ...lyst 4224 SJ in San Jose California can reach PSTN users in Salt Lake City Utah via Catalyst 4224 SLC Router SLC in Salt Lake City is connected directly to the PSTN through an FXO interface Figure C 3 illustrates the topology of this scenario Figure C 3 FXO Gateway to PSTN Example Note This example assumes that the company has already established a working IP connection between its two remote offi...

Page 295: ...n pattern 1801 session target ipv4 172 16 65 182 ip precedence 5 Configure serial interface 0 interface serial0 clock rate 2000000 ip address 172 16 1 123 no shutdown Router Salt Lake City Configuration hostname router SLC Configure pots dial peer 1 dial peer voice 1 pots destination pattern 1801 port 0 0 Configure voip dial peer 2 dial peer voice 2 voip destination pattern 14085554000 session tar...

Page 296: ...mote location As in the previous scenario Catalyst 4224 SLC in Salt Lake City is connected directly to the PSTN through an FXO interface Figure C 4 illustrates the topology of this scenario Figure C 4 FXO Gateway to PSTN PLAR Mode Example Note This example assumes that the company has already established a working IP connection between its two remote offices 58514 408 555 4000 801 Catalyst 4224 SJ...

Page 297: ... 16 65 182 ip precedence 5 Configure the serial interface 0 interface serial0 clock rate 2000000 ip address 172 16 1 123 no shutdown Router Salt Lake City Configuration hostname router SLC Configure pots dial peer 1 dial peer voice 1 pots destination pattern 1801 port 0 0 Configure voip dial peer 2 dial peer voice 2 voip destination pattern 14085554000 session target ipv4 172 16 1 123 ip precedenc...

Page 298: ...Appendix C VoIP Configuration Examples C 14 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 02 ...

Page 299: ... 3 19 tables managing 3 18 secure adding 3 20 3 21 described 3 18 3 20 removing 3 21 static adding 3 22 described 3 18 3 22 removing 3 23 Address Resolution Protocol ARP see ARP table address table aging time configuring 3 19 dynamic addresses removing 3 20 MAC 3 18 secure addresses adding 3 21 removing 3 21 static addresses removing 3 23 ADPCM codec B 4 aging time changing address 3 19 analog sig...

Page 300: ...ce CO B 8 CIR 6 37 Cisco 3600 series routers interface numbering 2 4 Cisco CallManager configuring 5 16 Cisco IOS command modes 2 6 enable mode 2 8 getting help 2 6 saving configuration changes 2 8 undo command 2 8 class based shaping feature description 10 8 CMCC Cisco Mainframe Channel Connection adapter SNA to IP integration 12 11 codec applied B 3 configuring 6 35 described B 4 command modes C...

Page 301: ...ame Relay for VoIP 6 37 H 323 endpoint 5 17 inline power 3 15 IP information 3 11 IP networks for real time voice traffic 6 3 IP Phone 3 15 ISDN BRI interface 4 9 ISDN PRI interface 4 12 E1 interface 4 16 5 13 5 33 T1 interface 4 12 5 10 5 31 multiflex trunk interface 4 12 E1 interface 4 16 5 13 5 33 T1 interface 4 12 5 10 5 31 Multilink PPP interleaving 6 7 number expansion 6 12 POTS dial peer 6 ...

Page 302: ... 6 17 types 6 16 digital signal processor see DSP digital signals B 4 disabling Switch Port Analyzer SPAN 3 17 DLCI 6 37 DLSw Data Link Switching Plus SNA to IP integration 12 10 DNS configuring 3 13 described 3 14 enabling 3 14 document conventions xx objectives xvii organization xviii documentation related xix domain name described 3 14 specifying 3 13 3 14 Domain Name System server see DNS DS 0...

Page 303: ... for VoIP 6 38 F Fancy Queuing 6 3 FECN forward explicit congestion notification FRTS 10 10 FEP front end processor replacement 12 10 Frame Relay for VoIP configuring 6 37 example 6 38 FRTS Frame Relay Traffic Shaping 10 9 FXO emulation sample configuration 5 23 emulation options 5 9 FXS emulation sample configuration 5 21 emulation options 5 9 FXS FXO voice ports configuration examples FXO gatewa...

Page 304: ...3 16 interface configuration command mode 2 7 interface numbering Cisco 3600 series routers 2 4 IP 6 9 B 3 IP address configuring for H 323 endpoints 5 18 IP addresses discovering 3 18 removing 3 13 IP addressing 3 9 IP information assigned by BOOTP 3 12 assigning 3 12 configuring 3 11 removing 3 13 IP Phone configuring 3 15 sound quality 3 14 IP phones IP addressing 3 9 ip rsvp bandwidth command ...

Page 305: ...er B 6 L LANE LAN Emulation emulated LANs routing between 12 3 loop start signaling B 8 LPC codec B 4 M MAC addresses adding secure 3 20 aging time 3 19 discovering 3 18 3 19 MAC address tables managing 3 18 manual redirection of call agent 5 6 mean opinion score B 4 metrics routing IPX 12 1 XNS 12 1 MIB IPX 12 2 modem connecting to 2 3 monitoring ports 3 16 traffic 3 16 MP MLQ codec B 4 MTU 6 37 ...

Page 306: ...codec B 4 phones IP addressing 3 9 port mode switch use of 2 3 POTS dial peer configuring 6 20 described 6 16 power inline 3 15 power detection on the 3524 PWR 3 16 primary Cisco CallManager 5 4 privileged EXEC command mode 2 6 provisioning the gateway 5 16 PVC 6 37 Q QoS see Quality of Service Quality of Service backbone routers 6 4 described 6 3 edge routers 6 4 tools custom queuing 6 11 listed ...

Page 307: ...moving 3 21 server domain name 3 14 servers BOOTP 3 11 show config command 4 3 show running config command 5 3 show startup config command 5 3 signaling types E M 6 22 B 8 FXS FXO 6 22 B 8 SNA Systems Network Architecture internetworking overview 12 11 SNA to IP integration description 12 4 phases figure 12 5 IP centric 12 9 IP client 12 8 IP transport 12 7 SNA centric 12 6 scenarios 12 10 SNMP tr...

Page 308: ...10 1 Distributed benefits 10 13 prerequisites 10 12 restrictions 10 14 excess burst size 10 3 FRTS 10 9 GTS 10 6 queueing 10 6 uses 10 2 traffic shaping in Frame Relay 6 38 trap managers adding 3 11 configuring 3 11 troubleshooting dial peer configuration 6 22 E M configuration 6 30 FXS FXO configuration 6 25 U UDP 6 9 B 3 undo command 2 8 user EXEC command mode 2 6 V VAD configuring 6 36 describe...

Page 309: ...rts configuring troubleshooting tips 7 5 E M configuring 6 27 described 6 23 fine tuning commands 6 30 troubleshooting tips 6 30 verifying 6 29 FXS FXO configuring 6 23 described 6 22 fine tuning commands 6 25 troubleshooting tips 6 25 verifying 6 24 voice traffic 3 15 VoIP see Voice over IP VoIP dial peer configuring 6 21 described 6 16 W weighted fair queuing 6 12 Weighted Random Early Detection...

Page 310: ...Index IN 12 Catalyst 4224 Access Gateway Switch Software Configuration Guide OL 2031 01 ...

Reviews: