Contents Contents ................................. 1 Compliance Information ..........................19 Radio and TV Interference ..........................19 CE Notice ...............................19 EU Declaration of Conformity ........................19 The basis on which conformity is being declared ..................19 Service ................................20 About this guide ............................21 Audience................................21 How to read this guide ............................
Page 4
Contents Model 4520 & 4110 Series Getting Started Guide CLI prompt ..............................42 Navigating the CLI ............................43 Initial mode ..............................43 System changes ............................43 Configuration ............................43 Changing Modes ............................43 Command editing ..............................43 Command help ...............................43 The No form ..............................43 Command completion ............................43 Command history ............................44 Command Editing Shortcuts...
Page 5
Model 4520 & 4110 Series Getting Started Guide Contents Boot procedure..............................68 Bootloader (for SmartNode 1000 and 2000 Series) ....................69 Start Bootloader and login ..........................69 Main shell and domains ..........................69 Route Table Manager (RTM) .........................70 Download Agent .............................71 Diagnostic ...............................72 Bootloader (for SmartNode 4110/4520 Series)......................73 Start Bootloader ..............................73...
Page 6
Contents Model 4520 & 4110 Series Getting Started Guide Controlling command execution ........................103 Displaying the checksum of a configuration ....................104 Configuration of terminal sessions ........................105 Radius Client Configuration ........................107 Introduction ................................108 The AAA component ............................108 General AAA Configuration ..........................109 Radius configuration ............................111 Configuring Radius clients...
Page 7
Model 4520 & 4110 Series Getting Started Guide Contents NAT/NAPT configuration........................... 133 Introduction ................................134 Dynamic NAPT ............................134 Static NAPT ..............................135 Dynamic NAT ..............................136 Static NAT ..............................136 NAPT traversal .............................137 NAT/NAPT configuration task list ........................137 Creating a NAPT profile ..........................137 Activate NAT/NAPT ............................138 Displaying NAT/NAPT configuration information ..................139...
Page 8
Contents Model 4520 & 4110 Series Getting Started Guide Defining the bit-rate ..........................162 Defining absolute priority ........................162 Defining the maximum queue length ......................162 Specifying the type-of-service (TOS) field ....................162 Specifying the precedence field ........................163 Specifying differentiated services codepoint (DSCP) marking ..............163 Specifying layer 2 marking ........................164...
Page 9
Model 4520 & 4110 Series Getting Started Guide Contents Basic static IP routing example ........................191 configuration............................193 Introduction ................................194 Routing protocol ..............................194 RIP configuration task list ...........................195 Enabling send RIP ............................195 Enabling an interface to receive RIP ......................196 Specifying the send RIP version ........................196 Specifying the receive RIP version .........................197...
Page 10
Contents Model 4520 & 4110 Series Getting Started Guide Network management framework .........................219 Identification of the SmartNode 1000, 2000 and 4000 Series via SNMP ............220 SNMP tools.................................221 SNMP configuration task list ..........................221 Setting basic system information..........................222 Setting access community information ........................224 Setting allowed host information .........................225...
Page 11
Model 4520 & 4110 Series Getting Started Guide Contents DNS configuration ............................255 Introduction ................................256 DNS configuration task list ..........................256 Enabling the DNS resolver ..........................256 Enabling the DNS relay ..........................257 DynDNS configuration ..........................259 Introduction ................................260 DynDNS configuration task list ..........................260 Creating a DynDNS account ........................260...
Page 12
Contents Model 4520 & 4110 Series Getting Started Guide Debugging IPsec ............................288 Sample configurations ............................289 IPsec tunnel, DES encryption ........................289 SmartNode configuration ........................289 Cisco router configuration ........................290 IPsec tunnel, AES encryption at 256 bit key length, AH authentication with HMAC-SHA1-96 ....290 SmartNode configuration ........................290...
Page 14
Contents Model 4520 & 4110 Series Getting Started Guide Binding the interface to a SIP gateway ......................357 Configure a remote host ..........................357 Configuring an alternate VoIP profile (Optional) ..................358 Configuring early call connect / disconnect (optional) ..................358 Configuring a phone context (optional) ......................359 Call router configuration..........................
Page 15
Model 4520 & 4110 Series Getting Started Guide Contents Activate the call router configuration ......................408 Test the call router configuration ........................409 Tone configuration............................417 Introduction ................................418 Tone-set profiles..............................418 MGCP-Events ..............................419 Tone configuration task list ..........................419 Configuring call-progress-tone profiles ......................420 Configure tone-set profiles ..........................421 Enable tone-set profile ..........................421...
Page 16
Contents Model 4520 & 4110 Series Getting Started Guide Configure country specific FXO port parameters....................449 Other FXO port parameters ..........................450 H.323 gateway configuration ........................451 Introduction ................................452 Gateway configuration task list ..........................452 Configure datapath related settings .......................453 Binding the gateway to an IP interface ......................454 Enable the gateway ............................454...
Page 17
Model 4520 & 4110 Series Getting Started Guide Contents Configuring the dejitter buffer (advanced) ....................480 Enabling/disabling filters (advanced) ......................483 Configuring Fax transmission ........................484 Configuring modem transmission .........................486 Examples ................................487 Home office in an enterprise network ......................487 Home office with fax ............................489 Soft phone client gateway ..........................490...
Page 19
Model 4520 & 4110 Series Getting Started Guide Contents profile_call-progress-tone ..........................545 profile_tone-set .............................545 profile_voip ..............................546 profile_pstn ..............................548 profile_dhcp-server ............................548 profile_authentication ...........................548 Other...................................548 radius-client ..............................548 system ................................548 ic_voice ..............................548 subscriber_ppp ..............................548 Show help ..............................549 Show command history ..........................549 Show RedBoot version ..........................550 Restart system ...............................550...
Page 20
Contents Model 4520 & 4110 Series Getting Started Guide...
TV Radio The SmartNode series of products generate and use radio frequency energy, and if not installed and used prop- erly—i.e. in strict accordance with the manufacturer’s instructions—may cause interference to radio and televi- sion reception. The SmartNode devices have been tested and found to comply with the limits for a Class A computing device in accordance with specifications in Subpart B of Part 15 of FCC rules, which are designed...
Compliance Information SmartWare Software Configuration Guide Service All warranty and non-warranty repairs must be returned freight prepaid and insured to Patton Electronics. All returns must have a Return Materials Authorization number on the outside of the shipping container. This number may be obtained from Patton Electronics Technical Services at: •...
About this guide The objective of this SmartWare Command Configuration Guide is to provide information concerning the syn- tax and usage of the command set. For hardware configuration information, refer to the getting started guide that came with your SmartNode systems. This section describes the following: •...
Page 24
About this guide SmartWare Software Configuration Guide • Chapter 3, "Command line interface (CLI)" on page 41 gives an overview of the CLI and the basic features that allow you to navigate the CLI and edit commands effectively. • Chapter 4, "Accessing the CLI"...
Page 25
SmartWare Software Configuration Guide About this guide • Chapter 21, "DHCP configuration" on page 245 provides an overview of the dynamic host configuration control protocol (DHCP) and describes the tasks involved in its configuration. • Chapter 22, "DNS configuration" on page 255 describes how to configure the domain name system (DNS) component.
Page 26
About this guide SmartWare Software Configuration Guide • Chapter 42, "VoIP debugging" on page 497 helps you to localize a system component that is responsible for faults during operation of a SmartNode device. • Appendix A, "Terms and definitions" on page 517 contains the terms and their definitions that are used throughout this SmartWare Software Configuration Guide.
SmartWare Software Configuration Guide About this guide Typographical conventions used in this document This section describes the typographical conventions and terms used in this guide. General conventions In this guide we use certain typographical conventions to distinguish elements of commands and examples. In general, the conventions we use conform to those found in IEEE POSIX publications.
About this guide SmartWare Software Configuration Guide Mouse conventions The following conventions are used when describing mouse actions: Table 2. Mouse conventions Convention Meaning Left mouse button This button refers to the primary or leftmost mouse button (unless you have changed the default configuration).
1 • System overview SmartWare Software Configuration Guide Introduction This chapter provides an overview of the main elements of a SmartNode system and includes the follow- ing sections: • SmartNode hardware platforms (see page • SmartWare embedded software (see page •...
Figure 1. System overview with a SmartView Management Center SmartNode hardware platforms The SmartNode series of devices covers a performance range varying from that suitable for small office/home office (SOHO) applications to large corporate sites, or in terms of voice channels from 2 channels (one BRI/So or 2 FXS) to 120 (two PRI/S2m).
1 • System overview SmartWare Software Configuration Guide Figure 2. SmartNode System Model SmartWare embedded software SmartWare is the application software that runs on the SmartNode hardware platforms. SmartWare is available in several releases that support all available SmartNode models. Refer to SmartWare release notes for detailed information about hardware support.
SmartWare Software Configuration Guide 1 • System overview SmartWare release notes for PMC driver software compatibility. The PMC drivers may be upgraded together with a SmartWare release or they can be downloaded individually onto the device’s flash memory file system. Figure 3.
1 • System overview SmartWare Software Configuration Guide • LAN telephony—SmartNodes serve as gateways between the LAN and the local PBX or PSTN access. These applications are also called LAN voice gateway (LVG). Carrier networks The network termination (NT) device in a multi-service IP based provider network plays a vital role. It pro- vides the service access point for the subscriber with respect to physical connectivity and protocol interopera- bility.
Page 35
SmartWare Software Configuration Guide 1 • System overview Figure 5. Typical enterprise network with a SmartNode 1400 and 2300 Figure 5 shows the deployment of SmartNodes in enterprise networks. Each site (headquarter, branch or home office) is equipped with a SmartNode that connects the local LAN and telephony infrastructure with the IP WAN and the local PSTN carrier.
1 • System overview SmartWare Software Configuration Guide Figure 6. Typical LAN telephony system with a SmartNode 1400 gateway LAN telephony With its voice-over-IP gateway features, the SmartNode can be used as a standalone gateway for H.323 or SIP LAN voice systems such as LAN-based PBXs or call centers (see figure A standalone gateway has performance reliability and scalability advantages compared with PC-based gateway cards.
Page 37
Chapter 2 Configuration concepts Chapter contents Introduction ................................36 Contexts and Gateways............................37 Context ................................37 Gateway ................................37 Interfaces, Ports, and Bindings..........................38 Interfaces ................................38 Ports and circuits ............................38 Bindings ................................38 Profiles and Use commands...........................39 Profiles ................................39 Use Commands ..............................39...
2 • Configuration concepts SmartWare Software Configuration Guide Introduction This chapter introduces basic SmartWare configuration concepts. A good understanding of these concepts is vital for the configuration tasks explained in the remaining chapters of this guide. Patton strongly recommends that you read through this chapter because it introduces the fundamental ideas behind the structure of the command line interface.
SmartWare Software Configuration Guide 2 • Configuration concepts lines) commands. For example, you need bind commands to bind a physical port to a logical interface, and use commands to assign profiles to contexts. The sections that follow refer to figure 7 on page 36 and describe the concepts and elements in more detail.
2 • Configuration concepts SmartWare Software Configuration Guide Example An H.323 gateway named h323-gw has an H.323 gateway ID and an associated gatekeeper configuration. It is connected to the interface ip-trunk on the circuit-switch context switch and the interface global-wan on the IP context router.
SmartWare Software Configuration Guide 2 • Configuration concepts In the case of PSTN CS interfaces (BRI, PRI, FXS, FXO interfaces), bindings are configured statically in the port or circuit configuration. The binding is created bottom-up, that is from the port to the interface. In the case of VoIP CS interfaces (H.323, SIP), bindings are configured statically in the CS interface configura- tion.
Page 42
2 • Configuration concepts SmartWare Software Configuration Guide Profiles and Use commands...
3 • Command line interface (CLI) SmartWare Software Configuration Guide Introduction The primary user interface to SmartWare is the command line interface (CLI). You can access the CLI via the SmartNode console port or through a Telnet session. The CLI lets you configure the complete SmartWare functionality, as opposed to the SNMP and HTTP management interfaces that offer a more limited subset of the functions.
SmartWare Software Configuration Guide 3 • Command line interface (CLI) Navigating the CLI Initial mode When you initiate a session, you can log in with operator or administrator privileges. Whichever login you use, the CLI is always set to operator exec (non-privileged exec) mode by default upon startup. This mode allows you to examine the state of the system using a subset of the available CLI commands.
3 • Command line interface (CLI) SmartWare Software Configuration Guide has to be made. For example, rather than typing configure, typing conf and pressing the <tab> key causes the CLI to complete the command at the prompt. If the number of characters is not sufficient to uniquely identify the command, the CLI will provide a list with all commands starting with the typed characters.
Page 47
SmartWare Software Configuration Guide 3 • Command line interface (CLI) Table 3. Command edit shortcuts (Continued) Keyboard Description Ctrl-v Insert a code to indicate to the system that the keystroke immediately following should be treated as normal text, not a CLI command. E.g.
Chapter 4 Accessing the CLI Chapter contents Introduction ................................48 Accessing the SmartWare CLI task list........................48 Accessing via the console port .........................49 Console port procedure ..........................49 Accessing via a Telnet session ..........................50 Telnet Procedure ............................51 Log onto the SmartWare ..........................51 Selecting a secure password ..........................52 Configure operators and administrators ......................52...
4 • Accessing the CLI SmartWare Software Configuration Guide Introduction SmartNode products are designed for remote management and volume deployment. The management and configuration of SmartNodes is therefore based on IP network connectivity. Once a SmartNode is connected to, and addressable in, an IP network, you can remotely perform all configuration, management, and mainte- nance tasks.
SmartWare Software Configuration Guide 4 • Accessing the CLI Accessing via the console port To access a SmartNode via its console port, the host computer must be connected directly to the console port (labeled CONSOLE) with a serial cable (see figure 8).
4 • Accessing the CLI SmartWare Software Configuration Guide Accessing via a Telnet session This is the most commonly used method for connecting to a SmartNode. The Telnet host accesses the Smart- Node via its network interface. A host can be connected directly to the ETH 1 port (LAN) with a crossover cable (see figure 9, part A) or through an Ethernet hub with two straight cables (see...
SmartWare Software Configuration Guide 4 • Accessing the CLI Telnet Procedure Before you begin to use the CLI to input configuration commands, do the following: 1. Set up the SmartNode as described in the getting started guide included with your SmartNode device. 2.
4 • Accessing the CLI SmartWare Software Configuration Guide You are responsible for creating a new administrator account to maintain system security. Patton Electronics accepts no responsi- bility for losses or damage caused by loss or misuse of pass- words. Please read the following sections to secure your network equipment properly.
SmartWare Software Configuration Guide 4 • Accessing the CLI Creating a new operator account is described in the following procedure: Mode: Operator execution Step Command Purpose node> enable Enters administration execution mode node# configure Enters configuration mode node(cfg)# operator name password password Creates a new operator account name and password password copy running-config startup-config Saves the change made to the running config-...
4 • Accessing the CLI SmartWare Software Configuration Guide Displaying the CLI version This procedure displays the version of the currently running SmartWare CLI. Mode: Operator execution Step Command Purpose node> show version cli Displays the CLI version Example: Displaying the CLI version The following example shows how to display the version of the current running SmartWare CLI on your device, if you start from the operator execution mode.
SmartWare Software Configuration Guide 4 • Accessing the CLI Example: Switching to Another Account The following example shows how to change from your current user account to an administrator account, starting from the operator execution mode. In the example below the who command is used to check the iden- tity within both accounts login: support password: <password>...
4 • Accessing the CLI SmartWare Software Configuration Guide Ending a Telnet or console port session Use the logout command in the operator or administration execution mode to end a Telnet or console port ses- sion. To confirm the logout command, you must enter yes on the dialog line as shown in the example below. Mode: Operator execution Step Command...
Chapter 5 Establishing basic IP connectivity Chapter contents Introduction ................................58 IP context selection and basic interface configuration tasks..................58 Entering the IP context, creating IP interfaces and assigning an IP address .............58 Defining IP Ethernet encapsulation and binding an IP interface to a physical port .........59 Activating a physical port ..........................59...
5 • Establishing basic IP connectivity SmartWare Software Configuration Guide Introduction This chapter explains how to establish network-based connections to and from your SmartNode using IP inter- faces and Ethernet ports. You can configure basic IP connectivity in the context IP and the subsidiary interface command modes.
SmartWare Software Configuration Guide 5 • Establishing basic IP connectivity Example: Enter IP context, create IP interfaces, and set IP address and netmask The procedure below assumes that you want to create an IP interface named lan, with an IP address of 192.168.1.3 and a net mask of 255.255.255.0.
5 • Establishing basic IP connectivity SmartWare Software Configuration Guide Using the command show port ethernet slot port lists the actual status for the selected physical port. The fol- lowing listing shows the port Ethernet information for port 0 on slot 0, which is in the shutdown state as indi- cated by the current state CLOSED.
SmartWare Software Configuration Guide 5 • Establishing basic IP connectivity Example: List existing IP interfaces You can display IP interface information by using the show ip interface command in configuration mode. In the following example, only the information available for IP interface lan is displayed. Depending on the num- ber of defined IP interfaces, the output of the show ip interface command can be longer.
5 • Establishing basic IP connectivity SmartWare Software Configuration Guide 2. Delete the interfaces named external with the no interface command, with the interface name as argu- ment: SN(ctx-ip)[router]#no interface external 3. List the interfaces again to check if the IP interface external has been deleted: SN(ctx-ip)[router]#interface <?>...
Page 65
SmartWare Software Configuration Guide 5 • Establishing basic IP connectivity SN(prt-eth)[0/0]#encapsulation ip 4. Bind the interface lan you just defined to the Ethernet port, and then activate the port. SN(prt-eth)[0/0]#bind interface lan router SN(prt-eth)[0/0]#no shutdown 5. Store the configuration settings in the startup configuration so as to be available after the next system reboot.
6 • System image handling SmartWare Software Configuration Guide Introduction This chapter describes how to load and maintain system images and driver software. System images contain the application image and driver software images. The application image represents the software running Smart- Ware, which must be stored in the persistent region of the memory.
Page 69
SmartWare Software Configuration Guide 6 • System image handling A dedicated user-specific configuration must be created and stored in the flash memory. This configuration defines the user’s desired system functionality and is used to start-up the system under normal conditions. This configuration must be stored as default-config in the logical region nvram: of the flash memory.
6 • System image handling SmartWare Software Configuration Guide Boot procedure During a normal boot procedure of a SmartNode, the bootstrap application checks for an application image in the persistent memory of the logical region nvram:. The application image is then executed, i.e. the SmartWare is started module by module.
SmartWare Software Configuration Guide 6 • System image handling switches to the newly loaded application image if it is valid. Otherwise, the bootstrap still uses the previous application image. If the application image is valid, it is started and SmartWare is brought into operation module by module. During this system initialization phase (when the message Press reset button to restore factory defaults...
6 • System image handling SmartWare Software Configuration Guide The available command set is shown in table Table 5. Main shell command set Command Function Displays the main menu with available commands, domains and active sessions. help Displays a list of the commands available in the current domain. boot Restarts the system.
SmartWare Software Configuration Guide 6 • System image handling Type help to display a list of commands that are available in the RTM domain (see figure 16). Figure 16. Route Table Manager display To add a new static route, use the command add. For example: add 1.2.3.4 mask 255.255.0.0 gw 1.2.3.10 metric 0 You can delete a route by using the command delete.
6 • System image handling SmartWare Software Configuration Guide Type help to display a list of commands that are available in the Download Agent domain (see figure 17). Figure 17. Download Agent display The Download Agent allows you to set and read different TFTP server settings: •...
SmartWare Software Configuration Guide 6 • System image handling Type help to display a list of the available commands in the Diagnostic domain (see figure 18). Figure 18. Diagnostic Display The command ping allows you to verify the IP connectivity within a network. You can test the various sectors of the SmartNode flash memory with the command flashtest.
6 • System image handling SmartWare Software Configuration Guide Start-up with factory configuration Step Command Purpose RedBoot> fis load Copies the SmartWare application image from the persistent memory (flash:) to the volatile memory (RAM) from where it will be executed. RedBoot>...
Page 77
SmartWare Software Configuration Guide 6 • System image handling Step Command Purpose RedBoot> go Starts the application image that was down- loaded into the volatile memory (RAM). Note With the Bootloader, only the Ethernet interface 0/0 is available. The Boot- loader applies the IP address, subnet mask, and default gateway that were last configured by the Bootloader itself or by another application (e.g.
6 • System image handling SmartWare Software Configuration Guide Load a new application image (SmartWare) via the serial link The Bootloader supports the ‘X-Modem’ and ‘Y-Modem’ protocols to download application images via the serial link of the console. Do the following to initiate the download: Step Command Purpose...
SmartWare Software Configuration Guide 6 • System image handling System image handling task list To load and maintain system images, perform the tasks described in the following sections: • Displaying system image information • Copying system images from a network server to the Flash memory (see page •...
6 • System image handling SmartWare Software Configuration Guide Copying system images from a network server to Flash memory As mentioned previously, the system image file contains the application software that runs SmartWare; it is loaded into the flash memory at the Patton Electronics Co. factory. Since most of the voice and data features of the SmartNode are defined and implemented in the application software, upgrading to a new release might be necessary if you want to have additional voice and data features available.
SmartWare Software Configuration Guide 6 • System image handling Example: Copy system images from a network server to the Flash memory The following example shows how to download the driver software image file from the TFTP server at IP address 172.16.36.80. The download is defined by a script file, which has to be downloaded first. After down- loading the script file, the driver software image file is downloaded automatically.
Page 82
6 • System image handling SmartWare Software Configuration Guide Mode: Administrator execution Step Command Purpose node (cfg)# copy tftp:// node-ip-address / b flash: Downloads the script file b from the TFTP server at address node-ip-address and starts the driver software image download process.
Chapter 7 Configuration file handling Chapter contents Introduction ................................82 Understanding configuration files ........................82 Factory configuration ............................84 Configuration file handling task list........................85 Copying configurations within the local memory ....................86 Replacing the startup configuration with a configuration from Flash memory ..........87 Copying configurations to and from a remote storage location ................89 Replacing the startup configuration with a configuration downloaded from TFTP server .......90...
7 • Configuration file handling SmartWare Software Configuration Guide Introduction This chapter describes how to upload and download configuration files from and to a SmartNode 1000, 2000, or 4000 Series devices. A configuration file is a batch file of SmartWare commands used in the software mod- ules that perform specific functions of the SmartNode.
Page 85
SmartWare Software Configuration Guide 7 • Configuration file handling Figure 19, shows the characteristics of a configuration file. It is stored on a TFTP server in the file SN2300_001.cfg for later download to the SmartNode SN. The command syntax used to enter commands with the CLI and add commands in configuration files is identical.
SmartWare Software Configuration Guide 7 • Configuration file handling uration at any time during the operation of a SmartNode configuration. The getting started guide included with your SmartNode device describes the restoration procedure for restoring the default settings. Avoid downloading any configuration file if you do not com- pletely understand what you have to do! If a configuration file download fails or succeeds only partially your SmartNode device cannot start up without a support intervention at the factory.
7 • Configuration file handling SmartWare Software Configuration Guide Copying configurations within the local memory Configuration files may be copied into the local memory in order to switch between different configurations. Remember the different local memory regions in SmartWare as shown in figure Figure 20.
SmartWare Software Configuration Guide 7 • Configuration file handling Mode: Administrator execution Step Command Purpose node #copy {factory-config | startup- Copies the selected source configuration file config | running-config | nvram: source- source-name as target configuration file target- name } nvram: target-name name into the local memory.
Page 90
7 • Configuration file handling SmartWare Software Configuration Guide Example: Replacing the startup configuration with a configuration from Flash memory The following example shows how to replace the persistent startup configuration in the flash memory of a SmartNode by overwriting it with the configuration in the file new-startup stored in flash memory. 1.
SmartWare Software Configuration Guide 7 • Configuration file handling Copying configurations to and from a remote storage location Configuration files can be copied from local memory (persistent or volatile region) to a remote data store. Remember the different store locations; they are the local memory in your SmartNode and the remote data store on a server system (see figure 21).
7 • Configuration file handling SmartWare Software Configuration Guide transferred to the TFTP server, where it can be distributed to other SmartNode devices. These devices therefore get clones of the starting system if the configuration does not need any modifications. Replacing the startup configuration with a configuration downloaded from TFTP server From within the administration execution mode, you can replace the startup-configuration by downloading a...
7 • Configuration file handling SmartWare Software Configuration Guide Step Command Purpose node (cfg)#reload Restarts the system Example: Modifying the running configuration at the CLI The following example shows how to modify the currently running configuration via the CLI and save it as the startup configuration.
SmartWare Software Configuration Guide 7 • Configuration file handling Step Command Purpose node #copy tftp:// node-ip-address / current-config Downloads the modified configuration file cur- nvram: startup-config rent-config from the TFTP server at address node- ip-address into the persistent memory region nvram: by using the name startup-config.
Page 96
7 • Configuration file handling SmartWare Software Configuration Guide backup minimal startup-config factory-config 2. Delete the configuration named minimal explicitly. SN#erase nvram:minimal 3. Enter again the command show nvram: to check if the selected configuration was deleted successfully from the set of available configurations. SN#show nvram: Persistent configurations: backup...
Chapter 8 Basic system management Chapter contents Introduction ................................96 Basic system management configuration task list ....................96 Managing feature license keys .........................97 Setting system information ..........................98 Setting the system banner ..........................99 Setting time and date ............................100 Display clock information ..........................100 Display time since last restart ........................100 Configuring and starting the Web server .......................101...
8 • Basic system management SmartWare Software Configuration Guide Introduction This chapter describes parameters that report basic system information to the operator or administrator, and their configuration. The following are basic SmartWare parameters that must be established when setting up a new system: •...
SmartWare Software Configuration Guide 8 • Basic system management Managing feature license keys Several features of the firmware require a system specific license key to be installed to enable the feature. You will receive a file containing license keys for all of your purchased features from your equipment vendor. This section describes how to install the feature license keys on your equipment.
8 • Basic system management SmartWare Software Configuration Guide The following example shows the command used to display all installed licenses on a system and a sample of its output. SN(cfg)#show licenses VPN [vpn] License serial number: 14343534 Status: Active SN(cfg)# Setting system information The system information includes the following parameters:...
SmartWare Software Configuration Guide 8 • Basic system management Mode: Configure Step Command Purpose node (cfg)#system contact information Sets the contact information to information node (cfg)#system hostname information Sets the hostname to information node (cfg)#system location information Sets the location information to information node (cfg)#system provider information Sets the provider information to information node (cfg)#system subscriber information...
8 • Basic system management SmartWare Software Configuration Guide Example: Setting the system banner The following example shows how to set a message for the system banner for your device, if you start from the configuration mode. SN(cfg)#banner "#\n# Patton Electronics Co.\n#\n# The password of all operators has changed\n# please contact the administrator\n#"...
SmartWare Software Configuration Guide 8 • Basic system management Mode: Operator execution Step Command Purpose node >show uptime Display the time since last restart. Example: The following example shows how to display the uptime of your device, if you start from the configuration mode. SN>show uptime The system is up for 1 days, 23 hours, 44 minutes, 18 seconds Configuring and starting the Web server...
8 • Basic system management SmartWare Software Configuration Guide Step Command Purpose node (cfg)#cli version version.revision Selects the active CLI version in the form version.revi- sion Example: Defining the desired CLI version The following example shows how to determine the running CLI version and define CLI version 2.10 for your device, if you start from the configuration mode.
SmartWare Software Configuration Guide 8 • Basic system management Mode: Administrator execution Step Command Purpose node #show log [event] Show event log. node #show log supervisor Show log of the system supervisor. Used For example, after an unex- pectedly reboot. node #show log reset Output a list of reset reasons (with date and time).
8 • Basic system management SmartWare Software Configuration Guide Reply from 172.16.36.80: Time <10ms Reply from 172.16.36.80: Time <10ms Reply from 172.16.36.80: Time <10ms Reply from 172.16.36.80: Time <10ms Ctrl-Z suspend active command % Suspended System prompt reappears and is ready to execute further commands SN>show ip interface ------------------------------------------------------------ Context:...
SmartWare Software Configuration Guide 8 • Basic system management Configuration of terminal sessions In certain cases it may be desirable to change the settings of the current terminal session. Mode: System Step Command Purpose [ name ] (sys)#terminal height Configures the terminal height. [ name ] (sys)#[no] terminal idle-time- After 30 minutes without user input, a terminal session logout...
Page 108
8 • Basic system management SmartWare Software Configuration Guide Basic system management configuration task list...
Chapter 9 Radius Client Configuration Chapter contents Introduction ................................108 The AAA component ............................108 General AAA Configuration ..........................109 Radius configuration ............................111 Configuring Radius clients ..........................112 Configuring the Radius server ........................113 Attributes in the Radius request message ....................113 Attributes in the Radius accept message ....................113 Configuring the local database accounts ......................114...
9 • Radius Client Configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of the authentication, authorization, and accounting (AAA) component in SmartWare and describes how to configure the Radius client, a subpart of the AAA component. It is important to understand how AAA works before configuring the Radius client.
SmartWare Software Configuration Guide 9 • Radius Client Configuration illustrates the authentication procedure for a user logging into a SmartNode that is configured to use Radius as authentication method. Figure 23. Authentication procedure with a Radius server General AAA Configuration The AAA component consists of AAA profiles and AAA methods.
Page 112
9 • Radius Client Configuration SmartWare Software Configuration Guide 3. Query the local database (see “Configuring the local database accounts” on page 114 for information on how to configure the local database) If, e.g. radius_deepblue is not available, radius_extern will be queried after a timeout. But if radius_deepblue gives an answer that rejects the login request, the remaining methods are not used and the login is denied.
9 • Radius Client Configuration SmartWare Software Configuration Guide Transactions between the Radius client and server are authenticated through the use of a shared secret, which is never sent over the network—the same secret must thus be known to the server and the client by configuration. Using this secret as an encryption key, user passwords are sent encrypted between the client and Radius server.
SmartWare Software Configuration Guide 9 • Radius Client Configuration Configured Server Hostname: 219.144.12.1 SN(cfg)# Configuring the Radius server Each message to and from a Radius server includes several attributes. Attributes are, For example, in a login request, the name and password of the user that requires to log in. Each attribute is assigned a number by RFC 2865. This section gives an overview of all such attributes that SmartWare uses.
9 • Radius Client Configuration SmartWare Software Configuration Guide +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Vendor-Id (cont) Vendor-Type | Vendor-Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Vendor-String ... +-+-+-+-+-+-+-+-+-+-+-+- Type: 26 Length: Length of the whole attribute including the vendor data Vendor-Id: 5349 Vendor-Type: 16 Vendor-Length: Length of all vendor data including Vendor-Type and Vendor-Length Vendor-String: Not null terminated String with the value console or Telnet Configuring the local database accounts The final step in configuring the authentication and authorization service in SmartWare is to set up local user...
Page 117
SmartWare Software Configuration Guide 9 • Radius Client Configuration Note If you are creating an account that does not require a password, type "" to indicate that no password is needed. For example, if you were configuring an account for an operator named James that did not need a password, the entry would be: SN(cfg)#operator james password ""...
Page 118
9 • Radius Client Configuration SmartWare Software Configuration Guide Configuring the local database accounts...
Chapter 10 IP context overview Chapter contents Introduction ................................118 IP context overview configuration task list......................119 Planning your IP configuration ...........................120 IP interface related information ........................120 Serial interface related information ........................121 QoS related information ..........................121 Configuring Ethernet and serial ports ........................121 Creating and configuring IP interfaces.........................121 Configuring NAPT...
10 • IP context overview SmartWare Software Configuration Guide Introduction This chapter outlines the SmartWare Internet protocol (IP) context and its related components. You will get the fundamental understanding on how to set up your SmartNode to make use of IP related services. The following sections describe the configuration steps necessary to put together certain IP services and the ref- erences to the related chapters that explain the issue in more details.
SmartWare Software Configuration Guide 10 • IP context overview via different types of gateways. Since the CS context and its related components are not the subject of this chapter, they are illustrated in figure 25 with gray lines instead of black ones. Figure 25.
10 • IP context overview SmartWare Software Configuration Guide • To set up the IP router contained in SmartWare, chapter 16, “Basic IP routing configuration” on page 187 and chapter 17, “RIP configuration” on page 193 give you the required information. •...
SmartWare Software Configuration Guide 10 • IP context overview Serial interface related information The SmartNode 2300 supports the V.35 and X.21 standard for synchronous serial interfaces with speeds up to 2 Mbps. Devices that communicate over a serial interface are divided into two classes: •...
10 • IP context overview SmartWare Software Configuration Guide An interface name can be any arbitrary string, but for ease of identification you should use self-explanatory names that describe the use of the interface. For example, use names like lan for an IP interface that connects to the LAN and wan for an interface that connects to the access network or WAN.
SmartWare Software Configuration Guide 10 • IP context overview RIP uses a single routing metric (hop count) to measure the distance between the source and a destination net- work. Each hop in a path from source to destination is assigned a hop-count value, which is typically 1. When a router receives a routing update that contains a new or changed destination-network entry, the router adds one to the metric value indicated in the update and enters the network in the routing table.
Page 126
10 • IP context overview SmartWare Software Configuration Guide Configuring quality of service (QoS)
Chapter 11 IP interface configuration Chapter contents Introduction ................................126 Software IP interface configuration task list ......................126 Creating an IP interface ..........................126 Deleting an IP interface ..........................127 Setting the IP address and netmask .......................127 ICMP message processing ..........................128 ICMP redirect messages ..........................128 Router advertisement broadcast message .......................129...
11 • IP interface configuration SmartWare Software Configuration Guide Introduction This chapter provides a general overview of SmartNode interfaces and describes the tasks involved in their con- figuration. Within SmartWare, an interface is a logical entity that provides higher-layer protocol and service information, such as Layer 3 addressing.
SmartWare Software Configuration Guide 11 • IP interface configuration Example: Create IP interfaces The procedure illustrated below assumes that you would like to create an IP interface named lan Use the fol- lowing commands in administrator configuration mode. SN>enable SN#configure SN(cfg)#context ip router SN(ctx-ip)[router]#interface lan SN(if-ip)[lan]#...
11 • IP interface configuration SmartWare Software Configuration Guide • Set the network mask to netmask • Enable IP processing for the IP interface name without assigning an explicit IP address The ipaddress command offers the following options: unnumbered Enables IP processing on an interface without assigning an explicit IP address to the inter- face.
11 • IP interface configuration SmartWare Software Configuration Guide Note All devices on a physical medium must have the same protocol MTU in order to operate accurately. Procedure: To set the MTU packet size or the MSS to size on the interface name Mode: Interface Step Command...
SmartWare Software Configuration Guide 11 • IP interface configuration Displaying IP interface information SmartWare contains the show ip interface command, which displays IP information for all interfaces. The command is available in operator execution mode or in any of the administrator execution modes. Mode: Operator execution or any administrator execution Step Command...
11 • IP interface configuration SmartWare Software Configuration Guide included in the packet loss calculation, although the round trip time of these packets is used to calculate the minimum/average/maximum round-trip time numbers. When five ICMP echo requests packets have been sent and received, a brief summary is displayed.
12 • NAT/NAPT configuration SmartWare Software Configuration Guide Introduction This chapter provides a general overview of Network Address (Port) Translation and describes the tasks involved in its configuration. The two most compelling problems facing the IP Internet are IP address depletion and scaling in routing. Long-term and short-term solutions to these problems are being developed.
SmartWare Software Configuration Guide 12 • NAT/NAPT configuration Figure 26 illustrates the basic and enhanced behavior of the Dynamic NAPT. The big arrows indicate the direction of the connection establishment. Although only a local host can establish a connection, traffic always flows in both directions.
12 • NAT/NAPT configuration SmartWare Software Configuration Guide Dynamic NAT NAT only modifies addresses but not ports. Dynamic NAT assigns a global address from a global NAT address pool each time a local host wants to access the global network. It creates a dynamic NAT entry for the reverse path.
SmartWare Software Configuration Guide 12 • NAT/NAPT configuration NAPT traversal Protocols that do not build on UDP or TCP but directly on IP (e.g. GRE, ESP), and protocols that open addi- tional connections unknown to the NAT/NAPT component (e.g. FTP, H.323, SIP), do not easily traverse a NAPT.
SmartWare Software Configuration Guide 12 • NAT/NAPT configuration Step Command Purpose node (cfg)#context ip router Selects the IP router context node (ctx-ip)[router]#interface The NAPT profile shall be used on the interface name name node (if-ip)[ name ]#use profile Defines that the NAPT profile profile shall be used on napt profile the interface name Example: Configuring NAPT Interface...
Page 142
12 • NAT/NAPT configuration SmartWare Software Configuration Guide 192.168.1.20 80 0.0.0.0 192.168.1.20 23 131.1.1.3 STATIC NAT MAPPINGS Local IP Global IP --------------- --------------- 192.168.1.40 131.1.1.20 STATIC NAPT RANGE MAPPINGS Local IP Start Local IP Stop Global IP --------------- --------------- --------------- 192.168.1.10 192.168.1.19 131.1.1.2...
Chapter 13 Ethernet port configuration Chapter contents Introduction ................................142 Ethernet port configuration task list ........................142 Entering the Ethernet port configuration mode ....................143 Configuring medium for an Ethernet port ....................143 Configuring Ethernet encapsulation type for an Ethernet port ..............144 Binding an Ethernet port to an IP interface ....................144 Selecting the frame format for an Ethernet port ....................145...
This chapter provides an overview of Ethernet ports and describes the tasks involved in configuring Ethernet ports through the SmartWare. For SmartNode Series devices, the term Ethernet refers to the family of local area network (LAN) or wide area network (WAN) implementations that include two principal categories.
SmartWare Software Configuration Guide 13 • Ethernet port configuration Entering the Ethernet port configuration mode To enter port configuration mode and begin configuring an Ethernet port, enter the command port ethernet slot port in administrator execution mode. The keywords slot and port represent the number of the respective physical entity as show in table Table 6.
13 • Ethernet port configuration SmartWare Software Configuration Guide This procedure describes how to configure the medium for the Ethernet port on slot and port Mode: Configure Step Command Purpose node (cfg)#port ethernet slot port Enters Ethernet port configuration mode for the interface on slot and port .
SmartWare Software Configuration Guide 13 • Ethernet port configuration Figure 30 shows the logical binding of the Ethernet port at slot 0 on port 0 to the IP interface lan which is defined in the IP context router. Figure 30. Binding of an Ethernet port to an IP interface This procedure describes how to bind the Ethernet port to an already existing IP interface Mode: Configure Step...
13 • Ethernet port configuration SmartWare Software Configuration Guide By default, the frame format is set to standard, representing IEEE 802.3. This procedure describes how to change the frame format of the Ethernet port on slot and port. Mode: Configure Step Command Purpose...
SmartWare Software Configuration Guide 13 • Ethernet port configuration • cos rx-map—layer 2 class of service value as service class value • cos tx-map—service class value as layer 2 class of service value Do the following to configure the class of service map: 1.
13 • Ethernet port configuration SmartWare Software Configuration Guide Step Command Purpose node (prt-eth)[ slot/port ]#cos tx-map service class value as layer 2 class of Adds a transmit service value mapping table entry, which converts a ser- vice class value into a layer 2 class of service .
Page 151
SmartWare Software Configuration Guide 13 • Ethernet port configuration MAC Address : 00:30:2B:00:1D:D4 Speed : 10Mbps Duplex : Half Encapsulation : ip Binding : wan@router Frame Format : standard Default Service: 0 Moreover the IP interface, which is bound to the Ethernet port on slot 0 and port 0 gets also closed. Checking the state of the IP interface wan indicates this with the CLOSED for parameter state.
Page 152
13 • Ethernet port configuration SmartWare Software Configuration Guide Ethernet port configuration task list...
14 • Link scheduler configuration SmartWare Software Configuration Guide Introduction This chapter describes how to use and configure the SmartWare Quality of Service (QoS) features. Refer to chapter 18, “Access control list configuration” on page 203 more information on the use of access control lists. This chapter includes the following sections: •...
SmartWare Software Configuration Guide 14 • Link scheduler configuration Figure 31. Packet routing in SmartWare The QoS features in SmartWare are a combination of an access control list (used for packet classification) and a service-policy profile (used by the link arbiter to define the arbitration mode and the order in which packets of different classes are served).
14 • Link scheduler configuration SmartWare Software Configuration Guide service that is only available for a limited bandwidth e.g. low delay. When connecting the SmartNode to a Diff- Serv network shaping might be a required operation. Burst tolerant shaping or wfq For weighted fair queuing and shaping there is a variation of the scheduler that allows to specify if a traffic class may temporarily receive a higher rate as long as the average stays below the limit.
SmartWare Software Configuration Guide 14 • Link scheduler configuration Figure 32. Example of Hierarchical Scheduling Quick references The following sections provide a minimal “standard” link scheduler configuration for the case where voice and data share a (DSL/cable) modem link. You will also find a command cross reference list for administrators familiar with Cisco’s IOS QoS features and having to become acquainted with SmartWare QoS configuration.
14 • Link scheduler configuration SmartWare Software Configuration Guide • “rate-limit 512” allows no more than 512 kbit/sec to pass which avoids queueing in the modem. • “header-length 20” specifies how many framing bytes are added by the modem to “pack” the IP packet on the link.
SmartWare Software Configuration Guide 14 • Link scheduler configuration • Enable statistics gathering (see page 167) Figure 33. Elements of link scheduler configuration Defining the access control list profile Packet classification The basis for providing any QoS lies in the ability of a network device to identify and group specific packets. This identification process is called packet classification.
14 • Link scheduler configuration SmartWare Software Configuration Guide • local-default—All other packets that originate from the SmartNode itself. • default—All traffic that has not otherwise been labeled. Creating an access control list The procedure to create an access control list is described in detail in chapter 18, “Access control list configura- tion”...
SmartWare Software Configuration Guide 14 • Link scheduler configuration Mode: Configure Step Command Purpose node (cfg)#profile acl name Creates a new access control list profile named name node (pf-acl)[ name ]#permit ip host ip-address any traffic-class Creates an IP access con- class-name trol list entry that permits access for host at IP...
Page 162
14 • Link scheduler configuration SmartWare Software Configuration Guide profile service-policy <profile-name> link rate, arbitration common settings common parameters source traffic-class <x> bandwidth, packet mark settings for class x queue-size, etc. source traffic-class <y> settings for class y source traffic-class default settings for all other traffic-classes not listed Figure 35.
SmartWare Software Configuration Guide 14 • Link scheduler configuration The following lines configure the source traffic-classes. When using weighted fair queuing (wfq) each user- specified source traffic-class needs a value specifying its share of the overall bandwidth. For this purpose the share command is used, which defines the relative weights of the source traffic-classes and policies.
14 • Link scheduler configuration SmartWare Software Configuration Guide Mode: Source Command Purpose node (src)[ name ]#share percentage Defines fair queuing weight (relative to other sources) to percent- age for the selected class or policy name Defining the bit-rate The command rate is used with shaper link arbitration to assign the (average) bit-rate to the selected source. When enough bandwidth is available each source will exactly receive this bandwidth (but no more), when overloaded the shaper will behave like a wfq arbiter.
SmartWare Software Configuration Guide 14 • Link scheduler configuration The type-of-service (TOS) byte in an IP header specifies precedence (priority) and type of service (RFC791, RFC1349). The precedence field is defined by the first three bits and supports eight levels of priority. The next four bits—which are set by the set ip tos command—determine the type-of-service (TOS).
14 • Link scheduler configuration SmartWare Software Configuration Guide “traffic-class” number called. With SmartWare you can inspect the DSCP value in the ACL rules and modify the DSCP value with the link scheduler set ip dscp command. Note When configuring service differentiation on the SmartNode, ensure that codepoint settings are arranged with the service provider.
SmartWare Software Configuration Guide 14 • Link scheduler configuration Defining random early detection The command random-detect is used to request random early detection (RED). When a queue carries lots of TCP transfers that last longer than simple web requests, there is a risk that TCP flow-control might be ineffi- cient.
14 • Link scheduler configuration SmartWare Software Configuration Guide Devoting the service policy profile to an interface Any service policy profile needs to be bound to a certain IP interface to get activated. According the terminol- ogy of SmartWare a service policy profile is used on a certain IP interface, as shown in figure Figure 36.
SmartWare Software Configuration Guide 14 • Link scheduler configuration SN(ctx-ip)[router]#interface wan SN(if-ip)[wan]#use profile service-policy Voice_Prio out Displaying link arbitration status The show service-policy command displays link arbitration status. This command supports the optional argu- ment interface that select a certain IP interface. This command is available in the operator mode. Mode: Operator execution Step Command...
Page 170
14 • Link scheduler configuration SmartWare Software Configuration Guide The command has optional values (in the range of 1 to 4) that define the level of detail (see table 10). Table 10. Values defining detail of the queuing statistics Optional Value Implication on Command Output Statistic gathering is switched off Display amount of packets passed (did no thave to wait), queued (arrived ear-...
Chapter 15 Serial port configuration Chapter contents Introduction ................................170 Serial port configuration task list .........................170 Disabling an interface ...........................171 Enabling an interface ............................171 Configuring the serial encapsulation type ......................172 Configuring the hardware port protocol ......................173 Configuring the active clock edge ........................174 Enter Frame Relay mode ..........................175...
15 • Serial port configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of the serial port and describes the tasks involved in its configuration through the SmartWare, it includes the following sections: • Serial port configuration task list •...
SmartWare Software Configuration Guide 15 • Serial port configuration • Disabling a Frame Relay PVC (see page 181) • Displaying Frame Relay information (see page 183) Disabling an interface Before you replace a compact serial cable or attach your SmartNode to other serial equipment, use the shutdown command to disable the serial interfaces.
15 • Serial port configuration SmartWare Software Configuration Guide This procedure describes how to enable a serial interface. Mode: Administrator execution Step Command Purpose node (cfg)#port serial slot port Selects the serial interface on slot and port node (prt-ser)[ slot/port ]#no shutdown Enables the interface node (prt-ser)[ slot/port ]#show port serial Displays the serial interface configuration.
SmartWare Software Configuration Guide 15 • Serial port configuration Example: Configuring the serial encapsulation type The following example enables Frame Relay encapsulation for the serial interface on slot 0 and port 0 of a SmartNode. Check that in the command output of show port serial Encapsulation is set to framerelay. SN(cfg)#port serial 0 0 SN(prt-ser)[0/0]#encapsulation framerelay SN(prt-ser)[0/0]#show port serial...
15 • Serial port configuration SmartWare Software Configuration Guide CRC Type : CRC-16 Max Frame Length: 2048 Recv Threshold Encapsulation : framerelay Configuring the active clock edge Depending on the system configurations—i.e. when using long cables, with certain modem types or data rates—synchronization problems may occur on the serial port.
Node series 2000 device is attached to a public data network (PDN), the LMI type must match the type used on the public network. You can set one of the following three types of LMIs on the SmartNode series 2000 devices: •...
15 • Serial port configuration SmartWare Software Configuration Guide Configuring the keep-alive interval A keep-alive interval must be set to configure the LMI. By default, this interval is 10 seconds and, according to the LMI protocol, must be less than the corresponding interval on the switch. The keep-alive interval in sec- onds, which is represented by number, has to be in the range from 1 to 3600.
Page 179
SmartWare Software Configuration Guide 15 • Serial port configuration Note For proper functioning, do not specify a scheduler mode (burst-shaper, burst-WFQ, shaper, WFQ) for the Frame Relay service policy profile. Fur- thermore, do not use the Frame Relay service policy profile on the IP layer, but rather on the Frame Relay layer (mode framerelay).
15 • Serial port configuration SmartWare Software Configuration Guide Entering Frame Relay PVC configuration mode The permanent virtual circuit (PVC) is a virtual circuit that is permanently established. PVCs save bandwidth associ- ated with circuit establishment and tear down in situations where certain virtual circuits must exist all the time. The Frame Relay network provides a number of virtual circuits that form the basis for connections between stations attached to the same Frame Relay network.
SmartWare Software Configuration Guide 15 • Serial port configuration Example: Configuring the PVC encapsulation type The following example sets the encapsulation type to comply with RFC 1490 for PVC with the assigned DLCI of 1 for Frame Relay over the serial interface on slot 0 and port 0 of a SmartNode. SN(cfg)#port serial 0 0 SN(prt-ser)[0/0]#framerelay SN(frm-rel)[0/0]#pvc 1...
15 • Serial port configuration SmartWare Software Configuration Guide Example: Binding the Frame Relay PVC to IP interface The following example binds the Frame Relay PVC 1 to the IP interface wan of IP context router to the serial interface on slot 0 and port 0 of a SmartNode. SN(cfg)#port serial 0 0 SN(prt-ser)[0/0]#framerelay SN(frm-rel)[0/0]#pvc 1...
SmartWare Software Configuration Guide 15 • Serial port configuration Disabling a Frame Relay PVC Frame Relay PVCs can be disabled whenever it is necessary. Be aware that disabling a specific PVC also disables the related serial interface and vice versa. This procedure describes how to disable the Frame Relay PVC DLCI on the serial interface.
15 • Serial port configuration SmartWare Software Configuration Guide Mode: Administrator execution Command Purpose [no] debug framerelay Prints the status of the different monitors ( ON or OFF) [no] debug framerelay all Enables/Disables all framerelay debug monitors [no] debug framerelay error Enables/Disables monitor which prints only occurred errors.
SmartWare Software Configuration Guide 15 • Serial port configuration Displaying Frame Relay information Since Frame Relay configuration for the serial interface is complex and requires many commands, it is helpful to list the frame relay configuration on screen. This procedure describes how to display the Frame Relay configuration settings for the serial interface. Mode: Port serial Step Command...
15 • Serial port configuration SmartWare Software Configuration Guide Figure 38. Typical Integrated Service Access Scenario with dedicated PVCs Integrated service access The example in figure 38 shows a typical integrated service access scenario, where different service providers are accessed via permanent virtual circuits (PVCs) on Frame Relay over the serial interface of a SmartNode. The multi service provider (MSP) offers both Internet access and voice services based on IP.
Page 187
SmartWare Software Configuration Guide 15 • Serial port configuration Figure 39. IP Context with logical IP interfaces bound to Ethernet port, serial port PVC 1 and PVC 2 The related IP, serial interface and Frame Relay configuration procedure is listed below. Where necessary, com- ments are added to the configuration for better understanding.
Page 188
15 • Serial port configuration SmartWare Software Configuration Guide 4. Configure the serial interface settings. SN(cfg)#port serial 0 0 SN(prt-ser)[0/0]#shutdown SN(prt-ser)[0/0]#encapsulation framerelay SN(prt-ser)[0/0]#hardware-port x21 SN(prt-ser)[0/0]#port-type dte 5. Configure the Frame Relay. You must thus change to the Frame Relay configuration mode. Use the ser- vice-policy profile defined above to give voice priority over data.
16 • Basic IP routing configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of IP routing and describes the tasks involved in configuring static IP rout- ing in SmartWare. IP routing moves information across an internetwork from a source to a destination, typically passing through one or more intermediate nodes along the way.
SmartWare Software Configuration Guide 16 • Basic IP routing configuration a backup route is activated, thus improving network reliability. Each route is assigned a default precedence value and cost value. Modifying these values allow you to set a preference for one route over the next. If static routes are redistributed through dynamic routing protocol to neighboring devices, only the active static route to a destination is advertised.
16 • Basic IP routing configuration SmartWare Software Configuration Guide Mode: Administrator execution Step Command Purpose node (cfg)#context ip router Enters the IP router context node (ctx-ip)[router]#no route network mask { address | interface } Deletes a static route Example: Deleting a static IP route In the following example, the route for packets to network 20.0.0.0/24, which are routed to device with IP address 172.17.100.2, shall be deleted.
SmartWare Software Configuration Guide 16 • Basic IP routing configuration Examples Basic static IP routing example Figure 40 shows an Internetwork consisting of three routers, a SmartNode device in the middle, and the four autonomous networks, with network addresses 10.1.5.0/16, 172.16.40.0/24, 172.17.100.0/24, and 10.2.5.0/ 16.
17 • RIP configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of the Routing Information Protocol (RIP) and describes the tasks involved in configuring RIP features within SmartWare, it includes the following sections: • Routing protocol • RIP configuration task list (see page 195)
SmartWare Software Configuration Guide 17 • RIP configuration RIP 2 is more useful in a variety of environments and allows the use of variable subnet masks on your network. It is also necessary for implementation of classless addressing as accomplished with CIDR (classless inter- domain routing).
17 • RIP configuration SmartWare Software Configuration Guide Example: Enabling send RIP The following example shows how to enable send RIP on IP interface wan on a SmartNode. SN(cfg)#context ip router SN(ctx-ip)[router]#interface wan SN(if-ip)[wan]#rip supply Enabling an interface to receive RIP By default an interface does not listen to routing information.
SmartWare Software Configuration Guide 17 • RIP configuration Specifying the receive RIP version By default, SmartWare application software receives RIP version 1 and version 2 packets. SmartWare application software allows receiving RIP version 1, version 2 or both version 1 and version 2 packets. Alternatively, you can explicitly configure the RIP version to be received with the last command argument as following: •...
17 • RIP configuration SmartWare Software Configuration Guide Example: Enabling RIP learn host and default The following example shows how to enable RIP learn host and default on IP interface wan on a SmartNode. SN(cfg)#context ip router SN(ctx-ip)[router]#interface wan SN(if-ip)[wan]#rip learn host SN(if-ip)[wan]#rip learn default Enabling an interface to receive RIP This procedure describes how to enable receive RIP on an IP interface...
SmartWare Software Configuration Guide 17 • RIP configuration Example: Enabling RIP announcing The following example shows how to enable the RIP default routes and IP host routes RIP announcing method on IP interface wan on a SmartNode. SN(cfg)#context ip router SN(ctx-ip)[router]#interface wan SN(if-ip)[wan]#rip announce default SN(if-ip)[wan]#rip announce host...
17 • RIP configuration SmartWare Software Configuration Guide Setting the default route metric, which is a number, indicating the distance to the destination network ele- ment, e.g. another router or SmartNode in a network, is possible with the rip default-route-value command. The value is between 1 and 15 for a valid route, or 16 for an unreachable route.
SmartWare Software Configuration Guide 17 • RIP configuration acquired over that interface. Poison reverse updates are then sent to remove the route and place it in hold- down. One drawback is that routing update packet sizes will be increased when using poison reverse. This procedure describes how to enable the poison reverse algorithm on an interface Mode: Interface Step...
17 • RIP configuration SmartWare Software Configuration Guide Example: Displaying RIP configuration of an IP interface The following example shows how to display the RIP configuration of IP interface wan of a SmartNode. SN(cfg)#context ip router SN(ctx-ip)[router]#interface wan SN(if-ip)[wan]#show rip interface wan Interface wan (IP context router): -------------------------------------------------- listen: disabled...
Chapter 18 Access control list configuration Chapter contents Introduction ................................204 About access control lists .............................204 What access lists do ............................204 Why you should configure access lists ......................204 When to configure access lists ........................205 Features of access control lists ........................205 Access control list configuration task list......................206 Mapping out the goals of the access control list .....................206...
18 • Access control list configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of IP Access Control Lists and describes the tasks involved in configuring them through SmartWare. This chapter includes the following sections: • About access control lists •...
SmartWare Software Configuration Guide 18 • Access control list configuration For example, access lists can allow one host to access a part of your network, and prevent another host from accessing the same area. In figure 41 host A is allowed to access the Human Resources network and host B is prevented from accessing the Human Resources network.
18 • Access control list configuration SmartWare Software Configuration Guide • All access control lists have an implicit deny ip any any at the end. A packet that does not match the criteria of the first statement is subjected to the criteria of the second statement and so on until the end of the access control list is reached, at which point the packet is dropped.
SmartWare Software Configuration Guide 18 • Access control list configuration Before you begin to enter the commands that create and configure the IP access control list, be sure that you are clear about what you want to achieve with the list. Consider whether it is better to deny specific accesses and permit all others or to permit specific accesses and deny all others.
Page 210
18 • Access control list configuration SmartWare Software Configuration Guide Mode: Profile access control list Step Command Purpose node (pf-acl)[ name ]#deny ip { src src-wildcard | any | host Creates an IP access of control list src } { dest dest-wildcard | any | host dest } [cos group ] entry that denies access defined according to the command options...
SmartWare Software Configuration Guide 18 • Access control list configuration Adding an ICMP filter rule to the current access control list profile The command permit or deny are used to define an ICMP filter rule. Each ICMP filter rule represents an ICMP access of control list entry.
Page 212
18 • Access control list configuration SmartWare Software Configuration Guide Where the syntax is as following: Keyword Meaning The source address to be included in the rule. An IP address in dotted-decimal-format, e.g. 64.231.1.10. src-wildcard A wildcard for the source address. Expressed in dotted-decimal format this value specifies which bits are significant for matching.
SmartWare Software Configuration Guide 18 • Access control list configuration The same effect can also be obtained by using the simpler message name option. See the following example. SN(cfg)#profile acl WanRx SN(pf-acl)[WanRX]#deny icmp any any msg echo SN(pf-acl)[WanRX]#exit SN(cfg)# Adding a TCP, UDP or SCTP filter rule to the current access control list profile The commands permit or deny are used to define a TCP, UDP or SCTP filter rule.
Page 214
18 • Access control list configuration SmartWare Software Configuration Guide Where the syntax is: Keyword Meaning The source address to be included in the rule. An IP address in dotted-decimal-format, e.g. 64.231.1.10. src-wildcard A wildcard for the source address. Expressed in dotted-decimal format this value specifies which bits are significant for matching.
SmartWare Software Configuration Guide 18 • Access control list configuration Binding and unbinding an access control list profile to an IP interface The command use is used to bind an access control list profile to an IP interface. This procedure describes how to bind an access control list profile to incoming packets on an IP interface Mode: Profile access control list Step...
18 • Access control list configuration SmartWare Software Configuration Guide Unbind an access control list profile from an interface. SN(cfg)#context ip router SN(cfg-ip)[router]#interface wan SN(cfg-if)[wan]#no use profile acl in Note When unbinding an access control list profile the name argument is not required, since only one incoming and outgoing access control list can be active at the same time on a certain IP interface.
Page 217
SmartWare Software Configuration Guide 18 • Access control list configuration Mode: Interface Step Command Purpose node (cfg)#context ip router Selects the IP router context node (ctx-ip)[router]#interface if-name Selects IP interface if-name for which access control list profile shall be debugged node (if-ip)[ if-name ]#debug acl {in | out} [level] Enables access control list debug monitor with a certain debug level for the selected...
18 • Access control list configuration SmartWare Software Configuration Guide Examples Denying a specific subnet Figure 42 shows an example in which a server attached to network 172.16.1.0 shall not be accessible from outside networks connected to IP interface lan of the SmartNode device. To prevent access, an incoming filter rule named Jamming is defined, which blocks any IP traffic from network 172.16.2.0 and has to be bound to IP interface lan.
19 • SNMP configuration SmartWare Software Configuration Guide Introduction This chapter provides overview information about Simple Network Management Protocol (SNMP) and describes the tasks used to configure those of its features supported by SmartWare. This chapter includes the following sections: •...
SmartWare Software Configuration Guide 19 • SNMP configuration • The write command is used by an NMS to control managed devices. The NMS changes the values of vari- ables stored within managed devices. • The trap command is used by managed devices to asynchronously report events to the NMS. When certain types of events occur, a managed device sends a trap to the NMS.
19 • SNMP configuration SmartWare Software Configuration Guide Identification of the SmartNode 1000, 2000 and 4000 Series via SNMP All models of the Patton SmartNode 1000, 2000 or 4000 series devices have their unambiguous value assigned sysObjectID (.iso.org.dod.internet.mgmt.mib-2.system.sysObjectID) object. Table 11. The returned value when reading the sysObjectID object for each SmartNode model SmartNode 4112 .iso.org.dod.internet.private.enterprises.patton.products.sn4000.sn4112 1.3.6.1.4.1.
19 • SNMP configuration SmartWare Software Configuration Guide Setting basic system information The implementation of the MIB-II system group is mandatory for all systems. By default, an SNMP agent is configured to have a value for any of these variables and responds to get commands from a NMS. On the SmartNode 1000, 2000 or 4000 series device appropriate values should be set for the following MIB-II system group objects: •...
Page 225
SmartWare Software Configuration Guide 19 • SNMP configuration The procedure to use the SNMP MIB browser is: • Enter the community string public into the Community field in the upper right corner of the window. For safety reasons each entered character is displayed with a “*”. •...
19 • SNMP configuration SmartWare Software Configuration Guide Setting access community information SNMP uses one or more labels called community strings to delimit groups of objects (variables) that can be viewed or modified on a device. The SNMP data in such a group is organized in a tree structure called a Man- agement Information Base (MIB).
SmartWare Software Configuration Guide 19 • SNMP configuration In the following example the SNMP communities for the default community public with read-only access and the undisclosed community Not4evEryOne with read/write access are defined. Only these valid communities have access to the information from the SNMP agent running on the respective SmartNode 1000, 2000 or 4000 series device.
19 • SNMP configuration SmartWare Software Configuration Guide This procedure describes how to define a SNMP trap target and enter community name Mode: Configure Step Command Purpose node (cfg)#snmp target IP-address-of-node Configures a SNMP trap target with IP-address-of- security-name community hostanme node that receives trap messages of this SmartNode 1000, 2000 or 4000 series device, using the security name community on the target.
SmartWare Software Configuration Guide 19 • SNMP configuration Using the AdventNet SNMP utilities The AdventNet SNMP utilities are a set of cross-platform applications and applets for SNMP and Web-based network management. These utilities can be used for device, element, application and system management. The tools can communicate and interact with any SNMP enabled device, such as a SmartNode 1000, 2000 or 4000 series device.
19 • SNMP configuration SmartWare Software Configuration Guide • The same can be done through clicking the MibBrowser settings button on the toolbar. See figure Figure 44. AdventNet MibBrowser Settings Button on the Toolbar By default the MIB description display and the result display are visible in the MibBrowser. Using the TrapViewer TrapViewer is a graphical tool to view the traps received from one or more SNMP agents running on a Smart- Node 1000, 2000 or 4000 series device.
Page 231
SmartWare Software Configuration Guide 19 • SNMP configuration • The default value in the Community text field is public. Set the community of the incoming traps as desired, depending on the SNMP configuration of your SmartNode 1000, 2000 or 4000 series device. •...
19 • SNMP configuration SmartWare Software Configuration Guide The various details available in the Trap Details window are listed in table 13: Table 13. Details available in the Trap Details window Trap Details Description TimeStamp The TimeStamp is a 32-bit unsigned value indicating the number of hundredths-of-a-second that have elapsed since the (re)start of the SNMP agent and the sending of the trap.
Page 233
SmartWare Software Configuration Guide 19 • SNMP configuration "A warmStart trap signifies that the sending protocol entity is reinitializing itself such that neither the agent configuration nor the protocol entity implementa- tion is altered." ::= 1 linkDown TRAP-TYPE ENTERPRISE snmp VARIABLES { ifIndex } DESCRIPTION...
19 • SNMP configuration SmartWare Software Configuration Guide Note The standard SNMP version 1 trap coldStart as listed below is not sup- ported. After powering up a SmartNode 1000, 2000 or 4000 series device sends a warmStart trap message if any trap target host is defined. SNMP interface traps The SmartNode sends Interface Traps (linkUp, linkDown) when the status of logical or physical interfaces change.
20 • SNTP client configuration SmartWare Software Configuration Guide Introduction This chapter describes how to configure Simple Network Time Protocol (SNTP) client, it includes the follow- ing sections: • SNTP client configuration task list • Recommended Public SNTP Time Servers (see page 241) The Simple Network Time Protocol (SNTP) is an adaptation of the Network Time Protocol (NTP) that is...
SmartWare Software Configuration Guide 20 • SNTP client configuration Selecting SNTP time servers This procedure describes how to select a primary and secondary SNTP time server Mode: Configure Step Command Purpose node (cfg)#sntp-client server primary host Enter the SNTP primary server IP address or hastname node (cfg)#sntp-client server secondary host Enter the SNTP secondary server IP...
20 • SNTP client configuration SmartWare Software Configuration Guide Example: Configuring SNTP client operating mode Configures the SNTP client operating mode to unicast operation SN(cfg)#sntp-client operating-mode unicast Configures the SNTP client operating mode to anycast operation SN(cfg)#sntp-client operating-mode anycast Configures the SNTP client operating mode to multicast operation SN(cfg)#sntp-client operating-mode multicast Defining SNTP local UDP port The communication between an SNTP client and its the primary or secondary SNTP time server uses UDP.
SmartWare Software Configuration Guide 20 • SNTP client configuration Enabling and disabling the SNTP client The SNTP client is disabled by default and has to be enabled if clock synchronization shall be used. This pro- cedure describes how to enable or disable the SNTP client Mode: Configure Step Command...
20 • SNTP client configuration SmartWare Software Configuration Guide Mode: Configure Step Command Purpose node (cfg)#sntp-client gmt-offset offset Specifies the SNTP client constant offset from GMT, where offset is + or – followed by hh:mm:ss, with a range from –24:00:00 to +24:00:00 Example: Setting SNTP client local time zone offset from GMT In the following example the SNTP client local time zone offset is set to +2 hours ahead of GMT, e.g.
SmartWare Software Configuration Guide 20 • SNTP client configuration Mode: Configure Step Command Purpose node (cfg)#sntp-client anycast-address ip- Set the anycast-address to ip-address a designated address {port | port-number } local broadcast or multicast group address to which a request is sent. In addition an explicit SNTP server port-number in the range from 1 to 65535 can be defined or the argument port is selected, which sets the value for port to 123.
20 • SNTP client configuration SmartWare Software Configuration Guide Example: Disabling the SNTP client root delay compensation SN(cfg)#no sntp-client root-delay-compensation Showing SNTP client related information During set-up and operation of the SNTP client, displaying the information and status of the SNTP client is very useful.
SmartWare Software Configuration Guide 20 • SNTP client configuration Example: Enable the SNTP debug monitor The following example shows how to enable the SNTP debug monitor and some typical debug information. SN(cfg)#debug sntp client SN(cfg)#14:44:21 SNTP > SNTP message sent with Timestamp: 2001-10-26T14:44:21 14:44:21 SNTP >...
20 • SNTP client configuration SmartWare Software Configuration Guide Table 14. Time servers operated by NIST (Continued) Server Name IP Address Note Location time-d.timefreq.bldrdoc.gov 132.163.4.104 Colorado time.nist.gov 192.43.244.18 Colorado time-nw.nist.gov 131.107.1.10 Washington Legend 1. Heavily loaded and not recommended for new users. 2.
Chapter 21 DHCP configuration Chapter contents Introduction ................................246 DHCP-client configuration tasks.........................247 Enable DHCP-client on an IP interface ......................247 Release or renew a DHCP lease manually (advanced) ...................248 Get debug output from DHCP-client ......................249 DHCP-server configuration tasks ........................250 Configure DHCP-server profiles ........................250 Use DHCP-server profiles and enable the DHCP-server ................252...
21 • DHCP configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of the Dynamic Host Configuration Control Protocol (DHCP) and describes the tasks involved in their configuration. This chapter includes the following sections: • DHCP-client configuration tasks (see page 247) •...
SmartWare Software Configuration Guide 21 • DHCP configuration vides other clients on the LAN side with IP addresses and other configuration information. DHCP-server and DHCP-client are illustrated in figure Figure 47. DHCP-client and DHCP-server on the SmartNode DHCP-client configuration tasks To configure the SmartNode as DHCP-client perform the steps mentioned below.
21 • DHCP configuration SmartWare Software Configuration Guide interface, e.g. the default gateway, DNS server IP addresses, etc. To enable the DHCP-client on an IP interface perform the steps described below. Mode: context IP Step Command Purpose node (ctx-ip)[router]#interface name Creates an IP interface with name name and enters ‘configure’...
SmartWare Software Configuration Guide 21 • DHCP configuration Mode: interface Step Command Purpose node (if-ip)[ name ]#dhcp-client release Releases DHCP lease. (See note) node (if-ip)[ name ]#dhcp-client renew Gets a new DHCP lease from the DHCP-server Note If you are connected to the SmartNode by Telnet over the IP interface on which you release the DHCP lease, the connection is lost after entering the command dhcp-client release.
21 • DHCP configuration SmartWare Software Configuration Guide 01:17:47 DHCPC > router/eth0 (Rqst): (t1: 14400, t2: 25200) 01:17:47 DHCPC > router/eth0 (Rqst): Got DHCP lease for 172.16.224.102 01:17:47 DHCPC > router/eth0 (Rqst): Configuring IP interface 2001-01-01T01:17:48 : LOGINFO : Link down on interface eth0. 2001-01-01T01:17:48 : LOGINFO : Link up on interface eth0.
Page 253
SmartWare Software Configuration Guide 21 • DHCP configuration Mode: Configure Step Command Purpose node (cfg)#profile dhcp-server name Enter DHCP-server profile mode node (pf-dhcps)[name]#network ip- Defines the IP address range for which this pro- address ip-mask file is responsible IP address: basic DHCP information (‘your (cli- ent) IP address’) IP mask: DHCP Option 1 node (pf-dhcps)[name]#[no] include ip-...
21 • DHCP configuration SmartWare Software Configuration Guide Step Command Purpose node (pf-dhcps)[name]#[no] next-server Defines the address of the next server in the (optional) next-server-ip-address boot process. This could be a server different from the DHCP-server which provides configu- ration files for the clients to be downloaded. Basic DHCP information (‘Next server IP address’) Example: Define a DHCP-server profile...
SmartWare Software Configuration Guide 21 • DHCP configuration Check DHCP-server configuration and status This procedure describes how to check the configuration and current status of the DHCP-server Mode: Any Step Command Purpose node (cfg) #show dhcp-server Displays configuration and status information Example: SN(ctx-ip)[router]#show dhcp-server The DHCP server is running...
Page 256
21 • DHCP configuration SmartWare Software Configuration Guide Example: Enable DHCP debug monitor This example shows how to enable the DHCP-server debug monitor. The debug output shows an activation of the DHCP-server, a DHCP-client requesting a lease, and a DHCP-client releasing a lease. SN(ctx-ip)[router]#debug dhcp-server 21:40:29 DHCPS >...
Chapter 22 configuration Chapter contents Introduction ................................256 DNS configuration task list ..........................256 Enabling the DNS resolver ..........................256 Enabling the DNS relay ..........................257...
22 • DNS configuration SmartWare Software Configuration Guide Introduction The domain name system (DNS) enables users to contact a remote host by using easily remembered text labels (www.patton.com, for example) instead of having to use the host’s numeric address (209.45.110.15, for exam- ple).
SmartWare Software Configuration Guide 22 • DNS configuration You can test the DNS server configuration using the dns-lookup command as follows: Example: Testing DNS server configuration SN(cfg)#dns-lookup www.patton.com Name: www.patton.com Address: 209.49.110.5 Enabling the DNS relay The DNS resolver must be configured before you can use the DNS relay feature (see section “Enabling the DNS resolver”...
Page 260
22 • DNS configuration SmartWare Software Configuration Guide DNS configuration task list...
23 • DynDNS configuration SmartWare Software Configuration Guide Introduction SmartNodes are often used in applications where the addresses of their IP interfaces are not assigned statically (i.e. permanently) but instead are configured dynamically. In these applications, the IP address is assigned dynamically using protocols like DHCP or PPP.
SmartWare Software Configuration Guide 23 • DynDNS configuration Configuring basic DynDNS settings The following procedure describes the steps necessary to enable the DynDNS feature. Mode: DynDNS Step Command Purpose node(dyndns)#authentication user pass- Defines the authentication credentials of your word DynDNS account node(dyndns)#service Defines the DynDNS service to use {dynamic|static|custom}...
23 • DynDNS configuration SmartWare Software Configuration Guide Example: Defining a mail exchanger The following example shows how to define a mail exchanger named mail.mycompany.com, which should be used as the primary mail-exchanger for the registered DynDNS hostname. SN>enable SN#configure SN(cfg)#context ip SN(ctx-ip)[router]#dyndns SN(dyndns)#mail-exchanger mail.mycompany.com...
Page 265
SmartWare Software Configuration Guide 23 • DynDNS configuration 16:20:43 DYNDNS> Resolved ’update.dyndns.org’. 16:20:43 DYNDNS> Updating DNS... 16:20:43 DYNDNS> Sending request... 16:20:44 DYNDNS> DNS updated sucessfully 16:20:44 DYNDNS> Registered IP address is (57.32.59.64). If required, you can force the DynDNS component to re-register the current IP address on the DynDNS server—even if the dynamic IP address has not changed—using the following command (this command could also be useful for observing the update process in the debug monitor).
Chapter 24 PPP configuration Chapter contents Introduction ................................266 PPP configuration task list...........................267 Creating an IP interface for PPP ........................267 Creating a PPP subscriber ..........................269 Configuring a PPPoE session ........................270 Configuring a serial port for PPP ........................272 Creating a PPP profile ...........................273 Displaying PPP configuration information ....................274...
24 • PPP configuration SmartWare Software Configuration Guide Introduction This chapter describes how to configure the point-to-point protocol over different link layers. The point-to-point protocol (PPP) provides a standard method for transporting multi-protocol datagrams over point-to-point links as defined by the RFC1661 etc. SmartWare offers PPP over the following link layers: •...
SmartWare Software Configuration Guide 24 • PPP configuration PPP configuration task list To configure PPP, perform the following tasks: • Creating an IP interface for PPP • Creating a PPP subscriber (for authentication) (see page 269) • Configuring a PPPoE session (see page 270) •...
Page 270
24 • PPP configuration SmartWare Software Configuration Guide Step Command Purpose node (if-ip)[name]#ipaddress The PPP remote peer offers an IP address for the unnumbered IP interface. The IP interface adopts this IP address node (if-ip)[name]#ipaddress dhcp Once PPP has established an IP connection, the IP interface can use DHCP to acquire an IP address.
SmartWare Software Configuration Guide 24 • PPP configuration Step Command Purpose node (if-ip)[name]#use profile napt name Assigns the NAPT profile name to applied to (optional) this IP interface. See 12, “NAT/NAPT configu- ration” on page 133 to learn how to create a NAPT profile.
24 • PPP configuration SmartWare Software Configuration Guide Step Command Purpose node (subscr)[name]# [no] identification Sets the credentials to be provided during the (optional) {outbound|inbound} user [password authentication procedure: the user name user password ] and the password password . The keywords ‘inbound’...
Page 273
SmartWare Software Configuration Guide 24 • PPP configuration Mode: Configure Step Command Purpose node (cfg) #port ethernet slot port Enters Ethernet port configuration mode for the interface on slot and port node (prt-eth)[slot/port]# encapsulation Defines the payload type(s) to be used on the {ip|pppoe|multi} Ethernet: •...
24 • PPP configuration SmartWare Software Configuration Guide Example: Configure a PPPoE session The procedure below configures a PPPoE session for the connection to a DSL provider using the credentials specified in the subscriber profile above. SN(cfg)#port ethernet 0 0 SN(prt-eth)[0/0]#encapsulation pppoe SN(prt-eth)[0/0]#no shutdown SN(prt-eth)[0/0]#pppoe...
SmartWare Software Configuration Guide 24 • PPP configuration SN(prt-ser)[0/0]#no shutdown Creating a PPP profile A PPP profile allows to adjust additional PPP parameters like the maximum transmit unit (MTU) and maxi- mum receive unit (MRU). Only the most important parameters are listed here. The profile ‘default’...
SmartWare Software Configuration Guide 24 • PPP configuration Example: Display a PPP profile SN(pf-ppp)[PPPoE]#show profile ppp PPPoE Profiles: --------- Name: default LCP Configure-Request: interval 3000 ms, max 10 LCP Configure-Nak: max 5 LCP Terminate-Request: interval 3000 ms, max 2 LCP Echo-Request: interval 10000 ms, max 3 MTU: 68 - 1920...
Page 278
24 • PPP configuration SmartWare Software Configuration Guide Mode: Configure Step Command Purpose node (cfg) #show ppp links [ level ] Displays status and configuration information of the Link Control Protocol (LCP) and the authentica- tion protocol(s) (PAP and/or CHAP). Check whether the states of the two protocols are ‘Opened’.
Page 279
SmartWare Software Configuration Guide 24 • PPP configuration Example: Display PPP link information SN(cfg)#show ppp links 4 PPP Link Information: ===================== Link: Name: ethernet 0 0 0/pppoe/ppp_green Protocols: LCP, PAP LCP: Name: ethernet 0 0 0/pppoe/ppp_green State: Opened Conf-Req send rate: 3000ms Max.
Chapter 25 VPN configuration Chapter contents Introduction ................................282 Authentication ..............................282 Encryption ..............................282 Transport and tunnel modes .........................283 Key management ............................283 VPN configuration task list ..........................283 Creating an IPsec transformation profile .......................283 Creating an IPsec policy profile ........................284 Creating/modifying an outgoing ACL profile for IPsec .................286 Configuration of an IP interface and the IP router for IPsec ................287...
25 • VPN configuration SmartWare Software Configuration Guide Introduction This chapter describes how to configure the VPN connections between two SmartNodes or between a SmartNode and a third-party device. A virtual private network (VPN) is a private data network that uses the public telecommunications infrastruc- ture, maintaining privacy through the use of a tunneling protocol and security procedures.
SmartWare Software Configuration Guide 25 • VPN configuration Transport and tunnel modes The mode determines the payload of the ESP packet and hence the application: • Transport mode: Encapsulates only the payload of the original IP packet, but not its header, so the IPsec peers must be at the endpoints of the communications link.
25 • VPN configuration SmartWare Software Configuration Guide Mode: Configure mac-sha1-96 }Enables authentication and defines the authentication protocol and the hash algorithm Step Command Purpose node (cfg)#profile ipsec-transform name Creates the IPsec transformation profile name node (pf-ipstr)[ name ]#esp-encryption { Enables encryption and defines the encryp- optional aes-cbc | des-cbc | 3des-cbc } [ key-length ]...
Page 287
SmartWare Software Configuration Guide 25 • VPN configuration Mode: Configure Step Command Purpose node (cfg)#profile ipsec-policy-man- Creates the IPsec policy profile name ual name node (pf-ipstr)[name]#use profile Selects the IPsec transformation profile to be ipsec-transform name applied node (pf-ipstr)[ name ]#session-key Sets a key for encryption or an authenticator for optional authentication, either for inbound or outbound...
SmartWare Software Configuration Guide 25 • VPN configuration Configuration of an IP interface and the IP router for IPsec The IP interface that provides connectivity to the IPsec peer, must now activate the outgoing ACL profile con- figured in the previous section. Furthermore, the IP router must have a route for the remote network that points to the respective IP interface.
SmartWare Software Configuration Guide 25 • VPN configuration MANUAL ToBerne Tunnel 200.200.200.1 1111 AES-CBC 128 3622/unlimited 19047/unlimited OUT MANUAL ToBerne Tunnel 200.200.200.1 2222 AES-CBC 128 2857/unlimited 19047/unlimited Sample configurations The following sample configurations establish IPsec connections between a SmartNode and a Cisco router. To interconnect two SmartNodes instead, derive the configuration for the second SmartNode by doing the follow- ing modifications: •...
SmartWare Software Configuration Guide 25 • VPN configuration Rest of the configuration, see above, just change the name of the IPsec policy pro- file in the ACL profile VPN_Out Cisco router configuration crypto ipsec transform-set AES_SHA1 ah-sha-hmac esp-aes 256 crypto map VPN_AES_SHA1 local-address FastEthernet0/1 crypto map VPN_AES_SHA1 10 ipsec-manual set peer 200.200.200.2 set session-key inbound esp 6666 cipher...
Page 294
25 • VPN configuration SmartWare Software Configuration Guide set session-key inbound esp 8888 cipher FEDCBA0987654321FEDCBA0987654321FEDCBA0987654321 authenticator FEDCBA0987654321FEDCBA0987654321 set session-key outbound esp 7777 cipher 1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF authenticator 1234567890ABCDEF1234567890ABCDEF set transform-set 3DES_MD5 match address 110 For the remainder of the configuration (see above), just change the name of the IPsec policy profile in the ACL profile VPN_Out.
26 • CS context overview SmartWare Software Configuration Guide Introduction This chapter gives an overview of SmartWare circuit-switching (CS) context and associated components, and describes the tasks involved in its configuration. It describes the steps needed configure voice connectivity, and refers to other chapters where a configuration topic is explained in more detail.
SmartWare Software Configuration Guide 26 • CS context overview interfaces and via VoIP interfaces (H.323, SIP) to the VoIP gateways and the IP context (see section “Configur- ing call routing” on page 298 for more details). CS context configuration task list Information needed for CS entity configuration is distributed among several configuration tasks, depending on its logical content.
Page 298
26 • CS context overview SmartWare Software Configuration Guide Figure 50 shows a typical application with a remote office in an enterprise network. The example focuses on the SmartNode in the remote office. There is an ISDN phone, a personal computer, a connection to the public ISDN network, and a connection to the IP backbone.
SmartWare Software Configuration Guide 26 • CS context overview Note Be careful when choosing where you get your clock source, if the clock used for packaging the ISDN voice frames is not synchronized with the remote ISDN clock, bit errors may result (such synchronization problems would probably cause a fax transmission to fail).
SmartWare Software Configuration Guide 26 • CS context overview Figure 51. Direct call routing from one SmartNode to another Figure 51 shows a call set up from the A-party on the left to the B-party on the right. The call is routed from the phone on the left-hand side over the ISDN interface directly to an H.323 interface.
26 • CS context overview SmartWare Software Configuration Guide Basic interface routing allows you to forward all incoming calls on a CS interface directly to a destination CS interface. The call router allows you to route calls to all available CS interfaces, based on a call property such as calling number, destination number and ISDN bearer capability and many more.
SmartWare Software Configuration Guide 26 • CS context overview If no VoIP profile is specified to be used on an interface, a default VoIP profile is used. In most cases, the default profile can be used, so you just need to change the default VoIP profile. Configuring ISDN ports BRI and E1/T1 ports represent physical ports on the SmartNode.
26 • CS context overview SmartWare Software Configuration Guide Activating CS context configuration After configuring the CS context and its components, the configuration must be activated. This includes bind- ing the physical ports (BRI, E1, T1 or FXS ) to the CS interfaces (ISDN and FXS) and enabling the gateways, ports, and the CS context.
Page 305
SmartWare Software Configuration Guide 26 • CS context overview Mode: Context CS Step Command Purpose node (ctx-cs)[switch]#show call-router config detail Show the CS context configuration. level Level could be 1..5. Level 1 shows less, level 5 shows all information. node (ctx-cs)[switch]#debug call-router detail level Enable the call-router debug monitor.
SmartWare Software Configuration Guide 26 • CS context overview • Calls from office A or B with number 5xx to office C • All other calls from office A or B to the PSTN (local breakout) Figure 53. CS Configuration Planning the CS context Based on the criteria used in the previous example, the following configuration information applies (see figure...
26 • CS context overview SmartWare Software Configuration Guide • We enable DTMF relay and specify codec G.723. (Refer to section “Configuring voice over IP parameters” on page 300). • We define H.323 'direct call signaling'. (Refer to section “Configuring an H.323 VoIP connection” page 301).
Page 309
SmartWare Software Configuration Guide 26 • CS context overview Finally, we configure the call router. Here we create a routing table that examines the called party number of a call and routes numbers starting with a 1 and containing at least 3 digits to the hunt group that tries to reach company office A over VoIP and falls back to the PSTN.
27 • CS interface configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of interfaces in the CS context and describes the tasks involved in their con- figuration. Within the CS context of the SmartWare, an interface is a logical entity providing call signaling for incoming and outgoing calls to and from ISDN or FXS ports and voice over IP gateways.
SmartWare Software Configuration Guide 27 • CS interface configuration CS interface configuration task list Several parameters depend upon the interface type. If it is not specifically stated otherwise, the configuration task is valid for all interfaces. This is not described in this chapter, but in chapter 34, “Tone configuration”...
27 • CS interface configuration SmartWare Software Configuration Guide Examples: Create CS interfaces and delete another The following example shows how to create and configure an interface, how to display it, and how to delete another. SN>enable SN#configure SN(cfg)#context cs SN(ctx-cs)[switch]#interface isdn IF-PBX1 SN(if-pstn)[IF-PBX1]#route call dest-interface TAB-CALLED-NUMBER SN(if-pstn)[IF-PBX1]#show call-control provider...
SmartWare Software Configuration Guide 27 • CS interface configuration In the environment of the CS interfaces, it is necessary to specify whether the call will be routed directly to another CS interface (basic interface routing) or to a first lookup table from the call router (advanced call rout- ing).
Page 322
27 • CS interface configuration SmartWare Software Configuration Guide to another user agent having a different URI than the called one. This new URI as well as the derived E.164 number cannot be manipulated using the call router before presenting it to the other party. To circumvent this limitation, you can use mapping tables directly on an interface.
Page 323
SmartWare Software Configuration Guide 27 • CS interface configuration Figure 55. Incoming call passing an interface mapping table Figure 55 shows two incoming calls arriving to the ISDN interface IF-PHONES. The calling and called party numbers are private numbers containing only two digits. Before accessing the call router, those numbers can be transformed into the global numbering plan.
27 • CS interface configuration SmartWare Software Configuration Guide Figure 56. Call passing an input and an output mapping table Let’s assume we manipulate an incoming ISDN call using the PRIV-TO-GLOB mapping table as in the previ- ous example. Figure 56 shows this situation again.
Page 325
SmartWare Software Configuration Guide 27 • CS interface configuration • interrogate-cw—Detects whether or not the call-waiting supplementary service is active on the interface that uses the precall service table. Note Currently you can only use precall service tables on FXS interfaces. Procedure: To create precall service table and use it on an FXS interface Mode: Context CS Step...
Page 326
27 • CS interface configuration SmartWare Software Configuration Guide Configuring the precall service tables...
28 • ISDN interface configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of ISDN interfaces, and the tasks involved in their configuration. This chap- ter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface configuration can be found in the general chapter about CS interface configuration (see chapter 27, “CS inter- face configuration”...
SmartWare Software Configuration Guide 28 • ISDN interface configuration Most terminals use ISDN keypad facility messages to transport digits one-by-one in overlap dialing. But some terminals, especially terminal adapters for analog devices, might transport the digits only using DTMF tones, without associated keypad facility messages.
29 • FXS interface configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of FXS interfaces, and the tasks involved in their configuration. This chapter does not explain the basic configuration steps equal to all CS interfaces. Information about basic interface con- figuration can be found in the general chapter about CS interface configuration (see chapter 27, “CS interface configuration”...
SmartWare Software Configuration Guide 29 • FXS interface configuration Procedure: To reject a waiting call, when a waiting call is announced with a special tone signal, the user can either: • Press flash-hook, followed by the “0” key • Ignore the call waiting signal The waiting call will be rejected.
29 • FXS interface configuration SmartWare Software Configuration Guide Procedure: To configure a subscriber number for calls originating from the interface Mode: Interface FXS Step Command Purpose node (if-fxs)[ if-name ]#[no] subscriber- Sets/Removes a subscriber number number Example: Set the subscriber number The following example shows how to set the subscriber number.
SmartWare Software Configuration Guide 29 • FXS interface configuration Procedure: To configure presentation of the calling party number to the analog device connected to the FXS port associated with the interface Mode: Interface FXS Step Command Purpose node (if-fxs)[ if-name ]#[no] caller-id-pre- Enables/Disables presentation of the caller ID, and sentation {pre-ring|mid-ring} configures the time when caller ID is presented on...
Chapter 30 FXO interface configuration Chapter contents Introduction ................................336 FXO services description .............................337 Creating an FXO interface...........................337 Deleting an FXO interface...........................338 FXO interface configuration task list ........................339 Configuring an alternate PSTN profile (optional) ..................339 Configuring when the digits are dialed (optional) ..................340 Configuring the number of rings to wait before answering the call (optional) ..........341...
30 • FXO interface configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of FXO interfaces and the tasks involved in configuring them. This chapter does not explain the basic configuration steps common to all Context Switch (CS) interfaces. Information about basic interface configuration can be found in chapter 27, “CS interface configuration”...
SmartWare Software Configuration Guide 30 • FXO interface configuration FXO services description The wide variety of applications and services are supported through a rich feature set. The major characteristics and features are • 2-wire loop-start • Off-hook and ring detection supervision •...
30 • FXO interface configuration SmartWare Software Configuration Guide Once you are in the Context CS mode, you can enter the FXO configuration mode with the next steps. Step Prompt & command Purpose node(ctx-cs)[switch]#interface fxo name The “interface fxo” command creates the new interface name, which represents an FXO inter- face.
SmartWare Software Configuration Guide 30 • FXO interface configuration FXO interface configuration task list There are numerous configurable parameters that apply to the FXO interface. The basic commands are listed with a short description of their function. • use profile pstn—Defining and applying an alternate PSTN profile for a specific FXO interface •...
30 • FXO interface configuration SmartWare Software Configuration Guide Now we can apply the PSTN profile for the FXO interface named name as follows. Step Prompt, command & response Purpose node(if-fxo)[if-name]#[no] use profile pstn profile-name The “profile pstn” command is applied to the FXO interface named if-name node(if-fxo) [if-name] #...
SmartWare Software Configuration Guide 30 • FXO interface configuration Note Verify that the busy and release tones are correctly configured for the country where the SmartNode is installed (see chapter 34, “Tone configuration” page 417 for configuration information. If the tones are improperly config- ured, the FXO port will not detect them, resulting in missed phone calls.
Chapter 31 H.323 interface configuration Chapter contents Introduction ................................348 H.323 interface configuration task list .........................348 Binding the interface to an H.323 gateway ....................349 Configuring an alternate VoIP profile (optional) ...................350 Configuring CLIP/CLIR support (optional) ....................351 Enabling the early call disconnect (optional) ....................352 Enabling the via address support (optional) ....................353...
31 • H.323 interface configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of H.323 interfaces used by H.323 gateways and describes the specific tasks involved in their configuration. This chapter does not explain the basic configuration steps required for all CS interfaces.
SmartWare Software Configuration Guide 31 • H.323 interface configuration • Configuring information transfer capability handling (optional) • Configuring CLIP/CLIR support (optional) • Enabling the early call disconnect (optional) • Enabling the via address support (optional) • Overriding the default destination call-signaling port (optional) •...
31 • H.323 interface configuration SmartWare Software Configuration Guide SN#configure SN(cfg)#context cs SN(ctx-cs)[switch]#interface h323 MyH323If SN(if-h323)[myh323if]#remoteip 1.2.3.4 Configuring an alternate VoIP profile (optional) Normally, the VoIP profile defined in the H.323 gateway is used for all the calls over that gateway. However, it is possible to specify an alternate VoIP profile in the H.323 interface.
SmartWare Software Configuration Guide 31 • H.323 interface configuration Mode: Interface H.323 Step Command Purpose node ( if- h323 )[ if-name ]#itc rx {3k1- Specifies the information transfer capability to audio | 7k-audio | restricted-digital | be used for calls from the H.323 gateway to unrestricted-digital | speech | video | another gateway of the system (incoming transparent }...
31 • H.323 interface configuration SmartWare Software Configuration Guide Mode: Interface H.323 Step Command Purpose node ( if- h323 )[ if-name ]#clip-clir-support Enables CLIP/CLIR support on the H.323 interface Example: Enable CLIP/CLIR support The following example shows how to enable CLIP/CLIR support on the H.323 interface MyH323If. SN>enable SN#configure SN(cfg)#context cs...
SmartWare Software Configuration Guide 31 • H.323 interface configuration Enabling the via address support (optional) Some LAN Voice applications require the H.323 gateway to add the calling party number of the connected terminal as an H.323 E.164 Alias to the Facility message when transferring a call to another gateway. This enables a gatekeeper to detect loops of call forwarding and to stop them.
31 • H.323 interface configuration SmartWare Software Configuration Guide Configuring status inquiry settings (optional) Normally, the H.323 gateway will send out status inquiries every minute on each connected H.323 call. According to the H.323 standard, the remote entity must respond to these status inquiries, which allows the H.323 gateway to detect, if the call on the remote H.323 entity is still alive.
32 • SIP interface configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of SIP interfaces used by SIP gateways and describes the specific tasks involved in their configuration. This chapter does not explain the basic configuration steps required for all CS interfaces.
SmartWare Software Configuration Guide 32 • SIP interface configuration • Configure early call connect / disconnect (Optional) • Configure a phone context (Optional) Binding the interface to a SIP gateway Every SIP interface must be explicitly bound to a SIP gateway instance. Procedure: To bind a SIP interface to a SIP gateway.
32 • SIP interface configuration SmartWare Software Configuration Guide SN>enable SN#configure SN(cfg)#context cs SN(ctx-cs)[switch]#interface sip MySipIf SN(if-sip)[mySipIf]#remote 1.2.3.4 Examples: Define the remote SIP entity using a DNS hostname The following example shows how to associate a SIP interface named MySipIf with a remote SIP entity, which has DNS hostname sipgw.mycompany.com SN>enable SN#configure...
SmartWare Software Configuration Guide 32 • SIP interface configuration when Disconnect message is received; analog line: when busy tone is detected, loop current is interrupted, or battery voltage is reversed). Procedure: To enable early call connect and early call disconnect Mode: Interface SIP Step Command...
Page 362
32 • SIP interface configuration SmartWare Software Configuration Guide sip:+41318432343@mysipdomain.com;user=phone sip:531@mysipdomain.com;user=phone;phone-context=mycompany sipbob@mysipdomain.com Without the special configuration of this example, these URIs would look as follows: sip:+41318432343@mysipdomain.com;user=phone sip:531@mysipdomain.com sipbob@mysipdomain.com SIP interface configuration task list...
SmartWare Software Configuration Guide 33 • Call router configuration Introduction This chapter provides an overview of call router tables, mapping tables and call services and describes the tasks involved in configuring the call router in SmartWare. This chapter includes the following sections: •...
Page 366
33 • Call router configuration SmartWare Software Configuration Guide service is an example for a call service. Figure 62 illustrates direct call and advanced call routing. In this chapter, advanced call routing is explained. For configuring direct call routing refer to chapter 33, “Call router configu- ration”...
SmartWare Software Configuration Guide 33 • Call router configuration • Time of day; hour:minute:second • Date; day.month.year The call router allows you to solve practically any call routing and call property manipulation requirement that you may have. The call router is very flexible in allowing the construction of decision trees based on linked routing tables.
33 • Call router configuration SmartWare Software Configuration Guide • Potential restrictions imposed by neighboring equipment (Gatekeepers, Remote Gateways, PBXs) on the number length or range to be used. The call router is able to accommodate almost every combination of these requirements through a customized configuration.
SmartWare Software Configuration Guide 33 • Call router configuration default address completion timeout is 12 seconds and is restarted after each digit that is sent during overlap dialing. Note The address completion timeout is active when the call router waits for man- datory digits before being able to complete call routing.
33 • Call router configuration SmartWare Software Configuration Guide Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]# Configures the digit collection timeout by specify- ing the timeout in seconds. If not configured, the digit-collection timeout timeout default digit collection timeout is 5 seconds. node (ctx-cs)[ switch ]# Configures the digit collection terminating charac- ter by specifying the char .
SmartWare Software Configuration Guide 33 • Call router configuration Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]# Adds prefix to all E.164 numbers of type national before entering the call router. national-prefix prefix node (ctx-cs)[ switch ]# Adds prefix to all E.164 numbers of type interna- tional before entering the call router.
33 • Call router configuration SmartWare Software Configuration Guide Create a routing table A routing table forwards the call to another table, interface or service based on a specific call property like the called party number or the current date. The call router provides a number of different routing table types. A routing table looks like the following: Figure 63.
Page 373
SmartWare Software Configuration Guide 33 • Call router configuration Table 16. Routing table types (Continued) Type Description calling-ip Route calls based on the signaling IP address of the origination VoIP peer. called-uri Route calls based on the URI of the destination VoIP peer (for SIP calls: the To-URI). calling-uri Route calls based on the URI of the origination VoIP peer (for SIP calls: the From-URI).
33 • Call router configuration SmartWare Software Configuration Guide Mode: Context CS Step Command Purpose Create a routing table table-name of the specified table-type . node(ctx-cs)[switch]#routing-table table-type table-name This enters the table mode where entries can be added or removed. To enter a previously created table from the context CS mode, you may leave away the table-type .
Page 375
SmartWare Software Configuration Guide 33 • Call router configuration The following table shows the wildcard characters that are supported: Table 17. Wildcard symbols used as keys in E.164 tables (calling-e164, called-e164) Symbol Description Indicates a single-digit placeholder. For example, 888 ..matches any dialed number beginning with 888, plus at least four additional digits.
33 • Call router configuration SmartWare Software Configuration Guide The next table shows some examples of how these wildcard symbols are applied to the key of a table entry: Table 18. Wildcard symbols used as keys in E.164 tables (calling-e164, called-e164) Expression Description 88825.+...
SmartWare Software Configuration Guide 33 • Call router configuration The default value for the interdigit timeout is 5 seconds and can be configured using the digit-collection time- out command in the context CS configuration mode. You may want to override this default timeout for a spe- cific entry.
Page 378
33 • Call router configuration SmartWare Software Configuration Guide the address completion timeout elapses and the call is dropped. The digit collection timeout is active when a route is complete but a T-indicator is specified on the selected route, e.g. when the dialed number of 0991 is tried to match the entry 099T.
Page 379
SmartWare Software Configuration Guide 33 • Call router configuration Note The numbers that are normally dialed are longer than the prefixes listed in the table test. For example, if the numbering plan is defined using five digits, a user normally dials a number like 12345 to reach a destination. Anyway the lookup result must be the same for en-bloc and for overlap dialing.
33 • Call router configuration SmartWare Software Configuration Guide Dialed Selected Description Number Entry All entries match the dialed number of 111, but entry #4 matches best because the expression is more precise (longer) than entry #1-#3. Entry #4 is selected but the call is not placed immediately because the entry contains the T-indica- tor.
SmartWare Software Configuration Guide 33 • Call router configuration Note This table does not contain a default entry. All calls where the calling party number does not match to one of the entries are dropped. SN(cfg)#context cs SN(ctx-cs)[switch]#routing-table calling-e164 EXTS SN(rt-tab)[EXTS]#route .%52[35]$ dest-interface breakout SN(rt-tab)[EXTS]#route .%572 dest-interface DefAcc Number type routing table...
33 • Call router configuration SmartWare Software Configuration Guide Numbering plan routing table The calling party numbering plan or called party numbering plan (calling-number-plan or called-numbering- plan) table is used to route calls based on the calling or called party numbering plan field in the ISDN setup message.
SmartWare Software Configuration Guide 33 • Call router configuration SN(rt-tab)[name]#route John Smith dest-table TAB-FROM-JOHN SN(rt-tab)[name]#route Administrator dest-table TAB-FROM-ADMIN SN(rt-tab)[name]#route default dest-table TAB-FROM-UNKNOWN IP address routing table The calling party IP address (calling-ip) table is used to route calls based on the signaling IP address of the orig- inating VoIP peer, e.g.
33 • Call router configuration SmartWare Software Configuration Guide restricted. There is no presentation indicator on the called party number. Thus you cannot create a called-pi table. Note Incoming ISDN calls set the presentation indicator according to the received ISDN Setup message. Incoming H.323 calls only set the presentation indi- cator transparently when Octet3a handling is enabled.
SmartWare Software Configuration Guide 33 • Call router configuration The call router can route calls according to the following screening indicators. These values beside default can be used for the key parameter to create a routing table entry: • user-not-screened—The calling party number is provided by the user but not screened by the network. Thus the calling party possibly send a number that is not owned by the calling party.
33 • Call router configuration SmartWare Software Configuration Guide They always set the information transfer capability property to 3.1kHz Audio. The call router can route calls according to the following information transfer capabilities. These values beside default can be used for the key parameter to create a routing table entry: •...
SmartWare Software Configuration Guide 33 • Call router configuration SN(cfg)#context cs SN(ctx-cs)[switch]#routing-table day-of-week TAB-DAY SN(rt-tab)[TAB-DAY]#route saturday dest-table TAB-LEAST-COST SN(rt-tab)[TAB-DAY]#route sunday dest-table TAB-LEAST-COST SN(rt-tab)[TAB-DAY]#route default dest-interface IF-VOIP Date routing table The date table is used to route calls according to the current system date. It can be used, for example, to repre- sent holidays in the routing decision tree.
33 • Call router configuration SmartWare Software Configuration Guide To remove the first two entries from the table enter the following commands: SN(cfg)#context cs SN(ctx-cs)[switch]#routing-table MY-TABLE SN(rt-tab)[MY-TABLE]#no route 10 SN(rt-tab)[MY-TABLE]#no route 11 The resulting running-config is: routing-table called-e164 MY-TABLE route 12 dest-interface IF3 route default dest-interface IF4 Procedure: To delete an entire routing table Mode: Context CS...
Page 389
SmartWare Software Configuration Guide 33 • Call router configuration Unlike a routing table, a call property pair characterizes a mapping table, the input and output-type. While the input-type defines which call property is examined by the call router, the output-type defines which property is modified once the best matching entry is found, for example, you may want to find a best matching entry in a mapping table based on the presentation indicator and, once found, you want to manipulate the calling party number of the call.
Page 390
33 • Call router configuration SmartWare Software Configuration Guide Table 19. Mapping table types (Continued) Type Description Input-Type Description Output-Type called-numbering-plan Selects an entry based on the called party Sets the called party numbering plan. numbering plan. ISDN distinguishes differ- ent numbering plans.
Page 391
SmartWare Software Configuration Guide 33 • Call router configuration Besides the header (name, input and output-type) a mapping table contains multiple entries. Each entry speci- fies a specific value of the routing table input-type and a value that shall be applied to the call property specified with the output-type of the table.
Page 392
33 • Call router configuration SmartWare Software Configuration Guide Example #2: This example shows a mapping table that selects the best matching entry based on the presenta- tion indicator and, once found, sets the called party number. In the example a call arrives to the mapping table with a presentation indicator of restricted.
SmartWare Software Configuration Guide 33 • Call router configuration E.164 to E.164 Mapping Tables As with routing tables you can use regular expressions when selecting an entry in a mapping table based on a calling or called party number. If the output property type of a mapping table is also a calling or called party number, you may use parts of the matched expressions when building the modified number as shown in exam- ple #3 above.
Page 394
33 • Call router configuration SmartWare Software Configuration Guide Input:called-e164 = *50998882525 Output:called-e164 = 0998882525 SN(cfg)#context cs SN(ctx-cs)[switch]#mapping-table called-e164 to called-e164 REM-PFX SN(rt-tab)[REM-PFX]#map *5(.%) to \1 The input *50998882525 matches the expression *5(.%) – the prefix *5 followed by any character repeated zero or more times.
SmartWare Software Configuration Guide 33 • Call router configuration Output:calling-e164 = 0778881111; called-e164 = 0778881111 SN(cfg)#context cs SN(ctx-cs)[switch]#mapping-table called-e164 to calling-e164 COPY-PN SN(rt-tab)[COPY-PN]#map (.%) to \1 The input called party number 0778881111 matches the expression (.%) – any character repeated zero or more times.
33 • Call router configuration SmartWare Software Configuration Guide Deleting mapping tables To remove individual mapping tables you can use the no form of the mapping table command. Alternatively you can remove specific entries of a mapping table by entering the mapping table configuration mode and use the no form on the map command.
SmartWare Software Configuration Guide 33 • Call router configuration Example: Remove an entire mapping table SN(cfg)#context cs SN(ctx-cs)[switch]#no mapping-table MY-TABLE Creating complex functions Complex functions allow combining mapping tables, which need to be executed in sequence. This is useful if, for example, the calling and the called party number have to be modified in the same step.
33 • Call router configuration SmartWare Software Configuration Guide Example: Remove entries from a complex function The running-config shows the following complex function: complex function MY-FUNC execute 1 MAP1 execute 2 MAP2 execute 3 MAP3 execute 4 MAP4 To remove the first two entries from the complex function enter the following commands. Pay attention on the index.
SmartWare Software Configuration Guide 33 • Call router configuration Creating a hunt group service A hunt group service hunts an incoming call to multiple interfaces. Figure 66 shows an example scenario where a call from a SIP interface is first processed by several tables. The second table decides that the call must be for- warded to the PSTN.
Page 400
33 • Call router configuration SmartWare Software Configuration Guide You can specify a timeout after which the next destination interface is tried when there is no answer at all from the destination interface. You can specify drop causes that trigger hunting for the next destination. All other causes (e.g. user busy) will drop the original call.
Page 401
SmartWare Software Configuration Guide 33 • Call router configuration Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]#service hunt- Creates a new hunt group service and enters hunt group con- group service-name figuration mode. node (svc-hunt)[service-name]#cyclic Configure the hunt group for cyclic operation mode. Subse- quent calls try another first destination in a round-robin method.
Page 402
33 • Call router configuration SmartWare Software Configuration Guide The following table lists all drop causes and specifies whether the cause is used for hunting the next destination or dropping the original call. The behavior can be configured for each hunt group individually for each cause using the drop-cause command in the hunt group service mode.
Page 403
SmartWare Software Configuration Guide 33 • Call router configuration Table 20. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The connection fails because the destina- Normal no-user-responding tion does not respond to the call. This Event cause is used when a user does not (Cont.)
Page 404
33 • Call router configuration SmartWare Software Configuration Guide Table 20. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The status message is generated in direct Normal response-to-status- response to receiving a status inquiry mes- Event enquiry sage.
Page 405
SmartWare Software Configuration Guide 33 • Call router configuration Table 20. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The network normally provides the Service or bearer-capability-not- requested bearer capability, but it is Option available unavailable at the present time.
Page 406
33 • Call router configuration SmartWare Software Configuration Guide Table 20. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call This cause indicates that the network has Invalid call-identity-in-use received a call suspends request. The call Message suspend request contained a call identity (Cont.)
Page 407
SmartWare Software Configuration Guide 33 • Call router configuration Table 20. Hunt group drop causes (Continued) Default Behavior Class Cause of the Hunt Description Group Service Drop original call The remote equipment receives a message Protocol ie-does-not-exist that includes information elements or call Error properties that are not recognized.
33 • Call router configuration SmartWare Software Configuration Guide Creating a distribution group service A distribution group service distributes a call to multiple destinations interfaces. Figure 67 shows an example scenario where a call from a SIP interface is first processed by several tables. The second table decides that the call must be forwarded to phones that are connected to various FXS interfaces.
Page 409
SmartWare Software Configuration Guide 33 • Call router configuration Figure 68. Distribution group service examples Procedure: To create and configure a distribution group service Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]#service distribu- Creates a new distribution group service and enters distribu- tion-group service-name tion group configuration mode.
33 • Call router configuration SmartWare Software Configuration Guide Note It does not make sense to configure the maximum number of concurrent destinations but no timeout, though the software does not prevent this con- figuration. Deleting call services To remove individual call services you can use the no form of the service command. Procedure: To delete a call service Mode: Context CS Step...
SmartWare Software Configuration Guide 33 • Call router configuration Mode Context CS Step Command Purpose node (ctx-cs)[ switch ]#show call-router Show the actual call router configuration. This displays all routing and mapping tables in the current context CS. When config you are inside a routing or mapping table configuration mode, only the current table is displayed.
Page 412
33 • Call router configuration SmartWare Software Configuration Guide SN(rt-tab)[TEST]#route default dest-interface IF5 SN(rt-tab)[TEST]#exit SN(ctx-cs)[switch]#no shutdown SN(ctx-cs)[switch]#debug call-router detail 5 SN(ctx-cs)[switch]#test call-router TEST called-e164 123 Parameters ========== Time: 2004-03-02T16:55:33<-- Time of the lookup Result: route-found-place-call<-- Lookup result Destination: IF2<-- Dest. Interface Timeout: 0<-- Digit-Coll.
Page 413
SmartWare Software Configuration Guide 33 • Call router configuration Example: Enterprise network with local breakout and IP carrier access Consider the following Enterprise Network. Figure 69. Call routing example network Note The SmartNodes in this Network may be owned and operated by the Com- pany or by a Service Provider.
Page 414
33 • Call router configuration SmartWare Software Configuration Guide • When calling through carrier Melon the CLI (calling party number) must not use the public number blocks of Site A and B • Carrier Orange is to be used for national calls •...
Page 415
SmartWare Software Configuration Guide 33 • Call router configuration Figure 70 shows the corresponding CS Context and call router elements in node A: Figure 70. CS context and call router elements We assume that the CS interfaces have already been created and configured. So we can start directly with the call router elements.
34 • Tone configuration SmartWare Software Configuration Guide Introduction This chapter gives an overview of SmartWare call-progress-tone profiles and tone-set profiles, and describes the tasks involved in their configuration. In-band tones keep the user informed about the state of his call or additional services such as call-waiting, hold etc.
SmartWare Software Configuration Guide 34 • Tone configuration its own tone-set profile. If no tone-set is assigned to a PSTN interface the default tone-set is taken. Figure 71 illustrates the relation ship between call-progress-tone profiles, tone-set profiles and PSTN interfaces. Figure 71.
34 • Tone configuration SmartWare Software Configuration Guide • Enabling the generation of local in-band tones • Showing call-progress-tone and tone-set profiles Configuring call-progress-tone profiles Each call-progress-tone consists of a sequence of different tones and pauses. Arbitrary tone cadences can be configured.
SmartWare Software Configuration Guide 34 • Tone configuration converted into the new format. In the running-config you always see the new format, and also new tones have to be configured in the new format. The new tone configuration format is not backwards compatible. Configure tone-set profiles A tone-set profile maps one call-progress-tone profile to each internal call-progress-tone.
34 • Tone configuration SmartWare Software Configuration Guide If the user has not specified a tone-set profile, the default tone-set will be taken to generate the local inband information. For enabling a user defined tone-set profile on a specific interface proceed as follows. Procedure: To assign a tone-set profile to a PSTN interface Mode: Interface Step...
Page 425
SmartWare Software Configuration Guide 34 • Tone configuration Mode: Administrator execution Step Command Purpose Display all tone-set profiles or a specific with node #show profile tone-set [ name ] name name Example: Show tone-set profile The following example shows how to display the tone-set profile. SN#show profile tone-set test Tone Profile: test ==================...
Page 426
34 • Tone configuration SmartWare Software Configuration Guide SN(pf-tones)[UK]#map call_progress_tone dialtone dial-UK SN(pf-tones)[UK]#map call_progress_tone alertingtone alerting-UK SN(pf-tones)[UK]#map call_progress_tone busytone busy-UK SN(pf-tones)[UK]#exit Assign the tone-set to the isdn interface bri0 SN(cfg)#context cs SN(ctx-cs)[switch]#interface isdn bri0 SN(if-isdn)[bri0]#use profile tone-set UK Tone configuration task list...
35 • ISDN port configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of SmartNode ISDN ports and describes the tasks involved in configuring ISDN ports in SmartWare. ISDN ports are the physical ISDN connections on the SmartNode devices. There are two types of ISDN ports: •...
SmartWare Software Configuration Guide 35 • ISDN port configuration The S reference point is on the subscriber interface. This is the typical 4-wire connection between an ISDN phone and an ISDN PBX. Be aware that many ISDN PBX vendors use non-standard proprietary 2-wire inter- faces to connect the Terminals to the PBX.
Page 430
35 • ISDN port configuration SmartWare Software Configuration Guide Figure 74. Integration of ISDN access lines Port activation deactivation—ISDN ports can be config- ured while they are active. However they will be internally dis- abled to modify the configuration and then re-enabled. All active calls on the port are dropped during this process.
SmartWare Software Configuration Guide 35 • ISDN port configuration Connector pin-out and short circuits—Some of the Smart- Node ISDN BRI ports are configurable to operate as network or terminal ports. The pin-out of the sockets is switched according to this configuration. Wrong port configurations, wrong cabling or wrong connections to neighboring equipment can lead to short circuits in the BRI line powering.
35 • ISDN port configuration SmartWare Software Configuration Guide • Layer 3 does send and receive application level messages (i.e. call control). It cares for sending broadcast messages and collecting the individual results of the attached devices. It also handles the assignment of the B channels.
35 • ISDN port configuration SmartWare Software Configuration Guide Mode: Port {bri|e1|t1} Step Command Purpose Enter port configuration. Port type can either node (cfg)#port bri slot port be bri, e1 or t1 depending on the installed hardware. Shutdown the port. All active calls are node (prt-bri)[ slot / port ]#shutdown dropped! Activate the port.
SmartWare Software Configuration Guide 35 • ISDN port configuration Mode: Port bri Step Command Purpose node (prt-bri)[slot/port]#clock auto Specify the clock mode (default: auto) The BRI port can either generate the clocking for the line, or accept the clock from the line. node (prt-bri)[slot/port]#clock master The options ‘master’...
35 • ISDN port configuration SmartWare Software Configuration Guide Mode: Port {e1|t1} Step Command Purpose node (prt-e1)[slot/port]#clock auto Specify the clock mode (Default: auto) The PRI port can either generate the clocking for the line, or accept the clock from the line. node (prt-e1)[slot/port]#clock master The options ‘master’...
SmartWare Software Configuration Guide 35 • ISDN port configuration Step Command Purpose Specify B-channel range to be used on a PRI node (prt-pstn)[ slot/port ]#channel-range port (Default: E1: 0-31, T1: 0-23) min max Limits the time-slots to be used for calls to the range between min and max .
Page 440
35 • ISDN port configuration SmartWare Software Configuration Guide Mode: Exec Step Command Purpose Show the status of one or more ISDN node #show port isdn [ slot port ] [detail <- ports. level> ] If the optional arguments slot/port are omit- ted the status of all ISDN ports is displayed.
SmartWare Software Configuration Guide 35 • ISDN port configuration UniSide: MinChannel: MaxChannel: MaxCalls: AIS Blue Alarm: Hunt Mode: Ascending Signalling Mode: Etsi Examples Example: Configuring BRI port as Euro-ISDN interface The following example shows how to configure port 0/0 as a Euro ISDN interface with user side signaling. 172.16.40.71(cfg)#port bri 0 0 172.16.40.71(prt-bri)[0/0]#q921 172.16.40.71(q921)[0/0]#q931...
Page 442
35 • ISDN port configuration SmartWare Software Configuration Guide Example: QSIG Assume the scenario as illustrated in figure Figure 76. PBX connected to ISDN port 1/0 Configure the ISDN port 1/0 to work as a Q-SIG master port but clock-slave and allow a maximum of eight parallel B-channel connections.
Chapter 36 FXS port configuration Chapter contents Introduction ................................442 Shutdown and enable FXS ports..........................442 Bind FXS ports to higher layer applications ......................443 Configure country-specific FXS port parameters....................443 Other FXS port parameters..........................444 Choose a low-bit-rate codec for FXS ports......................445 Example ................................446...
36 • FXS port configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of POTS signaling and SmartNode FXS ports and describes the tasks involved in configuring FXS ports in SmartWare. This chapter includes the following sections: • Shutdown and enable FXS ports (see page 442)
SmartWare Software Configuration Guide 36 • FXS port configuration Step Command Purpose (prt-fxs) [ slot/port ]#no shut- Activate the port. down Bind FXS ports to higher layer applications An FXS port needs to be associated to an fxs interface in a CS context. The same mechanism of encapsulation and binding is used as known for e.g.
36 • FXS port configuration SmartWare Software Configuration Guide Command Purpose Step 2 node (prt-fxs)[ slot / port ]#use Select a profile containing the country specific set- profile fxs profile tings of the port attributes (ring voltage etc.). The available country profiles are listed when entering this command.
SmartWare Software Configuration Guide 36 • FXS port configuration Mode: Configure Command Purpose Step 1 node (config)#port fxs slot port Enter FXS port configuration mode Step 2 node (prt-fxs) [ slot / port ]#[no] battery- Reverses the line polarity at connect/disconnect of optional reversal the call.
36 • FXS port configuration SmartWare Software Configuration Guide Example The following example shows how to enter the configuration mode for FXS port 0/0, configure it with typical US settings, and bind it to an interface named fxs00 in context CS switch. 172.16.40.71>enable 172.16.40.71#configure 172.16.40.71(cfg)#port fxs 0 0...
Chapter 37 FXO port configuration Chapter contents Introduction ................................448 Shutdown and enable FXO ports.........................448 Bind FXO ports to higher layer applications......................449 Configure country specific FXO port parameters....................449 Other FXO port parameters ..........................450...
37 • FXO port configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of POTS signaling and SmartNode FXO ports and describes the tasks involved in configuring FXO ports in SmartWare. This chapter includes the following sections: • Shutdown and enable FXO ports (see page 448)
SmartWare Software Configuration Guide 37 • FXO port configuration Bind FXO ports to higher layer applications An FXO port needs to be associated to an fxo interface in a CS context. The same mechanism of encapsulation and binding is used as known for e.g. ethernet ports (see section “Interfaces, Ports, and Bindings”...
37 • FXO port configuration SmartWare Software Configuration Guide Other FXO port parameters This section describes the commands available for the configuration of an FXO port. Procedure: Configure the FXO port parameters Mode: Configure Command Purpose Step 1 node (config)#port fxo slot port Enter FXO port configuration mode Step 2 node (prt-fxo)[ slot / port ]#caller-id for-...
38 • H.323 gateway configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of the H.323 gateway and describes the tasks involved in its configuration. When communication is required between different networks a gateway is always needed between them. A gateway provides: •...
SmartWare Software Configuration Guide 38 • H.323 gateway configuration face. All possible configurations, which are involved in a specific configuration topic are described in the respective configuration task. • Configure datapath related settings • Binding the gateway to an IP interface •...
38 • H.323 gateway configuration SmartWare Software Configuration Guide Mode: Gateway H.323 Step Command Purpose Use an existing VoIP profile for this gateway. node (gw-h323)[h323]#use profile voip pro- file-name Example: Using a VoIP profile The following example shows how to use the existing VoIP profile myvoip for the gateway. SN>enable SN#configure SN(cfg)#gateway h323 h323...
SmartWare Software Configuration Guide 38 • H.323 gateway configuration Configure registration authentication service (RAS) (Optional) The H.323 gateway can either work in combination with a gatekeeper, which uses the RAS protocol for com- munication with the gateways or it can be used for direct calls between gateways without a gatekeeper. If you do not use a gatekeeper, you can skip this section.
38 • H.323 gateway configuration SmartWare Software Configuration Guide Mode: Gateway H.323 Step Command Purpose Specify that gatekeeper discovery has to be node (gw-h323)[h323]#gatekeeper-discov- done automatically ery auto [gkid] node (gw-h323)[h323]#gatekeeper-discov- Specify the gatekeeper for the SmartNode ery manual ip-address ip-port [gkid] explicitly.
Page 459
SmartWare Software Configuration Guide 38 • H.323 gateway configuration SmartWare implements H.235 Annex D, which provides H.323 RAS and H.225 message authentication and integrity check thus thwarting any replay and spoofing attacks on H.323 calls. If H.235 is switched on, the fol- lowing security attacks are thwarted: •...
Page 460
38 • H.323 gateway configuration SmartWare Software Configuration Guide Mode: Gateway H.323 Step Command Purpose node (gw-h323)[h323]#h235security master- Sets the master password (32 hex digits, 0-9, password master-password A-F) with which the H.235 password is decrypted. Note: configure the master password only over secure links (e.g.
SmartWare Software Configuration Guide 38 • H.323 gateway configuration Example: Enabling fastconnect The following example shows how to enable the fastconnect procedure on an already defined H.323 Gateway. SN(cfg)#gateway h323 h323 SN(gw-h323)[h323]#faststart Enabling the early H.245 procedure If the early H.245 procedure is enabled, the H.245 connection is opened as soon as possible instead of waiting for the call signaling connect message.
38 • H.323 gateway configuration SmartWare Software Configuration Guide Example: Defining an alternate response timeout The following example shows how to define an alternate response timeout of 6 seconds on an already defined H.323 Gateway. SN(cfg)#gateway h323 h323 SN(gw-h323)[h323]#timeout response 6 Setting the connect timeout Per default the H.323 gateway waits for 60s when the call is in the alerting phase for the call to be answered.
SmartWare Software Configuration Guide 38 • H.323 gateway configuration Troubleshooting You can display basic status information of the H.323 gateway using the following command: Mode: Configure Step Command Purpose node (gw-h323)[h323]# show gateway Displays H.323 gateway status information. h323 status [detail level ] The detail level parameter is a number in the range 0 to 5 and indicates how much detail should be displayed.
Chapter 39 SIP gateway configuration Chapter contents Introduction ................................466 Gateway configuration task list ..........................466 Configure DNS resolver ..........................467 Configure datapath related settings .......................467 Binding the gateway to an IP interface ......................468 Enable the Gateway ............................468 Registering with a registrar (optional) ......................468 Configure a domain name (optional) ......................469...
39 • SIP gateway configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of the SIP gateway and describes the tasks involved in its configuration. When communication is required between different networks a gateway is always needed between them. A gateway provides: •...
39 • SIP gateway configuration SmartWare Software Configuration Guide SN(cfg)#gateway sip sip SN(gw-sip)[sip]#use profile voip myvoip Binding the gateway to an IP interface Binding the gateway to one of the available IP interfaces is required to allow the gateway to determine the local IP address it should use.
SmartWare Software Configuration Guide 39 • SIP gateway configuration Mode: Gateway SIP Step Command Purpose node (gw-sip)[sip]#registrar address [port] Specify the registrar server to be used for reg- [ use-default-server ] istration. The address may be either an IP address or a name to be resolved by DNS.
39 • SIP gateway configuration SmartWare Software Configuration Guide Mode: Gateway SIP Step Command Purpose node (gw- sip )[ sip ]#domain domain-name Define the name of your SIP domain Example: Defining the name of the SIP domain The following example shows how to define the SIP domain name. SN(cfg)#gateway sip sip SN(gw-sip)[sip]#domain mycompany.com Configure a default server (optional)
SmartWare Software Configuration Guide 39 • SIP gateway configuration SN(gw-sip)[sip]#default server sipproxy.mycompany.com Configure authentication parameters (optional) The gateway can authenticate itself to a SIP server, if the required credentials are configured using the proce- dure described in this section. You can add multiple sets of authentication credentials. The gateway will use a set of authentication credentials only, if the realm of the set matches the realm of the challenge from the SIP server.
39 • SIP gateway configuration SmartWare Software Configuration Guide Mode: Gateway SIP Step Command Purpose node (gw- sip )[ sip ]#session-timer seconds Enable the session timer with a refresh period of the specified number of seconds. Example: Enabling the session timer feature The following example shows how to enable the session timer feature, with a refresh period of 1200 seconds.
SmartWare Software Configuration Guide 39 • SIP gateway configuration Mode: Gateway SIP Step Command Purpose node (gw-sip)[hsip]#session-timer-version Defines the version of the session-timer draft { 4|8 } to be used. Example: Defining the session-timer version The following example shows how to use the implementation of the session timer according to draft-ietf-sip- session-timer-04.
Page 476
39 • SIP gateway configuration SmartWare Software Configuration Guide Mode: Configure Step Command Purpose node (gw-sip)[sip]# show gateway sip sta- Displays SIP gateway status information. The tus [detail] detail parameter is a number in the range 0 to 5 and indicates how much detail should be displayed.
40 • VoIP profile configuration SmartWare Software Configuration Guide Introduction This chapter gives an overview of SmartWare VoIP profiles, and describes how they are used and the tasks involved in VoIP profile configuration. A VoIP profile is a container for all datapath-related settings on VoIP connections. The profile settings apply to all calls going through the interface.
40 • VoIP profile configuration SmartWare Software Configuration Guide Configure codecs The VoIP profile contains a list of codecs the forms the set of allowed codecs that can be used to set up a VoIP connection. The list is assembled in order of priority (i.e. the first entered codec is the most preferred one). For each codec in the list, a set of parameters can be configured.
Page 481
SmartWare Software Configuration Guide 40 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#codec g729 tx- Appends codec g729 to the list of codecs. Speci- length 30 rx-length 30 silence- fies the payload duration for transmitted RTP pack- suppression ets of this codec, and the maximum supported payload duration for received RTP packets of this...
40 • VoIP profile configuration SmartWare Software Configuration Guide Configuring DTMF relay Dual tone multi-frequency (DTMF) tones are usually transported accurately in band when using high bit-rate voice codecs such as G.711. Low bit-rate codecs such as G.729 and G.723.1 are highly optimized for voice pat- terns and tend to distort DTMF tones.
Page 483
SmartWare Software Configuration Guide 40 • VoIP profile configuration Figure 81. Jitter and dejitter buffer The dejitter buffer delays incoming packets so it can present them to the decompression algorithm at fixed intervals. It will also fix any out-of-order packets by looking at the sequence number in the RTP packets. Such buffering has the effect of smoothing packet flow, and increasing the resiliency of the codec to packet loss, delayed packets, and other transmission effects.
Page 484
40 • VoIP profile configuration SmartWare Software Configuration Guide SmartWare offers the following operating modes for the dejitter buffer as illustrated in figure • Adaptive—The adaptive buffer automatically adapts to variations in the network’s delay characteristics and in general yields the best results for voice conversations. In the adaptive dejitter buffer there are parameters that can be configured (such as shrink-speed, grow-step, etc.) that should not be changed unless it is necessary to do so.
SmartWare Software Configuration Guide 40 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#dejitter-mode mode Specify the dejitter buffer as adaptive, static or static-data. node (pf-voip)[ name ]#dejitter-max-delay Specify the maximum delay in milliseconds that the max-delay dejitter buffer is allowed to introduce.
40 • VoIP profile configuration SmartWare Software Configuration Guide Configuring Fax transmission Fax is a protocol for electronically transmitting written material in-band over a voice channel. In public switched telephone networks (PSTN), a fax is handled the same way as a voice conversation. A G3 Fax device transforms (modulates) a scanned page into audible tones that are transmitted in-band.
Page 487
SmartWare Software Configuration Guide 40 • VoIP profile configuration Fax transmission modes are organized the same way codecs are: there is an ordered list of fax transmission modes; the most preferred fax transmission mode is the first one in the list. Procedure: Configure fax bypass Mode: Profile VoIP Step...
40 • VoIP profile configuration SmartWare Software Configuration Guide Step Command Purpose node (pf-voip)[ name ]# fax dejitter- For proper operation, a dejitter buffer is used on (optional) max-delay buffer-size the receiver. The dejitter period can be set to com- pensate for the jitter imposed by the network.
SmartWare Software Configuration Guide 40 • VoIP profile configuration Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#modem trans- Adds modem transmission with codec G.711 to mission bypass g711alaw64k the list of fax transmission modes.Alternative codecs available are: G.711uLaw •...
SmartWare Software Configuration Guide 40 • VoIP profile configuration Payload Type NTE: Description: 3. Create VoIP profile and give it a name. All settings have default values 4., 5. Remove the default codecs G.711alaw and G.711uLaw 6. Add codec g723-6k3 with silence-suppression enabled 7.
40 • VoIP profile configuration SmartWare Software Configuration Guide Shrink Speed: Grow Step: Grow Attenuation: High Pass Filter: enabled Post Filter: enabled Detection: CED Tone T.38 High Speed Redundant Packets: T.38 Low Speed Redundant Packets: Max. Bit Rate: 9600bps Volume: -9.500dB Error Correction: enabled...
Page 493
SmartWare Software Configuration Guide 40 • VoIP profile configuration 2 SN#configure 3 SN(cfg)#profile voip softPhone 4 SN(pf-voip)[softPho~]#no codec g711aLaw64k 5 SN(pf-voip)[softPho~]#codec g723-6k3 tx-length 30 rx-length 30 no-silence-suppres- sion 6 SN(pf-voip)[softPho~]#no dtmf-relay 7 SN(pf-voip)[softPho]]#show profile voip softPhone VoIP Profile: softPhone ======================= Used: by 0 module(s) Codecs...
Page 494
40 • VoIP profile configuration SmartWare Software Configuration Guide Relay: disabled Mute Encoder: disabled Payload Type NTE: Description: 3. Create VoIP profile and give it a name. All settings have default values 4. Remove the default codec G.711alaw that is not supported. 5.
41 • PSTN profile configuration SmartWare Software Configuration Guide Introduction This chapter gives an overview of SmartWare PSTN profiles, and describes how they are used and the tasks involved in PSTN profile configuration. A PSTN profile is a container for all datapath-related settings on PSTN connections. It can be assigned to PSTN interfaces in context CS.
SmartWare Software Configuration Guide 41 • PSTN profile configuration Procedure: Create a PSTN Profile and enter the PSTN profile configuration mode Mode: Configure Step Command Purpose node (cfg)#profile pstn name Create a PSTN profile with name name and enter PSTN profile configuration mode.
Page 498
41 • PSTN profile configuration SmartWare Software Configuration Guide Mode: Profile PSTN Step Command Purpose node (pf-pstn)[ name ]#output-gain gain Set the output gain to value in dB PSTN profile configuration task list...
42 • VoIP debugging SmartWare Software Configuration Guide Introduction This chapter describes how to debug VoIP sessions, including the signaling part and the voice data path part (speech, fax, and modem connectivity). It provides debugging strategies to help locate the source of a problem, and describes the show and debug commands used to verify correct system operation and to troubleshoot problems.
SmartWare Software Configuration Guide 42 • VoIP debugging Mode: Administrator execution Step Command Purpose unit #ping ipaddress [ number-of-packets ] Determines whether an IP host can be contacted. [timeout seconds ] Example: Verify IP connectivity The following example uses the ping command to test connections to remote hosts 192.195.23.10 and 172.16.40.122.
42 • VoIP debugging SmartWare Software Configuration Guide A basic call from an ISDN terminal connected to your unit over SIP to another SIP gateway is thus an incom- ing and outgoing call a the same time, from the context CS perspective: It comes in from ISDN and goes out over SIP.
Page 503
SmartWare Software Configuration Guide 42 • VoIP debugging 18:34:10 > [TERMINAL-00b73348] << SETUP (DSS1 Ntwk) Bearer capability : speech - CCITT circuit mode - 64kBit/s - G.711 A-law Calling party number : 60 unknown number - unknown numbering plan presentation allowed - user provided not screened Called party number : 50 unknown number - E.164 numbering plan High layer compatibility : telephony...
42 • VoIP debugging SmartWare Software Configuration Guide Verify an outgoing call Make sure a call from context CS is accepted by the connected ISDN terminal or the PSTN. In this example, an ISDN port is connected to the PSTN. The port is bound to a context CS interface named PSTN. The simplest way to verify the signaling of an outgoing call is to use the built-in call generator.
SmartWare Software Configuration Guide 42 • VoIP debugging Explanation: • Place a call on the command line using the line “ unit(cfg)##call 123456 dial 987654321 dest- “ The calling party number is “123456” and the called party number “987654321”. interface PSTN Replace the called party with your mobile phone number, or any other number you know is reachable over the interface.
42 • VoIP debugging SmartWare Software Configuration Guide Layer 2 Permanent Layer 2: Protocol: PointToMultiPoint UniSide: Layer 3 Protocol: Dss1 UniSide: MinChannel: MaxChannel: MaxCalls: Hunt Mode: Ascending Signalling Mode: Etsi EOXGW01# The line “link state: up” tells you that layer 1 is up. To debug the layers 1-3 state machines, use the command debug isdn event slot port {all | layer1 | layer2 | layer3}.
SmartWare Software Configuration Guide 42 • VoIP debugging Verify an incoming call Make sure an incoming call is entering correctly context CS. In this example, a VoIP gateway or VoIP phone on the network makes a call to your unit using a gatekeeper. The debug output below shows a normal (work- ing) call setup sequence unit#enable unit#configure...
42 • VoIP debugging SmartWare Software Configuration Guide • First the state of the gateway is checked. The state is “UP”, and the RAS engine is “REGISTERED”, which is OK. • The line “ “ 01:00:10 H323 > [EP h323-00c07230] Stack: Allocated new call: 0x00be5968 tells that there is a new call incoming from H.323.
SmartWare Software Configuration Guide 42 • VoIP debugging Verify an incoming call Make sure that an incoming call from the SIP network enters correctly context CS. The following sequence shows a working call setup. unit(cfg)#debug gateway sip error unit(cfg)#debug gateway sip transport unit(cfg)#18:53:40 SIP_TR>...
42 • VoIP debugging SmartWare Software Configuration Guide Using SmartWare’s internal call generator The SmartWare has a powerful internal call generator that creates calls from the center of context CS. It is very useful to debug call signaling or call routing problems to verify the correct working of one call signaling proto- col at a time.
SmartWare Software Configuration Guide 42 • VoIP debugging Cause : normal call clearing private network serving local user - CCITT - Q.931 Progress indicator : inband information available private network serving local user - CCIT Explanation: • “ “: Dial the number 50, wich calling-party unit(cfg)#call 55 dial 50 dest-interface TERMINAL 55 to the interface TERMINAL.
Page 516
42 • VoIP debugging SmartWare Software Configuration Guide debug voip t38 dejitter Tracks the operation of a special dejitter buffer used for T.38 Fax trans- missions. Usage: To document the influence of network quality on T.38 Fax trans- missions. debug voip demux Displays changes to the “context demultiplexer”.
SmartWare Software Configuration Guide 42 • VoIP debugging Depending on the type of problem, continue using one or more of the following monitors: Command Purpose unit #debug dsp events Enable the DSP events monitor . unit #debug voip dejitter Enable the dejitter buffer monitor. unit #debug voip rtp Enable the RTP debug monitor unit #debug voip cs...
Page 518
42 • VoIP debugging SmartWare Software Configuration Guide • Running configuration and software and hardware version information—With the Command Line Inter- face commands 'show running-config' and 'show version' you can display the currently active configuration of the system (in a Telnet and/or console session). Adding to the submitted trouble report will help us ana- lyze the configuration and preclude possible configuration problems.
Appendix A Terms and definitions Chapter contents Introduction ................................518 SmartWare architecture terms and definitions .....................518...
A • Terms and definitions Model 3201 G.SHDSL Integrated Access Device User Guide Introduction This chapter contains the terms and their definitions that are used throughout this SmartWare Software Config- uration Guide. This guide contains many terms that are related to specific networking technologies areas such as LAN protocols, WAN technologies, routing, Ethernet, and Frame Relay.
Page 521
Model 3201 G.SHDSL Integrated Access Device User Guide A • Terms and definitions Term or Definition Meaning Comfort Noise Comfort noise is generated at the remote end of the silent direction to avoid the impression that the connection is dead. See also Silence Com- pression .
Page 522
A • Terms and definitions Model 3201 G.SHDSL Integrated Access Device User Guide Term or Definition Meaning flash: A region in the persistent memory of a SmartNode. See also flash mem- ory . Gatekeeper Gatekeepers manage H.323 zones, which are logical collections of devices such as all H.323 devices within an IP subnet.
Page 523
Model 3201 G.SHDSL Integrated Access Device User Guide A • Terms and definitions Term or Definition Meaning Network Management System System responsible for managing at least part of a network. An NMS is generally a reasonably powerful and well-equipped computer, such as an engineering workstation.
Page 524
A • Terms and definitions Model 3201 G.SHDSL Integrated Access Device User Guide Term or Definition Meaning Q.SIG ISDN Services comprise additional services for the Private ISDN network such as CNIP (Calling Name Identification Presentation), CNIR (Calling Name Identification Restriction) etc. See also ISDN Services . Release SmartWare is organized in releases that define the main voice and data features of a SmartNode.
Page 525
Model 3201 G.SHDSL Integrated Access Device User Guide A • Terms and definitions Term or Definition Meaning System Memory The volatile memory, that includes the system: region, holding the running- config for the SmartWare during operation of a SmartNode. system: A region in the volatile memory of a SmartNode.
Page 526
A • Terms and definitions Model 3201 G.SHDSL Integrated Access Device User Guide SmartWare architecture terms and definitions...
B • Mode summary SmartWare Software Configuration Guide Introduction Figure 89 on page 526, figure 90 on page 527, and figure 91 on page 528 show the configuration mode hierar- chy. Each box contains the mode name, the command to enter in this mode and the mode prompt printed in a Telnet or console session.
Page 529
SmartWare Software Configuration Guide B • Mode summary Figure 90. Mode Overview, 2 of 3 Introduction...
Page 530
B • Mode summary SmartWare Software Configuration Guide Figure 91. Mode Overview, 3 of 3 Introduction...
SmartWare Software Configuration Guide C • Command summary Introduction This command summary is valid for SmartWare Release 3.10. Commands in future SmartWare releases may be different. The information provided in this chapter is subject to change without notice. The command sum- mary is organized as follows: Mode Name Enter Command...
SmartWare Software Configuration Guide C • Command summary profile_ppp [no] profile ppp <profile_ppp_name> lcp-configure-request interval <interval> max <max> lcp-configure-nak max <max> lcp-terminate-request interval <interval> max <max> lcp-echo-request interval <interval> max <max> mtu min <min> max <max> [ignore-link ] mru min <min> max <max> [ignore-link ] accm <value>...
C • Command summary SmartWare Software Configuration Guide Execute a program loaded into memory Command Purpose Step 1 go [-w timeout ] [-i] [-s script-name ] Executes a program that has formerly been loaded [ entry ] to memory. The command will check whether a firmware appli- cation has been loaded to the specified address.
SmartWare Software Configuration Guide C • Command summary Load an image into RAM so that it can be started Command Purpose Step 1 fis load [-b memory_load_address ] Loads an image into RAM. [-n index ] -b: Memory address to load image to. If this param- eter is omitted, the loading address will be taken from the image file.
C • Command summary SmartWare Software Configuration Guide Create a new image in the Flash image store Command Purpose Step 1 fis create -b mem_base Creates a new image in the Flash image store. The -l image_length [-n index ] program image must already be present in mem- ory.
SmartWare Software Configuration Guide C • Command summary Default server IP address : 0.0.0.0 Force console for special debug messages : false Network debug at boot time : false Modify configuration Command Purpose Step 1 fconfig Modifies configuration. Each option is printed to the console and you are asked to modify it.
D • Internetworking terms & acronyms SmartWare Software Configuration Guide Abbreviations Abbreviation Meaning Numeric 10BaseT Ethernet Physical Medium ATM Adaptive Layer Available Bit Rate Alternating Current Advice of Charge Asynchronous Transfer Mode audio 3.1 ISDN Audio Service up to 3.1 kHz audio 7.2 ISDN Audio Service up to 7.2 kHz Basic Rate Access...
Page 561
SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning E-DSS1 ETSI Euro ISDN Standard Embedded File System Exchange Termination Ethernet Frequently Asked Questions Federal Communication Commission SmartWare Frame Relay G.711 ITU-T Voice encoding standard G.723 ITU-T Voice compression standard Graphic User Interface Gateway H.323...
Page 562
D • Internetworking terms & acronyms SmartWare Software Configuration Guide Abbreviation Meaning MGCP Media Gateway Control Protocol MIB II Management Information Base II Modem Modulator – Demodulator Multiple Subscriber Number NAPT Network Address Port Translation Network Address Translation Network Interface Card Network Termination Network Termination 1 Network Termination 2...
Page 563
SmartWare Software Configuration Guide D • Internetworking terms & acronyms Abbreviation Meaning Real-time Protocol SN-connection for Trunk Line SN-connection for Subscriber Line Segmentation and Reassembly S-Bus Subscriber Line (Connection) Bus Switched Circuit Network SCTP Stream Control Transmission Protocol SDSL Symmetric Digital Subscriber Line SGCP Simple Gateway Control Protocol Session Initiation Protocol.
Appendix E Used IP ports & available voice codecs in the SmartWare Chapter contents Used IP ports in the SmartWare ..........................564 Available voice codecs in the SmartWare ......................565...
E • Used IP ports & available voice codecs in the SmartWare SmartWare Software Configuration Guide Used IP ports in the SmartWare Component Port Description H.323 UDP 1719 RAS for gatekeeper connection TCP 1720 Call signaling port for H.323 (adjustable) UDP 4864…5118 (even numbers) Voice data (RTP) UDP 4865…5119 (odd numbers)
SmartWare Software Configuration Guide E • Used IP ports & available voice codecs in the SmartWare Available voice codecs in the SmartWare Used Band- Net Band- Min. Com- width per Protocol Codec width per pression Call ( kbps, Usage Call ( kbps) Delay (ms) incl.
Page 568
E • Used IP ports & available voice codecs in the SmartWare SmartWare Software Configuration Guide Available voice codecs in the SmartWare...
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?
Questions and answers