NAS-Port-ID Format C Enhancement


First Published: December 5, 2006
Last Updated: October 2, 2009

The NAS-Port-ID Format C Enhancement feature introduces the nas-port-id format c command for Broadband Access Group (BBA group) configuration. This command defines a specific broadband subscriber access line identification (NAS-Port-ID) coding format. When this command is configured, the original value of the NAS-Port-ID tag is overwritten. If no valid string is available for the Remote-ID or the Circuit-ID tag as part of Dynamic Host Configuration Protocol (DHCP) option 82, a default string of 0/0/0/0/0/0 is appended to the NAS-Port-ID tag.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for NAS-Port-ID Format C Enhancement" section.

Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.

Contents

Prerequisites for NAS-Port-ID Format C Enhancement

Restrictions for NAS-Port-ID Format C Enhancement

Information About NAS-Port-ID Format C Enhancement

How to Configure the NAS-Port-ID Format C Enhancement Feature

Configuration Examples for NAS-Port-ID Format C Enhancement

Additional References

Feature Information for NAS-Port-ID Format C Enhancement

Glossary

Prerequisites for NAS-Port-ID Format C Enhancement

The NAS-Port-ID tag is created.

Restrictions for NAS-Port-ID Format C Enhancement

The NAS-Port-ID Format C Enhancement feature is supported on the Cisco 10000 series platform where PPP over Ethernet (PPPoE) server functionality is supported.

This feature is not supported on PPP over ATM.

Information About NAS-Port-ID Format C Enhancement

To configure and apply this feature, you should understand the following concept:

Coding Format for NAS-Port-ID Format C

Coding Format for NAS-Port-ID Format C

The NAS-Port-ID Format C Enhancement feature provides the following broadband subscriber access line identification (NAS-Port-ID) coding format:

{atm/eth/trunk} NAS_slot/NAS_subslot/NAS_port:XPI:XCI {Circuit-ID/Remote-ID/default string}

For ATM, XPI is the virtual path identifier (VPI) and XCI is the virtual circuit identifier (VCI).

For Ethernet, XPI is outer vlan-tag, XCI is inner vlan-tag.

Requirements for XPI:XCI for Ethernet are as follows:

For 802.1Q tunneling (QinQ), the format should be outer vlan-tag:inner vlan-tag. (Prior to Release 12.2(31)SB2, Cisco IOS software supports inner vlan-tag:outer vlan-tag).

For single tag VLAN, XPI should be 4096.

The Circuit-ID tag (if present) must be appended to this string when the nas-port-id format c command is used. The format for the Circuit-ID or Remote-ID tag is as follows:

AccessNodeIdentifier/ANI_rack/ANI_frame/ANI_slot/ANI_subslot/ANI_port[:ANI_XPI.ANI_XCI]

The digital subscriber line access multiplexer (DSLAM) should append this information to the broadband remote access server (BRAS), and the BRAS transparently delivers it. If the Circuit-ID or Remote-ID tag is not present in DHCP option 82, a string of 0/0/0/0/0/0 should be appended to the NAS-Port-ID tag.

The following examples illustrate this format:

NAS-Port-ID = atm 31/31/7:255.65535 name001/0/31/63/31/127

In this example, the subscriber interface type of the BRAS equipment is an ATM interface, the BRAS slot number is 31, the BRAS subslot number is 31, the BRAS port number is 7, the VPI is 255, and the VCI is 65535. The string name001/0/31/63/31/127 is the Circuit-ID or Remote-ID tag.

NAS-Port-ID = eth 31/31/7:1234.2345 0/0/0/0/0/0

In this example, the subscriber interface type of the BRAS equipment is an Ethernet interface, the BRAS slot number is 31, the BRAS subslot number is 31, the BRAS port number is 7, the outer vlan-tag is 1234, and the inner vlan-tag is 2345. The string 0/0/0/0/0/0 is the default.

NAS-Port-ID = eth 31/31/7:4096.2345 0/0/0/0/0/0

In this example, the subscriber interface type of the BRAS equipment is an Ethernet interface, the BRAS slot number is 31, the BRAS subslot number is 31, the BRAS port number is 7, and the VLAN ID is 2345. The string 0/0/0/0/0/0 is the default.

How to Configure the NAS-Port-ID Format C Enhancement Feature

This section contains the following procedure:

Configuring the NAS-Port-ID Format C Enhancement Feature

Configuring the NAS-Port-ID Format C Enhancement Feature

To overwrite the original value of the NAS-Port-ID tag and define the specific broadband subscriber access line identification (NAS-Port-ID) coding format that complies with that described in the "Coding Format for NAS-Port-ID Format C" section, perform the following task.

SUMMARY STEPS

1. enable

2. configure terminal

3. bba-group pppoe group-name

4. virtual-template template-number

5. nas-port-id format c

6. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

bba-group pppoe group-name

Example:

Router(config)# bba-group pppoe pppoe-group

Enters BBA group configuration mode and defines a PPPoE profile.

Step 4 

virtual-template template-number

Example:

Router(config-bba-group)# virtual-template 1

Configures a PPPoE profile with a virtual template to be used for cloning virtual access interfaces.

The template-number argument is an identifying number of the virtual template that will be used to clone virtual access interfaces.

Step 5 

nas-port-id format c

Example:

Router(config-bba-group)# nas-port-id format c

Specifies a format for broadband subscriber access line identification coding.

Note The designation of format c is specifically designed as follows:

NAS_PORT_ID=atm 31/31/7:255.65535 name001/0/31/63/31/127

Step 6 

end

Example:

Router(config-bba-group)# end


Exits the current configuration mode and returns to privileged EXEC mode.

Configuration Examples for NAS-Port-ID Format C Enhancement

To enable the NAS-Port-ID Format C Enhancement feature, you must configure the access concentrator side and the client side in your network. This section provides the following sample configurations:

Configuring PPPoE over Ethernet for the Access Concentrator Side and Client Side: Example

Configuring PPPoE over ATM/AAL5 SNAP for the Access Concentrator Side and Client Side: Example

Configuring PPPoE over Ethernet for the Access Concentrator Side and Client Side: Example

The following is a sample configuration for the access concentrator side of a PPPoE over Ethernet configuration:

bba-group pppoe bba-pppoeoe
 virtual-template 1
 nas-port-id format c
!
interface Loopback0
 ip address 209.165.200.234 255.255.255.224
!
interface Virtual-Template1
 ip unnumbered Loopback0
no peer default ip address
 ppp authentication chap
!
interface FastEthernet0/0
 description PPPoEoE
 pppoe enable group bba-pppoeoe
!

The following is a sample configuration for the client side:

bba-group pppoe bbag-pppoeoe
 virtual-template 1
!
interface Virtual-Template1
 ip unnumbered Loopback0
 ppp chap hostname xyz
 ppp chap password 0 lab
!
interface Loopback0
 ip address 209.165.200.243 255.255.255.224
!
interface FastEthernet1/1
 no ip address
 pppoe enable group bbag-pppoeoe
!

Configuring PPPoE over ATM/AAL5 SNAP for the Access Concentrator Side and Client Side: Example

The following is a sample configuration for the access concentrator side of a PPPoE over an ATM/AAL5 Subnetwork Access Protocol (SNAP) configuration:

bba-group pppoe bba-pppoeoa
 virtual-template 2
 nas-port-id format c
!
interface Loopback1
 ip address 209.165.200.245 255.255.255.224
!
interface Virtual-Template2
 ip unnumbered Loopback1
no peer default ip address
 ppp authentication chap
!
interface ATM2/0.1 multipoint
 description PPPoEoA
 pvc 1/100
  encapsulation aal5snap
  protocol pppoe group bba-pppoeoa
 !

The following is a sample configuration for the client side:

bba-group pppoe bbag-pppoeoa
 virtual-template 2
!
interface Virtual-Template2
 ip unnumbered Loopback1
 ppp chap hostname abc
 ppp chap password 0 lab
!
interface Loopback1
 ip address 209.165.200.247 255.255.255.224
!
interface ATM6/0.1 multipoint
 pvc 1/100
 encapsulation aal5snap
 protocol pppoe group bbag-pppoeoa
 !

Additional References

The following sections provide references related to the NAS-Port-ID Format C Enhancement feature.

Related Documents

Related Topic
Document Title

Command reference documentation for commands used in this document

Cisco IOS Broadband Access Aggregation and DSL Command Reference


Standards

Standard
Title

No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.


MIBs

MIB
MIBs Link

No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature.

To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs


RFCs

RFC
Title

No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.


Technical Assistance

Description
Link

The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.

To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.

Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.

http://www.cisco.com/techsupport


Feature Information for NAS-Port-ID Format C Enhancement

Table 1 lists the features in this module and provides links to specific configuration information.

Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.

Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.


Note Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.


Table 1 Feature Information for the NAS-Port-ID Format C Enhancement Feature

Feature Name
Releases
Feature Information

NAS-Port-ID Format C Enhancement

12.2(31)SB2

15.0(1)M

This feature supports Cisco 10000 series platform.

The nas-port-id format c command defines a specific broadband subscriber access line identification (NAS-Port-ID) coding format. When this command is configured, the original value of the NAS-Port-ID tag is overwritten. If no valid string is available for the Remote-ID or Circuit-ID tag as part of Dynamic Host Configuration Protocol (DHCP) option 82, a default string of 0/0/0/0/0/0 is appended to the NAS-Port-ID tag.

The following commands were introduced or modified: nas-port-id format c


Glossary

AAA—authentication, authorization, and accounting.

ATM—Asynchronous Transfer Mode.

BRAS—broadband remote access server.

CLI—command-line interface.

DHCP—Dynamic Host Configuration Protocol.

DSLAM—digital subscriber line access multiplexer.

HA—high availability.

NAS—network access server.

PPP—Point-to-Point Protocol

PPPoA—Point-to-Point Protocol over ATM.

PPPoE—Point-to-Point Protocol over Ethernet.

QinQ—IEEE 802.1Q tunneling.

RADIUS—Remote Authentication Dial-In User Service (RFC 2865).

SNAP—Subnetwork Access Protocol.

VCI—virtual circuit identifier.

VLAN—virtual local-area network.

VPI—virtual path identifier.


CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco Nurse Connect, Cisco Pulse, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, and Flip Gift Card are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco  IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Fast Step, Follow Me Browsing, FormShare, GainMaker, GigaDrive, HomeLink, iLYNX, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.