Table Of Contents
RADIUS Attribute 5 (NAS-Port) Format
Specified on a Per-Server Group LevelPrerequisites for RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
Information About RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
RADIUS Attribute 5 Format Customization
How to Configure RADIUS Attribute 5 (NAS-Port)
Format Specified on a Per-Server Group LevelConfiguring the RADIUS Attribute 5 Format on a Per-Server Group Level
Monitoring and Maintaining RADIUS Attribute 5 Format on a Per-Server Group Level
RADIUS Attribute 5 Format Specified on a Per-Server Level: Example
RADIUS Attribute 5 (NAS-Port) Format
Specified on a Per-Server Group Level
The RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level feature allows you to customize configurations for different RADIUS server groups. This flexibility allows customized network access server- (NAS-) port formats to be used instead of global formats.
Feature History for RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
Release Modification12.3(14)T
This feature was introduced.
12.2(27)SBA
This feature was integrated into Cisco IOS Release 12.2(27)SBA.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
•
Information About RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
•
How to Configure RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
Prerequisites for RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
•
You must be running a Cisco IOS image that contains the authentication, authorization, and accounting (AAA) component.
Information About RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
To configure the RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level feature, you should understand the following concept:
•
RADIUS Attribute 5 Format Customization
RADIUS Attribute 5 Format Customization
Prior to Cisco IOS Releases 12.3(14)T and 12.2(27)SBA, Cisco IOS software allowed RADIUS attributes that were sent in access requests or accounting requests to be customized on a global basis. You could customize how each configurable attribute should function when communicating with a RADIUS server. Since the implementation of server groups, global attribute configurations were not flexible enough to address the different customizations that were required to support the various RADIUS servers with which a router might be interacting. For example, if you configured the global radius-server attribute nas-port format command option, every service on the router that interacted with a RADIUS server was used in the same way.
Effective with Cisco IOS Release 12.3(14)T, you can configure your router to support override flexibility for per-server groups. You can configure services to use specific named methods for different service types on a RADIUS server. The service types can be set to use their own respective service groups. This flexibility allows customized NAS-port formats to be used instead of the global formats.
How to Configure RADIUS Attribute 5 (NAS-Port)
Format Specified on a Per-Server Group LevelThis section contains the following procedures:
•
Configuring the RADIUS Attribute 5 Format on a Per-Server Group Level
•
Monitoring and Maintaining RADIUS Attribute 5 Format on a Per-Server Group Level
Configuring the RADIUS Attribute 5 Format on a Per-Server Group Level
To configure your router to support the RADIUS Attribute 5 format on a per-server group level, perform the following steps.
![]()
Note
To use this per-server group capability, you must actively use a named method list within your services. You can configure one client to use a specific named method while other clients use the default format.
Prerequisites
Before performing these steps, you should first configure method lists for AAA as is applicable for your situation.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
aaa group server radius group-name
4.
server ip-address [auth-port port-number] [acct-port port-number]
5.
attribute nas-port format format-type [string]
DETAILED STEPS
Monitoring and Maintaining RADIUS Attribute 5 Format on a Per-Server Group Level
To monitor and maintain RADIUS Attribute 5 Format on a Per-Server Group Level, perform the following steps (the debug commands may be used separately):
SUMMARY STEPS
1.
enable
2.
debug aaa sg-server selection
3.
debug radius
DETAILED STEPS
Configuration Examples for RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level
This section provides the following configuration example:
•
RADIUS Attribute 5 Format Specified on a Per-Server Level: Example
RADIUS Attribute 5 Format Specified on a Per-Server Level: Example
The following configuration example shows a leased-line PPP client that has chosen to send no RADIUS Attribute 5 while the default is to use format d:
interface Serial2/0no ip addressencapsulation pppppp accounting SerialAccountingppp authentication papaaa accounting network default start-stop group radiusaaa accounting network SerialAccounting start-stop group group1aaa group server radius group1server 10.101.159.172 auth-port 1645 acct-port 1646attribute nas-port noneradius-server host 10.101.159.172 auth-port 1645 acct-port 1646radius-server attribute nas-port format dAdditional References
The following sections provide references related to RADIUS Attribute 5 (NAS-Port) Format Specified on a Per-Server Group Level.
Related Documents
Related Topic Document TitleCisco IOS commands
Configuring AAA and AAA method lists
"Authentication, Authorization, and Accounting (AAA)" section of Cisco IOS Security Configuration Guide, Release 12.3.
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents the following new command.
attribute nas-port format
To configure services to use specific named methods for different service types, which can be set to use their own respective RADIUS server groups, use the attribute nas-port format command in server-group configuration mode. To remove the override, which is to use specific named methods for different service types, use the no form of this command.
attribute nas-port format format-type [string]
no attribute nas-port format format-type [string]
Syntax Description
format-type
Type of format (see Table 1).
string
(Optional) Pattern of the data format (see Table 2).
Defaults
Default format type is used for all services.
Command Modes
Server-group configuration
Command History
Release Modification12.3(14)T
This command was introduced.
12.2(27)SBA
This command was integrated into Cisco IOS Release 12.2(27)SBA.
Usage Guidelines
The following format types may be configured.
Table 1 Format Types
a
Format is type, channel, or port.
b
Either interface(16), isdn(16), or async(16).
c
Data format (bits): shelf(2), slot(4), port(5), or channel(5).
d
Data format (bits): slot(4), module(1), port(3), vpi(8), or vci(16).
e
Configurable data format (see Table 2).
The following characters may be used in the string pattern of the data format.
Examples
The following example shows that a leased-line PPP client has chosen to send no RADIUS Attribute 5 while the default is set for format d:
interface Serial2/0no ip addressencapsulation pppppp accounting SerialAccountingppp authentication papaaa accounting network default start-stop group radiusaaa accounting network SerialAccounting start-stop group group1aaa group server radius group1server 64.101.159.172 auth-port 1645 acct-port 1646attribute nas-port noneradius-server host 64.101.159.172 auth-port 1645 acct-port 1646radius-server attribute nas-port format dRelated Commands
![]()
Copyright © 2005 Cisco Systems, Inc. All rights reserved.