Table Of Contents
Restrictions for RADIUS Logical Line ID
Information About RADIUS Logical Line ID
Background: RADIUS Logical Line ID
How to Configure RADIUS Logical Line ID
Configuring the LLID in a RADIUS User Profile
Configuration Examples for RADIUS Logical Line ID
LAC for Preauthorization Configuration: Example
RADIUS User Profile for LLID: Example
RADIUS Logical Line ID
First Published: November 25, 2002Last Updated: December 5, 2006The RADIUS Logical Line ID feature, also known as the LLID Blocking feature, enables users to track their customers on the basis of the physical lines on which the calls of the customers originate. Thus, users can better maintain the profile database of their customers as the customers move from one physical line to another.
This feature provides users with a virtual port that will not change as customers move. Thus, the Logical Line Identification (LLID) can also be used for additional security checks.
History for the RADIUS Logical Line ID Feature
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
•
Restrictions for RADIUS Logical Line ID
•
Information About RADIUS Logical Line ID
•
How to Configure RADIUS Logical Line ID
•
Configuration Examples for RADIUS Logical Line ID
Restrictions for RADIUS Logical Line ID
RADIUS Server Compatibility
Although this feature can be used with any RADIUS server, some RADIUS servers may require modifications to their dictionary files to allow the Calling-Station-ID attribute to be returned in Access-Accept messages. For example, the Merit RADIUS server will not support LLID downloading unless you modify its dictionary as follows: "ATTRIBUTE Calling-Station-Id 31 string (*, *)"
Support Restrictions
•
This feature supports only RADIUS; TACACS+ is not supported.
•
This feature can be applied only toward PPP over Ethernet over ATM (PPPoEoATM) and PPP over Ethernet over VLAN (PPPoEoVLAN) (Dot1Q) calls; no other calls, such as ISDN, can be used.
Information About RADIUS Logical Line ID
Background: RADIUS Logical Line ID
The RADIUS Logical Line ID feature enables users to track their customers on the basis of the physical lines in which the calls of the customers originate. Thus, users can better maintain the profile database of their customers as the customers move from one physical line to another.
LLID is an alphanumeric string (which must be a minimum of one character and a maximum of 253 characters) that is a logical identification of a subscriber line. LLID is maintained in a customer profile database on a RADIUS server. When the customer profile database receives a preauthorization request from the access router, the RADIUS server sends the LLID to the router as the Calling-Station-ID attribute (attribute 31).
The Layer 2 Tunneling Protocol (L2TP) access concentrator (LAC) sends a preauthorization request to the customer profile database when the LAC is configured for preauthorization. Configure the LAC for preauthorization using the subscriber access command.
Note
Downloading the LLID is referred to as "preauthorization" because it occurs before either service (domain) authorization or user authentication and authorization occur.
The customer profile database on the RADIUS server consists of user profiles for each physical network access server (NAS) port that is connected to the router. Each user profile contains a profile matched to a username (attribute 1) representing the physical port on the router. When the router is configured for preauthorization, it queries the customer profile database using a username representative of the physical NAS port making the connection to the router. When a match is found in the customer profile database, the customer profile database returns an Access-Accept message containing the LLID in the user profile. The LLID is defined in the Access-Accept record as the Calling-Station-ID attribute.
The preauthorization process can also provide the real username being used for authentication to the RADIUS server. Because the physical NAS port information is being used as the username (attribute 1), RADIUS attribute 77 (Connect-Info) can be configured to contain the authentication username. This configuration allows the RADIUS server to provide additional validation on the authorization request if it chooses, such as analyzing the username for privacy rules, before returning an LLID back to the router.
Benefits
Stability and Security
This feature provides users with a virtual port that will not change as customers move. Thus, the LLID can also be used for additional security checks.
How to Configure RADIUS Logical Line ID
See the following sections for configuration tasks for the RADIUS Logical Line ID feature. Each task in the list is identified as either required or optional.
•
Configuring Preauthorization (required)
•
Configuring the LLID in a RADIUS User Profile (required)
•
Verifying Logical Line ID (optional)
Configuring Preauthorization
To download the LLID and configure the LAC for preauthorization, perform the following steps.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip radius source-interface interface-name
4.
subscriber access {pppoe | pppoa} pre-authorize nas-port-id [default | list-name][send username]
DETAILED STEPS
Configuring the LLID in a RADIUS User Profile
To configure the user profile for preauthorization, add a NAS port user to the customer profile database and add RADIUS Internet Engineering Task Force (IETF) attribute 31 (Calling-Station-ID) to the user profile.
SUMMARY STEPS
1.
UserName=nas_port: ip-address:slot/module/port/vpi.vci
2.
UserName=nas-port: ip-address:slot/module/port/vlan-id
3.
Calling-Station-Id = "string (*,*)"
DETAILED STEPS
Verifying Logical Line ID
To verify feature functionality, perform the following steps.
SUMMARY STEPS
1.
enable
2.
debug radius
DETAILED STEPS
Configuration Examples for RADIUS Logical Line ID
This section provides the following configuration examples:
•
LAC for Preauthorization Configuration: Example
•
RADIUS User Profile for LLID: Example
LAC for Preauthorization Configuration: Example
The following example shows how to configure your LAC for preauthorization by downloading the LLID:
aaa new-modelaaa group server radius sg_llidserver 172.31.164.106 auth-port 1645 acct-port 1646aaa group server radius sg_waterserver 172.31.164.106 auth-port 1645 acct-port 1646aaa authentication ppp default group radiusaaa authorization confg-commandsaaa authorization network default group sg_wateraaa authorization network mlist_llid group sg_llidaaa session-id common!username s7200_2 password 0 labusername s5300 password 0 labusername sg_water password 0 labvpdn enable!vpdn-group 2request-dialinprotocol l2tpdomain water.comdomain water.com#184initiate-to ip 10.1.1.1local name s7200_2l2tp attribute clid mask-method right * 255 match #184!vpdn-group 3accept dialinprocotol pppoevirtual-template 1!! Enable the LLID to be downloaded.subscriber access pppoe pre-authorize nas-port-id mlist_llid send username!interface Loopback0ip address 10.1.1.2 255.255.255.0!interface Loopback1ip address 10.1.1.1 255.255.255.0!interface Ethernet1/0ip address 10.1.1.8 255.255.255.0 secondaryip address 10.0.58.111 255.255.255.0no cdp enable!iterface ATM4/0no ip addressno atm ilmi-keepalive!interface ATM4/0.1 point-to-pointpvc 1/100encapsulation aa15snapprotocol pppoe!interface virtual-template1no ip unnumbered Loopback0no peer default ip addressppp authentication chap!radius-server host 172.31.164.120 auth-port 1645 acct-port 1646 key rad123radius-server host 172.31.164.106 auth-port 1645 acct-port 1646 key rad123ip radius source-interface Loopback1RADIUS User Profile for LLID: Example
The following example shows how to configure the user profile for LLID querying for PPPoEoVLAN and PPPoEoATM and how to add attribute 31:
pppoeovlan----------nas-port:10.1.0.3:6/0/0/0 Password = "cisco",Service-Type = Outbound,Calling-Station-ID = "cat-example"pppoeoa--------nas-port:10.1.0.3:6/0/0/1.100 Password = "cisco",Service-Type = Outbound,Calling-Station-ID = "cat-example"Additional References
The following sections provide references related to RADIUS Logical Line ID.
Related Documents
Related Topic Document TitleAAA authentication
"Configuring AAA Preauthentication" section in the "Configuring RADIUS" chapter in the Cisco IOS Security Configuration Guide, Release 12.4
Attribute screening for access requests
"RADIUS Attribute Screening" section in the "Configuring RADIUS" chapter in the Cisco IOS Security Configuration Guide, Release 12.4
Broadband access: PPP and routed bridge encapsulation
"Configuring Broadband Access: PPP and Routed Bridge Encapsulation" chapter in the Cisco IOS Wide-Area Networking Configuration Guide, Release 12.2
Dial technologies
Cisco IOS Dial Technologies Configuration Guide, Release 12.4
Standards
MIBs
MIB MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Command Reference
This section documents modified commands only.
subscriber access
To configure a network access server (NAS) to enable Subscriber Service Switch (SSS) to preauthorize the NAS port identifier (NAS-Port-ID) string before authorizing the domain name, use the subscriber access command in global configuration mode. To disable SSS preauthorization, use the no form of this command.
subscriber access {pppoe | pppoa} pre-authorize nas-port-id [default | list-name] [send username]
no subscriber access {pppoe | pppoa} pre-authorize nas-port-id
Syntax Description
Defaults
Preauthorization is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
The NAS-Port-ID string is used to locate the first service record, which may contain one of three attributes, as follows:
•
A restricted set of values for the domain substring of the unauthenticated PPP name.
This filtered service key then locates the final service. See the vpdn authorize domain command for more information.
•
PPPoE session limit.
•
The logical line ID (LLID).
Once NAS port authorization has taken place, normal authorization, which is usually the domain authorization, continues.
Logical Line ID
The LLID is an alphanumeric string of 1 to 253 characters that serves as the logical identification of a subscriber line. The LLID is maintained in a RADIUS server customer profile database and enables users to track their customers on the basis of the physical lines on which customer calls originate. Downloading the LLID is also referred to as "preauthorization" because it occurs before normal virtual private dialup network (VPDN) authorization downloads layer two tunnel protocol (L2TP) information.
This command enables LLID and SSS querying only for PPP over Ethernet over ATM (PPPoEoATM) and PPP over Ethernet over VLAN (PPPoEoVLAN or Dot1Q) calls; all other calls, such as ISDN, are not supported.
Per-NAS-Port Session Limits for PPPoE
Use this command to configure SSS preauthorization on the L2TP Access Concentrator (LAC) so that the PPPoE per-NAS-port session limit can be downloaded from the customer profile database. To use PPPoE per-NAS-port session limits, you must also configure the PPPoE Session-Limit per NAS-Port Cisco attribute-value pair in the user profile.
Examples
The following example signals SSS to preauthorize the NAS-Port-ID string before authorizing the domain name. This policy applies only to sessions that have a PPPoE access type.
aaa new-modelaaa group server radius sg-llidserver 172.20.164.106 auth-port 1645 acct-port 1646aaa group server radius sg-groupserver 172.20.164.106 auth-port 1645 acct-port 1646aaa authentication ppp default group radiusaaa authorization confg-commandsaaa authorization network default group sg-groupaaa authorization network mlist_llid group sg-llidaaa session-id common!username s7200_2 password 0 labusername s5300 password 0 labusername sg-group password 0 labvpdn enable!vpdn-group 2request-dialinprotocol 12tpdomain group.cominitiate-to ip 10.1.1.1local name s7200-2!vpdn-group 3accept dialinprotocol pppoevirtual-template 1!! Signals Subscriber Service Switch to preauthorize the NAS-Port-ID string before! authorizing the domain name.subscriber access pppoe pre-authorize nas-port-id mlist-llid!interface Loopback0ip address 10.1.1.2 255.255.255.0!interface Loopback1ip address 10.1.1.1 255.255.255.0!interface Ethernet1/0ip address 10.2.2.2 255.255.255.0 secondaryip address 10.0.58.111 255.255.255.0no cdp enable!interface ATM4/0no ip addressno atm ilmi-keepalive!interface ATM4/0.1 point-to-pointpvc 1/100encapsulation aa15snapprotocol pppoe!interface virtual-template1no ip unnumbered Loopback0no peer default ip addressppp authentication chap!radius-server host 172.20.164.120 auth-port 1645 acct-port 1646 key rad123radius-server host 172.20.164.106 auth-port 1645 acct-port 1646 key rad123ip radius source-interface Loopback1The following example is identical to the previous example except that it also adds support for sending the PPP authenticating username with the preauthorization in the Connect-Info attribute. This example also includes command-line interface (CLI) suppression on the LLID if the username that is used to authenticate has a domain that includes #184.
aaa new-modelaaa group server radius sg-llidserver 172.31.164.106 auth-port 1645 acct-port 1646aaa group server radius sg-groupserver 172.31.164.106 auth-port 1645 acct-port 1646aaa authentication ppp default group radiusaaa authorization confg-commandsaaa authorization network default group sg-groupaaa authorization network mlist-llid group sg-llidaaa session-id common!username s7200-2 password 0 labusername s5300 password 0 labusername sg-group password 0 labvpdn enable!vpdn-group 2request-dialinprotocol 12tpdomain domain1.comdomain domain1.com#184initiate-to ip 10.1.1.1local name s7200-2l2tp attribute clid mask-method right * 255 match #184!vpdn-group 3accept dialinprocotol pppoevirtual-template 1!subscriber access pppoe pre-authorize nas-port-id mlist-llid send username!Related Commands
Glossary
LLID Blocking—A feature that enables users to track their customers on the basis of the physical lines on which the calls of the customers originate. Also known as RADIUS Logical Line ID.
RADIUS Logical Line ID—A feature that enables users to track their customers on the basis of the physical lines on which the calls of the customers originate. Also known as LLID Blocking.
Note
See Internetworking Terms and Acronyms for terms not included in this glossary.
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2002-2003, 2005-2006 Cisco Systems, Inc. All rights reserved.


