Step 1
|
configure
RP/0/RSP0/CPU0:router# configure
|
Enters global configuration
mode.
|
Step 2
|
diameter {gx |
gy}
RP/0/RSP0/CPU0:router(config)# diameter gx
|
Configures Gx
interface for policy control and charging.
Similarly,
configures the Gy interface for online (prepaid) charging.
|
Step 3
|
diameter peer peer
name
RP/0/RSP0/CPU0:router(config)# diameter peer GX_SERVER
|
Configures
DIAMETER peer.
|
Step 4
|
transport security-type tls
RP/0/RSP0/CPU0:router(config-dia-peer)# transport security-type tcp
|
[Optional]
Configures the DIAMETER security type as
TLS .
|
Step 5
|
transport tcp port port_num
RP/0/RSP0/CPU0:router(config-dia-peer)# transport tcp port 3868
|
Configures
the DIAMETER transport protocol used for establishing the connection with the
peer, along with the port number (Optional) that the remote peer uses for
DIAMETER messages.
Currently only
TCP is supported as DIAMETER transport protocol.
|
Step 6
|
destination host host_string
RP/0/RSP0/CPU0:router(config-dia-peer)# destination host dcca1.cisco.com
|
Configures the
hostname of the peer in Fully Qualified Domain Name (FQDN) format.
This value is
sent in various messages so that intermediate proxies can correctly route the
packets.
|
Step 7
|
destination realm realm_string
RP/0/RSP0/CPU0:router(config-dia-peer)# destination realm GX_REALM
|
[Optional]
Configures the realm to which the peer belongs to.
The
destination
realm is added by AAA clients while sending a request to AAA
server, using the AAA_AT_DESTINATION_REALM attribute. If this attribute is not
present, then the realm information is retrieved using the
User name
field. If the clients do not add the attribute, then the value configured in
the peer mode is used while sending messages to the destination peer.
|
Step 8
|
address [ ipv4 |
ipv6]
ip_addr
RP/0/RSP0/CPU0:router(config-dia-peer)# address ipv4 2.2.2.2
|
Configures IP
address of the DIAMETER peer.
|
Step 9
|
ip vrf forwarding vrf_table_name
RP/0/RSP0/CPU0:router(config-dia-peer)# ip vrf forwarding VRF1
|
[Optional]
Configures the VRF associated with the peer, to establish connections with the
peers immediately after configuring the peers.
If this
command is not configured, then the global routing table is used for
establishing the connection with the peer.
If the VRF
associated with the name is not configured, then an error message mentioning
that is displayed, and this command does not have any effect.
|
Step 10
|
source-interface intf-type intf-name
RP/0/RSP0/CPU0:router(config-dia-peer)# source-interface Bundle-Ether 1
|
[Optional]
Configures the source-interface to be used for the DIAMETER connection. The
diameter client uses this source address and port to initiate the TCP
connection to the peer.
This command
is also available in global configuration mode, when used with
diameter
keyword.
|
Step 11
|
peer-type server
RP/0/RSP0/CPU0:router(config-dia-peer)# peer-type server
|
Configures the
peer type. By default, the peer type is,
server .
|
Step 12
|
root
RP/0/RSP0/CPU0:router(config-dia-peer)# root
|
Returns the
configuration mode back to the global configuration mode.
|
Step 13
|
diameter origin host host-name
RP/0/RSP0/CPU0:router(config)# diameter origin host 1.1.1.1
|
Configures the
origin host information.
The origin
host information is sent in different requests to the DIAMETER peer and it maps
to multiple IP addresses. If this value is not configured, then a NULL string
is sent. Therefore, this is a mandatory configuration.
|
Step 14
|
diameter origin realm realm-string
RP/0/RSP0/CPU0:router(config)# diameter origin realm cisco.com
|
[Optional]
Configures the origin realm information.
The origin
realm information is sent in each request to the DIAMETER peer. If this value
is not configured, then a NULL string is sent. Therefore, this is a mandatory
configuration.
|
Step 15
|
diameter timer [ connection |
transaction |
watchdog]
timer-value
RP/0/RSP0/CPU0:router(config)# diameter timer watchdog 300
|
Configures
global timers for DIAMETER.
-
Connection timer is used to delay the connection
establishment or re-establishment of client with the DIAMETER server. It
determines the frequency of transport connection attempts with the peer when
there is no active connection with the peer.
-
Transaction timer is used for setting the
frequency of transaction attempts. That is, the duration for which the client
waits for any response message from the peer.
-
Watchdog timer is used to periodically send the
Device-Watch-Dog to the DIAMETER server to test the link status.
Note
|
These timers
can also be configured at the peer level (in diameter peer configuration mode).
By default, the peers inherit the globally configured timer values. But, if the
timer values are configured at peer level as well, then the peer level timer
values take precedence over the globally configured timer values.
|
|
Step 16
|
diameter vendor supported [ cisco |
etsi |
threegpp |
vodafone]
RP/0/RSP0/CPU0:router(config)# diameter vendor supported cisco
|
Advertises
the various vendor AVPs that the DIAMETER node understands. This information is
passed to the peer in capability exchange messages.
|
Step 17
|
diameter tls trustpoint label
RP/0/RSP0/CPU0:router(config)# diameter tls trustpoint DIAMETER_TRUSTPOINT
|
Specifies the
trustpoint
name to be used in the certificate to be used for DIAMETER TLS exchange. If a
trustpoint
name is not provided, then the default
trustpoint is
used.
|
Step 18
|
diameter {gx |
gy} [ retransmit retansmit-timer-val |
tx-timer tx-timer-val]
RP/0/RSP0/CPU0:router(config)# diameter gx retransmit 5
RP/0/RSP0/CPU0:router(config)# diameter gx tx-timer 100
|
Configures the
re-transmit and the transaction timers for Gx and Gy applications.
|
Step 19
|
Use the
commit
or
end
command.
|
commit
—Saves the configuration changes and remains
within the configuration session.
end
—Prompts user to take one of these actions:
-
Yes
— Saves configuration changes and exits the
configuration session.
-
No
—Exits the configuration session without
committing the configuration changes.
-
Cancel
—Remains in the configuration session,
without committing the configuration changes.
|