258 CHAPTER 21: AAA C ONFIGURATIONConfiguring theAttributes of Data to beSent to RADIUS Serversn ■ Generally, the access users are named in the userid@isp-name format. Here,isp-name after the "@" character represents the ISP domain name, by whichthe device determines which ISP domain a user belongs to. However, some oldCreate a RADIUS scheme andenter its viewradius schemeradius-scheme-nameRequiredBy default, a RADIUS schemenamed "system" has alreadybeen created in the system.Set the status of the primaryRADIUSauthentication/authorizationserverstate primaryauthentication { block |active }OptionalBy default, the primaryRADIUS servers in the defaultRADIUS scheme "system" arein the active state, thesecondary servers in thescheme are in the block state,and all RADIUS servers in allother RADIUS schemes are inthe block state.Set the status of the primaryRADIUS accounting serverstate primary accounting {block | active }Set the status of thesecondary RADIUSauthentication/authorizationserverstate secondaryauthentication { block |active }Set the status of thesecondary RADIUS accountingserverstate secondary accounting{ block | active }Table 196 Set the status of RADIUS serversOperation Command RemarksTable 197 Configure the attributes of data to be sent to RADIUS serversOperation Command RemarksEnter system view system-view -Create a RADIUS scheme andenter its viewradius schemeradius-scheme-nameRequiredBy default, a RADIUS schemenamed "system" has alreadybeen created in the system.Set the format of the usernames to be sent to RADIUSserveruser-name-format {with-domain |without-domain }OptionalBy default, the user namessent from the switch toRADIUS server carry ISPdomain names.Set the units of data flows toRADIUS serversdata-flow-format data {byte | giga-byte | kilo-byte |mega-byte } packet {giga-packet | kilo-packet |mega- packet | one-packet }OptionalBy default, in a RADIUSscheme, the data unit andpacket unit for outgoingRADIUS flows are byte andone-packet respectively.Set the MAC address formatof the Calling-Station-Id (Type31) field in RADIUS packetscalling-station-id mode {mode1 | mode2 } {lowercase | uppercase }OptionalBy default, the MAC addressformat is XXXX-XXXX-XXXX,in lowercase.Set the source IP address ofoutgoing RADIUS messagesRADIUS scheme viewnas-ip ip-addressOptionalBy default, no source IPaddress is set; and the IPaddress of the correspondingoutbound interface is used asthe source IP address.System viewradius nas-ip ip-address