16-50
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 16 Configuring RADIUS Features
Extended NAS-Port-Type and NAS-Port Support
radius-server attribute nas-port format e SSSSAPPPIIIIIIIICCCCCCCCCCCCCCCC type 30
radius-server attribute nas-port format e SSSSAPPPIIIIIIIICCCCCCCCCCCCCCCC type 31
radius-server attribute nas-port format e SSSSAAAAPPPPVVVVVVVVVVVVVVVVVVVV type 32
radius-server attribute nas-port format e SSSSAPPPVVVVVVVVVVVVVVVVVVVVVVVV type 33
radius-server attribute nas-port format e SSSSAPPPQQQQQQQQQQQQVVVVVVVVVVVV type 34
radius-server host 10.76.86.91 auth-port 1645 acct-port 1646
radius-server key rad123
The following example displays the current configuration of RADIUS command output, where you have
globally specified the format e string for all PPPoA ports (type 30).
Router#
show run
|
inc radius
aaa authentication ppp default group radius
aaa authorization network default group radius
aaa accounting network default start-stop group radius
radius-server attribute nas-port format e SSSSSSSSAAAAAAAAPPPPPPPPIIIIIIII
radius-server attribute nas-port format e SSSSAAAAPPPPIIIIIIIICCCCCCCCCCCC type 30
radius-server host 10.76.86.91 auth-port 1645 acct-port 1646
radius-server key rad123
Configuration Examples for Extended NAS-Port-Type Attribute Support
The following examples show how to configure global support for Extended NAS-Port-Type ports, and to
specify two separate e format strings globally but for two different types of ports (type 30 which is
PPPoA and type 33 which is PPPoEoVLAN):
Router#
configure terminal
Router(config)#
Router(config)#
radius-server attribute 61 extended
Router(config)#
radius-server attribute nas-port format e
SSSSAPPPIIIIIIIICCCCCCCCCCCCCCCC
type
30
Router(config)#
Router(config)#
radius-server attribute nas-port format e
SSSSAPPPVVVVVVVVVVVVVVVVVVVVVVVV type 33
Router(config)#
The following example shows you first how to customize a format e string and port type for an ATM
interface and then how to override the global value set for an extended NAS-Port-Type by applying the
customer-customized NAS-Port-Type value of 36 on the ATM interface:
Router#
configure terminal
Router(config)#
radius-server attribute nas-port format e SSSSAPPPIIIIIIIICCCCCCCCCCCCCCCC
type 36
Router(config)#
interface atm 5/0/0.1
Router(config-subif)#
pvc 1/33
Router(config-if-atm-vc)#
Router(config-if-atm-vc)#
radius attribute nas-port-type 36