Include the radius statement at the [edit access profile profile-name] hierarchy level to specify the RADIUS parameters for the subscriber access manager feature. You can specify the IP addresses of the RADIUS servers used for authentication and accounting, options that provide configuration information for the RADIUS servers, and how RADIUS attributes are used.
You can specify one or more RADIUS authentication or accounting servers to use for subscriber access management.
To configure RADIUS authentication and accounting support:
- [edit access profile isp-bos-metro-fiber-basic]
- user@host# edit radius
- [edit access profile isp-bos-metro-fiber-basic radius]
- user@host# set authentication-server 192.168.1.251
- [edit access profile isp-bos-metro-fiber-basic radius]
- user@host# set accounting-server 192.168.1.250
To configure multiple RADIUS authentication or accounting servers:
- [edit access profile isp-bos-metro-fiber-basic radius]
- user@host# set authentication-server 192.168.1.251 192.168.1.252
- user@host# set accounting-server 192.168.1.250 192.168.1.251
You can configure a variety of options used by the RADIUS authentication and accounting servers.
To configuradius-serverre RADIUS authentication and accounting server options:
- [edit access profile isp-bos-metro-fiber-basic]
- user@host# edit radius
- [edit access profile isp-bos-metro-fiber-basic radius]
- user@host# edit options
- [edit access profile isp-bos-metro-fiber-basic radius options]
- user@host# set accounting-session-id-format decimal
- [edit access profile isp-bos-metro-fiber-basic radius options]
- user@host# set ethernet-port-type-virtual
- [edit access profile isp-bos-metro-fiber-basic radius options]
- user@host# set interface-description-format adapter
- [edit access profile isp-bos-metro-fiber-basic radius options]
- user@host# set nas-identifier 56
- [edit access profile isp-bos-metro-fiber-basic radius options]
- user@host# set nas-port-extended-format 16
- [edit access profile isp-bos-metro-fiber-basic radius options]
- user@host# set revert-interval port-width 1200
- [edit access profile isp-bos-metro-fiber-basic radius options]
- user@host# set vlan-nas-port-stacked-format
You can specify the attributes RADIUS ignores in RADIUS Access-Accept messages, and the attributes RADIUS excludes from specified message types.
To configure the attributes RADIUS ignores or excludes:
- [edit access profile isp-bos-metro-fiber-basic]
- user@host# edit radius
- [edit access profile isp-bos-metro-fiber-basic radius]
- user@host# edit attributes
- [edit access profile isp-bos-metro-fiber-basic radius attributes]
- user@host# set ignore input-filter output-filter
- [edit access profile isp-bos-metro-fiber-basic radius attributes]
- user@host# set exclude input-filter output-filter
You use the ignore statement to configure the router to ignore a particular attribute in RADIUS Access-Accept messages. By default, the router processes the attributes received from the external AAA server. Table 5 lists the attributes supported in the ignore statement.
Table 5: Attributes That Can Be Ignored in RADIUS Accept-Accept Messages
You use the exclude statement to configure the router to exclude the specified attributes from the specified type of RADIUS message. Not all attributes appear in all types of RADIUS messages—the CLI indicates the RADIUS message type. By default, the router includes the specified attributes in RADIUS Access-Request, Acct-On, Acct-Off, Acct-Start, and Acct-Stop messages. Table 6 lists the attributes and message types supported in the exclude statement.
Table 6: Attributes That Can Be Excluded from RADIUS Messages