Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

SmartNode Series
SmartWare Release 2.20
Software Configuration Guide
Sales Office:
+1 (301) 975-1000
Technical Support:
+1 (301) 975-1007
E-mail:
support@patton.com
URL:
www.patton.com
Document Number: 132111U Rev. B
Part Number: 07MDSW_SCG_2_20
Revised: December 1, 2003

Advertisement

Table of Contents
loading

Summary of Contents for Patton electronics SmartNode Series

  • Page 1 SmartNode Series SmartWare Release 2.20 Software Configuration Guide Sales Office: +1 (301) 975-1000 Technical Support: +1 (301) 975-1007 E-mail: support@patton.com URL: www.patton.com Document Number: 132111U Rev. B Part Number: 07MDSW_SCG_2_20 Revised: December 1, 2003...
  • Page 2 Patton Electronics Company, Inc. 7622 Rickenbacker Drive Gaithersburg, MD 20879 USA tel: +1 (301) 975-1000 fax: +1 (301) 869-9293 support: +1 (301) 975-1007 url: www.patton.com e-mail: support@patton.com Copyright Statement Copyright © 2003, Patton Electronics Company. All rights reserved. Trademark Statement The terms SmartWare, SmartView, and SmartNode are trademarks of Patton Electronics Company.
  • Page 3: Table Of Contents

    Contents Contents ................................. 1 About this guide ............................15 Audience................................15 How to read this guide ............................15 Structure................................15 Typographical conventions used in this document....................18 General conventions ............................18 Mouse conventions ............................19 Service ................................19 System overview ............................21 Introduction ................................22 SmartNode hardware platforms ..........................23...
  • Page 4 Contents Model 4520 & 4110 Series Getting Started Guide Command Editing..............................40 Command Help ..............................40 The No Form ..............................40 Command Completion ...........................40 Command History ............................40 Command Editing Shortcuts ..........................40 Accessing the CLI ............................43 Introduction ................................44 Accessing the SmartWare CLI task list........................44 Accessing via the console port .........................45...
  • Page 5 Model 4520 & 4110 Series Getting Started Guide Contents Diagnostic ...............................68 Bootloader (for SmartNode 4110/4520 Series)......................69 Start Bootloader ..............................69 Start-up with factory configuration .........................70 Load a new application image (SmartWare) via TFTP...................70 Load a new application image (SmartWare) via serial link ..................72 Factory configuration ............................72...
  • Page 6 Contents Model 4520 & 4110 Series Getting Started Guide IP interface related information ........................104 Serial interface related information ........................105 QoS related information ..........................105 Configuring Ethernet and serial ports ........................105 Creating and configuring IP interfaces.........................105 Configuring NAPT .............................106 Configuring Static IP Routing..........................106 Configuring RIP..............................106...
  • Page 7 Model 4520 & 4110 Series Getting Started Guide Contents Binding an Ethernet port to an IP interface ....................130 Selecting the frame format for an Ethernet port ....................131 Configuring layer 2 CoS to service class mapping for an Ethernet port ............132 Adding a receive mapping table entry ......................133 Adding a transmit mapping table entry...
  • Page 8 Contents Model 4520 & 4110 Series Getting Started Guide Configuring the hardware port protocol ......................163 Configuring the active clock edge ........................164 Enter Frame Relay mode ..........................165 Configuring the LMI type ..........................165 Configuring the keep-alive interval .......................166 Enabling fragmentation ..........................167 Entering Frame Relay PVC configuration mode ...................168 Configuring the PVC encapsulation type ......................169...
  • Page 9 Model 4520 & 4110 Series Getting Started Guide Contents Access control list configuration........................193 Introduction ................................194 About access control lists .............................194 What access lists do ............................194 Why you should configure access lists ......................194 When to configure access lists ........................195 Features of access control lists ........................195 Access Control List configuration task list ......................196...
  • Page 10 Contents Model 4520 & 4110 Series Getting Started Guide Defining SNTP local UDP port ........................226 Enabling and disabling the SNTP client .......................227 Defining SNTP client poll interval .......................227 Defining SNTP client constant offset to GMT .....................227 Defining the SNTP client anycast address .....................228 Enabling and disabling local clock offset compensation .................229...
  • Page 11 Model 4520 & 4110 Series Getting Started Guide Contents Authentication ..............................264 Encryption ..............................264 Transport and tunnel modes .........................265 Key management ............................265 VPN configuration task list ..........................265 Creating an IPsec transformation profile .......................265 Creating an IPsec policy profile ........................266 Creating/modifying an outgoing ACL profile for IPsec .................268 Configuration of an IP interface and the IP router for IPsec ................269...
  • Page 12 Contents Model 4520 & 4110 Series Getting Started Guide Show the running configuration ........................292 CS interface configuration........................... 295 Introduction ................................296 CS interface configuration task list ........................297 Create and configure CS interfaces ........................297 Configure call routing ...........................298 Configure digit collection ..........................299 Configure direct call signaling on VoIP interfaces ..................300 Specify the port address on VoIP interfaces...
  • Page 13 Model 4520 & 4110 Series Getting Started Guide Contents Enable generation of local in-band tones .......................335 Show call-progress-tone and tone-set profiles ....................336 Example ................................338 ISDN port configuration..........................341 Introduction ................................342 ISDN reference points ..........................342 Possible SmartNode port configurations .......................344 ISDN UNI signaling .............................344 ISDN port configuration task list ........................346...
  • Page 14 Contents Model 4520 & 4110 Series Getting Started Guide Create a VoIP profile ............................379 Enable DTMF relay ............................380 Enable echo canceller ............................380 Enable silence compression ...........................381 Configure voice volume ..........................382 Configure dejitter buffer (advanced) ......................383 Enable/disable filters (advanced) ........................386 Configure Fax and modem handling ......................386 Show VoIP profile configuration and assign it to a VoIP gateway ..............390...
  • Page 15 Model 4520 & 4110 Series Getting Started Guide Contents profile_voip ..............................425 profile_dhcp-server ............................425 context_ip ..............................426 interface ................................426 subscriber_ppp ..............................426 context_cs ..............................427 interface_pstn ...............................427 interface_h323 ..............................428 interface_isoip ...............................428 gateway_isoip ..............................429 gateway_h323 ...............................429 port_ethernet ..............................429 pppoe ................................429 pppoe_session ...............................429 port_serial ..............................430 framerelay ..............................430 ................................430 port_virtual...
  • Page 16 Contents Model 4520 & 4110 Series Getting Started Guide Abbreviations...............................440 Used IP ports & available voice codecs in SmartWare ................445 Used IP ports in SmartWare..........................446 Available voice codecs in SmartWare ........................447...
  • Page 17: About This Guide

    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. The aim is to enable you to be able to consult a more detailed command description than is given in the Software Configuration Guide .
  • Page 18 About this guide SmartWare Software Configuration Guide • Chapter 3, “Command line interface (CLI)” on page 35 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 19 SmartWare Software Configuration Guide About this guide • Chapter 21, “PPP configuration” on page 245 describes how to configure the Point-to-Point Protocol over different link layers. • Chapter 22, "VPN configuration" on page 263 describes how to configure the Point-to-Point Protocol over different link layers.
  • Page 20: Typographical Conventions Used In This Document

    About this guide SmartWare Software Configuration 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.
  • Page 21: Mouse Conventions

    SmartWare Software Configuration Guide About this 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).
  • Page 22 About this guide SmartWare Software Configuration Guide...
  • Page 23: System Overview

    Chapter 1 System overview Chapter contents Introduction ................................22 SmartNode hardware platforms ..........................23 SmartWare embedded software ..........................24 SmartView management center tools ........................25 Applications................................25 Carrier networks .............................26 Enterprise networks ............................26 LAN telephony ...............................28...
  • Page 24: Introduction

    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 •...
  • Page 25: Smartnode Hardware Platforms

    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).
  • Page 26: Smartware Embedded Software

    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 the SmartWare release notes for detailed information about hardware support.
  • Page 27: Smartview Management Center Tools

    SmartWare Software Configuration Guide 1 • System overview Ware 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 flash memory file system. Figure 3.
  • Page 28: Carrier Networks

    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 29 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.
  • Page 30: Lan Telephony

    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 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 31: Configuration Concepts

    Chapter 2 Configuration concepts Chapter contents Introduction ................................30 Contexts and Gateways............................32 Context ................................32 Gateway ................................32 Interfaces, Ports, and Bindings..........................32 Interfaces ................................32 Ports and circuits ............................33 Bindings ................................33 Profiles and Use commands...........................34 Profiles ................................34 Use Commands ..............................34...
  • Page 32: Introduction

    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. Even if you do not like to read manuals and user guides, nevertheless we strongly recommend that you read through this chapter because it introduces the fundamental ideas behind the structure of the command line interface.
  • Page 33 SmartWare Software Configuration Guide 2 • Configuration concepts Figure 7. Configuration concept overview The various elements of a complete SmartNode configuration are shown in figure 7. Each of these elements implements one of the configuration concepts described in this chapter. The figure also shows the relationships and associations between the different elements.
  • Page 34: Contexts And Gateways

    2 • Configuration concepts SmartWare Software Configuration Guide Contexts and Gateways Context A SmartWare context represents one specific networking technology or protocol, namely IP (Internet Protocol) or CS (circuit-switching). A context can be seen as ”virtual dedicated equipment” within the SmartNode. For example: •...
  • Page 35: Ports And Circuits

    SmartWare Software Configuration Guide 2 • Configuration concepts interface is a logical construct that provides higher-layer protocol and service information, such as layer 3 addressing. Interfaces are configured as part of a context, and are independent of physical ports and circuits. The decoupling of the interface from the physical layer entities enables many of the advanced features offered by SmartWare.
  • Page 36: Profiles And Use Commands

    2 • Configuration concepts SmartWare Software Configuration Guide Profiles and Use commands Profiles Profiles provide configuration shortcuts. They contain specific settings which can be used in multiple contexts, interfaces or gateways. This concept allows to avoid repetitions of groups of configuration commands that are the same for multiple elements in a configuration.
  • Page 37: Command Line Interface (Cli)

    Chapter 3 Command line interface (CLI) Chapter contents Introduction ................................36 Command modes ..............................36 System Prompt ...............................39 Navigating the CLI ............................39 Initial Mode ..............................39 System Changes ............................39 Configuration ............................39 Changing Modes ............................39 Command Editing..............................40 Command Help ..............................40 The No Form ..............................40 Command Completion ...........................40 Command History...
  • Page 38: Introduction

    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 either via the SmartNode console port or through a Telnet session. The CLI lets you configure the complete Smart- Ware functionality, in contrast to other management interfaces (SNMP, HTTP), which are limited to a subset of the functions.
  • Page 39 SmartWare Software Configuration Guide 3 • Command line interface (CLI) Figure 8. Command line modes Command modes...
  • Page 40 3 • Command line interface (CLI) SmartWare Software Configuration Guide Table 3. Command mode entry and prompts Mode name Commands used to access Command-line prompt operator exec (user log-on) node > administrator exec enable command from operator exec mode node # configure configure command from administrator exec mode node (config)# system...
  • Page 41: System Prompt

    SmartWare Software Configuration Guide 3 • Command line interface (CLI) System Prompt For interactive (on-line) sessions the system prompt is of the form: nodename> In the operator exec mode: nodename# In the administrator exec mode and in the different configuration modes: nodename(mode)# Where: •...
  • Page 42: Command Editing

    3 • Command line interface (CLI) SmartWare Software Configuration Guide Command Editing Command Help To see a list of all CLI commands available within a mode, type a question mark “?” at the system prompt in the mode of interest. A list of all available commands is displayed. Commands that have become available in the current mode are displayed at the bottom of the list, separated by a line.
  • Page 43 SmartWare Software Configuration Guide 3 • Command line interface (CLI) Esc f is handled differently; press and release the “Escape” key (often labeled Esc on many keyboards) and then press the f key. Table 4. Command edit shortcuts Keyboard Description Ctrl-p and <up-arrow>...
  • Page 44 3 • Command line interface (CLI) SmartWare Software Configuration Guide Command Editing...
  • Page 45: Accessing The Cli

    Chapter 4 Accessing the CLI Chapter contents Introduction ................................44 Accessing the SmartWare CLI task list........................44 Accessing via the console port .........................45 Console port procedure ..........................45 Accessing via a Telnet session ..........................46 Telnet Procedure ............................47 Log onto SmartWare ............................47 Selecting a secure password ..........................48 Configure operators and administrators ......................48...
  • Page 46: Introduction

    4 • Accessing the CLI SmartWare Software Configuration Guide Introduction SmartNode products are engineered for remote management and volume deployment. SmartNode manage- ment and configuration is therefore based on IP network connectivity. Once a SmartNode is connected to, and addressable in, an IP network then all configuration, management and maintenance tasks can be performed remotely.
  • Page 47: Accessing Via The Console Port

    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 9).
  • Page 48: Accessing Via A Telnet Session

    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 10, part A) or through an Ethernet hub with two straight cables (see...
  • Page 49: Telnet Procedure

    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.
  • Page 50: Selecting A Secure Password

    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.
  • Page 51: Creating An Administrator Account

    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 new operator account name and password password copy running-config startup-config The change made to the running configura-...
  • Page 52: Displaying The Cli Version

    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 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.
  • Page 53: Checking Identity And Connected Users

    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 operator execution mode. In the example below the who command is used to check the identity within both accounts login: support password: <password>...
  • Page 54: Ending A Telnet Or Console Port Session

    4 • Accessing the CLI SmartWare Software Configuration Guide Ending a Telnet or console port session To end a Telnet or console port session you use the logout command in the operator or administration execution mode. To confirm the logout command you have to enter “yes” on the dialog line as show in the example below. Mode: Operator execution Step Command...
  • Page 55: Establishing Basic Ip Connectivity

    Chapter 5 Establishing basic IP connectivity Chapter contents Introduction ................................54 IP context selection and basic interface configuration tasks..................54 Entering the IP context, creating IP interfaces and assigning an IP address .............54 Defining IP Ethernet encapsulation and binding an IP interface to a physical port .........55 Activating a physical port ..........................55...
  • Page 56: Introduction

    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. Configuring basic IP connectivity is carried out in both the context IP and the subsid- iary interface command modes.
  • Page 57: Defining Ip Ethernet Encapsulation And Binding An Ip Interface To A Physical Port

    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.
  • Page 58: Displaying Ip Interface Information

    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 CLOSED for the current state.
  • Page 59: Deleting Ip Interfaces

    SmartWare Software Configuration Guide 5 • Establishing basic IP connectivity Example: List existing IP interfaces Displaying IP interface information using the show ip interface command in configuration mode. In the fol- lowing example only the information available for IP interface lan is displayed. Depending on the number of defined IP interfaces the output of the show ip interface command can be longer.
  • Page 60: Examples

    5 • Establishing basic IP connectivity SmartWare Software Configuration Guide First list the existing interfaces: SN(ctx-ip)[router]#interface <?> <interface> New interface external Existing interface internal Existing interface Existing interface Existing interface Now delete the interfaces named “external” with the no interface command with the interface name as argu- ment: SN(ctx-ip)[router]#no interface external Finally list the interfaces again to check if the IP interface external has been deleted:...
  • Page 61 SmartWare Software Configuration Guide 5 • Establishing basic IP connectivity First the context IP mode is selected for the required IP interface configuration. SN>enable SN#configure SN(cfg)#context ip router After that a new interface lan is created, for which both the IP address and net mask are specified. SN(ctx-ip)[router]#interface lan SN(if-ip)[lan]#ipaddress 192.168.1.3 255.255.255.0 Next the Ethernet port 0 on slot 0 is selected, the medium is set to 10 Mbps in half-duplex mode, and IP...
  • Page 62 5 • Establishing basic IP connectivity SmartWare Software Configuration Guide Examples...
  • Page 63: System Image Handling

    Chapter 6 System image handling Chapter contents Introduction ................................62 Memory regions in SmartWare..........................62 Boot procedure..............................64 Bootloader (for SmartNode 1000 and 2000 Series) ....................65 Start Bootloader and login ..........................65 Main shell and domains ..........................65 Route Table Manager (RTM) .........................66 Download Agent .............................67 Diagnostic ...............................68...
  • Page 64: Introduction

    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 has to be stored in the persistent region of the memory.
  • Page 65 SmartWare Software Configuration Guide 6 • System image handling cated user-specific configuration has to 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 config- uration has to be stored as “default-config”...
  • Page 66: Boot Procedure

    6 • System image handling SmartWare Software Configuration Guide Boot procedure During a normal boot procedure of a SmartNode the bootstrap application checks the persistent memory in the logical region nvram: for an application image. Following that the application image is executed, that is SmartWare is started module by module.
  • Page 67: Bootloader (For Smartnode 1000 And 2000 Series)

    SmartWare Software Configuration Guide 6 • System image handling switches to the newly loaded application image if it is valid. Otherwise the bootstrap will still use 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...
  • Page 68: Route Table Manager (Rtm)

    6 • System image handling SmartWare Software Configuration Guide The available command set is shown in table Table 6. 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.
  • Page 69: Download Agent

    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 17). Figure 17. 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 A route may be deleted by using the command ‘delete’.
  • Page 70: Diagnostic

    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 18). Figure 18. Download Agent Display The Download Agent allows you to set and read different TFTP server settings: •...
  • Page 71: Bootloader (For Smartnode 4110/4520 Series)

    SmartWare Software Configuration Guide 6 • System image handling Type ‘help’ to display a list of the available commands in the Diagnostic domain (see figure 19). Figure 19. Diagnostic Display The command ’ping’ allows you to verify the IP connectivity within a network. The various sectors of the SmartNode flash memory can be tested with the command ’flashtest’.
  • Page 72: Start-Up With Factory Configuration

    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 73 SmartWare Software Configuration Guide 6 • System image handling Step Command Purpose RedBoot> go Start the application image that was down- loaded to 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 was last configured by the Bootloader itself or by an other application (e.g.
  • Page 74: Load A New Application Image (Smartware) Via Serial Link

    6 • System image handling SmartWare Software Configuration Guide Load a new application image (SmartWare) via serial link The Bootloader supports protocols ‘X-Modem’ and ‘Y-Modem’ to download application images via the serial link of the console. Do the following to initiate the download: Step Command Purpose...
  • Page 75: System Image Handling Task List

    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 Flash memory (see page •...
  • Page 76: Copying System Images From A Network Server To Flash Memory

    6 • System image handling SmartWare Software Configuration Guide Copying system images from a network server to Flash memory As mentioned above the system image file contains the application software that runs SmartWare; it is loaded in the flash memory at the Patton Electronics Co. factory. Since most of the voice and data features of the SmartNode are defined and implemented within the application software, upgrading to a new release might be necessary if you want to have additional voice and data features available.
  • Page 77: Copying Driver Software From A Network Server To Flash Memory

    SmartWare Software Configuration Guide 6 • System image handling 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 system image download process. This progress is visualized with a counter, count- ing up from 0 to 100% according to the downloaded amount of the file size for each...
  • Page 78 6 • System image handling SmartWare Software Configuration Guide The following example shows a script file used to download a driver software image file from a TFTP server for an IC-4BRV interface card. # script file for driver software image download # Patton Electronics Co.
  • Page 79: Configuration File Handling

    Chapter 7 Configuration file handling Chapter contents Introduction ................................78 Understanding configuration files ........................78 Factory configuration ............................80 Configuration file handling task list........................81 Copying configurations within the local memory ....................82 Replacing the startup configuration with a configuration from Flash memory ..........83 Copying configurations to and from a remote storage location ................85 Replacing the startup configuration with a configuration downloaded from TFTP server .......86...
  • Page 80: Introduction

    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 within the software modules that are performing specific functions of the SmartNode.
  • Page 81 SmartWare Software Configuration Guide 7 • Configuration file handling Figure 20, shows the characteristics of a configuration file. This configuration is stored on a TFTP server in the file SN2300_001.cfg for later download to the SmartNode SN. The command syntax is identical for com- mands entered by the use of the CLI and commands contained in configuration files.
  • Page 82: Factory Configuration

    7 • Configuration file handling SmartWare Software Configuration Guide ipaddress 172.19.32.30 255.255.255.0 mtu 1500 # interface used to access the PSTN telecom operator interface pstn pstn-operator routing dest-interface h323 bind port 1 0 # interface used to access the VoIP telecom provider interface h323 voip-provider routing dest-table rtab remoteip 172.19.33.60...
  • Page 83: Configuration File Handling Task List

    SmartWare Software Configuration Guide 7 • Configuration file handling • Default settings for the quality of service subsystem As soon as a user-specific configuration is created and stored as the startup configuration, the factory configura- tion is no longer used, but still remains in the persistent memory. At any time during the operation of a Smart- Node it is possible to switch back to the factory configuration.
  • Page 84: Copying Configurations Within The Local Memory

    7 • Configuration file handling SmartWare Software Configuration Guide Copying configurations within the local memory Configuration files may be copied within the local memory in order to switch between different configura- tions. Remember the different local memory regions in SmartWare as shown in figure Figure 21.
  • Page 85: Replacing The Startup Configuration With A Configuration From Flash Memory

    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 in local memory.
  • Page 86 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 overwrite and therefore replace the persistent startup configuration in the flash memory of a SmartNode with the configuration contained in the file new-startup already present in the flash memory.
  • Page 87: Copying Configurations To And From A Remote Storage Location

    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.
  • Page 88: Replacing The Startup Configuration With A Configuration Downloaded From Tftp Server

    7 • Configuration file handling SmartWare Software Configuration Guide uration is transferred to the TFTP server from where it can be distributed to other SmartNode devices, which 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, the startup-configuration is replaced by downloading a con-...
  • Page 89: Displaying Configuration File Information

    SmartWare Software Configuration Guide 7 • Configuration file handling SN#show nvram:startup-config Startup configuration: #----------------------------------------------------------------# # SmartWare R2.00 BUILD22031 # 2001-10-25T09:20:42 # Generated configuration file #----------------------------------------------------------------# cli version 2.00 snmp community public rw framerelay exit Displaying configuration file information This procedures describes how to display information about configuration files Mode: Administrator execution Command Purpose...
  • Page 90: Modifying The Running Configuration Offline

    7 • Configuration file handling SmartWare Software Configuration Guide Step Command Purpose node (cfg)#copy running-config startup-config Saves the running configuration file as upcom- ing startup configuration 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.
  • Page 91: Deleting A Specified 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: using the name startup-config.
  • Page 92 7 • Configuration file handling SmartWare Software Configuration Guide SN#show nvram: Persistent configurations: backup minimal startup-config factory-config 2. The configuration named minimal has to be deleted explicitly. SN#erase nvram:minimal 3. The command show nvram: is entered again to check if the selected configuration was deleted successfully from the set of available configurations.
  • Page 93: Basic System Management

    Chapter 8 Basic system management Chapter contents Introduction ................................92 Basic system management configuration task list ....................92 Setting system information ..........................92 Setting the system banner ..........................94 Setting time and date ............................94 Display clock information ..........................95 Display time since last restart ..........................95 Configuring and starting the Web server ......................96 Determining and defining the active CLI version...
  • Page 94: Introduction

    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. There are basic SmartWare parameters that need to be established when first setting up a new system. The administrator needs to define the system’s hostname, set the location of the system, provide reference contact information, and set the clock.
  • Page 95 SmartWare Software Configuration Guide 8 • Basic system management System contact information tells the user how to contact the information service, e.g. the help line of the ser- vice provider. The contact information may be any alphanumeric string, including spaces, that is no longer than one line.
  • Page 96: Setting The System Banner

    8 • Basic system management SmartWare Software Configuration Guide Example: Setting system information The following example shows the commands used to configure the contact information for your device, if you start from the operator execution mode. SN(cfg)#system contact "Bill Anybody, Phone 818 700 1504" SN(cfg)#system hostname SN SN(cfg)#system location Wiring Closet, 3rd Floor...
  • Page 97: Display Clock Information

    SmartWare Software Configuration Guide 8 • Basic system management Mode: Configure Step Command Purpose node (cfg)#clock set yyyy-mm-ddThh:mm:ss Sets the system clock to yyyy-mm-ddThh:mm:ss Note SmartWare includes an integrated SNTP client, which allows synchroniza- tion of time-of-day and date to a reference time server. Refer to chapter 19, “SNTP client configuration”...
  • Page 98: Configuring And Starting The Web Server

    8 • Basic system management SmartWare Software Configuration Guide Configuring and starting the Web server SmartNode includes an embedded web server, which can be used together with a customer-specific Java applet that must be downloaded into the persistent memory region of your SmartNode. Applets are similar to appli- cations but they do not run as standalones.
  • Page 99: Restarting The System

    SmartWare Software Configuration Guide 8 • Basic system management Restarting the system In case the SmartNode has to be restarted, the reload command must be used. The reload command includes a two-dialog, where the user is allowed to store any unsaved configuration data and finally confirms the system restart.
  • Page 100: Controlling Command Execution

    8 • Basic system management SmartWare Software Configuration Guide Example: Displaying system logs The following example shows how to display event log warnings and information of your device, if you start from the operator execution mode. SN#show log event 2001-12-10T14:57:18 : LOGINFO : Link down on interface internal.
  • Page 101: Displaying The Checksum Of A Configuration

    SmartWare Software Configuration Guide 8 • Basic system management System prompt reappears and is ready to execute further commands SN>show ip interface ------------------------------------------------------------ Context: router Show the currently running commands SN>jobs * [run ] jobs 0 [bg ] ping Bring job 0 to foreground SN>fg % Resumed [ping] Reply from 172.16.36.80: Time <10ms...
  • Page 102: Configuration Of Telnet Sessions

    8 • Basic system management SmartWare Software Configuration Guide Configuration of Telnet sessions In certain cases it may be desirable to change the settings of the current Telnet session. Mode: System Step Command Purpose [ name ] (sys)#terminal height Configures the terminal height. [ name ] (sys)#terminal idle-time-logout After 30 minutes without user input the current Telnet session is closed.
  • Page 103: Ip Context Overview

    Chapter 9 IP context overview Chapter contents Introduction ................................102 IP Context Overview Configuration Task List.....................103 Planning your IP configuration ...........................104 IP interface related information ........................104 Serial interface related information ........................105 QoS related information ..........................105 Configuring Ethernet and serial ports ........................105 Creating and configuring IP interfaces.........................105 Configuring NAPT...
  • Page 104: Introduction

    9 • IP context overview SmartWare Software Configuration Guide Introduction This chapter outlines the SmartWare Internet protocol (IP) context, together with its related components. You will get the fundamental understanding on how to set up your SmartNode to make use of IP related services. In the following sections configuration steps necessary to put together certain IP services are illustrated, together with the references to the related chapters that explain the issue in more details.
  • Page 105: Ip Context Overview Configuration Task List

    SmartWare Software Configuration Guide 9 • IP context overview ent types of gateways. Since the CS context and its related components are not the subject of this chapter, they are illustrated in figure 24 with gray lines instead of black. Figure 24.
  • Page 106: Planning Your Ip Configuration

    9 • IP context overview SmartWare Software Configuration Guide • If you need to configure a physical port, chapter 12, “Ethernet port configuration” on page 127 or chapter 14, “Serial port configuration” on page 159 may prove helpful. • To set up the IP router contained within SmartWare, 15, “Basic IP routing configuration”...
  • Page 107: Serial Interface Related Information

    SmartWare Software Configuration Guide 9 • IP context overview • IP addresses of central TFTP server used for configuration upload and download 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.
  • Page 108: Configuring Napt

    9 • IP context overview SmartWare Software Configuration Guide vides higher-layer protocol and service information, such as layer 3 addressing. Hence interfaces are configured as part of IP context and represent logical entities that are only usable if a physical port is bound to them. An interface name can be any arbitrary string, but for ease of identification self-explanatory names should be used which depict the use of the interface.
  • Page 109: Configuring Access Control Lists

    SmartWare Software Configuration Guide 9 • IP context overview ers maintain only the best route (the route with the lowest metric value) to a destination. After updating its routing table, the router immediately begins transmitting routing updates to inform other network routers of the change.
  • Page 110 9 • IP context overview SmartWare Software Configuration Guide The SmartWare QoS features described in chapter 13, “Link scheduler configuration” on page 137 address these diverse and common needs. Configuring quality of service (QoS)
  • Page 111: Ip Interface Configuration

    Chapter 10 IP interface configuration Chapter contents Introduction ................................110 Software IP interface configuration task list ......................110 Creating an IP interface ..........................110 Deleting an IP interface ..........................111 Setting the IP address and netmask .......................112 ICMP message processing ..........................112 ICMP redirect messages ..........................112 Router advertisement broadcast message .......................113...
  • Page 112: Introduction

    10 • IP interface configuration SmartWare Software Configuration Guide Introduction This chapter provides a general overview of SmartNode interfaces and describes the tasks involved in configur- ing them. Within the Patton SmartWare, an interface is a logical entity that provides higher-layer protocol and service information, such as Layer 3 addressing.
  • Page 113: Deleting An Ip Interface

    SmartWare Software Configuration Guide 10 • 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]#...
  • Page 114: Setting The Ip Address And Netmask

    10 • IP interface configuration SmartWare Software Configuration Guide Setting the IP address and netmask Each IP interface needs its explicit IP address and an appropriate net mask to be set. To set the IP address to ip- address and the network mask to netmask or enable IP processing for IP interface name without assigning an explicit IP address, use the ipaddress interface configuration command.
  • Page 115: Router Advertisement Broadcast Message

    SmartWare Software Configuration Guide 10 • IP interface configuration packet to the next hop without involving this device at all. The redirect message instructs the sender to remove the receiving device from the route and substitute a specified device representing a more direct path. This fea- ture is enabled by default.
  • Page 116: Defining The Mtu And Mss Of The Interface

    10 • IP interface configuration SmartWare Software Configuration Guide Defining the MTU and MSS of the interface All interfaces have a default MTU packet size. You can adjust the IP MTU size so that the SmartWare applica- tion software will fragment any IP packet that exceeds the MTU set for an interface. The default MTU packet size is set to 1500 for an interface.
  • Page 117: Displaying Ip Interface Information

    SmartWare Software Configuration Guide 10 • IP interface configuration Example: Configuring an interface as a point-to-point link The following example shows how to define interface lan as point-to-point link. Use the following commands in configuration mode. SN(cfg)#context ip router SN(ctx-ip)[router]#interface lan SN(if-ip)[lan]#point-to-point Displaying IP interface information SmartWare contains the show ip interface command, which displays IP information for all interfaces.
  • Page 118: Traceroute

    10 • IP interface configuration SmartWare Software Configuration Guide Mode: Either operator or administrator execution Step Command Purpose node >ping ip-address Sends ICMP ECHO_REQUEST packets to network hosts at IP address ip- address When using ping for fault isolation, it should first be run on the respective SmartNode interface, to verify that the local LAN or WAN interface is up and running.
  • Page 119 SmartWare Software Configuration Guide 10 • IP interface configuration Delete the interface wan by using the use the no form of the interface command. SN(ctx-ip)[router]#no interface wan List the interfaces again to make sure that interface wan no longer exists: SN(ctx-ip)[router]#interface <?>...
  • Page 120 10 • IP interface configuration SmartWare Software Configuration Guide Examples...
  • Page 121: Nat/Napt Configuration

    Chapter 11 NAT/NAPT configuration Chapter contents Introduction ................................120 Dynamic NAPT ............................120 Static NAPT ..............................121 Dynamic NAT ..............................122 Static NAT ..............................122 NAPT Traversal ............................123 NAT/NAPT configuration task list ........................123 Creating a NAPT profile ..........................123 Activate NAT/NAPT ............................124 Displaying NAT/NAPT configuration information ..................125...
  • Page 122: Introduction

    11 • 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 configuring it. 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.
  • Page 123: Static Napt

    SmartWare Software Configuration Guide 11 • NAT/NAPT configuration Figure 25 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.
  • Page 124: Dynamic Nat

    11 • 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 of dynamic NAT entry for the reverse path.
  • Page 125: Napt Traversal

    SmartWare Software Configuration Guide 11 • 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.
  • Page 126: Activate Nat/Napt

    11 • NAT/NAPT configuration SmartWare Software Configuration Guide Command Purpose Step 3 node (pf-napt)[ name ]#static Creates a Static NAPT entry: local-ip / local-port is (optional) { udp | tcp } local-ip local-port mapped to global-ip / global-port . If global-port is [ global-ip ] [ global-port ] omitted, local-port is used on both sides.
  • Page 127: Displaying Nat/Napt Configuration Information

    SmartWare Software Configuration Guide 11 • 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 128 11 • 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...
  • Page 129: Ethernet Port Configuration

    Chapter 12 Ethernet port configuration Chapter contents Introduction ................................128 Ethernet port configuration task list ........................128 Entering the Ethernet port configuration mode ....................129 Configuring medium for an Ethernet port ....................129 Configuring Ethernet encapsulation type for an Ethernet port ..............130 Binding an Ethernet port to an IP interface ....................130 Selecting the frame format for an Ethernet port ....................131...
  • Page 130: Introduction

    This chapter provides an overview of Ethernet ports and describes the tasks involved in configuring Ethernet ports through the Patton 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.
  • Page 131: Entering The Ethernet Port Configuration Mode

    SmartWare Software Configuration Guide 12 • 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 7.
  • Page 132: Configuring Ethernet Encapsulation Type For An Ethernet Port

    12 • Ethernet port configuration SmartWare Software Configuration Guide Note The following restrictions apply: • SN1x00: Both Ethernet ports support 10 Mbps half-duplex • SN2300: Ethernet port 0/1 supports 10 Mbps half-duplex • SN4xxx: Ethernet port 0/1 pretends to be a 100-Mbps port. However the speed is internally limited to 10 Mbps.
  • Page 133: Selecting The Frame Format For An Ethernet Port

    SmartWare Software Configuration Guide 12 • Ethernet port configuration Figure 29 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 29. 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...
  • Page 134: Configuring Layer 2 Cos To Service Class Mapping For An Ethernet Port

    12 • Ethernet port configuration SmartWare Software Configuration Guide • standard—Sends standard IEEE 802.3 Ethernet frames 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...
  • Page 135: Adding A Receive Mapping Table Entry

    SmartWare Software Configuration Guide 12 • Ethernet port configuration The cos rx-map and cos tx-map commands above need service class mapping table entries, which has to be entered as additional command argument. The command syntax is: • cos rx-map—layer 2 class of service value as service class value •...
  • Page 136: Closing An Ethernet Port

    12 • Ethernet port configuration SmartWare Software Configuration Guide Mode: Configure Step Command Purpose node (cfg)#port ethernet slot port Enters Ethernet port configura- tion mode for the interface on slot and port node (prt-eth)[ slot/port ]#cos tx-map service class value as layer 2 class of Adds a transmit service value mapping table...
  • Page 137 SmartWare Software Configuration Guide 12 • Ethernet port configuration SN(cfg)#port ethernet 0 0 SN(prt-eth)[0/0]#shutdown Checking the state of the Ethernet port on slot 0 and port 0 shows that the interface was closed. SN(prt-eth)[0/1]#show port ethernet 0 1 Ethernet Configuration ------------------------------------- Port : ethernet 0 0 1...
  • Page 138 12 • Ethernet port configuration SmartWare Software Configuration Guide Ethernet port configuration task list...
  • Page 139: Link Scheduler Configuration

    Chapter 13 Link scheduler configuration Chapter contents Introduction ................................138 Quick references ..............................139 Setting the modem rate ..........................140 Command cross reference ..........................141 Link scheduler configuration task list........................141 Defining the access control list profile ......................141 Packet classification ..........................141 Creating an access control list ........................142 Assigning bandwidth to traffic classes ......................144...
  • Page 140: Introduction

    13 • 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 17, “Access control list configuration” on page 193 more information on the use of access control lists. This chapter includes the following sections: •...
  • Page 141: Quick References

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Figure 30. Service-Policy Profile devoted to an Interface The link arbiter controls outbound network traffic according to a service-policy profile devoted to a certain interface, as shown in figure 30. Take into account, that such an interface normally represents the very bottle- neck in the data transmission chain.
  • Page 142: Setting The Modem Rate

    13 • Link scheduler configuration SmartWare Software Configuration Guide Setting the modem rate To match the voice and data multiplexing to the capacity of the access link is, with SmartWare, just one of a variety of possible configurations that you can set. 1.
  • Page 143: Command Cross Reference

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Command cross reference Comparing SmartWare with the Cisco IOS QoS software command syntax often helps administrators to straightforwardly configure SmartNode devices. In table 8 the Cisco IOS Release 12.2 QoS commands are in contrast with the respective SmartWare commands.
  • Page 144: Creating An Access Control List

    13 • Link scheduler configuration SmartWare Software Configuration Guide In SmartWare access control lists are used for packet classification. Therefore a specific service policy has to be defined in a first step, which is used afterwards in an access control list as an optional class of service (cos) group. Refer to chapter 17, “Access control list configuration”...
  • Page 145 SmartWare Software Configuration Guide 13 • Link scheduler configuration At this point an only exemplary situation is described that shows the necessary steps to tag any outbound traffic from a Web server, since this is used for the scenario depicted in figure 31.
  • Page 146: Assigning Bandwidth To Traffic Classes

    13 • Link scheduler configuration SmartWare Software Configuration Guide 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 cos cos-name Creates an IP access con- trol list entry that permits access for host at IP address ip-address , and...
  • Page 147: Weighted Fair Queuing

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Note The SmartWare link scheduler before any other bandwidth sharing method always serves the priority scheme first. Weighted fair queuing With other traffic sources you do not know as well, you would normally want to specify that for example class A gets three times the bandwidth of class B and that-no matter how many class A packets arrive-B packets will still be served.
  • Page 148 13 • Link scheduler configuration SmartWare Software Configuration Guide each stage the branch to be served is chosen until at the level of a leaf the respective class is chosen. This proce- dure is called hierarchical scheduling. The hierarchical notation has two advantages: •...
  • Page 149: Creating A Top-Level Service Policy Profile

    SmartWare Software Configuration Guide 13 • Link scheduler configuration voice has absolute priority and is therefore effectively bypassing the link arbiter, as shown in figure 33. The VPN class gets at least 30%, the Web class gets at least 40%, and the Low_Priority policy gets 30% of the overall band- width.
  • Page 150 13 • Link scheduler configuration SmartWare Software Configuration Guide • Rate limit definition, that limits the overall output bandwidth on an IP interface • Definitions of several source classes or policy, each defining the characteristics of handling a certain traffic type.
  • Page 151 SmartWare Software Configuration Guide 13 • Link scheduler configuration Mode: Configure Step Command Purpose node (cfg)# profile service-policy name Creates a new service policy profile named name node (pf-srvpl)[ name ]#rate-limit value Limits global interface rate to value in kbps. Be aware, that the actual rate- limit on a given interface has to be defined for reliable operation.
  • Page 152: Specifying Source Classes Or Lower Level Source Policy Profiles

    13 • Link scheduler configuration SmartWare Software Configuration Guide Note Keep in mind that the class local-default comprises all other classes originat- ing from the SmartNode itself, which are not explicitly stated within the ser- vice policy profile. Specifying source classes or lower level source policy profiles Several commands are available to specify how source classes or lower level source policy profiles have to behave when transferring packet belonging to them.
  • Page 153: Defining The Maximum Queue Length

    SmartWare Software Configuration Guide 13 • Link scheduler configuration Defining the maximum queue length The command queue-limit specifies the maximum number of packets queued for the class name. Excess pack- ets are dropped. Used in “class” mode—queuing only happens at the leaf of the arbitration hierarchy tree. The no form of this command reverts the queue-limit to the internal default value, which depends on your config- uration.
  • Page 154: Specifying The Precedence Field

    13 • Link scheduler configuration SmartWare Software Configuration Guide Mode: Source Command Purpose node (src)[ name ]#set ip tos value Defines the type-of-service (TOS) value applied to packets of for the selected class or policy name . Valid values for value are 0, 1, 2, 4, and 8, as given in on page 151.
  • Page 155 SmartWare Software Configuration Guide 13 • Link scheduler configuration of the DS field and conditioning of the temporal behavior of marked packets need only be performed at net- work boundaries and may vary in complexity. In the IP header field, called the DS (for differentiated services) field is illustrated. Six bits of the DS field are used as a codepoint (DSCP) to select the per-hop behavior (PHB) a packet experiences at each node.
  • Page 156: Specifying Layer 2 Marking

    13 • Link scheduler configuration SmartWare Software Configuration Guide The command set ip dscp sets the DS field applied to packets of the class name. Shaping may be applied to make the class conformant. The no form of this command disables packet marking. This procedure describes defining the codepoints in the DS field Mode: Source Command...
  • Page 157: Discarding Excess Load

    SmartWare Software Configuration Guide 13 • Link scheduler configuration “queue-limit”. This improves the performance of TCP flow-control. A burst-tolerance index between 1 and 10 may optionally be specified (exponential filter weight). The no form of this command reverts the queue to default “tail-drop”...
  • Page 158: Devoting The Service Policy Profile To An Interface

    13 • 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 38.
  • Page 159: Displaying Link Arbitration Status

    SmartWare Software Configuration Guide 13 • Link scheduler configuration The following example shows how to attach the service policy profile Voice_Prio to the IP interface wan that is defined within the IP context for outgoing traffic. SN>enable SN#configure SN(cfg)#context ip router SN(ctx-ip)[router]#interface wan SN(if-ip)[wan]#use profile service-policy Voice_Prio out Displaying link arbitration status...
  • Page 160: Enable Statistics Gathering

    13 • Link scheduler configuration SmartWare Software Configuration Guide Enable statistics gathering Using the debug queue statistics commands enables statistic gathering of link scheduler operations. The command has optional value, which defines the level of detail. The value is in the range from 1 to 6. In table 12 below the values and their implications are compiled.
  • Page 161: Serial Port Configuration

    Chapter 14 Serial port configuration Chapter contents Introduction ................................160 Serial port configuration task list .........................160 Disabling an interface ...........................161 Enabling an interface ............................161 Configuring the serial encapsulation type ......................162 Configuring the hardware port protocol ......................163 Configuring the active clock edge ........................164 Enter Frame Relay mode ..........................165...
  • Page 162: Introduction

    14 • Serial port configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of the serial port and describes the tasks involved in configuring the serial port through the Patton SmartWare, it includes the following sections: • Serial port configuration task List •...
  • Page 163: Disabling An Interface

    SmartWare Software Configuration Guide 14 • Serial port configuration 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. This is to prevent anomalies and hardware faults. When you shut down an interface, it has the state CLOSED in the show port serial command display.
  • Page 164: Configuring The Serial Encapsulation Type

    14 • Serial port configuration SmartWare Software Configuration Guide 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 Enable the interface node (prt-ser)[ slot/port ]#show port serial Displays the serial interface configuration. Example: Enabling an interface The example shows how to enable the built-in serial interface on slot 0 and port 0 of a SmartNode 2300 series device.
  • Page 165: Configuring The Hardware Port Protocol

    SmartWare Software Configuration Guide 14 • 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 2300 series device. Check that in the command output of show port serial Encapsulation is set to framerelay.
  • Page 166: Configuring The Active Clock Edge

    14 • Serial port configuration SmartWare Software Configuration Guide Example: Configuring the hardware port protocol The following example enables X.21 as hardware port protocol for the serial interface on slot 0 and port 0 of a SmartNode 2300 series device. Check that in the command output of show port serial Hardware Port is set to X.21.
  • Page 167: Enter Frame Relay Mode

    : framerelay Enter Frame Relay mode This section describes the tasks for configuring Frame Relay for the serial interface on a SmartNode series 2000 device, after setting the basic serial interface parameters according to the previous sections. This procedure desribes how to enter the Frame Relay configuration mode...
  • Page 168: Configuring The Keep-Alive Interval

    14 • Serial port configuration SmartWare Software Configuration Guide You can set one of the following three types of LMIs on SmartNode series 2000 devices: • ansi for ANSI T1.617 Annex D, • gof for “Group of 4”, which is the default for Cisco LMI, and •...
  • Page 169: Enabling Fragmentation

    SmartWare Software Configuration Guide 14 • Serial port configuration Enabling fragmentation SmartWare supports FRF.12 interface and end-to-end fragmentation of large IP packets to reduce the delay imposed on voice packets on slow links (less than 512 kps). As opposed to IP fragmentation (also supported by SmartWare) Frame Relay fragmentation is transparent to the IP layer thus leaving IP packets unchanged which may be important for IP based applications susceptible to IP fragmentation.
  • Page 170: Entering Frame Relay Pvc Configuration Mode

    14 • Serial port configuration SmartWare Software Configuration Guide The purpose of end-to-end FRF.12 fragmentation is to support real-time and non-real-time data packets on lower-speed links without causing excessive delay to the real-time data. The FRF.12 Implementation Agree- ment defines FRF.12 fragmentation. This standard was developed to allow long data frames to be fragmented into smaller pieces (fragments) and interleaved with real-time frames.
  • Page 171: Configuring The Pvc Encapsulation Type

    SmartWare Software Configuration Guide 14 • Serial port configuration Mode: Frame Relay Step Command Purpose node (frm-rel)[ slot/port ]#pvc dlci Enters the PVC configuration mode by assigning a DLCI number to be used on the specified sub interface Example: Entering Frame Relay PVC configuration mode The following example enters the configuration mode for PVC with the assigned DLCI of 1 for Frame Relay over the serial interface on slot 0 and port 0 of a SmartNode 2300 series device.
  • Page 172: Disabling A Frame Relay Pvc

    14 • Serial port configuration SmartWare Software Configuration Guide Frame Relay PVC. If serial Frame Relay PVC shall be used as WAN access a suitable name for the logical IP interface could be wan as in figure 39 below. Figure 39. IP interface ‘wan’ is bound to PVC 1 on port serial 0 0 This procedure desribes how to bind the Frame Relay PVC dlci on the serial interface to the logical IP interface name, which is related to the IP context router Mode: PVC...
  • Page 173: Displaying Frame Relay Information

    SmartWare Software Configuration Guide 14 • Serial port configuration Mode: PVC Step Command Purpose node (pvc)[dlci]#shutdown Disables the Frame Relay PVC dlci Example: Disabling a Frame Relay PVC The following example disables Frame Relay PVC 1 on the serial interface on slot 0 and port 0 of a SmartNode 2300 series device.
  • Page 174: Examples

    14 • Serial port configuration SmartWare Software Configuration Guide Example: Displaying Frame Relay information The following example displays the Frame Relay configuration settings for the serial interface. SN(cfg)#port serial 0 0 SN(prt-ser)[0/0]# show framerelay Framerelay Configuration: Port LMI-Type Keepalive Fragmentation ---------------------------------------------------------- serial 0 0 0 ansi...
  • Page 175: Displaying Frame Relay Information

    SmartWare Software Configuration Guide 14 • Serial port configuration Displaying Frame Relay information The following example shows the commands used to display Frame Relay configuration settings for a Smart- Node 2300 series device. Moreover a typical command output is listed below. SN>enable SN#configure SN(cfg)#show framerelay...
  • Page 176 14 • Serial port configuration SmartWare Software Configuration Guide a configuration, which has two dedicated PVCs on Frame Relay. The first PVC, labeled as PVC 1, connects to the MSP access device. The second PVC, labeled PVC 2, connects to the VPN provider access device on the leased line network.
  • Page 177 SmartWare Software Configuration Guide 14 • Serial port configuration SN(if-ip)[internal]#interface lan SN(if-ip)[lan]#exit SN(ctx-ip)[router]#interface internal SN(if-ip)[internal]#ipaddress 192.168.3.1 255.255.255.0 SN(if-ip)[internal]#interface external SN(if-ip)[external]#ipaddress 192.168.2.1 255.255.255.0 SN(if-ip)[external]#interface lan SN(if-ip)[lan]#ipaddress 192.168.1.1 255.255.255.0 3. We define a voice profile which gives priority to voice packets. We set the rate limit according to the band- width available for voice and data on PVC 1 (512kBits/sec in this case).
  • Page 178 14 • Serial port configuration SmartWare Software Configuration Guide ment size to 300 (Bytes) introduces an additional delay of at most 4.7ms (300 * 8 / 512k) but does not cause to much fragmentation overhead on large data packets. SN(frm-rel)[0/0]#pvc 1 SN(pvc)[1]#encapsulation rfc1490 SN(pvc)[1]#fragment 300 SN(pvc)[1]#bind interface external router...
  • Page 179: Basic Ip Routing Configuration

    Chapter 15 Basic IP routing configuration Chapter contents Introduction ................................178 Routing tables ...............................178 Static routing ..............................178 Basic IP routing configuration task list ........................178 Configuring static IP routes ..........................178 Deleting static IP routes ..........................179 Displaying IP route information ........................180 Examples ................................181 Basic static IP routing example ........................181...
  • Page 180: Introduction

    15 • 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.
  • Page 181: Deleting Static Ip Routes

    SmartWare Software Configuration Guide 15 • 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 des- tination is advertised.
  • Page 182: Displaying Ip Route Information

    15 • 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.
  • Page 183: Examples

    SmartWare Software Configuration Guide 15 • Basic IP routing configuration Examples Basic static IP routing example Figure 42 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.
  • Page 184 15 • Basic IP routing configuration SmartWare Software Configuration Guide Examples...
  • Page 185: Rip Configuration

    Chapter 16 RIP configuration Chapter contents Introduction ................................184 Routing protocol ..............................184 RIP configuration task list ...........................185 Enabling send RIP ............................185 Enabling an interface to receive RIP ......................186 Specifying the send RIP version ........................186 Specifying the receive RIP version .........................187 Enabling RIP learning ...........................187 Enabling an interface to receive RIP ......................188...
  • Page 186: Introduction

    16 • 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 185)
  • Page 187: Rip Configuration Task List

    SmartWare Software Configuration Guide 16 • 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).
  • Page 188: Enabling An Interface To Receive Rip

    16 • 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.
  • Page 189: Specifying The Receive Rip Version

    SmartWare Software Configuration Guide 16 • RIP configuration Specifying the receive RIP version By default, the SmartWare application software receives RIP version 1 and version 2 packets. The SmartWare application software allows receiving RIP version 1, version 2 or both version 1 and version 2 packets. Alterna- tively, you can explicitly configure the RIP version to be received with the last command argument as following: •...
  • Page 190: Enabling An Interface To Receive Rip

    16 • 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...
  • Page 191: Enabling Rip Auto Summarization

    SmartWare Software Configuration Guide 16 • 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...
  • Page 192: Enabling Rip Split-Horizon Processing

    16 • 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.
  • Page 193: Enabling Holding Down Aged Routes

    SmartWare Software Configuration Guide 16 • 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...
  • Page 194: Displaying Global Rip Information

    16 • 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...
  • Page 195: Access Control List Configuration

    Chapter 17 Access control list configuration Chapter contents Introduction ................................194 About access control lists .............................194 What access lists do ............................194 Why you should configure access lists ......................194 When to configure access lists ........................195 Features of access control lists ........................195 Access Control List configuration task list ......................196 Map out the goals of the access control list ....................196...
  • Page 196: Introduction

    17 • 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 the Patton SmartWare. This chapter includes the following sections: • About access control lists •...
  • Page 197: When To Configure Access Lists

    SmartWare Software Configuration Guide 17 • 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 43 host A is allowed to access the Human Resources network and host B is prevented from accessing the Human Resources network.
  • Page 198: Access Control List Configuration Task List

    17 • 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 crite- ria 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.
  • Page 199: Create An Access Control List Profile And Enter Configuration Mode

    SmartWare Software Configuration Guide 17 • 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 200 17 • 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...
  • Page 201: Add An Icmp Filter Rule To The Current Access Control List Profile

    SmartWare Software Configuration Guide 17 • Access control list configuration Add 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 202 17 • 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.
  • Page 203: Add A Tcp, Udp Or Sctp Filter Rule To The Current Access Control List Profile

    SmartWare Software Configuration Guide 17 • 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)# Add 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 204 17 • 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.
  • Page 205: Bind And Unbind An Access Control List Profile To An Ip Interface

    SmartWare Software Configuration Guide 17 • Access control list configuration Bind and unbind 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...
  • Page 206: Display An Access Control List Profile

    17 • 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 207 SmartWare Software Configuration Guide 17 • 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...
  • Page 208: Examples

    17 • Access control list configuration SmartWare Software Configuration Guide Examples Deny a specific subnet Figure 44 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. Therefore an incoming filter rule named Jam- ming is defined, which blocks any IP traffic from network 172.16.2.0 and has to be bound to IP interface lan.
  • Page 209: Snmp Configuration

    Chapter 18 SNMP Configuration Chapter contents Introduction ................................208 Simple Network Management Protocol (SNMP) ....................208 SNMP basic components ..........................208 SNMP basic commands ..........................208 SNMP management information base (MIB) ....................209 Network management framework .........................209 Identification of the SmartNode 1000, 2000 and 4000 Series via SNMP ............210 SNMP tools.................................211...
  • Page 210: Introduction

    18 • 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 the Patton SmartWare. This chapter includes the following sections: •...
  • Page 211: Snmp Management Information Base (Mib)

    SmartWare Software Configuration Guide 18 • SNMP Configuration • The read command is used by an NMS to monitor managed devices. The NMS examines different vari- ables that are maintained by managed devices. • The write command is used by an NMS to control managed devices. The NMS changes the values of vari- ables stored within managed devices.
  • Page 212: Identification Of The Smartnode 1000, 2000 And 4000 Series Via Snmp

    18 • SNMP Configuration SmartWare Software Configuration Guide • A set of fundamental applications described in RFC 2573 “SNMP Applications” and the view-based access control mechanism described in RFC 2575 “View-Based Access Control Model (VACM) for the Simple Network Management Protocol (SNMP)”. 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.
  • Page 213: Snmp Tools

    SmartWare Software Configuration Guide 18 • SNMP Configuration Table 14. SmartNode Models and their Unique sysObjectID (Continued) SmartNode Model SysObjectID .iso.org.dod.internet.private.enterprises.inalp.products.sn4000.sn4114 SmartNode 4114 1.3.6.1.4.1. 5349.2.4.5.6 SmartNode 4116 .iso.org.dod.internet.private.enterprises.inalp.products.sn4000.sn4116 1.3.6.1.4.1. 5349.2.4.5.7 SmartNode 4118 .iso.org.dod.internet.private.enterprises.inalp.products.sn4000.sn4118 1.3.6.1.4.1. 5349.2.4.5.8 SmartNode 4522 .iso.org.dod.internet.private.enterprises.inalp.products.sn4000.sn4522 1.3.6.1.4.1. 5349.2.4.5.2 SmartNode 4524 .iso.org.dod.internet.private.enterprises.inalp.products.sn4000.sn4524 1.3.6.1.4.1.
  • Page 214: Setting Basic System Information

    18 • SNMP Configuration SmartWare Software Configuration Guide • Displaying SNMP related information (optional) (see page 216) 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 215 SmartWare Software Configuration Guide 18 • 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 “*”. •...
  • Page 216: Setting Access Community Information

    18 • SNMP Configuration SmartWare Software Configuration Guide Setting access community information SNMP makes use of 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 Management Information Base (MIB).
  • Page 217: Setting Allowed Host Information

    SmartWare Software Configuration Guide 18 • SNMP Configuration have access to the information from the SNMP agent running on the respective SmartNode 1000, 2000 or 4000 series device. SN2300-01(cfg)#snmp community public ro SN2300-01(cfg)#snmp community Not4evEryOne rw Note If no community is set on your SmartNode accessing any of the MIB objects is not possible! Setting allowed host information If a host has to access SNMP MIB objects on a certain node it explicitly needs the right to access the SNMP...
  • Page 218: Displaying Snmp Related Information

    18 • 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 IP- security-name community address-of-node that receives trap messages of this SmartNode 1000, 2000 or 4000 series device,...
  • Page 219: Using The Adventnet Snmp Utilities

    SmartWare Software Configuration Guide 18 • 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.
  • Page 220: Using The Trapviewer

    18 • SNMP Configuration SmartWare Software Configuration Guide • The same can be done through clicking the MibBrowser settings button on the toolbar. See figure Figure 46. 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 221 SmartWare Software Configuration Guide 18 • 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. •...
  • Page 222: Standard Snmp Version 1 Traps

    18 • SNMP Configuration SmartWare Software Configuration Guide The various details available in the Trap Details window are listed in table 15: Table 15. Details available in the Trap Details window Trap Details Description TimeStamp The TimeStamp is a 32-bit unsigned value indicating the number of cent seconds that have elapsed since the (re)start of the SNMP agent and the sending of the trap.
  • Page 223 SmartWare Software Configuration Guide 18 • 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...
  • Page 224: Snmp Interface Traps

    18 • 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 emits Interface Traps (‘linkUp’, ‘linkDown’) when the status of logical or physical interfaces change.
  • Page 225: Sntp Client Configuration

    Chapter 19 SNTP client configuration Chapter contents Introduction ................................224 SNTP client configuration task list ........................224 Selecting SNTP time servers .........................225 Defining SNTP client operating mode ......................225 Defining SNTP local UDP port ........................226 Enabling and disabling the SNTP client .......................227 Defining SNTP client poll interval .......................227 Defining SNTP client constant offset to GMT .....................227...
  • Page 226: Introduction

    19 • 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 231) The Simple Network Time Protocol (SNTP) is an adaptation of the Network Time Protocol (NTP) that is...
  • Page 227: Selecting Sntp Time Servers

    SmartWare Software Configuration Guide 19 • 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 ip-address Enters the SNTP primary server IP address node (cfg)#sntp-client server secondary ip-address Enters the SNTP secondary server IP...
  • Page 228: Defining Sntp Local Udp Port

    19 • 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.
  • Page 229: Enabling And Disabling The Sntp Client

    SmartWare Software Configuration Guide 19 • SNTP client configuration Enabling and disabling the SNTP client The SNTP client is disabled as default and has to be enabled if clock synchronization shall be used. This proce- dure describes how to enable or disable the SNTP client Mode: Configure Step Command...
  • Page 230: Defining The Sntp Client Anycast Address

    19 • 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.
  • Page 231: Enabling And Disabling Local Clock Offset Compensation

    SmartWare Software Configuration Guide 19 • 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.
  • Page 232: Showing Sntp Client Related Information

    19 • 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.
  • Page 233: Recommended Public Sntp Time Servers

    SmartWare Software Configuration Guide 19 • 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 >...
  • Page 234: Other Public Ntp Primary (Stratum 1) Time Servers

    19 • SNTP client configuration SmartWare Software Configuration Guide Table 16. Time servers operated by NIST (Continued) Server Name IP Address Note Location time-c.timefreq.bldrdoc.gov 132.163.4.103 Colorado 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.
  • Page 235: Additional Information On Ntp And A List Of Other Ntp Servers

    SmartWare Software Configuration Guide 19 • SNTP client configuration • Geographic Coordinates: 49.573N 11.028E (from Meinberg GPS 166) • Synchronization: NTP V3 primary (DCF77 PZF receiver (<50us)), Sun E3000 SunOS 5.6 • Service Area: Germany/Europe • Access Policy: open access, pick one of ntp{0,1,2}.fau.de •...
  • Page 236 19 • SNTP client configuration SmartWare Software Configuration Guide Recommended public SNTP time servers...
  • Page 237: Dhcp Configuration

    Chapter 20 DHCP configuration Chapter contents Introduction ................................236 DHCP-client configuration tasks.........................237 Enable DHCP-client on an IP interface ......................237 Release or renew a DHCP lease manually (advanced) ...................238 Get debug output from DHCP-client ......................239 DHCP-server configuration tasks ........................240 Configure DHCP-server profiles ........................240 Use DHCP-server profiles and enable the DHCP-server ................242...
  • Page 238: Introduction

    20 • 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 configuring them. This chapter includes the following sections: • DHCP-client configuration tasks (see page 237) •...
  • Page 239: Dhcp-Client Configuration Tasks

    SmartWare Software Configuration Guide 20 • 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 49. DHCP-client and DHCP-server on the SmartNode DHCP-client configuration tasks To configure the SmartNode as DHCP-client perform the steps mentioned below.
  • Page 240: Release Or Renew A Dhcp Lease Manually (Advanced)

    20 • 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’...
  • Page 241: Get Debug Output From Dhcp-Client

    SmartWare Software Configuration Guide 20 • 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 has lost after entering the command dhcp-client release.
  • Page 242: Dhcp-Server Configuration Tasks

    20 • 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 243 SmartWare Software Configuration Guide 20 • 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-...
  • Page 244: Use Dhcp-Server Profiles And Enable The Dhcp-Server

    20 • 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...
  • Page 245: Check Dhcp-Server Configuration And Status

    SmartWare Software Configuration Guide 20 • 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 246 20 • 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 >...
  • Page 247: Ppp Configuration

    Chapter 21 PPP configuration Chapter contents Introduction ................................246 PPP configuration task list...........................247 Creating an IP interface for PPP ........................247 Creating a PPP subscriber ..........................249 Configuring a PPPoE session ........................250 Configuring a serial port for PPP ........................252 Creating a PPP profile ...........................253 Displaying PPP configuration information ....................254...
  • Page 248: Introduction

    21 • 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 et al.. SmartWare offers PPP over the following link layers: •...
  • Page 249: Ppp Configuration Task List

    SmartWare Software Configuration Guide 21 • PPP configuration its own IP interface. In addition to these PPPoE Sessions, pure IP traffic can run concurrently over the same Ethernet port. This is achieved by binding the Ethernet port directly to an IP interface. PPP configuration task list To configure PPP, perform the following tasks: •...
  • Page 250 21 • 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.
  • Page 251: Creating A Ppp Subscriber

    SmartWare Software Configuration Guide 21 • 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 11, “NAT/NAPT configu- ration” on page 119 on page 119 to learn how to create a NAPT profile.
  • Page 252: Configuring A Pppoe Session

    21 • 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 253 SmartWare Software Configuration Guide 21 • 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: •...
  • Page 254: Configuring A Serial Port For Ppp

    21 • 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...
  • Page 255: Creating A Ppp Profile

    SmartWare Software Configuration Guide 21 • PPP configuration Example: Configure a serial port for PPP The procedure below configures the serial port for a leased-line connection to an Internet Service Provider using the credentials specified in the subscriber profile above. SN(cfg)#port serial 0 0 SN(prt-ser)[0/0]#encapsulation ppp SN(prt-ser)[0/0]#bind subscriber joe_example...
  • Page 256: Displaying Ppp Configuration Information

    21 • PPP configuration SmartWare Software Configuration Guide Step Command Purpose node (pf-ppp)[name]#[no] van-jacobson Allows PPP to use Van Jacobson header com- (optional) {compression|decompression} max-slots pression for TCP packets. Only the negotiation max-slots between the PPP peers determines whether this header compression is really used.
  • Page 257 SmartWare Software Configuration Guide 21 • PPP configuration Example: Display PPP subscriber configuration information SN(session)[green]#show subscriber ppp joe_example Subscribers: ------------ Name: joe_example Direction: dial-out Authentication: Identification (inbound): (none) Identification (outbound): inalp/inalp Timeout for disconnect: no absolute timeout, no idle timeout Max.
  • Page 258: Debugging Ppp

    21 • PPP configuration SmartWare Software Configuration Guide 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 259 SmartWare Software Configuration Guide 21 • PPP configuration 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 260 21 • PPP configuration SmartWare Software Configuration Guide 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.
  • Page 261 SmartWare Software Configuration Guide 21 • PPP configuration Example: Display PPP network protocol information SN(session)[green]#show ppp networks 4 PPP Network Information: ======================== Network: Name: ethernet 0 0 0/pppoe/ppp_green/net State: IPCP: Name: ethernet 0 0 0/pppoe/ppp_green/net State: Opened Conf-Req send rate: 3000ms Max.
  • Page 262: Sample Configurations

    21 • PPP configuration SmartWare Software Configuration Guide Service: Access-Concentrator: State: Opened Sent Initiations: Sent Requests: Peer Session-ID: 3786 Peer MAC-Address: 00:01:02:B8:4E:E4 Sample configurations PPP over Ethernet (PPPoE) Without authentication, encapsulation multi, with NAPT profile napt WAN context ip router interface normal_ip_interface ipaddress 172.16.1.1 255.255.0.0 interface ppp_interface...
  • Page 263: Ppp Over Serial Link

    SmartWare Software Configuration Guide 21 • PPP configuration dial out authentication pap identification outbound <user> password <password> bind interface ppp_interface router port ethernet 0 0 encapsulation pppoe no shutdown pppoe session green bind subscriber joe_example no shutdown PPP over serial link Without authentication, numbered interface context ip router interface ppp_interface...
  • Page 264 21 • PPP configuration SmartWare Software Configuration Guide Sample configurations...
  • Page 265: Vpn Configuration

    Chapter 22 VPN configuration Chapter contents Introduction ................................264 Authentication ..............................264 Encryption ..............................264 Transport and tunnel modes .........................265 Key management ............................265 VPN configuration task list ..........................265 Creating an IPsec transformation profile .......................265 Creating an IPsec policy profile ........................266 Creating/modifying an outgoing ACL profile for IPsec .................268 Configuration of an IP interface and the IP router for IPsec ................269...
  • Page 266: Introduction

    22 • VPN configuration SmartWare Software Configuration Guide Introduction This chapter describes how to configure the VPN connections between two SmartNodes or between a Smart- Node and a third-party device. This chapter includes the following sections: • VPN Configuration Task List •...
  • Page 267: Transport And Tunnel Modes

    SmartWare Software Configuration Guide 22 • VPN configuration The single DES algorithm does not offer adequate security any longer because of its short key length. A key length of at least 100 Bit is recommended. The AES algorithm is very efficient and allows the fastest encryp- tion.
  • Page 268: Creating An Ipsec Policy Profile

    22 • 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 269 SmartWare Software Configuration Guide 22 • 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...
  • Page 270: Creating/Modifying An Outgoing Acl Profile For Ipsec

    22 • VPN configuration SmartWare Software Configuration Guide Example: Create an IPsec Policy Profile The following example defines a profile for AES-encryption at a key length of 128. SN(cfg)#profile ipsec-policy-manual ToBerne SN(pf-ipsma)[ToBerne]#use profile ipsec-transform AES_128 SN(pf-ipsma)[ToBerne]#session-key inbound esp-encryption 1234567890ABCDEF1234567890ABCDEF SN(pf-ipsma)[ToBerne]#session-key outbound esp-encryption FEDCBA0987654321FEDCBA0987654321 SN(pf-ipsma)[ToBerne]#spi inbound esp 1111 SN(pf-ipsma)[ToBerne]#spi outbound esp 2222...
  • Page 271: Configuration Of An Ip Interface And The Ip Router For Ipsec

    SmartWare Software Configuration Guide 22 • 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.
  • Page 272: Debugging Ipsec

    22 • VPN configuration SmartWare Software Configuration Guide Example: Display IPsec Transformation Profiles SN(cfg)#show profile ipsec-transform IPSEC transform profiles: Name: AES_128 ESP Encryption: AES-CBC, Key length: 128 Example: Display IPsec Policy Profiles SN(cfg)#show profile ipsec-policy-manual Manually keyed IPSEC policy profiles: Name: ToBerne, Peer: 200.200.200.1, Mode: tunnel, transform-profile: AES_128 ESP SPI Inbound: 1111, Outbound: 2222 ESP Encryption Key Inbound: 1234567890ABCDEF1234567890ABCDEF...
  • Page 273: Sample Configurations

    SmartWare Software Configuration Guide 22 • VPN configuration Bytes (processed/lifetime) Seconds (age/lifetime) 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: •...
  • Page 274: Cisco Router Configuration

    22 • VPN configuration SmartWare Software Configuration Guide interface WAN ipaddress 200.200.200.2 255.255.255.252 use profile acl VPN_In in use profile acl VPN_Out out context ip router route 0.0.0.0 0.0.0.0 200.200.200.1 0 route 172.16.0.0 255.255.0.0 WAN 0 Cisco Router Configuration crypto ipsec transform-set DES esp-des crypto map VPN_DES local-address FastEthernet0/1 crypto map VPN_DES 10 ipsec-manual set peer 200.200.200.2...
  • Page 275: Cisco Router Configuration

    SmartWare Software Configuration Guide 22 • 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 276 22 • VPN configuration SmartWare Software Configuration Guide set peer 200.200.200.2 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 Rest of the configuration, see above, just change the name of the IPsec Policy Profile in the ACL profile ‘VPN_Out’...
  • Page 277: Cs Context Overview

    Chapter 23 CS context overview Chapter contents Introduction ................................276 CS context configuration task list ........................277 Plan the CS configuration ..........................277 Configure general CS settings ........................280 Configure call routing ..........................281 Create and configure CS interfaces ......................282 Specify call routing ..........................282 Configure dial tones ............................282 Configure Voice over IP parameters ......................283...
  • Page 278: Introduction

    23 • CS context overview SmartWare Software Configuration Guide Introduction This chapter gives an overview of the SmartWare circuit-switching (CS) context and its associated components and describes the tasks involved in its configuration. If you want understand the CS entity configuration you should read this chapter.
  • Page 279: Cs Context Configuration Task List

    SmartWare Software Configuration Guide 23 • CS context overview CS context configuration task list The information that is needed for the CS entity configuration is distributed among several configuration tasks, depending on its logical content. For example, all related information that pertains to call routing is described in configuration task “Configure call routing”...
  • Page 280 23 • CS context overview SmartWare Software Configuration Guide location you get your clock source. If your clock for packaging the ISDN voice frames is not synchronized with the remote ISDN clock, this may result in bit errors. In case of fax applications not one page could be transmitted. •...
  • Page 281 SmartWare Software Configuration Guide 23 • CS context overview Figure 52. Remote office in an enterprise network You must not start configure the CS context and its components until you have finished planning your voice environment. The following sectons explain how to realize the planned voice environment into the SmartWare CS context configuration task list...
  • Page 282: Configure General Cs Settings

    23 • CS context overview SmartWare Software Configuration Guide CS configuration. The IP configuration is not a topic in this example. For more information on IP configura- tion refer to chapter 9, “IP context overview” on page 101. Configure general CS settings There are several parameters which can not be collected into one specific configuration task, because they are independent of the rest of the CS context configuration and apply mostly to a whole interface card or even to the whole SmartNode.
  • Page 283: Configure Call Routing

    SmartWare Software Configuration Guide 23 • CS context overview Example: The following example configures the general CS parameters SN>enable SN#configure SN(cfg)#system SN(sys)#no bypass-mode SN(sys)#clock-source 1 0 SN(sys)#synchronize-to-isdn-time SN(sys)#ic voice 1 SN(ic-voice)[1]#pcm law-select aLaw SN(ic-voice)[1]#exit Configure call routing Calls through a SmartNode can be routed according to a set of routing criteria. The entity that manages call routing is called Session Router.
  • Page 284: Create And Configure Cs Interfaces

    23 • CS context overview SmartWare Software Configuration Guide Create and configure CS interfaces SmartWare currently supports one instance of the CS context. The name of this instance is ”switch”. The name and number of CS interfaces depends on your own configuration. The interfaces on the CS context represent logical connections to other equipment or networks.
  • Page 285: Configure Voice Over Ip Parameters

    SmartWare Software Configuration Guide 23 • CS context overview Configure Voice over IP parameters In SmartWare there are many parameters that is possible to configure which can affect a voice over IP connec- tion. SmartWare supports two different protocols that transmit voice packets over IP, the Patton Electronics Co.
  • Page 286: Configure A H.323 Voip Connection

    23 • CS context overview SmartWare Software Configuration Guide The call signaling method specifies the call setups to the destination SmartNode. In ISoIP there is one configu- ration methods, 'direct call signaling'. This means that every ISoIP call needs the IP address of the destination SmartNode.
  • Page 287 SmartWare Software Configuration Guide 23 • CS context overview Note You can modify the configuration at runtime, but changes will not be active immediately. It is not necessary to shutdown the CS context prior to making any configuration changes, but if the CS context is not activated with the command no shutdown the newly created or changed configuration is not loaded! There are several possibilities to show the actual CS context configuration.
  • Page 288: Situation

    23 • CS context overview SmartWare Software Configuration Guide 00:01:39 > Loading and linking complete... 00:01:39 > Following voice interfaces have been loaded: 00:01:39 > callapp 00:01:39 > H323_IF 00:01:39 > ISDN 00:01:39 > Following routing tables have been loaded: 00:01:39 >...
  • Page 289: Plan The Cs Context

    SmartWare Software Configuration Guide 23 • CS context overview Figure 54. SmartNode in an Enterprise Network Plan the CS context The configuration described above implies the following configuration: • It is very important to specify from where to get the clock source for the packaging of the ISDN voice frames.
  • Page 290: Configure General Cs Settings

    23 • CS context overview SmartWare Software Configuration Guide • We enable DTMF relay. (Refer to section “Configure Voice over IP settings” on page 289) • We specify codec G.723, likewise we define H.323 'direct call signaling'. (Refer to section “Configure H.323 VoIP connection”...
  • Page 291: Configure Voice Over Ip Settings

    SmartWare Software Configuration Guide 23 • CS context overview SN(if-pstn)[PublicP~]#exit SN(ctx-cs)[switch]# In addition we create the two H.323 interfaces and configure call routing: SN(ctx-cs)[switch]#interface h323 CompanyOfficeA SN(if-h323)[Company~]#routing dest-table calledNumberRouting SN(if-h323)[Company~]#remoteip 146.86.130.11 SN(if-h323)[Company~]#exit SN(ctx-cs)[switch]#interface h323 CompanyOfficeB SN(if-h323)[Company~]#routing dest-table calledNumberRouting SN(if-h323)[Company~]#remoteip 146.86.130.24 SN(if-h323)[Company~]#exit SN(ctx-cs)[switch]# Last we configure the Session Router:...
  • Page 292: Configure H.323 Voip Connection

    23 • CS context overview SmartWare Software Configuration Guide SN(prt-isdn)[2/0]#up SN(prt-isdn)[2/0]#exit SN(cfg)# SN(cfg)# SN(cfg)#port isdn 2 2 SN(prt-isdn)[2/0]#down SN(prt-isdn)[2/0]#channel-range 0 1 SN(prt-isdn)[2/0]#l2proto pp SN(prt-isdn)[2/0]#l3proto dss1 SN(prt-isdn)[2/0]#max-channels 2 SN(prt-isdn)[2/0]#uni-side usr SN(prt-isdn)[2/0]#up SN(prt-isdn)[2/0]#exit SN(cfg)# SN(cfg)# SN(cfg)#port isdn 2 3 SN(prt-isdn)[2/0]#down SN(prt-isdn)[2/0]#channel-range 0 1 SN(prt-isdn)[2/0]#l2proto pp SN(prt-isdn)[2/0]#l3proto dss1 SN(prt-isdn)[2/0]#max-channels 2...
  • Page 293: Activate Cs Context Configuration

    SmartWare Software Configuration Guide 23 • CS context overview SN(cfg)# Activate CS context configuration Prior to activating our configuration we use two 'show' commands to display part of our configuration: SN(cfg)#show context cs config Following session-router configuration sets are available: switch Interfaces: CompanyOfficeB...
  • Page 294: Show The Running Configuration

    23 • CS context overview SmartWare Software Configuration Guide 02:47:59 > Classifier is resolving interface references... 02:47:59 > Loading session router tables... 02:47:59 > Resolving routing table references within routing tables... 02:47:59 > Resolving interface references within routing tables... 02:47:59 >...
  • Page 295 SmartWare Software Configuration Guide 23 • CS context overview bind port 2 1 interface pstn PublicPSTN routing dest-table CalledNumberRouting bind port 0 1 interface h323 CompanyOfficeA routing dest-table CalledNumberRouting remoteip 146.86.130.11 codec g711alaw64k interface h323 CompanyOfficeB routing dest-table CalledNumberRouting remoteip 146.86.130.24 codec g711alaw64k context cs switch no shutdown...
  • Page 296 23 • CS context overview SmartWare Software Configuration Guide port isdn 2 1 down channel-range 0 1 l2proto pp l3proto pss1 max-channels 2 uni-side net port isdn 2 2 down channel-range 0 1 l2proto pp l3proto dss1 max-channels 2 uni-side usr port isdn 2 3 down channel-range 0 1...
  • Page 297: Cs Interface Configuration

    Chapter 24 CS interface configuration Chapter contents Introduction ................................296 CS interface configuration task list ........................297 Create and configure CS interfaces ........................297 Configure call routing ...........................298 Configure digit collection ..........................299 Configure direct call signaling on VoIP interfaces ..................300 Specify the port address on VoIP interfaces ....................301 Bind PSTN interfaces to PSTN ports and create line hunt groups ..............303...
  • Page 298: Configuration

    24 • 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 configur- ing them. Within the CS context of SmartWare, an interface is a logical entity providing call routing for incoming and outgoing calls to and from ISDN ports and voice over IP gateways.
  • Page 299: Cs Interface Configuration Task List

    SmartWare Software Configuration Guide 24 • CS interface configuration H.323 and ISoIP interfaces are CS interface types that provides voice over IP settings in addition to the general CS interface parameters. All H.323 and ISoIP interface on the CS context are implicitly bound to the H.323 or ISoIP gateway through SmartWare.
  • Page 300: Configure Call Routing

    24 • CS interface configuration SmartWare Software Configuration Guide Step Command Purpose node (ctx-cs)[ switch ]#show context cs con- Display already defined CS interfaces. fig node (ctx-cs)[ switch ]#interface if-type <?> node (ctx-cs)[ switch ]#no interface if-type if- Delete an already defined interface. name Examples: Create an CS interface and delete another The following example shows how to create and configure an interface, how to display it and how to...
  • Page 301: Configure Digit Collection

    SmartWare Software Configuration Guide 24 • CS interface configuration Mode: Context CS Step Command Purpose node (ctx-cs)[switch]#interface if-type if-name Enter CS Interface Configuration Mode and configure interface if-type with name if-name node ( if-type )[ if-name ]#routing dest-interface name Specify a destination interface for incoming calls node ( if- type )[ if-name ]#fallback dest-interface name Specify a fallback interface for...
  • Page 302: Configure Direct Call Signaling On Voip Interfaces

    24 • CS interface configuration SmartWare Software Configuration Guide Figure 57. Digit collection in a H.323/ISoIP interface Collected overlap dialed digits are sent providing that they comply with one or a combination of three criteria: elapse a specific timeout, receive a specific character or receive a specified number of dialed digits. This procedure describes how to configure the digit collection Mode: Interface below Context CS Step...
  • Page 303: Specify The Port Address On Voip Interfaces

    SmartWare Software Configuration Guide 24 • CS interface configuration addresses automatically by a gatekeeper. This is called 'gatekeeper routed call signaling'. To configure an H.323 interface for 'gatekeeper routed call signaling' refer to chapter 20, “DHCP configuration” on page 235. Note If you specify direct call signaling for an H.323 connection make sure that the registration authentication service (RAS) is disabled.
  • Page 304 24 • CS interface configuration SmartWare Software Configuration Guide Note If you use this feature on a H.323 interface you have also to enable Q.931 tunneling as described in more detail in chapter 20, “DHCP configuration” on page 235. Note If no port address is specified for an interface, all calls with no port address are routed to that interface.
  • Page 305: Bind Pstn Interfaces To Pstn Ports And Create Line Hunt Groups

    SmartWare Software Configuration Guide 24 • CS interface configuration SN(ctx-cs)[switch]#interface h323 EnterpriseGateway SN(if-h323)[Enterpr~]#portaddress 5 SN(if-h323)[Enterpr~]#exit SN(ctx-cs)[switch]#exit SN(cfg)#gateway h323 h323 SN(gw-h323)[h323]#q931-tunneling SN(gw-h323)[h323]# Bind PSTN interfaces to PSTN ports and create line hunt groups In order to become functional the PSTN interface must be bound to the physical PSTN port from which it receives incoming calls and to which it forwards outgoing calls.
  • Page 306 24 • CS interface configuration SmartWare Software Configuration Guide Figure 59. V5 carrier access scenario First we configure the CS interfaces and the call routing. We need two ISoIP interfaces and two PSTN inter- faces. Calls from the ISoIP interface are directly routed to the PSTN interface and vice versa: SN>enable SN#configure SN(cfg)#context cs...
  • Page 307 SmartWare Software Configuration Guide 24 • CS interface configuration SN(ctx-cs)[switch]#interface isoip IpBackbone101 SN(if-isoip)[IpBackb~]#routing dest-interface ISDNPhone101 SN(if-isoip)[IpBackb~]#exit SN(ctx-cs)[switch]#interface pstn ISDNPhone101 SN(if-pstn)[ISDNPho~]#routing dest-interface IpBackbone101 SN(if-pstn)[ISDNPho~]#exit SN(ctx-cs)[switch]#interface isoip IpBackbone102 SN(if-isoip)[IpBackb~]#routing dest-interface ISDNPhone102 SN(if-isoip)[IpBackb~]#exit SN(ctx-cs)[switch]#interface pstn ISDNPhone102 SN(if-pstn)[ISDNPho~]#routing dest-interface IpBackbone102 SN(if-pstn)[ISDNPho~]#exit SN(ctx-cs)[switch]# Next we specify the remote IP address for direct call signaling and set the port address: SN(ctx-cs)[switch]#interface isoip IpBackbone101 SN(if-isoip)[IpBackb~]#remoteip 172.21.1.1 SN(if-isoip)[IpBackb~]#portaddress 101...
  • Page 308: Q.sig Pbx Networking

    24 • CS interface configuration SmartWare Software Configuration Guide 02:47:59 > Resolving interface references within routing tables... 02:47:59 > Resolving routing table references within interfaces... 02:47:59 > Classifier is resolving sessionrouter references... 02:47:59 > Loading and linking complete... 02:47:59 > Following voice interfaces have been loaded: 02:47:59 >...
  • Page 309 SmartWare Software Configuration Guide 24 • CS interface configuration Figure 60. Q.SIG PBX network First we configure the CS interfaces and the call routing. We need two PSTN interfaces and two H.323 inter- faces. Direct call routing is used as described in the previous example: SN>enable SN#configure SN(cfg)#context cs...
  • Page 310 24 • CS interface configuration SmartWare Software Configuration Guide SN(ctx-cs)[switch]#interface h323 IPBackbone_2 SN(if-h323)[IPBackb~]#routing dest-interface PBX_2 SN(if-h323)[IPBackb~]#exit SN(ctx-cs)[switch]#interface pstn PBX_1 SN(if-pstn)[PBX_1]#routing dest-interface IPBackbone_1 SN(if-pstn)[PBX_1]#exit SN(ctx-cs)[switch]#interface pstn PBX_2 SN(if-pstn)[PBX_2]#routing dest-interface IPBackbone_2 SN(if-pstn)[PBX_2]#exit SN(ctx-cs)[switch]# Next we configure the remote IP address for direct call signaling and specify the port addresses: SN(ctx-cs)[switch]#interface h323 IPBackbone_1 SN(if-h323)[IPBackb~]#remoteip 172.21.16.1 SN(if-h323)[IPBackb~]#portaddress 1...
  • Page 311 SmartWare Software Configuration Guide 24 • CS interface configuration After you have finished the CS configuration you must enable the CS context. Prior to activating the CS con- text we enable the debug Session Router monitor to display the loading of the CS context. SN(ctx-cs)[switch]#debug session-router 5 SN(ctx-cs)[switch]#no shutdown SN(ctx-cs)[switch]#...
  • Page 312 24 • CS interface configuration SmartWare Software Configuration Guide Examples...
  • Page 313: Session Router Configuration

    Chapter 25 Session router configuration Chapter contents Introduction ................................312 Routing table structure ..........................313 Session router configuration task list........................313 Map out the goals for the session router ......................314 Configure the entry table on circuit interfaces ....................314 Configure session routing tables ........................315 Broadcast handling in the session router ....................315 Configure number prefix for ISDN number types...
  • Page 314: Introduction

    25 • Session router configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of Session Router tables and number manipulation functions and describes the tasks involved in configuring the Session Router in SmartWare. There are two options for deciding where an incoming call on a CS interface is forwarded: •...
  • Page 315: Routing Table Structure

    SmartWare Software Configuration Guide 25 • Session router configuration Due to the tree search algorithm implemented in the session router very large routing tables can be scanned very quickly with minimal impact on the call setup delay. The SmartWare session router supports the following routing criteria: •...
  • Page 316: Map Out The Goals For The Session Router

    25 • Session router configuration SmartWare Software Configuration Guide • Configure session router tables (see page 315) • Configure number manipulation functions (see page 320) • Deleting routing tables and functions (see page 324) • Activate the session router configuration (see page 325) Map out the goals for the session router...
  • Page 317: Configure Session Routing Tables

    SmartWare Software Configuration Guide 25 • Session router configuration Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]#interface if-type if-name Change to Interface Configuration Mode to specify the entry table in the interface node ( if-type )[ if-name ]#routing dest-table name Specify the first lookup routing table of the Session Router.
  • Page 318: Create A Called Party Number Routing Table

    25 • Session router configuration SmartWare Software Configuration Guide Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]# Adds prefix to all CdPNS of type national before entering the session router. number-prefix national prefix node (ctx-cs)[ switch ]# Adds prefix to all CdPNs of type international before entering the session router.
  • Page 319: Create A Calling Party Number Routing Table

    SmartWare Software Configuration Guide 25 • Session router configuration Example: Called party number routing table SN(cfg)#context cs SN(ctx-cs)[switch]#called-party national 001 dest-interface USVoIP-A SN(ctx-cs)[switch]#called-party national 001320 dest-interface USVoIP-B SN(ctx-cs)[switch]#called-party national 0044 dest-interface EuroVoIP SN(ctx-cs)[switch]#called-party national 0049 dest-interface EuroVoIP SN(ctx-cs)[switch]#called-party national default dest-interface DefAcc Create a calling party number routing table The Calling Party Number (CnPN) table is used to route calls based on the CnPN in the call set-up message.
  • Page 320: Create A Time Of Day Routing Table

    25 • Session router configuration SmartWare Software Configuration Guide The BC value may therefore not be a reliable indication to differentiate between analogue speech, audio or Fax Group 3 connections. The session router can route calls according to the following bearer capabilities: •...
  • Page 321: Create A Day Of Week Routing Table

    SmartWare Software Configuration Guide 25 • Session router configuration Step Command Purpose Repeat step 1 to add lines for multiple table entries. Example: Time of day routing table SN(ctx-cs)[switch]#time workday1 08:00-17:00 dest-table BestQuality SN(ctx-cs)[switch]#time workday1 17:00-21:00 dest-interface VoIPCarrierA SN(ctx-cs)[switch]#time workday1 21:00-08:00 dest-interface VoIPCarrierB Create a day of week routing table The Day of Week table is used to route calls according to the day of the week.
  • Page 322: Create A Presentation Indicator Routing Table

    25 • Session router configuration SmartWare Software Configuration Guide Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]#date tbl-name key Create a time routing table by adding the first line. dest-interface if-name node (ctx-cs)[switch]#date tbl-name key dest-table tbl-name Repeat step 1 to add lines for multiple table entries.
  • Page 323: Create A Screening Indicator Routing Table

    SmartWare Software Configuration Guide 25 • Session router configuration Create a screening indicator routing table The screening indicator provides information on the source of the Calling Party Number. Routing decisions may base on this information. The screening indicator can have the following values: Screening indicator Source of the calling party number user-not-screened...
  • Page 324 25 • Session router configuration SmartWare Software Configuration Guide This procedure describes how to create a number manipulation function Mode: Context CS Table 18: Step Command Purpose node (ctx-cs)[switch]# [no] number-manip- Create a number manipulation function iden- ulation name { cdpn | cnpn } { tified by a “speaking”...
  • Page 325: Create A Number Replacement Table

    SmartWare Software Configuration Guide 25 • Session router configuration SN[switch]#number-manipulation CdPNTypeInt cdpn set-type-of-number international Set numbering plan: Input: number with numbering plan ‘e164’ Result: number with numbering plan ‘data’ SN[switch]#number-manipulation CdPNNumPlanData cdpn set-numbering-plan data Convert calling party number of type 'unknown' to type 'national': Input: number (0319852525) of type 'unknown' and national prefix '0' Result: number of type 'national' and with national prefix '0' stripped away (319852525) Calling party numbers of type 'national' will be left untouched...
  • Page 326: Create Complex Number Manipulation Functions

    25 • Session router configuration SmartWare Software Configuration Guide This procedure describes how to create a number replacement table Mode: Context CS Step Command Purpose node (ctx-cs)[ switch ]# translation-table tbl- Create a translation table by adding the first line. name number-in number-out Repeat step 1 to add lines for multiple table entries.
  • Page 327: Activate The Session Router Configuration

    SmartWare Software Configuration Guide 25 • Session router configuration Note Using the no form of a route table configuration command will delete the entire table not just an individual line. This procedure describes how to delete several routing tables and number manipulation functions Mode: Context CS Step Command...
  • Page 328: Example

    25 • Session router configuration SmartWare Software Configuration Guide Example Enterprise network with local breakout and IP carrier access Consider the following enterprise network. Figure 62. Session Routing Example Network Note The SmartNodes in this Network may be owned and operated by the Com- pany or by a Service Provider.
  • Page 329 SmartWare Software Configuration Guide 25 • Session router configuration • Carriers Apple, Orange and Melon do not support ISDN data calls (PC with ISDN Terminal Adapter behind PBX A) • When calling through carrier “Melon” the CLI must not use the public number blocks of Site A and B •...
  • Page 330 25 • Session router configuration SmartWare Software Configuration Guide Figure 63. CS context and session router elements We assume that the CS interfaces have already been created and configured. So we can start directly with the session router elements. Since the command sequence is quite long it is useful to create the configuration offline and download it using TFTP.
  • Page 331 SmartWare Software Configuration Guide 25 • Session router configuration called-party dest_a 0336652 dest-interface node_b called-party dest_a default dest-interface local_ba # Number manipulation CACapple number-manipulation CACapple cdpn add 1055 # Number manipulation CACorange number-manipulation CACorange cdpn add 1066 # Number manipulation CLImelon # Truncate CLI to last 2 digits and add 0800 base number in front number-manipulation CnPNtrunc3 cnpn truncate 3...
  • Page 332 25 • Session router configuration SmartWare Software Configuration Guide 17:48:54 > Classifier is resolving interface references... 17:48:54 > Loading session router tables... 17:48:54 > Resolving routing table references within routing tables... 17:48:54 > Resolving interface references within routing tables... 17:48:54 >...
  • Page 333: Tone Configuration

    Chapter 26 Tone configuration Chapter contents Introduction ................................332 Tone-set profiles ............................332 Tone configuration task list ..........................333 Configure call-progress-tone profiles ......................333 Configure tone-set profiles ..........................335 Enable generation of local in-band tones .......................335 Show call-progress-tone and tone-set profiles ....................336 Example ................................338...
  • Page 334: Introduction

    26 • 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.
  • Page 335: Tone Configuration Task List

    SmartWare Software Configuration Guide 26 • Tone configuration Figure 64 illustrates the relation ship between call-progress-tone profiles, tone-set profiles, CS context and CS interfaces. Figure 64. Assign tone-sets to CS context and CS interfaces Note There is a default tone-set named 'default', which maps the three Swiss stan- dard in-band tones.
  • Page 336 26 • Tone configuration SmartWare Software Configuration Guide This procedure describes how to configure a tone-set profile Mode: Configure Step Command Purpose node (cfg)#profile call-progress-tone Creates a call-progress-tone profile with name name name and enters call-progress-tone configuration mode. node (pf-callp)[ name ]#play duration Defines a tone with duration duration , frequency frequency1 level1 [frequency2 level2] frequency1 and volume level1 .
  • Page 337: Configure Tone-Set Profiles

    SmartWare Software Configuration Guide 26 • Tone configuration Configure tone-set profiles A tone-set profile maps one call-progress-tone profile to each internal call-progress-tone. A tone-set profile typ- ically includes all the call-progress-tones for one country. This procedure describes how to configure a tone-set profile Mode: Configure Step Command...
  • Page 338: Show Call-Progress-Tone And Tone-Set Profiles

    26 • Tone configuration SmartWare Software Configuration Guide Mode: Context cs Step Command Purpose node (ctx-cs)[ switch ]#use tone-set-profile Assign the tone-set profile to the CS context. name node (ctx-cs)[ switch ]#interface if-type if-name Enter CS interface configuration mode. node ( if-type )[ if-name ]#use tone-set-profile Assign an other tone-set profile to a CS interface.
  • Page 339 SmartWare Software Configuration Guide 26 • Tone configuration Example: Show call-progress-tone profile The following example shows how to display the call-progress-tone profiles. SN#show profile call-progress-tone Profiles: --------- defaultDialtone: Play 5000ms (425Hz at 0dB) defaultAlertingtone: Play 1000ms (425Hz at -7dB) Pause 4000ms defaultBusytone: Play 500ms (425Hz at -7dB)
  • Page 340: Example

    26 • Tone configuration SmartWare Software Configuration Guide Example The following example shows how to configure a tone-set profile for UK and apply it to the CS context. Figure 65 illustrates the use and map commands. Figure 65. Assign a tone-set profile to the CS context Create the call-progress-tone profiles: SN(cfg)#profile call-progress-tone dial-UK SN(pf-callp)[dial-UK]#play 5000 350 0 440 0...
  • Page 341 SmartWare Software Configuration Guide 26 • Tone configuration Assign the tone-set to the CS context SN(cfg)#context cs SN(ctx-cs)[switch]#use tone-set-profile UK Example...
  • Page 342 26 • Tone configuration SmartWare Software Configuration Guide Example...
  • Page 343: Isdn Port Configuration

    Chapter 27 ISDN port configuration Chapter contents Introduction ................................342 ISDN reference points ..........................342 Possible SmartNode port configurations .......................344 ISDN UNI signaling .............................344 ISDN port configuration task list ........................346 Shutdown and enable ISDN ports ........................346 Configure common BRI and PRI parameters ....................346 Configure BRI port parameters ........................349...
  • Page 344: Introduction

    27 • 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: •...
  • Page 345 SmartWare Software Configuration Guide 27 • 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 346: Possible Smartnode Port Configurations

    27 • ISDN port configuration SmartWare Software Configuration Guide Possible SmartNode port configurations The SmartNode ISDN ports can be configured for connection to S, T, S/T and V interfaces. Refer to Figure 67, which illustrates some of the possible network integration options. Figure 67.
  • Page 347 SmartWare Software Configuration Guide 27 • ISDN port configuration A SmartNode in some applications does not replace a standard ISDN equipment (PBX or Terminal) but is inserted between an existing NT and PBX. In such cases the SmartNode ISDN ports are configured to operate the opposite side of the connected equipment as illustrated in figure Figure 68.
  • Page 348: Isdn Port Configuration Task List

    27 • ISDN port configuration SmartWare Software Configuration Guide ISDN port configuration task list Configuring ISDN ports typically consists of the following tasks: • Shutdown and enable ISDN ports (see page 346) • Configure common BRI and PRI parameters (see page 346) •...
  • Page 349 SmartWare Software Configuration Guide 27 • ISDN port configuration The clock source depends on the UNI-side configuration of the ISDN ports. Table 19 shows what clock- source is used in the different ISDN port configurations. Table 19. Clock-sources used for ISDN port configurations Port 0 UNI-side Port 1 UNI-side Clock Source Port 1 used as reference...
  • Page 350 27 • ISDN port configuration SmartWare Software Configuration Guide Step Command Purpose node (prt-pstn)[ slot/ Specify the clock mode port ]#clock-mode master The BRI or PRI port can either generate the clocking for the line, or accept the clock from the line. The options ‘master’ or ’slave’ determine the clocking method: node (prt-pstn)[ slot/ port ]#clock-mode slave...
  • Page 351: Configure Bri Port Parameters

    SmartWare Software Configuration Guide 27 • ISDN port configuration Table 20 shows which clock-mode configurations are allowed for the SmartNode 1000 Series and which port is used as the clock source. Table 20. Clock-Modes and clock-sources for the SmartNode 1000 Series Port 0 Port 1 Clock Source...
  • Page 352: Configure Pri Port Parameters

    27 • ISDN port configuration SmartWare Software Configuration Guide Mode: Port ISDN Step Command Purpose node (prt-pstn)[ slot/port ]#l2proto pmp Specify the ISDN layer 2 protocol Make sure the connected ISDN device operates the same layer 2 protocol! node (prt-pstn)[ slot/port ]#l2proto pp Configure PRI port parameters Of the 32 time slots in an ISDN PRI, slot 0 is reserved for synchronization, slot 16 is used for signaling, and the remaining 30 slots can be used as B-channels for dial-up circuits.
  • Page 353: Example

    SmartWare Software Configuration Guide 27 • ISDN port configuration Example Assume the scenario as illustrated in figure Figure 69. 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.
  • Page 354 27 • ISDN port configuration SmartWare Software Configuration Guide Example...
  • Page 355: Pots Port Configuration

    Chapter 28 POTS port configuration Chapter contents Introduction ................................354 POTS signaling .............................354 Shutdown and enable POTS ports ........................355 Configure common POTS port parameters ......................356 Configure POTS port parameter .........................356...
  • Page 356: Introduction

    28 • POTS port configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of SmartNode POTS ports and describes the tasks involved in configuring POTS ports in SmartWare. This chapter includes the following sections: • Shutdown and enable POTS ports (see page 355) •...
  • Page 357: Shutdown And Enable Pots Ports

    SmartWare Software Configuration Guide 28 • POTS port configuration Available codecs for IC-4ab—Only G.711 and G.723 or G.729 are supported on the IC-4ab, that is it is not possible to use G.723 on one port of the IC-4ab and G.729 at the same time on another port.
  • Page 358: Configure Common Pots Port Parameters

    28 • POTS port configuration SmartWare Software Configuration Guide Configure common POTS port parameters Some parameters pertain to all POTS ports available on an IC-4FXS or a SmartNode 4000 and are configured as shown below. Unlike ISDN, POTS is heavily country specific even though there is a good chance that a phone for one coun- try works reasonably good in another country.
  • Page 359 SmartWare Software Configuration Guide 28 • POTS port configuration Command Purpose Step 3 node (prt-pstn)[ slot / port ]#caller-id 1 Caller-id (calling party number) is sent to the phone optional [format { bell | etsi } ] (display) after first ringing. node (prt-pstn)[ slot / port ]#caller-id pre- Caller-id is sent to the phone before ringing starts.
  • Page 360 28 • POTS port configuration SmartWare Software Configuration Guide Configure POTS port parameter...
  • Page 361: Gateway Configuration

    Chapter 29 Gateway configuration Chapter contents Introduction ................................360 Gateway configuration task list ..........................360 Configure codec selection and fast connect ....................361 Introduction ............................361 Configure used codec for an ISoIP connection ..................362 Configure used codec for an H.323 connection and enable fast connect ..........363 Enable T.38 fax over IP relay ........................365...
  • Page 362: Introduction

    29 • Gateway configuration SmartWare Software Configuration Guide Introduction This chapter provides an overview of ISoIP and H.323 gateways and describes the tasks involved in configur- ing them. When communication is required between different networks a gateway is always needed between them. A gateway provides: •...
  • Page 363: Configure Codec Selection And Fast Connect

    SmartWare Software Configuration Guide 29 • Gateway configuration topic are described in the respective configuration task. There are some differences between the ISoIP and H.323 gateway. If it is not otherwise stated, the configuration task is valid for both gateways. •...
  • Page 364: Configure Used Codec For An Isoip Connection

    29 • Gateway configuration SmartWare Software Configuration Guide Note There is no right CODEC. The choice of what compression scheme to use depends on what parameters are more important for a specific installation. In practice, G.723 and G.729 are more popular than G.726 and G.728. For an overview of used codecs in SmartWare see appendix D, “Used IP ports &...
  • Page 365: Configure Used Codec For An H.323 Connection And Enable Fast Connect

    SmartWare Software Configuration Guide 29 • Gateway configuration Configure used codec for an H.323 connection and enable fast connect The codec used for an H.323 connection could be set in the H.323 gateway as well as in the H.323 interface as follows.
  • Page 366 29 • Gateway configuration SmartWare Software Configuration Guide Mode: Gateway H.323 Step Command Purpose node (gw-h323)[h323]#codec <tab> List all available codecs on the H.323 gateway node (gw-h323)[h323]#codec codec [tx- Specify the default codec, transmitted packet size packet-length] [rx-packet-length] and length capability for received packets for all calls over the H.323 gateway.
  • Page 367: Enable T.38 Fax Over Ip Relay

    SmartWare Software Configuration Guide 29 • Gateway configuration Enable T.38 fax over IP relay T.38 is an ITU-T protocol for the transmission of fax (T.30) over IP. In T.38 the fax signal is demodulated at the sender side and transmitted over UDP or TCP over the IP network to the receiver which in turn modulates the signal to T.30 again.
  • Page 368: H.323 Registration Authentication Service Gatekeeper Registration Type

    29 • Gateway configuration SmartWare Software Configuration Guide Mode: Gateway H.323 Step Command Purpose node (gw-h323)[h323]#gatekeeper- Specify that the gatekeeper discovery has to be discovery auto [ gkid ] done automatically node (gw-h323)[h323]#gatekeeper- Specify the gatekeeper for the SmartNode explic- discovery manual ip-address ip-port itly.
  • Page 369: Enable Q.931 Tunneling For An H.323 Connection

    SmartWare Software Configuration Guide 29 • Gateway configuration Mode: Gateway H.323 Step Command Purpose node (gw-h323)[h323]#terminal-type Set the registration type of the gatekeeper registra- {terminal | gateway } tion. Default registration type is gateway. Example: Configuring registration authentication service registration type The following example shows how to configure the registration authentication service registration type.
  • Page 370: Disabling The H.225 Status Enquiry

    29 • Gateway configuration SmartWare Software Configuration Guide Disabling the H.225 status enquiry Some H.323 gateways do not answer H.225 status enquiries. The H.323 gateway within sends such H.225 status enquiry messages by default in order to detect unexpected disconnects of calls. This command allows to disable sending of H.225 status enquiry messages.
  • Page 371 SmartWare Software Configuration Guide 29 • Gateway configuration • Replay attacks (replay of recorded messages) • Spoofing • Connection hijacking Among other information such as time stamp, sender and general ID, the H.235 needs a password for crypto token generation. Since this password is intelligible when being configured by means of a telnet session or dis- played in a running configuration, it is possible to configure an encrypted password, which will be decrypted on the SmartNode.
  • Page 372 29 • Gateway configuration SmartWare Software Configuration Guide Command Purpose Step 3 node (gw-h323)[h323]#h235security Sets the password used for crypto token cal- encrypted-password h235-password culation. The password is entered encrypted. The password to be entered is the output of the tool 'getcryptopassword.exe'. Configures the password used for crypto hashed token calculation.
  • Page 373: Show And Enable The Gateway Configuration

    SmartWare Software Configuration Guide 29 • Gateway configuration C:\> Configure and enable H.235: 172.16.224.102(cfg)#gateway h323 h323 172.16.224.102(gw-h323)[h323]#h235security master-password 12d3f4e76a83c6dd1067a6d34fe5cb21 172.16.224.102(gw-h323)[h323]#h235security encrypted-password 21dafa5dfc7399e5cef9cc138dabd22f 172.16.224.102(gw-h323)[h323]#h235security time-window 100 172.16.224.102(gw-h323)[h323]#h235security version v2 172.16.224.102(gw-h323)[h323]#h235security sender-id NODE13 172.16.224.102(gw-h323)[h323]#h235security general-id GK01 172.16.224.102(gw-h323)[h323]#show h235security H.235 SECURITY SETTINGS ----------------------- H.235 Security : Disabled H.235 Module Version...
  • Page 374 29 • Gateway configuration SmartWare Software Configuration Guide Mode: Gateway ISoIP or gateway H.323 Step Command Purpose node (gw- type )[ gw-name ]#bind interface if- Only H.323: Bind H.323 gateway to IP interface name node (gw- type )[ gw-name ]#show gateway Only H.323: Show H.323 gateway configuration h323 config node (gw- type )[ gw-name ]#no shutdown...
  • Page 375: Examples

    SmartWare Software Configuration Guide 29 • Gateway configuration Examples Branch offices in an enterprise network Figure 71 shows a branch office in Linn and a branch office in Zurich connected to the main office in Berne over ISoIP. Zurich and Berne are linked over an 2 Mbps direct copper DSL wire and use the voice codec G.711 for this high-rate connection.
  • Page 376 29 • Gateway configuration SmartWare Software Configuration Guide First we create the CS interfaces and configure the call routing (without session router). We need two ISoIP interfaces because we have two different voice codecs from the branch offices. SN>enable SN#configure SN(cfg)#context cs SN(ctx-cs)[switch]#interface pstn PBX SN(if-pstn)[PBX]#routing dest-table CdPnRouting...
  • Page 377: Gatekeeper In Lan Based Telephony

    SmartWare Software Configuration Guide 29 • Gateway configuration 02:47:59 > Following voice interfaces have been loaded: 02:47:59 > callapp 02:47:59 > BackboneLinn 02:47:59 > BackboneZurich 02:47:59 > 02:47:59 > PublicAccess 02:47:59 > Following routing tables have been loaded: 02:47:59 > CnPNRouting 02:47:59 >...
  • Page 378 29 • Gateway configuration SmartWare Software Configuration Guide The configuration steps for the VoIP profile and the ISDN Ports are omitted. Next we configure the Smart- Node for 'gatekeeper routed call signaling'. Therefore we specify the alias, the gatekeeper discovery and enable the registration authentication service (RAS).
  • Page 379: Voip Profile Configuration

    Chapter 30 VoIP profile configuration Chapter contents Introduction ................................378 VoIP profile configuration task list ........................379 Create a VoIP profile ............................379 Enable DTMF relay ............................380 Enable echo canceller ............................380 Enable silence compression ...........................381 Configure voice volume ..........................382 Configure dejitter buffer (advanced) ......................383 Enable/disable filters (advanced) ........................386...
  • Page 380: Introduction

    30 • VoIP profile configuration SmartWare Software Configuration Guide Introduction This chapter gives an overview of SmartWare VoIP profiles, how they are used and describes the tasks involved in VoIP profile configuration. A VoIP profile summarizes the most relevant settings for VoIP connections and is assigned to the VoIP gate- ways H.323 or ISoIP.
  • Page 381: Voip Profile Configuration Task List

    SmartWare Software Configuration Guide 30 • VoIP profile configuration VoIP profile configuration task list The various components can be configured in the VoIP profile mode and often in the CS interface mode also. Generally the configuration in the VoIP profile applies to all calls going through that gateway. If required, the components could be overwritten for a specific interface.
  • Page 382: Enable Dtmf Relay

    30 • VoIP profile configuration SmartWare Software Configuration Guide Enable 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 patterns and tend to distort DTMF tones.
  • Page 383: Enable Silence Compression

    SmartWare Software Configuration Guide 30 • VoIP profile configuration Figure 75. Echo Cancellation This procedure describes how to enable echo cancellation. Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#echo-canceller Enable echo canceller node (pf-voip)[ name ]#exit Optional: node (cfg)#context cs Change to CS interface configuration mode to overwrite the settings in the VoIP profile in a spe- node (ctx-cs)[switch]#interface isoip name...
  • Page 384: Configure Voice Volume

    30 • VoIP profile configuration SmartWare Software Configuration Guide Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#silence- Enable silence compression and comfort noise compression node (pf-voip)[ name ]#exit Optional: node (cfg)#context cs node (ctx-cs)[switch]#interface isoip name Change to CS interface configuration mode to overwrite the settings in the VoIP profile in a spe- cific CS interface node (ctx-cs)[switch]#interface h323...
  • Page 385: Configure Dejitter Buffer (Advanced)

    SmartWare Software Configuration Guide 30 • VoIP profile configuration This procedure describes how to configure voice volume. Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#voice-volume value Set the voice volume to value in dB node (pf-voip)[ name ]#exit Optional: node (cfg)#context cs Change to CS interface configuration mode...
  • Page 386 30 • VoIP profile configuration SmartWare Software Configuration Guide Figure 77. Jitter and dejitter buffer Since the receiving decompression algorithm (voice decoder) requires fixed spacing between the packets, the typical solution is to implement a dejitter buffer within the gateway. The dejitter buffer deliberately delays incoming packets in order to present them to the decompression algorithm at fixed spacing.
  • Page 387 SmartWare Software Configuration Guide 30 • VoIP profile configuration The adaptive buffer automatically adapts to the network delay variation characteristics and in general yields the best results. The manual fixed buffer is useful only if you have specific information about your network, such as jitter period, etc.
  • Page 388: Enable/Disable Filters (Advanced)

    30 • VoIP profile configuration SmartWare Software Configuration Guide Enable/disable filters (advanced) The voice decoder output is normally filtered using a perceptual post-filter to improve voice quality. Likewise a high pass filter is normally used to cancel noises at the coder input. When the communication channels includes several tandems of SmartNodes as illustrated in figure 79, sequential post filtering or high pass filter-...
  • Page 389 SmartWare Software Configuration Guide 30 • VoIP profile configuration • Codecs other than G.711 compress the voice streams. They are optimized for compressing voice and not data. Compress and decompressing always incur loss of data. • Dejitter buffers are optimized to force little voice delay, therefore data could be lost. SmartWare implements two solutions to solve this problems on fax transmission: •...
  • Page 390 30 • VoIP profile configuration SmartWare Software Configuration Guide Mode: Profile VoIP Step Command Purpose node (pf-voip)[ name ]#{ fax | Enable bypass mode and select a codec to be modem } transmission bypass used for fax or modem transmission. { g711alaw64k | g711ulaw64k | g726_32k | g726_40k } node (pf-voip)[ name ]#{ fax |...
  • Page 391 SmartWare Software Configuration Guide 30 • VoIP profile configuration 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 adjusted to compensate for the jitter imposed by the network. The default value is 200ms which should be ok for almost any transmission network.
  • Page 392: Show Voip Profile Configuration And Assign It To A Voip Gateway

    30 • VoIP profile configuration SmartWare Software Configuration Guide Example: Enable Fax relay The following example shows how to configure fax relay. The max bit rate is increased to 14400 kbps. SN>enable SN#configure SN(cfg)#profile voip ISoIPProfile SN(pf-voip)[ISoIPPr~]#fax transmission relay t38-udp SN(pf-voip)[ISoIPPr~]#fax redundancy ls 1 hs 2 SN(pf-voip)[ISoIPPr~]#fax dejitter-max-delay 300 SN(pf-voip)[ISoIPPr~]#fax max-bit-rate 9600...
  • Page 393 SmartWare Software Configuration Guide 30 • VoIP profile configuration high pass filter: enabled post filter: enabled volume: 0 dBm fax settings: transmission: none relay protocol: T38UDP high-speed t.38 redundancy 0 low-speed t.38 redundancy bypass codec: g711alaw64k max bit rate: 14400 bit/s volume: -9.5 dBm error correction:...
  • Page 394: Example

    30 • VoIP profile configuration SmartWare Software Configuration Guide Example Home office in an enterprise network Figure 81 is an example of a home office in an enterprise network. The connection bandwidth amounts to 128 kbps and is very low quality. Therefore low-bit-rate codec G.723_5k3 is used which is only supported on ISoIP.
  • Page 395 SmartWare Software Configuration Guide 30 • VoIP profile configuration Afterwards we show the configuration and configure the ISoIP gateway to use the VoIP profile. As aforemen- tioned fax and data settings may be ignored. SN(cfg)#show profile voip Wire128kbit Profile Wire128kbit ------------------------------------------------------------------ dejitter settings: mode: adaptive...
  • Page 396 30 • VoIP profile configuration SmartWare Software Configuration Guide Example...
  • Page 397: Voip Debugging

    Chapter 31 VoIP debugging Chapter contents Introduction ................................396 Debugging strategy..............................396 Debugging task list ..............................396 Verify IP connectivity ...........................397 Verify circuit switch connectivity ........................398 Debug ISDN data ............................401 Debug H.323 data ............................401 Debug session control data ..........................401 Debug ISoIP data ............................402 Debug Voice over IP data ..........................402 Check system logs...
  • Page 398: Introduction

    31 • VoIP debugging SmartWare Software Configuration Guide Introduction This chapter helps you to localize a system component that is responsible for faults during operation of a SmartNode device. This chapter provides debugging strategies to help you locating the origin of an error, and describes the necessary debug and show commands.
  • Page 399: Verify Ip Connectivity

    SmartWare Software Configuration Guide 31 • VoIP debugging The session control data task describes debugging of the data between the ISDN and VoIP protocols, and in the voice over IP data task it is explained how to debug tones and codecs. Finally check event logs, which could help you to find out the cause of a problem.
  • Page 400: Verify Circuit Switch Connectivity

    31 • VoIP debugging SmartWare Software Configuration Guide Verify circuit switch connectivity The following commands makes possible to establish voice calls between two endpoints without additional voice devices such as voice phones. Additionally the set up and shut down of voice calls can be traced by the debug monitor and established calls can be displayed by the show command.
  • Page 401 SmartWare Software Configuration Guide 31 • VoIP debugging SmartNode 1: Enable debug monitor and dial SN1#debug call 5 SN1# SN1#call 21 dial ISOIP_IF SN1#14:12:55 CALL > [0021] SENT [080005] SETUP (Generic Q.931) [04039090A3] Bearer capability : 3.1kHz Audio - CCITT circuit mode - 64 kbps - G.711 A-law [700181] Called party number :...
  • Page 402 31 • VoIP debugging SmartWare Software Configuration Guide SmartNode 1: See debug monitor output and show call sessions 14:13:30 CALL > [0021] GOT [080007] CONNECT (Generic Q.931) 14:13:30 CALL > [0021] SENT [08000F] CONNECT ACKNOWLEDGEMENT (Generic Q.931) 14:13:30 CALL > [0021] CONNECTED SN1# SN1#show call sessions 5 [0021]...
  • Page 403: Debug Isdn Data

    SmartWare Software Configuration Guide 31 • VoIP debugging [08004D] RELEASE (Generic Q.931) [0803038090] Cause : normal call clearing transit network - CCITT - Q.931 14:14:50 CALL > [8000] DROPPED SN2# Debug ISDN data To obtain actual information about the ISDN layers you can use the ISDN debug commands. The show com- mand displays information about the actual ISDN status and about actual ISDN sessions.
  • Page 404: Debug Isoip Data

    31 • VoIP debugging SmartWare Software Configuration Guide command enables the session-control debug monitor to show transposed data between ISDN and VoIP proto- cols. Additionally a VoIP session could be closed manually by a command. This procedure describes how to obtain information about session-control. Mode: Administrator execution Step Command...
  • Page 405 SmartWare Software Configuration Guide 31 • VoIP debugging Overview: VoIP and DSP debug monitors debug voip dejitter Displays changes to the settings of the dejitter buffer, exceptions (under- run, overrun, packet drops) and size changes. Usage: To investigate problems related to voice quality, voice packet payload sizes, delays, jitter debug voip events Displays control activities on the Data Path (path of voice/fax data...
  • Page 406 31 • VoIP debugging SmartWare Software Configuration Guide Depending on the type of problem, some debug monitors are more useful than others. Try to avoid enabling all monitors at the same time, as this generates a lot of output and can degrade system performance. The follow- ing examples show some typical debug cases and what monitors should be switched on in these cases.
  • Page 407: Check System Logs

    SmartWare Software Configuration Guide 31 • VoIP debugging Step Command Purpose node #debug dsp t30 Enable the T.30 flow monitor Depending on the type of problem, use also: Command Purpose node #debug dsp events Enable the DSP event monitor node #debug dsp ifp Enable the IFP decoding monitor Check system logs See section...
  • Page 408 31 • VoIP debugging SmartWare Software Configuration Guide Network Associates Sniffer (www.sniffer.com) TTC Firebird (www.ttc.com) Ethereal (freeware; www.ethereal.com) When possible submit the package of trouble report files by email to the following address: international.sales@inalp.ch (use fax only in exceptional cases). Debugging task list...
  • Page 409: A Terms And Definitions

    Appendix A Terms and definitions Chapter contents Introduction ................................408 SmartWare architecture terms and definitions .....................408...
  • Page 410: Introduction

    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 relate to specific networking technologies areas such as LAN protocols, WAN technologies, routing, Ethernet, and Frame Relay.
  • Page 411 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 412 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 413 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 414 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 415 Model 3201 G.SHDSL Integrated Access Device User Guide A • Terms and definitions Term or Definition Meaning system: A region in the volatile memory of a SmartNode. See also system mem- ory . TFTP Server A central server used for configuration up- and download, download of application and interface card driver software, that is accessed using TFTP.
  • Page 416 A • Terms and definitions Model 3201 G.SHDSL Integrated Access Device User Guide SmartWare architecture terms and definitions...
  • Page 417: B Configuration Mode Overview

    Appendix B Configuration mode overview Chapter contents Introduction ................................417 SmartWare 2.20 command summary ........................417 operator_exec ..............................419 administrator_exec ............................420 configure ...............................422 system ................................422 ic_voice .................................423 profile_acl ..............................423 profile_service-policy ............................423 source ................................423 profile_napt ..............................424 profile_ppp ..............................424 ipsec manual policy ............................424 profile_call-progress-tone ..........................424 profile_tone-set .............................425 profile_voip...
  • Page 418 B • Configuration mode overview SmartWare Software Configuration Guide Restart system ...............................432 Display memory content ..........................432 Set IP addresses .............................432 Check network connection to remote system ....................433 Load a program to memory, so that it can be executed or stored in the Flash memory ........433 Execute a program loaded into memory ......................434...
  • Page 419: Introduction

    SmartWare Software Configuration Guide B • Configuration mode overview Introduction figure 82 on page 418 illustrates the configuration modes hierarchy. Each box contains the mode name, the enter command and the prompt in a telnet console. Additionally all relationships between the instances of the components through bind and link commands are illustrated.
  • Page 420 B • Configuration mode overview SmartWare Software Configuration Guide Figure 82. Configuration modes and bind and link commands overview SmartWare 2.20 command summary...
  • Page 421: Operator_Exec

    SmartWare Software Configuration Guide B • Configuration mode overview Command syntax is illustrated by an example in figure Figure 83. EBNF syntax This command summary is valid for SmartWare, Release 2.20, Build 22126. Commands in future SmartWare releases or builds may be different. The information provided in this chapter is subject to change without notice. operator_exec dropin ping <address>...
  • Page 422: Administrator_Exec

    B • Configuration mode overview SmartWare Software Configuration Guide show profile tone-set [<show_name> ] show profile call-progress-tone [<show_name> ] show ip interface [<interface_name> ] [router ] show napt interface <ip_interface_name_show> [router ] show rip [interface <ip_interface_name_show> [router ] ] show port ethernet [<print-slot> <print-port> ] show port serial [<print-slot>...
  • Page 423 SmartWare Software Configuration Guide B • Configuration mode overview [no] debug gateway h323 [h323 ] {{signaling | ras | h245 } | (stack {appl | cat | cm cmapi cmapicb cmerr debug efrm li liinfo namec han pdalapi pdlcomm pdlconf pdlncode pdlerror pdlfnerr pdlprint pdlprnerr pdlsm pdlmisc pdlmtask pdllist pdltimer per pererr q931 ra rasc trl rasindb seli timer tpktchan tunnctrl udpchan unreg vt] [<detail>]...
  • Page 424: Configure

    B • Configuration mode overview SmartWare Software Configuration Guide crash {alignment|illegal-opcode|privileged-instr|trap|low-memory|over- load|freeze|block-kernel|block-user|block-cli|block-router-mutex} show log supervisor mem {(stat ) | (dump [{hex|srec} <address> [<size> ] [{byte|word|long} ] ] ) | (get {byte|word|long} <address> ) | (set {byte|word|long} <address> <value> ) } spr {(get <register>...
  • Page 425: Ic_Voice

    SmartWare Software Configuration Guide B • Configuration mode overview [no] bypass-mode clock-source {internal | (<slot> <port> ) } [no] synchronize-to-isdn-time [no] local-inband-tones ic_voice ic voice <slot> pcm {(law-select {aLaw | uLaw } ) } exit exit profile_acl [no] profile acl <profile_name> {permit|deny} {({ip|ah|esp|gre} {any | (host <src_ip>...
  • Page 426: Profile_Napt

    B • Configuration mode overview SmartWare Software Configuration Guide [no] priority [no] police <value> burst-size <option-value> [no] queue-limit <value> [no] set ip dscp <value> [no] set ip precedence <value> [no] set ip tos <value> [no] set layer2 cos <value> [no] debug queue statistics [<value> ] exit exit profile_napt...
  • Page 427: Profile_Tone-Set

    SmartWare Software Configuration Guide B • Configuration mode overview low-frequency-level {mute | <low_frequency_level> } on1 <on1> off1 <off1> on2 <on2> off2 <off2> exit profile_tone-set [no] profile tone-set <name> dtmf-duration <dtmf_duration> dtmf-interspace <dtmf_interspace> dtmf-signal-level {mute | <dtmf_signal_level> } [no] map {(call_progress_tone <internal_tone_name> <call_progress_tone_name> ) } exit profile_voip [no] profile voip <name>...
  • Page 428: Interface

    B • Configuration mode overview SmartWare Software Configuration Guide [no] netbios-node-type {{b-node|p-node|m-node|h-node} } [no] bootfile <bootfile> [no] next-server <address> exit context_ip context ip [router ] [no] dhcp-server dhcp-server clear-lease {all | <address> } [no] dhcp-server use <name> [no] route <destaddr> <destmask> {<gwaddr> | <interface> } [<metric> ] [no] icmp rtp-port-range interface [no] interface <ip_interface_name>...
  • Page 429: Context_Cs

    SmartWare Software Configuration Guide B • Configuration mode overview [no] callback dial-string <dial-string> [no] bind interface <interface> [router ] exit context_cs context cs [switch ] delete {all | all-functions | all-routing-tables | all-translation-tables | all- interfaces } [no] number-prefix {national | international } <prefix> [no] called-party <name>...
  • Page 430: Interface_H323

    B • Configuration mode overview SmartWare Software Configuration Guide interface_h323 [no] interface h323 <if-name> [no] bind gateway h323 [no] routing {(dest-table <name> ) | (dest-interface <name> ) } [no] replace cnpn [no] fallback {(dest-table <name> ) | (dest-interface <name> ) } [no] digit-collection {(timeout [<val>...
  • Page 431: Gateway_Isoip

    SmartWare Software Configuration Guide B • Configuration mode overview gateway_isoip gateway isoip [isoip ] [no] codec {(g711alaw64k [<txlen> ] ) | (g711ulaw64k [<txlen> ] ) | (g723_6k3 [<txlen> ] ) | (g723_5k3 [<txlen> ] ) | (g729 [<txlen> ] ) | (transparent [<txlen>...
  • Page 432: Port_Serial

    B • Configuration mode overview SmartWare Software Configuration Guide [no] service <service> [no] access-concentrator <access-concentrator> [no] use profile ppp <profile_ppp_name> [no] bind {(interface <interface> [router ] ) | (subscriber <ppp_subscriber_name> ) [no] shutdown exit exit exit port_serial port serial <slot> <port> [no] encapsulation {framerelay|ppp} hardware-port {v35 | x21 } transmit-data-on-edge {positive | negative }...
  • Page 433: Port_Isdn

    SmartWare Software Configuration Guide B • Configuration mode overview [no] use profile pots <file> exit port_isdn port {pstn | isdn } <slot> <port> [no] down [no] channel-range <low> <high> channel-hunting {up | down | up-cyclic | down-cyclic } l2proto {pp | pmp } l3proto {dss1 | pss1 } channel-numbering {etsi | pss1-old } [no] loop <channel>...
  • Page 434: Show Redboot Version

    B • Configuration mode overview SmartWare Software Configuration Guide Show RedBoot version Command Purpose Step 1 version Shows RedBoot version. Restart system Command Purpose Step 1 reset Restarts the system. Display memory content Command Purpose Step 1 dump -b location [-l length ] [-s] Displays memory.
  • Page 435: Check Network Connection To Remote System

    SmartWare Software Configuration Guide B • Configuration mode overview Check network connection to remote system Command Purpose Step 1 ping [-v] [-n count ] [-l length ] Check network connection to a remote system, by [-t timeout ] [-r rate ] [-i IP_addr ess] sending ICMP echo requests and listening for ICMP -h IP_address echo replies.
  • Page 436: Execute A Program Loaded Into Memory

    B • Configuration mode overview 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 SmartWare application has been loaded to the specified address.
  • Page 437: Load An Image Into Ram So That It Can Be Started

    SmartWare Software Configuration Guide B • Configuration mode overview 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.
  • Page 438: Delete An Image From The Flash Image Store

    B • Configuration mode overview SmartWare Software Configuration Guide Delete an image from the Flash image store Command Purpose Step 1 fis delete -n index Deletes an image from the Flash image store. -n: Index of image to delete. If omitted the last image is deleted.
  • Page 439: Modify Configuration

    SmartWare Software Configuration Guide B • Configuration mode overview Modify configuration Command Purpose Step 1 fconfig Modifies configuration. Each option is printed to the console and you are asked to modify it. Press enter to leave the value unchanged, or use the backspace key to delete the current value and specify the new value.
  • Page 440 B • Configuration mode overview SmartWare Software Configuration Guide RedBoot Bootloader command set...
  • Page 441: Internetworking Terms & Acronyms

    Appendix C Internetworking terms & acronyms Chapter contents Abbreviations...............................440...
  • Page 442: Abbreviations

    C • 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 443 SmartWare Software Configuration Guide C • 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 444 C • Internetworking terms & acronyms SmartWare Software Configuration Guide Abbreviation Meaning Line Termination 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...
  • Page 445 SmartWare Software Configuration Guide C • Internetworking terms & acronyms Abbreviation Meaning Route Table Manager 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 SDSL Symmetric Digital Subscriber Line SGCP Simple Gateway Control Protocol Small and Medium Enterprises...
  • Page 446 C • Internetworking terms & acronyms SmartWare Software Configuration Guide Abbreviations...
  • Page 447: Used Ip Ports & Available Voice Codecs In Smartware

    Appendix D Used IP ports & available voice codecs in SmartWare Chapter contents Used IP ports in SmartWare..........................446 Available voice codecs in SmartWare ........................447...
  • Page 448: Used Ip Ports In Smartware

    D • Used IP ports & available voice codecs in SmartWare SmartWare Software Configuration Guide Used IP ports in 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) Voice statistics (RTCP)
  • Page 449: Available Voice Codecs In Smartware

    SmartWare Software Configuration Guide D • Used IP ports & available voice codecs in SmartWare Available voice codecs in SmartWare Used Band- Net Band- Min. Com- width per Protocol Codec width per pression Call ( kbps, Usage Call ( kbps) Delay (ms) incl.
  • Page 450 D • Used IP ports & available voice codecs in SmartWare SmartWare Software Configuration Guide Available voice codecs in SmartWare...

This manual is also suitable for:

Smartware release 2.20

Table of Contents