SWx Authorization Interface Settings [Документация VAS Experts]

SWx Authorization Interface Settings

Section "charon.plugins.eap-diameter.swx"

Parameter Description Value
app_id Application ID swx
realm Serviced realm epc.mncYYY.mccXXX.3gppnetwork.org
host Client hostname epdg.epc.mncYYY.mccXXX.3gppnetwork.org
vendor_id Vendor ID [none][3gpp]
<diameter-hss-server-name-1> {} HSS Server #1 parameters
<diameter-hss-server-name-2> {} HSS Server #2 parameters
<diameter-hss-server-name-n> {} HSS Server #n parameters

Example:

charon {
        	plugins {
                    	eap-diameter {
                                	interface = SWx
                                	swx {
                                           	app_id = swx
        	                                	realm = epc.mnc002.mcc250.3gppnetwork.org
                                           	host = epdg.epc.mnc002.mcc250.3gppnetwork.org
                                           	vendor_id = 3gpp
                                           	diameter-hss-server-name-1 {}
                                           	diameter-hss-server-name-2 {}
                                           	diameter-hss-server-name-n {}
                    	        	}
                    	}
        	}
}

Section "charon.plugins.eap-diameter.swx.<diameter-hss-server-name-n>"

Parameter Description Value
priority Load balancing priority 0-100
local HSS Server address:port AAA.BBB.CCC.DDD:XXXX, [1111.2222.3333.4444.5555.6666.7777.8888]:XXXX
remote HSS Client address:port AAA.BBB.CCC.DDD:XXXX, [1111.2222.3333.4444.5555.6666.7777.8888]:XXXX
proto Transport protocol [sctp][tcp]

Example:

charon {
        	plugins {
                    	eap-diameter {
                                	interface = SWx
                                	swx {
                                           	app_id = swx
                                           	realm = epc.mnc002.mcc250.3gppnetwork.org
                                           	host = epdg.epc.mnc002.mcc250.3gppnetwork.org
                                           	vendor_id = 3gpp
                                           	diameter-hss-server-1 {
                                                       	priority = 50
                                                       	local = 192.168.1.1:3868
                                                       	remote = 192.168.2.1:3868
                                                       	proto = sctp
                                           	}
                                           	diameter-hss-server-2 {
                                                       	priority = 30
                                                       	local = 192.168.1.1:3869
                                                       	remote = 192.168.2.2:3868
                                                       	proto = sctp
                                           	}
                                           	diameter-hss-server-3 {
                                                       	priority = 20
                                                       	local = 192.168.1.1:3870
                                                       	remote = 192.168.2.3:3868
                                                       	proto = sctp
                                           	}
                    	        	}
                    	}
        	}
}