1-41Examples# Set the IP address and UDP port number of the primary accounting server for RADIUS schemeradius1 to 10.110.1.2 and 1813 respectively. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] radius scheme radius1New Radius scheme[Sysname-radius-radius1] primary accounting 10.110.1.2 1813primary authenticationSyntaxprimary authentication ip-address [ port-number ]undo primary authenticationViewRADIUS scheme viewParametersip-address: IP address of the primary authentication/authorization server to be used, in dotted decimalnotation.port-number: UDP port number of the primary authentication/authorization server, ranging from 1 to65535.DescriptionUse the primary authentication command to set the IP address and port number of the primaryRADIUS authentication/authorization server used by the current RADIUS scheme.Use the undo primary authentication command to restore the default IP address and port number ofthe primary RADIUS authentication/authorization server, which are 0.0.0.0 and 1812 respectively.In the system default RADIUS scheme “system”, the default IP address of the primaryauthentication/authorization server is 127.0.0.1 and the default UDP port number is 1645. In a newRADIUS scheme, the default IP address of the primary authentication/authorization server is 0.0.0.0and the default UDP port number is 1812.Note that:z After creating a new RADIUS scheme, you should configure the IP address and UDP port numberof each RADIUS server you want to use in this scheme. These RADIUS servers fall into two types:authentication/authorization, and accounting. For each kind of server, you can configure twoservers in a RADIUS scheme: primary and secondary servers.z In an actual network environment, you can make RADIUS server-related configuration as required.But you should configure at least one authentication/authorization server and one accountingserver, and at the same time, you should keep the RADIUS server port settings on the switchconsistent with those on the RADIUS servers.