Sample Configuration Files

This appendix contains sample configuration files for the HSGW. The following configurations are supported:

In each configuration example, commented lines are labeled with the number symbol (#) and variables are identified using italics within brackets (<variable>).

Standalone eHRPD Serving Gateway

The configuration sample contained in this section contains example configurations described in the System Administration Guide and the eHRPD Serving Gateway Administration Guide. Descriptions of all commands contained herein can be found in the Command Line Interface Reference.

Configuration Sample

# Configuration
file for ST40 in HSGW role
#
# Send HSGW
licenses
configure /flash/flashconfig/<hsgw_license_name>.cfg
end
#
# Set system
to not require confirmation when creating new contexts and/or
services. Config file must end with “no autoconfirm” to
return the CLI to its default setting.
#
configure
   autoconfirm
#
# Configure
ST40 cards
#
# Activate
the PSCs
   card <slot_number>
      mode
active psc
      exit
   card <slot_number>
      mode
active psc
      exit
# Repeat
for the number of PSCs in the system
   end
#
# Modify
the local context for local system management
config
   context
local
      interface <name>
         ip
address <address> <mask>
         exit
      server
ftpd
         exit
      ssh
key <key>
length <bytes>
      server
sshd
         subsystem
sftp
         exit
      server
telnetd
         exit
      subscriber
default
         exit
      administrator
<name>
encrypted password <password>
ftp
      aaa
group default
         exit
      administrator
<name>
encrypted password <password>
ftp
      ip
route <ip_addr/ip_mask> <next_hop_addr> <lcl_cntxt_intrfc_name>
      exit
   port
ethernet <slot#/port#>
      no
shutdown
      bind
interface <lcl_cntxt_intrfc_name>
local
      exit
   ntp
      enable
      server
10.2.10.2
      exit
   snmp
engine-id local <id>
   snmp
notif-threshold <count>
low <low_count>
period <seconds>
   snmp
authentication-failure-trap
   snmp
heartbeat interval <minutes>
   snmp
community <string>
read-write
   snmp
target <name> <ip_address>
   system
contact <string>
   system
location <string>
   rohc-profile
profile-name <name>
      common-options
         delay-release-hc-context-timer <seconds>
         inactive-traffic-release-hc-context-timer <seconds>
         exit
      exit
# HSGW context
   context <hsgw_context_name>
      interface
<a10-a11_interface_name>
         ip
address <ip_address>
         exit
      ip
domain-lookup
      ip
name-servers <ipv4_or_ipv6_address>
      dns-client <name>
      policy
accounting <rf_acct_policy_name>
         accounting-level {type}
         operator-string <string>
         exit
      hsgw-service <hsgw_service_name>
         associate
accounting-policy <acct_policy_name>
         spi
remote-address <ip_address>
spi-number <num> encrypted
secret <secret>
         plmn
id mcc <number>
mnc <number>
         fqdn <domain_name>
         gre
sequence-mode recorder
         gre
flow-control action resume-session timeout  <msecs>
         gre
segmentation
         unauthorized-flows
qos-update wait-timeout <seconds>
         ip
header-compression rohc
         bind
address <a10-a11_interface_address>
         exit
      exit
# MAG context
   context <hsgw_context_name>
      interface <s2a_interface_name>
         ip
address <ipv6_address>
         exit
      mag-servics
<mag_service_name>
-noconfirm
         information-element-set custom1
         bind
address <s2a_interface_address>
         exit
      exit
# AAA and
policy
   context <aaa_context_name>
      interface <aaa_sta_ipv4_interface_name>
         ip
address <ipv4_address>
         exit
      interface <pcrf_gxa_ipv6_interface_name>
         ip
address <ipv6_address>
         exit
      interface <ocs_rf_ipv4_interface_name>
         ip
address <ipv4_address>
         exit
      subscriber
default
      ims-auth-service <gxa_ims_service_name>
      rohc-profile-name <name>
         exit
      aaa
group default
         radius
accounting interim interval <seconds>
         diameter
accounting dictionary <name>
         diameter
authentication dictionary <name>
         diameter
accounting endpoint <rf_ofcs_server>
         diameter
authentication endpoint <sta_cfg_name>
         diameter
accounting server <rf_ofcs_server>
priority <num>
         diameter
authentication server <sta_cfg_name>
priority <num>
         exit
      ims-auth-service <gxa_ims_service_name>
         policy-control
            diameter
origin endpoint <gxa_cfg_name>
            diameter
dictionary <gxa_dictionry_name>
            diameter
host-select table <#>
algorithm round-robin
            diameter
host-select row-precedence <#>
table <#>
host <gxa_cfg_name>
            exit
         exit
      diameter
endpoint <sta_cfg_name>
         origin
realm <realm_name>
         origin
host <name>
address <aaa_ctx_ipv4_address>
         peer
<sta_cfg_name>
realm <name>
address <aaa_ipv4_address>
         route-entry
peer <sta_cfg_name>
         exit
      diameter
endpoint <gxa_cfg_name>
         origin
realm <realm_name>
         origin
host <name>
address <aaa_ctx_ipv6_address>
         peer
<gxa_cfg_name>
realm <name>
address <pcrf_ip_addr>
port <#>
         route-entry
peer <gxa_cfg_name>
         end
      diameter
endpoint <rf_cfg_name>
         origin
realm <realm_name>
         origin
host <name>
address <aaa_ctx_ipv4_address>
         peer
<rf_cfg_name>
realm <name>
address <ocs_ip_addr>
port <#>
         route-entry
peer <rf_cfg_name>
         exit
      exit
# QCI-QoS
mapping
   qci-qos-mapping <name>
      qci
1 user-datagram dscp-marking <hex>
      qci
3 user-datagram dscp-marking <hex>
      qci
9 user-datagram dscp-marking <hex>
      end