ltm rule command RADIUS rtdom
iRule(1) BIG-IP TMSH Manual iRule(1)
RADIUS::rtdom
RADIUS::rtdom
SYNOPSIS
RADIUS::rtdom (ROUTE_DOMAIN)?
DESCRIPTION
This command overwrites the default route-domain ID in RADIUS scenario
with given value
RETURN VALUE
VALID DURING
EXAMPLES
when CLIENT_ACCEPTED {
if { [RADIUS::code] == 4 } {
set rd 0
# Extract the APN information from the AVP
set called_station_id [RADIUS::avp 30 "string"]
if {$called_station_id == "station1"} {
set rd 1
} elseif {$called_station_id == "station2"} {
set rd 2
}
# Overwrite the default route domain value with the new value.
RADIUS::rtdom $rd
}
}
HINTS
CLIENT_ACCEPTED CLIENT_CLOSED CLIENT_DATA SERVER_CLOSED
SERVER_CONNECTED SERVER_DATA
SEE ALSO
CHANGE LOG
@BIGIP-10.1.0
--First introduced the command.
BIG-IP 2017-01-31 iRule(1)