SmartWare Release
 Patton Electronics Company, Inc
 Summary Table of Contents
 SmartWare Software Configuration Guide
 Table of Contents
 Command line interface CLI
 Copying configurations to and from a remote storage location
 IP context overview
 11 NAT/NAPT configuration
 Serial port configuration
 PRI port configuration
 Isdn Overview
 Basic IP routing configuration
 Snmp configuration
 Dhcp configuration
 CS context overview
 VPN configuration
 CS interface configuration
 FXO interface configuration
 SIP interface configuration
 Table of Contents
 524
 45 H.323 gateway configuration
 Pstn profile configuration
 Location Service
 Terms and definitions
 List of Figures
 SmartWare Software Configuration Guide
 List of Tables
 Audience
How to read this guide
About this guide
 Structure
 About this guide
 About this guide
 General conventions
Precautions
Typographical conventions used in this document
Garamond bold type
 SmartWare Software Configuration GuideAbout this guide
 Patton support headquarters in the USA
Service and support
Mouse conventions
Fax +1 253
 Patton Electronics Company
Warranty coverage
RMA numbers
 Chapter contents
System overview
 Introduction
 VoIP Gateway
Circuit Switch
SmartWare embedded software
IP Router
 Applications
Carrier networks
 Enterprise networks
WAN
 LAN telephony
Typical LAN telephony system with a SmartNode gateway
 Configuration concepts
 Configuration concept overview
 Example
Contexts and Gateways
Context
Gateway
 Ports and circuits
Interfaces, Ports, and Bindings
Interfaces
Bindings
 Profiles
Profiles and Use commands
Use Commands
 Command line interface CLI
 Operator exec mode, the system prompt is displayed as
Command modes
CLI prompt
 Command completion
Command editing
Command help
Navigating the CLI
 Command history
Command Editing Shortcuts
 Accessing the CLI
 Accessing the SmartWare CLI task list
If desired
 Ending a Telnet or console port session see
Accessing via the console port
Console port procedure
 Using an alternate TCP listening port for the Telnet server
Accessing via a Telnet session
Telnet Procedure
Disabling the Telnet server
 Selecting a secure password
Login display
 Configuring operators and administrators
Password encryption
Factory preset administrator account
Creating an operator account
 Opening a secure configuration session over SSH
Creating an administrator account
Name and password password
Nodecfg#copy running-config startup-config
 Displaying account information
Mode Enable
Displaying the CLI version
 Node# who
Switching to another account
Checking identity and connected users
Node who
 Used in operator execution mode
Command index numbers
 Accessing the CLI
 Showing command default values
Ending a Telnet or console port session
 System image handling
 System image handling
 Memory regions in SmartWare
 System image handling task list
Local Persistent Volatile Flash
 Show version
Displaying system image information
Copying system images from a network server to Flash memory
 Step Command Purpose
 Upgrading the software directly
 Here’s an example for configuration provisioning
Auto provisioning of firmware and configuration
Explanation
 To use and debug provisioning
 Boot procedure
Boot procedure
 IP Addresses in the Factory Configuration
Default Startup Configuration
Factory configuration
 Configuration file handling
 Understanding configuration files
 Configuration file handling
 Configuration file handling task list
Sample configuration file
 Copying configurations within the local memory
Local Memory Regions
 Name nvramtarget-name
Node# copy nvram backup startup-config
Backup already present in flash memory
Name into the local memory
 Copying configurations to and from a remote storage location
Remote memory regions for SmartWare
 New-startupnvramstartup-config
Displaying configuration file information
Nodecfg# copy tftp//ip-addressport
 Modifying the running configuration at the CLI
 Node#reload
Modifying the running configuration offline
Node#copy running-config tftp//node-ip
 Example Deleting a specified configuration
Example Modifying the running configuration offline
Deleting a specified configuration
Delete the configuration named minimal explicitly
 Encrypted Configuration Download
CLI copy command copy tftp//host/path config-file
Encrypted file download
Auto provisioning
 Install a custom encryption key optional
Use Cases
 Upload an encrypted configuration file
Encrypt a configuration file
Download an encrypted configuration file
 Basic system management
 Basic system management configuration task list
 Node cfg#copy tftp//tftp-server/path/file
Managing feature license keys
Downloads the license key file and install
Name licenses Licenses
 Setting system information
 Setting the system banner
System banner with message to operators
 Setting time and date
Display clock information
 Determining and defining the active CLI version
Display time since last restart
Configuring the Web server
De en
 Restarting the system
Displaying the system logs
 Unit
Controlling command execution
Displaying reports
 Ctrl-cterminate current command
Ctrl-zsuspend active command
Show the currently running commands
Bring job 0 to foreground
 Some examples
Timed execution of CLI command
Mode System
Displaying the checksum of a configuration
 Name sys#no terminal idle-time
 Radius Client Configuration
 AAA component
 Authentication procedure with a Radius server
General AAA Configuration
 Authentication profile-name
Nodecfg#profile authentication name
Nodepf-authname#server-timeout
Nodecfg#show profile authentication
 Radius configuration
 Configuring Radius clients
Example Configure the Radius clients as shown in figure
 Configuring Radius accounting
Vendor
 109
 Configuring the Radius server
Attributes in the Radius request message
 Configuring the local database accounts
Attributes in the Radius accept message
 Password
Example Create an administrator and an operator account
Word password
Base. The no form removes an existing account
 Storing call logs with quality information
 IP context overview
 IP context and related elements
 IP context overview configuration task list
 Creating and configuring IP interfaces
Planning your IP configuration
Configuring physical ports
IP interface related information
 Configuring RIP
Configuring Napt
Configuring static IP routing
 Configuring access control lists
Configuring quality of service QoS
 IP interface configuration
 Nodectx-iprouter#interface name
IP interface configuration task list
Creating an IP interface
Nodeif-ip name#
 Deleting an IP interface
 Name if-ip if-name# no napt
Setting the IP address and netmask
Configuring a Napt DMZ interface
Inside
 Router advertisement broadcast message
Icmp message processing
Icmp redirect messages
 Example Defining the MTU of the interface
Nodeif-ipname#tcp adjust-mss
Defining the MTU and MSS of the interface
MTU packet size value must be in the range from
 Configuring an interface as a point-to-point link
Displaying IP interface information
 Flushing dynamic ARP entries
Testing connections with the ping command
Displaying dynamic ARP entries
Processing gratuitous ARP requests
 IP link supervision
Mode Either operator or administrator execution
Ber timeout seconds
Node#ping address num
 Debug connectivity
Check connectivity of an IP link
Show IP link status
Debug ARP
 Traceroute
Example Debug ARP output
 Configuring the Igmp Proxy
Example Display the ARP information
 NAT/NAPT configuration
 Dynamic Napt
 Dynamic NAT
Tftp because the SmartNode might become inaccessible
Static Napt
 Static NAT
Napt traversal
 Node cfg#profile napt name
NAT/NAPT configuration task list
Creating a Napt profile
Optional
 Optional Ahespgreipv6 localip
Configuring a Napt DMZ host
Defining Napt port ranges
AH, ESP, GRE, or IPv6 respectively directed to
 Name pf-napt pf-name# udp-handling symmetricaddress
Preserving TCP/UDP port numbers in Napt
Defining the UDP Napt type
 Node cfg#context ip router
Activate NAT/NAPT
Displaying NAT/NAPT configuration information
Node cfg#show profile napt
 Configuring NAT static protocol entries
Mode profile napt pf-napt
Example Display NAT/NAPT configuration information
 Ethernet port configuration
 Configuring medium for an Ethernet port
Entering the Ethernet port configuration mode
Ethernet port configuration task list
 Nodeprt-eth slot/port#encapsulation ip
Configuring Ethernet encapsulation type for an Ethernet port
Binding an Ethernet port to an IP interface
Configures the encapsulation type to IP
 Multiple IP addresses on Ethernet ports
Nodeprt-eth slot/port#bind interface name router
 Configuring a Vlan
 Nodevlanid#encapsulation ippppoemulti
Nodeconfig#port ethernet slot port
Nodeprt-ethslot/port#vlan id
Nodevlanid#bind interface name router
 Nodeprt-eth slot/port#cos rx-map layer
Adding a receive mapping table entry
Example Adding a receive mapping table entry
 Adding a transmit mapping table entry
Closing an Ethernet port
 Using the built-in Ethernet sniffer
 Nvramethernet-0-0-1.cap
Following is an example of how the sniffer is normally used
Nvramethernet-0-slot-port.cap
 Link scheduler configuration
 Using traffic classes
Applying scheduling at the bottleneck
 Priority
Weighted fair queuing WFQ
Introduction to Scheduling
Shaping
 Burst tolerant shaping or wfq
Hierarchy
 Setting the modem rate
Quick references
 Link scheduler configuration task list
Command cross reference
Policy-map policy-map Profile service-policy
Source traffic-class class
 Packet classification
Enable statistics gathering see
Defining the access control list profile
 Creating an access control list
Scenario with Web server regarded as a single source host
 Nodepf-acl name#permit ip host ip-address any traffic-class
Creating a service policy profile
Nodecfg#profile acl name
Nodepf-acl name#permit ip any any
 Structure of a Service-Policy Profile
 Defining fair queuing weight
Specifying the handling of traffic-classes
 Defining the bit-rate
Mode Source
Specifying the type-of-service TOS field
Defining absolute priority
 Nodesrc name#set ip tos value
Specifying differentiated services codepoint Dscp marking
Specifying the precedence field
Nodesrc name#set ip precedence value
 Nodesrc name#set ip dscp value
Defines the Class-Of-Service value applied to packets of for
Specifying layer 2 marking
Value is from 0 to
 Discarding Excess Load
Quality of Service for routed RTP streams
Defining random early detection
Nodesrc name#random-detect burst-tolerance
 Mode profile service-policy/profile
 Policy name in out
Devoting the service policy profile to an interface
Nodeif-ip if-name#use profile service
 Displaying link scheduling profile information
Enable statistics gathering
Displaying link arbitration status
 Optional Value Implication on Command Output
 Serial port configuration
 Serial port configuration task list
Disabling an interface
 Enabling an interface
 Port
Configuring the serial encapsulation type
Configuring the hardware port protocol
 Configuring the active clock edge
 Configuring the baudrate
Baudrate
 176
 Frame Relay configuration
 Frame Relay configuration task list
Configuring Frame Relay encapsulation
 Configuring the LMI type
Configuring the keep-alive interval
 Nodepvc dlci#fragment size
Enabling fragmentation
Ber to be used on the specified virtual circuit
For this PVC only FRF.12 end-to-end fragmentation
 Entering Frame Relay PVC configuration mode
 Configuring the PVC encapsulation type
Binding the Frame Relay PVC to IP interface
 Mode PVC
IP interface wan is bound to PVC 1 on port serial 0
 Enabling a Frame Relay PVC
Disabling a Frame Relay PVC
 Debugging Frame Relay
 Displaying Frame Relay information
 Integrated service access
 188
 Configure the serial interface settings
Check that the Frame Relay settings are correct
 Example 2 Frame Relay on e1t1 with a channel-group
 PRI port configuration
 Terminology
PRI port configuration task list
 Configuring PRI port-type
Enable/Disable PRI port
PRI Debugging
Configuring PRI clock-mode
 Ami b8zs hdb3
Configuring PRI framing
Name prt-e1t1 slot/port# linecode
Name prt-e1t1 slot/port# framing
 Configuring PRI application mode E1T1 only
Configuring PRI line-build-out E1T1 in T1 mode only
Configuring PRI used-connector E1T1 in E1 mode only
 Configuring PRI LOS threshold E1T1 only
Configuring PRI Loopback detection E1T1 only
 Default disabled
Configuring PRI encapsulation
 Configuring Channel-Group Timeslots
Mode channel-group group-name
Create a Channel-Group
Configuring Channel-Group Encapsulation
 Mode hdlc
Entering Hdlc Configuration Mode
Mode channel-group group
Configuring Hdlc CRC-Type
 PRI Debugging
Default no encapsulation
Configuring Hdlc Encapsulation
 PRI Configuration Examples
 Example 3 RBS with a channel-group
Example 1 Isdn
Example 2 RBS without a channel-group
 Example 4 Frame Relay without a channel-group
 Example 7 PPP with a channel-group
Example 5 Framerelay with a channel-group
Example 6 PPP without a channel-group
 BRI port configuration
 Configuring BRI clock-mode
Enable/Disable BRI port
BRI port configuration task list
 Configuring BRI encapsulation
Configuring BRI Power-Feed
Feed Default disabled
Creating a channel group
 Timeslots timeslots
Default no timeslots
Name ch-grp group-name#no Selects the timeslot to be used
 Name#show port bri
BRI Debugging
Name#no debug bri
 BRI Configuration Examples
Example 1 Isdn with auto clock/uni-side settings
Example 2 Isdn with manual clock/uni-side settings
 Example 3 Multi-Link PPP over two B-Channels
 Isdn Overview
 Isdn reference points
Isdn reference points
 Isdn UNI Signaling
Possible SmartNode port configurations
 215
 Isdn Configuration Concept
Isdn Layering
 Isdn configuration
 Isdn configuration task list
Enter Q.921 configuration mode
Mode base-mode
Configuring Q.921 parameters
 Configuring Q.921 encapsulation
Mode q921
Enter Q.931 configuration mode
 Mode q931
Configuring Q.931 parameters
 Etsi
Nodeq931slot/port#signalling-rule
Nodeq931slot/port#no signalling-rule
Pss1old
 Face if-name
Configuring Q.931 encapsulation
Debugging Isdn
Control interface
 Node#show port isdn slot port detail level
Isdn Configuration Examples
Example being clock slave on uni network interface
 Example PRI
Example Qsig
Assume the scenario as illustrated in figure
 RBS configuration
 Configuring RBS protocol
Enter RBS configuration mode
RBS configuration task list
 Debugging RBS
Mode rbs
Configuring RBS encapsulation
Noderbs#no encapsulation cc-rbs
 RBS Configuration Examples
Example Configuring RBS Ground Start on a E1T1 port
 229
 DSL Port Configuration
 Line Setup
Configuring PPPoE
 Configuration Summary
Profile napt WAN
 Using PVC channels with PPPoE
Setting up permanent virtual circuits PVC
Using PVC channels in bridged Ethernet mode
 PPPoE access
Troubleshooting DSL Connections
Diagnostics
Link State
 Basic IP routing configuration
 Static routing
Basic IP routing configuration task list
Routing tables
Policy routing
 Nodecfg#context ip router Enters the IP router Context
Displaying IP route information see
Configuring static IP routes
Adds a static route
 Deleting static IP routes
Displaying IP route information
 Configuring policy routing
0.0/0 172.16.32.2 Static
 Examples
Basic static IP routing example
 Changing the default UDP port range for RTP and Rtcp
 RIP configuration
 Routing protocol
 RIP configuration task list
Enabling send RIP
 Enabling an interface to receive RIP
Specifying the send RIP version
 Enabling RIP learning
Example Enabling RIP learn host and default
Specifying the receive RIP version
 Enabling RIP announcing
 Specifying the default route metric
Enabling RIP auto summarization
 Enabling RIP split-horizon processing
Enabling the poison reverse algorithm
 Enabling holding down aged routes
Setting the RIP route expiry
3600 Default 180 seconds
Nodeif-ipname#rip route-expiry
 Displaying RIP configuration of an IP interface
Displaying global RIP information
 252
 Access control list configuration
 Why you should configure access lists
About access control lists
What access lists do
 When to configure access lists
Features of access control lists
 Access control list configuration task list
Mapping out the goals of the access control list
 Nodepf-acl name#permit ip src src-wildcard any
 Where the syntax is
 Nodepf-acl name#deny icmp src src-wildcard
Nodepf-acl name#permit icmp src src-wildcard any
Type type type type code code cos group
Any host src dest dest-wildcard any host dest
 Type type
Where the syntax is as following
Msg name
Code code
 Port lt port range from to cos group cos-rtp group
Nodepf-acl name#permit tcp udp sctp src src-wild
Card any host src eq port gt port lt port range
Nodepf-acl name#deny tcp udp sctp src src
 Gt port
Eq port
Lt port
Range from to
 Where the syntax is
 Debugging an access control list profile
Unbind an access control list profile from an interface
Displaying an access control list profile
 Control list profile shall be debugged
 Commands that have to be entered are listed below
Denying a specific subnet
 Snmp configuration
 Snmp basic components
Snmp basic commands
Simple Network Management Protocol Snmp
 Network management framework
Identification of a SmartNode via Snmp
Snmp management information base MIB
 Snmp configuration task list
Setting basic system information
Snmp tools
 271
 Setting access community information
Example Setting the system group objects
 Ro rw Or read/write access
 Nodecfg#snmp host IP-address-of-SN security
Setting allowed host information
Specifying the default Snmp trap target
Nodecfg#snmp target IP-address-of-SN
 Using the AdventNet Snmp utilities
Displaying Snmp related information
 Using the MibBrowser
AdventNet MibBrowser Settings Button on the Toolbar
 Using the TrapViewer
AdventNet TrapViewer displaying received traps
 Generic Type
TimeStamp
Enterprise
Specific Type
 Standard Snmp version 1 traps
 Snmp interface traps
 281
 Sntp client configuration
 Sntp client configuration task list
 Unicast anycast multicast
Defining Sntp client operating mode
Selecting Sntp time servers
 Defining Sntp local UDP port
 Example Disabling the Sntp client operation
Enabling and disabling the Sntp client
Example Enabling the Sntp client operation
Defining Sntp client poll interval
 Name #show clock local
Defining Sntp client constant offset to GMT
Defining the Sntp client anycast address
Displays the local time, UTC and the offset of the local
 Nodecfg#sntp-client anycast-address ip
Example Enabling the Sntp client root delay compensation
Enabling and disabling local clock offset compensation
 Example Showing Sntp client related information
Example Disabling the Sntp client root delay compensation
Showing Sntp client related information
Debugging Sntp client operation
 Nist Internet time service
Recommended public Sntp time servers
 291
 Dhcp configuration
 Dhcp configuration
 DHCP-server and DHCP-client are illustrated in figure
Enable DHCP-client on an IP interface
DHCP-client configuration tasks
 Example Enable DHCP-client on an IP interface
‘configure’ configuration mode
 Release or renew a Dhcp lease manually advanced
Mode Any
Example Enable Dhcp debug monitor
Get debug output from DHCP-client
 DHCP-server configuration tasks
Configure DHCP-server profiles
 Nodecfg#profile dhcp-server name
Nodepf-dhcpsname#no default
Nodepf-dhcpsname#no netbios
Nodepf-dhcpsname#network ip
 Nodepf-dhcpsname#no next-server
Use DHCP-server profiles and enable the DHCP-server
Nodepf-dhcpsname#no bootfile boot
All ip-address
 Check DHCP-server configuration and status
Define the bootfile Option 67 for the DHCP-server
Define the Tftp server Option 66 for the DHCP-server
 Get debug output from the DHCP-server
 Configure DHCP-relay
Create/Modify DHCP-Relay profile
 Enable/Disable DHCP-Relay Agent
 DNS configuration
 Server-ip-address
DNS configuration task list
Enabling the DNS resolver
 DNS relay diagram
Enabling the DNS relay
 307
 DynDNS configuration
 DynDNS configuration task list
Creating a DynDNS account Configuring the DNS resolver
 Word
Configuring basic DynDNS settings
Configuring the DynDNS server
 Troubleshooting
Configuring advanced DynDNS settings optional
Mode DynDNS
Defining a mail exchanger for your hostname
 312
 PPP configuration
 314
 Nodeif-ipname#point-to-point
PPP configuration task list
Creating an IP interface for PPP
 Nodeif-ipname#ipaddress dhcp
Nodeif-ipname# no tcp adjust-mss
Nodeif-ipname#ipaddress
Nodeif-ipname# ipaddress ip-address
 Nodeif-ipname#use profile napt name
Disable interface IP address auto-configuration from PPP
Creating a PPP subscriber
Nodecfg # subscriber ppp name
 Chap pap chappap
Optional outboundinbound user password
Nodesubscrname# dial inout
Nodesubscrname# no identification
 Trigger forced reconnect of PPP sessions using a timer
Configuring a PPPoE session
 Tor AC-Name
 Creating a PPP profile
Case authentication is required
Configuring PPP over a Hdlc Link
Optional file
 Nodepf-pppname#mtu min min max
Default
Nodecfg #no profile ppp name
Nodepf-pppname#mru min min max
 Configuring the local and remote PPP Mrru
Min max max default
Default
Name pf-ppp profile# mrru min
 Displaying PPP configuration information
Example Display PPP subscriber configuration information
 Example Display a PPP profile
Debugging PPP
 Nodecfg #show pppoe name
Nodecfg #show ppp links level
Nodecfg #show ppp networks level
Nodecfg #show port interface name
 Example Display PPP link information
LCP
 Example Display PPP network protocol information
Example Display PPPoE information
 Sample configurations
Without authentication, encapsulation multi, with Napt
With authentication, encapsulation PPPoE
PPP over Ethernet PPPoE
 PPP over a Hdlc Link Serial Port
Without authentication, numbered interface
With authentication, unnumbered interface
PPP over a Hdlc Link E1T1 Port
 PPP Dial-up over Isdn
PPP Dialer
 Create a dialer
Following command creates a new PPP dialer Mode context cs
Dial-up and login information for a certain
Create outbound destinations
 Configure recovery strategy
 Create inbound destinations
Case
 E164
Name if-dialerdialer#inbound
Name inboundprovider#local-e164
Name inboundprovider#remote-e164
 Example Dial-on demand feature
Debug dialer functionality
 Dial-up
Dial-up on demand
 Dial-up nailed
Dial if possible, and never drop Mode context ip/interface
Dial-up on monitor
 CS context overview
 CS context configuration components
 CS context configuration task list
Planning the CS configuration
 Remote office in an Enterprise network
 Configuring general CS settings
Configuring the clock source
 Mode Operator execution
Debugging the clock source
 Node sys#clock-sourceslot-number port-number
Configuring call routing
Selecting PCM law compression
Reference clock
 Creating and configuring CS interfaces
Specify call routing
 Configuring dial tones
Configuring voice over IP parameters
 Configuring an H.323 VoIP connection
Configuring Isdn ports
Configuring FXS ports
Configuring a SIP VoIP connection
 Activating CS context configuration
 Nodectx-csswitch#show call-router status detail
Nodectx-csswitch#show call-router config detail
Node ctx-csswitch#debug call-router detail level
Level
 SmartNode in an Enterprise network
 Planning the CS context
CS Configuration
 Configuring call routing
Configuring general CS settings
First we set clock-source to Isdn port 2/3
 354
 We want to use this profile on our H.323 interfaces
Configuring VoIP settings
Because we need G.723 as codec we enable Dtmf relay
Configuring BRI ports
 Activating the CS context configuration
Next we configure call signaling
Configuring an H.323 VoIP connection
 Finally, activate the gateway and CS context
TAB-CALLED-NUMBER
 Showing the running configuration
Configuration script for our application looks as follows
 359
 360
 361
 VPN configuration
 Authentication
Encryption
 Key management
Transport and tunnel modes
Permanent IKE Tunnels
 Example Create an IPsec transformation profile
VPN configuration task list
Creating an IPsec transformation profile
Creating an IPsec policy profile
 Procedure To create an IPsec policy profile Mode Configure
 Creating/modifying an outgoing ACL profile for IPsec
 Configuration of an IP interface and the IP router for IPsec
Displaying IPsec configuration information
 Debugging IPsec
Example Display IPsec transformation profiles
Example Display IPsec policy profiles
Example IPsec Debug Output
 Creating an Ipsec transform profile
Key management IKE
Main differences between manual & IKE Ipsec configurations
 Creating an Isakmp transform profile
 Icy shall be used for multiple peers in transport
Creating an Isakmp Ipsec policy profile
Should be used. Do not specify a peer, if this pol
Mode. The peer can either be an IP address or a
 Policy matching
Creating/modifying an outgoing ACL profile for Ipsec
Configuration of an IP interface and the IP router for Ipsec
Sample configuration snippet
 Debug ike event
Debug ike error
Use profile acl WANOut out
 Performance considerations
Encrypted Voice Performance considerations
Enabling RTP encryption support
 Mode Context ip /interface if-name
 IPsec tunnel, DES encryption
SmartNode configuration
 Cisco router configuration
 379
 380
 CS interface configuration
 CS interface configuration task list
CS interfaces on the CS context
 Nodeif-typeif-name#exit
Examples Create CS interfaces and delete another
Nodeif-typeif-name#…
 384
 Table table-name
Service service-name Nodeif- typeif-name #exit
Configuring the interface mapping tables
 And/or
Table in table-name
That shall be applied to all call properties
Specified direction
 Incoming call passing an interface mapping table
 Configuring the precall service tables
Call passing an input and an output mapping table
 Supplementary service invocation command
Supplementary service invocation commands
Number to command
Repeat to add other special number map
 Isdn interface configuration
 Isdn interface configuration task list
Isdn interfaces on the CS context
 Nodeif-isdn if-name#no use profile
Configuring Dtmf dialing optional
Configuring an alternate Pstn profile optional
Defines an alternate Pstn profile to be used for
 Configuring call waiting optional
Name if-isdn if-name# no call-waiting Disable call-waiting
Configuring ringback tone on Isdn user-side interfaces
Disabling call-waiting on Isdn DSS1 network interfaces
 Configuring date/time publishing to terminals optional
Configuring Call-Hold on Isdn interfaces
Enabling Display Information Elements on Isdn Ports
 Sending the connected party number Colp optional
Defining the ‘network-type’ in Isdn interfaces
 Home Office
 Isdn Advice of Charge support
 398
 Nodeif-isdnif- name# aoc-d automatic
If there is no tariff information from the network for
All calls
If there is not charge information from the network
 Isdn Network Interface connected to phones
Isdn User Interface Connected to a PBX switch etc
Following table shows an overview of the AOC variants
NoChargeAvailable
 Transmit Direction
Mode interface isdn interface
Isdn DivertingLegInformation2 Facility
Receive Direction
 500
Nodeif-isdn#caller-name
Nodeif-isdn#caller-name early-alerting
 Nodeif-isdn#caller-name ignore
Outgoing Isdn call. This feature is disabled
By default
Absence
 FXS interface configuration
 FXS interface configuration task list
Configuring a subscriber number recommended
 Configuring flash hook processing optional
Mode Interface FXS
Configuring caller-ID presentation optional
Nameif-fxsname#no subscriber
 Configuring ringing-cadence optional
 Configuring the Message Waiting Indication feature for FXS
Ing-indication stutter-dial-tone Through Stuttered Dial Tone
 Mat bell
Frequency-shift keying
Mat etsi
 FXS supplementary services description
Call hold Call transfer
 Call waiting
Default enabled
Call hold
Tern
 Drop active call
Call waiting reminder ring
Drop passive call
Call toggle
 Nameif-fxsname#no drop-passive
Conferencing
Call park
Pattern
 FXO interface configuration
 FXO interfaces on the CS context
 FXO services description
Creating an FXO interface
 Nodeif-fxo name #
Nodectx-csswitch#interface fxo name
Deleting an FXO interface
 FXO interface configuration task list
FXO off-hook on caller ID
 Nodeif-fxoif-name#
Configuring when the digits are dialed optional
Nodectx-csswitch#interface fxo if-name
Nodeif-fxo if-name#
 Figuration mode
Nodeif-fxoif-name#dial-after dial-tone timeout seconds
 Nodeif-fxo if-name#
Nodeif-fxo if-name #ring-number count
 Configuring how to detect a call has disconnected optional
Min min-time max max-time
 Nodeif-fxo if-name#no connect-signal
Battery-reversal tax-pulse
 Configuring the destination of the call
FXO Mute dialing
 FXO interface examples
 RBS interface configuration
 Configuring an alternate Pstn profile
RBS interface configuration task list
Creating/Deleting a RBS interface
Name Face, the ‘no’ form deletes an existing one
 Configuring an alternate Tone-Set profile
Mode Interface RBS
Configuring additional disconnect signals
Configuring B-Channel allocation strategy
 Configuring number of Rings before Off-Hook
Nodeif-rbsif-name#no dial-after dial- tone timeout seconds
Node#no debug ccrbs datapath error signaling
Configuring ready to dial strategy
 Selected interface
Node#show ccrbs call if-name detail level
Prints information about ongoing calls on
Node#show ccrbs interface if-name detail
 Interface configuration
 Interface configuration task list
 Binding the interface to an H.323 gateway
Examples Define the IP address of the remote H.323 entity
 Configuring an alternate VoIP profile optional
 Specifies the information transfer capability to
Configuring CLIP/CLIR support optional
Node if- h323 if-name #itc rx 3k1
Node if- h323 if-name #itc tx 3k1
 Nameif-h323if-name#early-proceeding
Enabling ‘early-proceeding’ on H.323 interfaces
Enabling the early call connect optional
Nameif-h323name#early-connect
 Enabling the early call disconnect optional
Enabling the via address support optional
 Ing connection should be established
Configuring status inquiry settings optional
Nodeif-h323if-name# remoteport port
 AOC-D Support for H.323
 Nodeif-h323if-name# no aoc-d emit
Mode context cs/interfce h.323 interface-name
Nodeif-h323if-name# no aoc-d
 SIP interface configuration
 SIP
SIP interface configuration task list
 Nodeif-sipif-name# no bind context
Binding the interface to a SIP gateway
Configure a remote host
Sip-gateway gw-name
 Nodeif-sipif-name# no remote host
Using an alternate VoIP profile Optional
Configuring a local host Optional
Nodeif-sipif-name# no local host
 Nodeif-sipif-name#use profile voip
Using an alternate SIP profile Optional
Using an alternate Tone-Set profile Optional
Nodeif-sipif-name#use profile sip pro
 Mapping call-control properties in SIP headers
Configuring early call connect / disconnect Optional
Configuring address translation Optional
 Header
Mapping SIP headers to call-control properties
Configuring Isdn Redirecting Number Tunneling Over SIP
 Updating caller address parameters
 SIP Diversion Header
 450
 SIP Refer Transmission & Isdn Explicit Call Transfer support
 452
 Accept
AOC Over SIP Optional
Name if-sip interface#no aoc-d
Name if-sip interface#no aoc-d emit
 Enabling the session timer Optional
Enabling the SIP penalty-box feature Optional
 Default zero-ip
Configure the SIP hold method Optional
 Call router configuration
 Call router configuration
 458
 Direct call routing vs. advanced call routing
 Call router configuration task list
Map out the goals for the call router
 Configure general call router behavior
Enable advanced call routing on circuit interfaces
Configure address completion timeout
 Digit-collection timeout timeout
Example Configure address completion timeout
Address-completion timeout timeout
Digit-collection terminating-char char
 Example Configure number prefix
Procedure To configure number prefix Mode Context CS
Configure number prefix for Isdn number types
National-prefix prefix
 Configure call routing tables
Create a routing table
 Calling-e164
 Regular Expressions
Example Called party number routing table
Called party number routing table
 Symbol Description
 Digit Collection
 Digit Collection Variants
 Example Digit collection of any number
 Dialed Selected Description Number Entry
 Calling party number routing table
Number type routing table
 Numbering plan routing table
 Name routing table
IP address routing table
 Smith must be escaped with a backslash \, because
Presentation Indicator Routing Table
URI routing table
Dot . means ‘any character’ in a regular expression
 Screening Indicator Routing Table
 Information transfer capability routing table
 478
 Day of Week Routing Table
Default Any other unhandled case Mode context cs
Time of day routing table
Example Day of week routing table
 Deleting routing tables
Procedure To delete an entire routing table
Node ctx-cs switch #routing-table
Resulting running-config is
 Configure mapping tables
Node ctx-cs switch #no routing-table
Example Remove an entire routing table
Delete the routing table table-name
 Type Description Input-Type Description Output-Type
 Sets the display name of the called
 Mapping table examples
 Input-type to output-type table-name
Example Called and calling party manipulation mapping table
To E.164 Mapping Tables
Away the input-type and output-type
 486
 487
 Custom SIP URIs from called-/calling-e164 properties
Other mapping tables
 Enter the mapping table from which you want to remove an
Node ctx-cs switch #mapping-table
Deleting mapping tables
 Creating complex functions
Procedure To delete an entire mapping table Mode Context CS
Example Remove an entire mapping table
 Example Create a complex function
Deleting complex functions
 Sending-Complete
Example Remove an entire complex function
Digit collection & sending-complete behavior
Ingress interface
 Call-Router
323
 123#
Yes
True
 Egress Interface
 Mode context cs / interface sip
Complete-indication clear
 Creating call services
Creating a hunt group service
 Hunt group service
 Cause cause
Node ctx-cs switch #service hunt
Call dest-service service-name
Call dest-interface interface-name
 Default Behavior Class Cause Hunt Description Group Service
Normal Event
 No-user-responding Drop original call
 Unavailable
Service or
Resource
Option Not
 Implemented
Invalid Message
 Protocol Error
 Interworking
 Creating a distribution group service
Distribution group service
 Dest-service service-name
Node ctx-cs switch #service distribu
Nodesvc-huntservice-name# route call
With the first configured destinations
 Distribution-Group Min-Concurrent setting
Call-router ‘limiter’ service
 Priority service
‘Limiter’ service diagram
 Priority service diagram
 CS Bridge service-‘VoIP Leased Line’
Bridge
 Bridge services diagram
 Configuring the service second-dialtone
Configuration Example
 Deleting call services
Activate the call router configuration
 Test the call router configuration
Example Create and test a routing table
 516
 Call routing example network
 518
 CS context and call router elements
 520
 Configure partial rerouting
 Mode context cs/service aaa
Mode context cs/interface sip
Enable push-back aaa service
Call reroute
 Enable push-back hunt group service
Enable push-back bridge service
Enable push-back distribution-group service
Enable push-back limiter service
 SIP call-router services
 Entering conference-service configuration mode
SIP conference-service
SIP conference-service configuration task list
Name ctx-csswitch#no service sip
 Configuring the conference server
SIP location-service
Mode Service SIP conference
Ference-server host-name port
 SIP location-service configuration task list
Entering SIP location-service configuration mode
 Configuring multi-contact behavior
Binding a location service
Configuring the hunt timeout
Seconds
 Tone configuration
 Tone-set profiles
 Tone configuration task list
Configuring call-progress-tone profiles
 Procedure To configure a tone-set profile Mode Configure
Configure tone-set profiles
 For which a tone indication can be provided
Enable tone-set profile
Procedure To assign a tone-set profile to a Pstn interface
 Node#show profile call-progress-tone
Show call-progress-tone and tone-set profiles
Example Show tone-set profile
Name Cific with name name
 Following example shows how to display the tone-set profile
 536
 FXS port configuration
 Shutdown and enable FXS ports
 Netherlands
Bind FXS ports to higher layer applications
Configure country-specific FXS port parameters
 Other FXS port parameters
Mode IC voice in system
Enter FXS port configuration mode
Nodeconfig#port fxs slot port
 Example
 FXO port configuration
 Shutdown and enable FXO ports
Bind FXO ports to higher layer applications
 Nodeconfig#port fxo slot port
Configure country specific FXO port parameters
Other FXO port parameters
Nodeprt-fxo slot/ port#use
 Enter FXO port configuration mode
 Gateway configuration
 Gateway between IP and CS contexts
 Gateway configuration task list
Mode Gateway H.323
Enable the gateway
Binding the gateway to an IP interface
 Configure registration authentication service RAS Optional
 Ery auto gkid
Configure H.235 Security optional
Node gw-h323h323#gatekeeper-discov
 Procedure To enable H.235 security on H.323 gateway
235 configuration
 Node gw-h323h323#h235security master
\getcryptopassword h235-password mas
Word h235-password encrypted
Node gw-h323h323#h235security pass
 Signaling message
Default setting is
Command show h235-securityshows the current setting
Detail debug-level
 Advanced configuration options optional
Enabling H.245 Tunneling
 Nodegw-h323h323#h245-tunneling Enables H.245 tunneling
Enabling the fastconnect procedure
Enabling the early H.245 procedure
Nodegw-h323h323#faststart Enables the fastconnect procedure
 Nodegw-h323h323#call-signaling-port
Configuring the traffic class for H.323 signaling
Setting the response timeout
Port Naling connections
 Istration
Setting the connect timeout
Nal gateway
 H323 status detail level
Nodecfg#debug gateway h323 error
Nodecfg#debug gateway h323 signaling
Nodecfg#debug gateway h323 tpktchan
 Context SIP gateway overview
 Routing Architecture
 From-URI-Host equal Remote Request-URI-Host equal Local
Enter configuration mode
Context SIP Gateway configuration task list
Creating a context SIP gateway
 Creating a transport interface
Mode Context SIP Gateway
Mode Transport Interface
Configuring the IP binding
 Enabling/disabling the context SIP gateway
Binding location services
Configuring a spoofed contact address
 Show status information
Troubleshooting
Debug commands
Node#show context sip-gateway gw
 Configuration Examples
Example
 Outbound Authentication
 Inbound Authentication
 Outbound Registration
 569
 Inbound Registration
 B2B User Agent with Registered Clients
 572
 VoIP profile configuration
 VoIP profile configuration
 Nodecfg#profile voip name
VoIP profile configuration task list
Creating a VoIP profile
Nodepf-voip name#
 Configure codecs
 Procedure Insert a codec at a specific position in the list
Mode Profile VoIP
Procedure Remove a codec from the list Mode Profile VoIP
 Configuring the Cisco versions of the G.726 codecs
Mode VoIP name
Configuring the transparent-clearmode codec
 Configuring RTP payload types
Defaultrtpsignaling
Configuring Dtmf relay
Nodepf-voip pf-name#dtmf-relay
 Configuring Cisco NSE for Fax
Configuring RTP payload type for transparent-clearmode
Configuring RTP payload type for Cisco NSE
Nodepf-voip name#rtp payload-type nse
 Configuring the dejitter buffer advanced
Jitter and dejitter buffer
 Procedure Configure the dejitter buffer
Adaptive
 Enabling/disabling filters advanced
Max-delay
Dejitter buffer is allowed to introduce. This setting
Is valid for all modes
 Configuring Fax transmission
Illustrates the difference between Fax relay and Fax bypass
 Fax relay and Fax bypass
 Nodepf-voipname#fax dejitter
Nodepf-voipname#fax transmis
Sion bypass g711alaw64k
Nodepf-voipname# fax transmis
 CED retransmission
Mode profile voip profile-name
Volume
Retransmission number
 Method default v150-vbdnse Default default
No-Signal Retransmission
Mode profile voip pf-name
Fax bypass method
 Nodepf-voip name#modem trans
Modem bypass method
Configuring modem transmission
Mission bypass g711alaw64k
 Configuring the traffic class for Voice and Fax data
Configuring IP-IP codec negotiation
 Home office in an enterprise network
Home office in an enterprise network
 Description
 Show the configured profile
Home office with fax
 Soft phone client gateway
 595
 Disable Dtmf relay Show the configured profile
 Pstn profile configuration
 Pstn profile configuration task list
Creating a Pstn profile
 Procedure Configure voice output gain
Configuring the echo canceller
Procedure Disable echo cancellation Mode Profile Pstn
Configuring output gain
 600
 SIP profile configuration
 Mapping from a SIP disconnect cause
Entering the configuration mode for a SIP profile
SIP profile configuration task list
Namecfg#no profile name name
 Mapping to a SIP redirection code
Mapping to a SIP cause
Mapping from a SIP redirection reason
Q931-cause to sip-cause
 Authentication Service
 Authentication Service configuration task list
Creating an Authentication Service
 Creating credentials
Configuring the authentication protocol
Configuring a Realm
 Location Service
 Adding a domain
Location Service configuration task list
Creating a Location Service
Domain Examples
 Mode Identity
Creating an identity
 Bound
Authentication outbound face
Alias
 Nodeauthout#authenticate authentica
Mode Authentication outbound
Authentication inbound face
Nodeauthout#authenticate index
 Nodeauthin#authenticate index
Mode Authentication inbound
Nodeauthin#authenticate authentica
Nodeauthin#no authenticate index
 Mode Registration outbound
Registration outbound face
 Port strict-route
Noderegout#proxy host port
Strict-route
Noderegout#proxy index down posi
 Nodeidentityname# no registration
Noderegin# no lifetime default sec
Registration inbound face
Inbound
 Nodecallout#proxy host port
Mode Call outbound
Call outbound face
Nodecallout#proxy index host
 Call inbound face
Mode Call outbound
Mode Call inbound
 Creating an identity group
Inheriting from an identity group to an identity
 Configuring the Message Waiting Indication feature for SIP
Subscription
 Mode Message inbound
Notification
 Mode Message inbound
 Message Waiting Indication through Call-Control
 This configuration example, inheritance is used
 VoIP debugging
 Debugging strategy
 Verifying IP connectivity
Following command will disable the filter completely
Filtering debug monitor output
Example Verify IP connectivity
 Unit#debug ccisdn signaling
Debugging call signaling
Debugging Isdn signaling
Overview Isdn debug monitors
 Verify an incoming call
 Line
Verify an outgoing call
 630
 Debug isdn event slot port all layer2 layer3
Isdn layer 2 and 3 can be verified using a show command
Verify Isdn layer 2 and 3 status
 Stops
Debugging FXS Signaling
Overview FXS debug monitors
For most verbose output
 State to RINGING, that means it has accepted the call
 Debugging H.323 Signaling
Overview H.323 debug monitors
 635
 636
 637
 Debugging SIP signaling
 Using SmartWare’s internal call generator
 Way dejitter
Debugging voice data
No debug media-gate
Way control detail level
 Way rtp
Way switch
Way error
Way dsp
 How to submit trouble reports to Patton
Check system logs
 643
 Appendix a Terms and definitions
 SmartWare architecture terms and definitions
Also release
 Pression
 Ory
Buffer
 Pots
 Tftp
 Appendix B Mode summary
 Mode overview, 1
 Mode Overview, 2
 Mode Overview, 3
 Appendix C Command summary
 Ebnf syntax
 Other
New Configuration Commands
Show command history
Show help
 Appendix D Internetworking terms & acronyms
 Abbreviations
Numeric
 DSS1
 MSN
 SAR
 Appendix E Used IP ports & available voice Codecs
 Webserver
Used IP ports
Telnet
 Available voice codecs