background image

 

4-10

Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide

OL-16191-01

Chapter 4      Configuring Voice

  Configuring the MAC Address Convention

Configuring the MAC Address Convention

The VG202 and VG204 voice gateways use the MAC address of the Skinny Call Control Protocol 
(SCCP) local interface to define unique MAC addresses for each voice port by using the last 9 digits of 
the SCCP local interface of the voice gateway. 

For example, if the source interface MAC address is 000C.8639.5833, the MAC address of the voice port 
MAC address will be C863.9583.3XXX. In the preceding example, the last 9 digits of the SCCP of the 
local VG202 or VG204 voice gateway become the first 9 digits of the voice port MAC address after 
dropping the leading 000.

The last 3 digits of the voice port MAC address is the slot number (3-bit) + subunit number (2-bit) + port 
number (7-bit) in hexadecimal format. You combine the digits to get the last three MAC address digits.

For example, the voice-port 0/0 is slot number 0 (000): subunit 0 (

00

) and port number 0 (0000000). By 

stringing the digits together, you get the following: 000

0

 

0

000 0000 = 0 0 0. This means that if the source 

interface MAC address is 001f.cac3.b3f8, the MAC address of voice port 

0

/

0

 will be 1FCAC3b3f8

000

.

Table 4-1

 shows the voice port to MAC address conversion table.

Step 19

associate ccm 

identifier-number 

priority 

priority-number

Example:

VG(config)# associate ccm 1 priority 1

Associates a Cisco Unified CallManager with a Cisco 
CallManager group and establishes its priority within the 
group.

Step 20

dial-peer voice 

tag 

pots

Example:

VG(config)# dial-peer voice 999000 pots

Defines a particular dial peer, to specify the method of 
voice encapsulation, and to enter dial-peer configuration 
mode. Tag defines a particular dial peer. The tag range is 
from 1 to 2147483647. The POTS peer uses VoIP 
encapsulation on the IP backbone.

Step 21

service stcapp

Example:

VG(config)# service stcapp

Enables STC application feature service.

Step 22

port 

port-number

Example:

VG(config)# service stcapp

Configures the port number.

Step 23

exit

Example:

VG(config)# exit

Exits to global configuration mode.

Command or Action

Purpose

Summary of Contents for VG202

Page 1: ...ays Software Configuration Guide THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE ALL STATEMENTS INFORMATION AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND EXPRESS OR IMPLIED USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS Text Part Number OL 16191 0...

Page 2: ... SUCH DAMAGES CCDE CCENT Cisco Eos Cisco Lumin Cisco Nexus Cisco StadiumVision Cisco TelePresence Cisco WebEx the Cisco logo DCE and Welcome to the Human Network are trademarks Changing the Way We Work Live Play and Learn and Cisco Store are service marks and Access Registrar Aironet AsyncOS Bringing the Meeting To You Catalyst CCDA CCDP CCIE CCIP CCNA CCNP CCSP CCVP Cisco the Cisco Certified Inte...

Page 3: ...Cisco IOS Release 1 6 Cisco VG202 and Cisco VG204 Voice Gateways Deployment Scenario 1 6 Where to Go Next 1 7 C H A P T E R 2 Using the setup Command Facility 2 1 Before Powering On Your Cisco Voice Gateway 2 1 Using the setup Command Facility 2 2 Configuring Global Parameters 2 2 Completing the Configuration 2 5 C H A P T E R 3 Configuring with the Command Line Interface 3 1 Configuring the Hostn...

Page 4: ...nsfer 4 11 Call Waiting 4 12 Three Party Conferencing 4 12 Call ID 4 12 A P P E N D I X A Using the ROM Monitor A 1 Entering the ROM Monitor Mode A 1 ROM Monitor Commands A 2 Command Descriptions A 3 Recovering Boot and System Images A 4 Using the xmodem Command A 4 Configuration Register A 4 Changing the Configuration Register Manually A 5 Changing the Configuration Register Using Prompts A 5 Con...

Page 5: ...g the Cisco IOS software to perform other configuration tasks such as configuring a VoIP interface and other features This guide does not provide complete configuration instructions See the Cisco IOS configuration guides and command references for detailed configuration instructions Audience This publication is designed for the person who will be responsible for configuring your voice gateway This...

Page 6: ...umentation which also lists all new and revised Cisco technical documentation at http www cisco com en US docs general whatsnew whatsnew html Subscribe to the What s New in Cisco Product Documentation as a Really Simple Syndication RSS feed and set content to be delivered directly to your desktop using a reader application The RSS feeds are a free service and Cisco currently supports RSS version 2...

Page 7: ...markets Both voice gateways provide voice connectivity to devices such as analog phones fax machines and modems Cisco VG202 and Cisco VG204 voice gateways provide support for 2 FXS Cisco VG202 and 4 FXS Cisco VG204 ports each supporting independent telephone numbers giving you two or four separate lines and parity with Cisco IOS fax modem security and Session Initiation Protocol SIP features Both ...

Page 8: ...igure 1 1 shows the front panel of the Cisco VG202 voice gateway Figure 1 2 shows the front panel of the Cisco VG204 voice gateway Cisco VG202 Voice Gateway The Cisco VG202 and Cisco VG204 chassis include console auxiliary FXS and FE ports Figure 1 1 Cisco VG202 Voice Gateway Front Panel Figure 1 2 Cisco VG204 Voice Gateway Front Panel 231877 VG202 OK FXS 0 0 0 1 FE 0 0 0 1 231875 VG204 OK FXS 0 0...

Page 9: ...or the Cisco VG202 and Cisco VG204 Voice Gateways are as follows Foreign Exchange Station FXS voice port numbering begins at 0 0 and extends to 0 2 or 0 4 depending on the number of voice ports 231880 12V DC SA CONSOLE AUX FastEthernet 0 1 0 0 VG202 FXS 0 1 0 0 1 2 3 4 6 5 1 Fast Ethernet port 1 Fast Ethernet port 0 2 Serial port console or auxiliary 3 FXS ports 4 Power connector 5 Chassis ground ...

Page 10: ...Note For a comprehensive view of Cisco IOS configuration fundamentals see the Cisco IOS Configuration Fundamentals Configuration Guide Release 12 4 document If you are already familiar with Cisco IOS software proceed to Chapter 2 Using the setup Command Facility Getting Help Use the question mark and arrow keys to help you enter commands For a list of available commands enter a question mark VG To...

Page 11: ...et the VG prompt Note You can press Ctrl Z in any mode to immediately return to enable mode VG instead of entering exit which returns you to the previous mode Undoing 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 ip routing Table 1 1 Common Command Modes Command Mode Access Method VG Prompt Displayed Exi...

Page 12: ...ve the configuration to NVRAM After the configuration has been saved the following appears OK VG Upgrading to a New Cisco IOS Release To install or upgrade to a new Cisco IOS release see Maintaining System Memory in the Cisco IOS Configuration Fundamentals Configuration Guide Release 12 2 Note To simplify network operations and management of Cisco IOS software migration see the Basics of a Success...

Page 13: ...tion mark and arrow keys to help you enter commands Each command mode restricts you to a set of commands If you have difficulty entering a command check the prompt and then enter the question mark for a list of available commands You might be in the wrong command mode or be using the wrong syntax To disable a feature generally enter the keyword no before the command for example no ip routing You n...

Page 14: ...1 8 Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide OL 16191 01 Chapter 1 Understanding Interface Numbering and Cisco IOS Software Basics Where to Go Next ...

Page 15: ... the setup command facility proceed to Chapter 3 Configuring with the Command Line Interface for step by step instructions Note Cisco VG202 and VG204 voice gateways ship with default configuration During the first boot up the Cisco VG202 and VG204 voice gateways will not enter setup mode and will be configured through auto configuration If you prefer to configure the VG using AutoInstall see the U...

Page 16: ...y be used to configure the voice gateway manually after initial configuration Using the setup command during the initial configuration will result in erasing the default config and must be avoided Caution Do not press any keys on the keyboard until the messages stop Any keys pressed during this time are interpreted as the first command typed when the messages stop which might cause the Cisco VG to...

Page 17: ...roduct immediately A summary of U S laws governing Cisco cryptographic products may be found at http www cisco com wwl export crypto tool stqrg html If you require further assistance please contact us by sending email to export cisco com Cisco VG202 MPC8300 processor revision 0x100 with 98304K 32768K bytes of memory Processor board ID FOC11334C2B MPC8300 CPU Rev Part Number 0x8062 Revision ID 0x11...

Page 18: ...co Please choose a password that is different from the enable secret Enter enable password cisco Step 7 Enter the virtual terminal password which prevents unauthenticated access to the VG through ports other than the console port The virtual terminal password is used to protect access to the VG over a network interface Enter virtual terminal password cisco Configure SNMP Network Management yes n C...

Page 19: ...e this configuration to nvram and exit If you answer 0 the configuration information you entered is not saved and you return to the Cisco VG enable prompt VG Enter setup to return to the System Configuration Dialog If you answer 1 you return to setup without saving the configuration If you answer 2 the configuration is saved and you are returned to the user EXEC prompt VG Step 2 When the messages ...

Page 20: ...2 6 Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide OL 16191 01 Chapter 2 Using the setup Command Facility Completing the Configuration ...

Page 21: ...ced configuration topics see the Cisco IOS configuration guide and command reference publications See the Obtaining Documentation and Submitting a Service Request section on page vi Note If you skipped Chapter 2 Using the setup Command Facility and you have never configured a Cisco VG return to Chapter 2 Using the setup Command Facility and read it now The chapter contains important information th...

Page 22: ...ame of the Cisco VG to a meaningful name Step 4 enable secret password Example VG config enable secret guessme Enters an enable secret password This password provides access to privileged EXEC mode When you press enter at the user EXEC prompt VG you must enter the enable secret password to gain access to configuration mode Substitute your enable secret password for guessme Step 5 line configuratio...

Page 23: ...w enable password VG exit VG con0 is now available Press RETURN to get started VG enable Password guessme VG Tip If you are having trouble ensure the following Caps Lock is off You entered the correct passwords Passwords are case sensitive Configuring Fast Ethernet Interfaces To configure a Fast Ethernet interface use the configuration software provided with your Cisco VG Otherwise for greatest po...

Page 24: ...nd or Action Purpose Step 1 enable Example VG enable Enters privileged EXEC mode Step 2 configure terminal Example VG configure terminal Enters global configuration mode Step 3 ip routing Example VG config ip routing Enables routing protocols as required for your global configuration This example uses IP routing Step 4 interface type number Example VG config interface fastethernet 0 0 Enters inter...

Page 25: ...a0 0 Building configuration Current configuration 96 bytes interface FastEthernet0 0 ip address 9 13 38 149 255 255 255 0 speed auto half duplex end Saving Configuration Changes Perform the following steps to prevent loss of the Cisco VG configuration SUMMARY STEPS 1 enable 2 copy running config startup config 3 Ctrl z Step 6 exit Example VG config if exit Exits to global configuration mode Repeat...

Page 26: ...PS Command or Action Purpose Step 1 enable Example VG enable Enters privileged EXEC mode Step 2 copy running config startup config Example VG copy running config startup config Saves the configuration changes to NVRAM so that they are not lost during resets power cycles or power outages Step 3 Ctrl z Example VG Ctrl z Returns to enable mode when you finish configuring the interfaces ...

Page 27: ...an IP network VoIP offers the following benefits Toll bypass Unified voice and data trunking Plain old telephone service POTS Internet telephony gateways For more information on understanding and configuring VoIP see the Configuring Voice over IP document Prerequisites Before you can configure your Cisco VG to use VoIP you must first do the following Establish a working IP network Implement a dial...

Page 28: ...ce configuration mode follow these steps Step 1 Connect a console to the Cisco VG If you need instructions for connecting a console see the installation chapter of your Cisco VG installation and configuration guide Step 2 Power on the Cisco VG If the current configuration is no longer valid after about one minute you see the following prompt Would you like to enter the initial dialog yes no Answer...

Page 29: ...ep 9 The results of the show running config and show startup config commands differ if you have made changes to the configuration but have not yet written them to NVRAM To write your changes to NVRAM and make them permanent enter the copy running config startup config command at the enable prompt VG copy running config startup config Building configuration OK VG The Cisco VG is now configured to b...

Page 30: ...llowing commands SUMMARY STEPS 1 enable 2 configure terminal 3 interface type slot port 4 ip address dhcp 5 sccp local interface type interface number port port number 6 ccm manager sccp local interface type interface number 7 ccm manager sccp 8 voice service voip 9 fax protocol t38 nse force 10 exit DETAILED STEPS Command or Action Purpose Step 1 enable Example VG enable Enters privileged EXEC mo...

Page 31: ...ccm manager sccp local fastethernet 0 0 Selects the local interface that the SCCP application uses to register with Cisco CallManager Step 7 ccm manager sccp Example VG config ccm manager sccp Enables Cisco CallManager autoconfiguration of the Cisco IOS gateway Note The ccm sccp command will remove itself if there is no IP address configured The command checks every 20 seconds up to a maximum of 8...

Page 32: ...an to configure You have entered interface configuration mode when the prompt changes to VG config if Step 4 ip address dhcp Example VG config if ip address dhcp Acquires an IP address on an interface from the Dynamic Host Configuration Protocol DHCP Step 5 sccp local interface type interface number port port type Example VG config sccp local fastethernet 0 0 Enables the SCCP and its related appli...

Page 33: ...lot number port 8 timeouts initial seconds 9 timeouts interdigit seconds 10 timeouts ringing seconds infinity 11 voice port slot number port 12 ccm manager fax protocol protocol cisco 13 ccm manager config server ip address name seconds 14 ccm manager sccp local interface type interface number 15 ccm manager sccp 16 sccp local interface type interface number port port type Step 9 ccm manager confi...

Page 34: ...onfig Step 3 stcapp ccm group group id Example VG config stcapp ccm group 1 Configures the Cisco CallManager group number for use by the SCCP Telephony Control Application STCAPP Step 4 stcapp Example VG config stcapp Enables STCAPP Step 5 stcapp feature access code Example VG config stcapp feature access code Enables STC application feature access codes and enters their configuration mode Step 6 ...

Page 35: ...r 9 13 38 245 Specifies the TFTP server from which the voice gateway downloads Cisco CallManager XML configuration files and enables the download of the configuration Step 14 ccm manager sccp local interface type interface number Example VG config ccm manager sccp local fastethernet 0 0 Selects the local interface that the SCCP application uses to register with Cisco CallManager Step 15 ccm manage...

Page 36: ...oice port 0 0 is slot number 0 000 subunit 0 00 and port number 0 0000000 By stringing the digits together you get the following 0000 0000 0000 0 0 0 This means that if the source interface MAC address is 001f cac3 b3f8 the MAC address of voice port 0 0 will be 1FCAC3b3f8000 Table 4 1 shows the voice port to MAC address conversion table Step 19 associate ccm identifier number priority priority num...

Page 37: ...ne and then dials party C s number When CCM gets party C s number it transfers the party A call to party C without the need of committment from party B The VG202 or VG204 voice gateways consultation call transfer functionality allows happens after a call is established between a transferor and transferee The transferor wants to transfer the call to a transfer target by using a softkey transfer by ...

Page 38: ... the same commands and configuration shown in Call Transfer section on page 4 11 Command or Action Purpose Step 1 enable Example VG enable Enters privileged EXEC mode Step 2 configure terminal Example VG configure terminal Enters global configuration mode You have entered global configuration mode when the prompt changes to VG config Step 3 dial peer voice tag pots Example VG config dial peer voic...

Page 39: ...ts a caller s number to the called party s telephone during the ringing signal To configure caller ID on the voice gateways use the following commands SUMMARY STEPS 1 enable 2 configure terminal 3 voice port slot number port 4 caller id enable type 1 2 5 voice port slot number port 6 caller id enable type 1 2 7 exit DETAILED STEPS Command or Action Purpose Step 1 enable Example VG enable Enters pr...

Page 40: ...p 5 voice port slot number port Example VG config voice port 0 1 Enters voice port configuration mode Step 6 caller id enable type 1 2 Example VG config voice port caller id enable type 2 Allows the sending or receiving of caller ID information Step 7 exit Example VG config exit Exits to global configuration mode Command or Action Purpose ...

Page 41: ... or rule out hardware problems that you encounter while installing your voice gateway This appendix contains the following sections Entering the ROM Monitor Mode page A 1 ROM Monitor Commands page A 2 Command Descriptions page A 3 Configuration Register page A 4 Console Download page A 6 Debug Commands page A 7 Exiting the ROM Monitor page A 8 Entering the ROM Monitor Mode To use the ROM monitor y...

Page 42: ...ext display the context of a loaded image cookie display contents of cookie PROM in hex Command or Action Purpose Step 1 enable Example VG enable Enters privileged EXEC mode Step 2 configure terminal Example VG configure terminal Enters global configuration mode Step 3 config register value Example VG config config register 0x2102 Resets the configuration register settings Step 4 exit Example VG c...

Page 43: ...d by pressing the Break key on a terminal If you are using a PC most terminal emulation programs halt a command when you press the Ctrl and the Break keys at the same time If you are using another type of terminal emulator or terminal emulation software see the documentation for that product for information on how to send a Break command Command Descriptions Table A 1 describes the most commonly u...

Page 44: ...nsfer protocol Note The Cisco VG202 and Cisco VG204 voice gateways only support c and y Configuration Register The virtual configuration register is in nonvolatile RAM NVRAM and has the same functionality as other Cisco voice gateways You can view or modify the virtual configuration register from either the ROM monitor or the operating system software Within the ROM monitor you can change the conf...

Page 45: ...ompt to alter the contents by describing the meaning of each bit In either case the new virtual configuration register value is written into NVRAM but does not take effect until you reset or reboot the voice gateway The following display shows an example of entering the confreg command rommon 7 confreg Configuration Summary enabled are console baud 9600 boot the ROM Monitor do you wish to change t...

Page 46: ...e recommend using a speed of 38 400 bps or less when downloading a Cisco IOS image over the console port Command Description The following are the syntax and descriptions for the xmodem console download command xmodem c y destination_file_name Follow these steps to run Xmodem Step 1 Move the image file to the local drive where Xmodem will execute Step 2 Enter the xmodem command c Optional Performs...

Page 47: ...80008118 Frame 04 FP 0x80005fac PC 0x80008064 Frame 05 FP 0x80005fc4 PC 0xfff03d70 context Displays processor context for example rommon 7 context CPU context of the most recent exception PC 0x801111b0 MSR 0x00009032 CR 0x53000035 LR 0x80113694 CTR 0x801065e4 XER 0xa0006d36 DAR 0xffffffff DSISR 0xffffffff DEC 0xffffffff TBU 0xffffffff TBL 0xffffffff IMMR 0xffffffff R0 0x00000000 R1 0x80005ea8 R2 0...

Page 48: ...le main memory starts at 0x10000 size 40896KB IO packet memory size 5 percent of main memory Exiting the ROM Monitor You must set the configuration register to a value from 0x2 to 0xF for the voice gateway to boot a Cisco IOS image from flash memory upon startup or reloading The following example shows how to reset the configuration register and cause the voice gateway to boot a Cisco IOS image st...

Page 49: ...ext A 7 dir device A 3 frame A 7 help A 3 i A 3 k A 7 meminfo A 8 reset A 3 ROM monitor A 2 to A 3 ROM monitor debugging A 7 A 8 ROM monitor diagnostics A 1 setup 2 2 show config 3 3 stack A 7 sysret A 7 xmodem A 4 A 6 common command modes 1 5 configuration 2 2 completing 2 5 saving 2 5 Voice over IP 4 2 configuration register changing from ROM monitor A 4 confreg command A 5 console download A 6 ...

Page 50: ...onfiguration command mode 1 5 K k command A 7 M meminfo command A 8 P privileged EXEC command mode 1 5 R recovering boot and system images A 4 reset command A 3 ROM monitor commands A 2 to A 3 debug commands A 7 A 8 entering A 1 exiting A 8 S setup command 2 2 show config command 3 3 stack command A 7 sysret command A 7 T tables Common Command Modes 1 5 TFTP download See also console download U us...

Reviews: