Cisco Cisco ASR 5000

Page of 148
Creating and Configuring an HSGW Context
Use the following example to create an HSGW context and Ethernet interfaces, and bind the interfaces to
configured Ethernet ports. The interfaces created in this configuration support the A10/A11 connection to the
eAN/ePCF and the connection to the P-GW.
configure
context <hsgw_context_name> -noconfirm
interface <a10-a11_interface_name>
ip address <ipv4_address>
exit
policy accounting <rf_acct_policy_name> -noconfirm
accounting-level {type}
operator-string <
string>
exit
ip domain-lookup
ip name-servers <
ipv4_or_ipv6_address>
dns-client <
name>
port ethernet <
slot_number
/
port_number>
no shutdown
bind interface <
a10-a11_interface_name> <hsgw_context_name>
end
Notes:
• The HSGW-to-ePCF (A10/A11) interface must be an IPv4 address.
• Set the accounting policy for the Rf (off-line charging) interface. The accounting level types supported
by the HSGW are: PDN, PDN-QCI, QCI, and subscriber. Refer to the Accounting Profile Configuration
Mode Commands 
chapter in the Command Line Interface Reference for more information on this
command.
• The ip domain-lookupip name-servers, and dns-client commands are used during P-GW FQDN
discovery.
Configuring Static IP Routes
Use the following example to configure static IP routes for data traffic between the HSGW and the eAN/ePCF
and/or P-GW:
configure
context <hsgw_context_name>
ip route <addr/mask> next-hop <epcf_addr> <hsgw_epcf_intrfc_name>
ipv6 route <
ipv6_addr/prefix> next-hop <pgw_addr> interface <s2a_intrfc_name>
end
Notes:
• Static IP routing is not required for configurations using dynamic routing protocols.
Creating an HSGW Service
Use the following configuration example to create the HSGW service:
configure
context <hsgw_context_name> -noconfirm
   HSGW Administration Guide, StarOS Release 19
46
HSGW Configuration
Configuration