Table Of Contents
PPPoA/PPPoE Autosense for ATM PVCs
Supported Standards, MIBs, and RFCs
Configuring PPPoA/PPPoE Autosense for ATM PVCs
Verifying PPPoA/PPPoE Autosense Configuration
Precloning Virtual-Access Interfaces
Verifying the Precloned Virtual-Access Interfaces
Monitoring and Maintaining PPPoA/PPPoE Autosense for ATM PVCs
PPPoA/PPPoE Autosense on an ATM PVC Example
PPPoA/PPPoE Autosense on a VC Class Example
PPPoA/PPPoE Autosense on Multiple VC Classes and
Virtual Templates Exampleencapsulation aal5autoppp virtual-template
PPPoA/PPPoE Autosense for ATM PVCs
Feature History
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.
This feature module describes the PPPoA/PPPoE Autosense for ATM PVCs feature. It includes the following sections:
•
Supported Standards, MIBs, and RFCs
•
Monitoring and Maintaining PPPoA/PPPoE Autosense for ATM PVCs
Feature Overview
The PPPoA/PPPoE Autosense for ATM PVCs feature enables a router to distinguish between incoming PPP over ATM (PPPoA) and PPP over Ethernet (PPPoE) over ATM sessions and to create virtual access based on demand for both PPP types.
![]()
Note
The PPPoA/PPPoE Autosense for ATM PVCs feature is supported on SNAP-encapsulated ATM PVCs only. It is not supported on MUX-encapsulated PVCs.
This new feature also adds support for precloning of virtual-access interfaces for PPPoA. Precloning enables virtual-access interfaces to be allocated at system start. This functionality significantly reduces the load on the system during call setup. When precloning is used, the virtual-access interface is attached to the session upon receipt of the first session-initiation packet from the client. The virtual-access interface is detached upon termination of the PPP session.
Benefits
The PPPoA/PPPoE Autosense for ATM PVCs feature provides resource allocation on demand. For each permanent virtual circuit (PVC) configured for both PPPoA and PPPoE, certain resources (including one virtual-access interface) are allocated upon configuration, regardless of the existence of a PPPoA or PPPoE session on that PVC. With the PPPoA/PPPoE Autosense for ATM PVCs feature, resources are allocated for PPPoA and PPPoE sessions only when a client initiates a session, thus reducing overhead on the network access server (NAS).
Restrictions
•
The PPPoA/PPPoE Autosense for ATM PVCs feature supports only PPPoA sessions that use SNAP encapsulation. It does not support MUX-encapsulated PVCs.
•
Do not use this feature on a router that initiates PPPoA sessions.
•
This feature supports ATM PVCs. Switched virtual circuits (SVCs) are not supported.
•
PPPoA does not support static IP assignments within virtual templates.
Related Documents
For information on configuring PPPoA and PPPoE, see the following documents:
•
The chapter "Configuring Broadband Access: PPP and Routed Bridge Encapsulation" in the Cisco IOS Wide-Area Networking Configuration Guide, Release 12.2.
•
The chapter "Broadband Access: PPP and Routed Bridge Encapsulation Commands" in the Cisco IOS Wide-Area Networking Command Reference, Release 12.2.
Supported Platforms
The following platforms are supported in Cisco IOS Release 12.2(4)T:
•
Cisco 3660 router
•
Cisco 7200 series
•
Cisco 7500 series (Cisco IOS Release 12.2(4)T3 and later)
Platform Support Through Feature Navigator
Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Feature Navigator. Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.
Feature Navigator is a web-based tool that enables you to quickly determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image.
To access Feature Navigator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions at http://www.cisco.com/register.
Feature Navigator is updated when major Cisco IOS software releases and technology releases occur. As of May 2001, Feature Navigator supports M, T, E, S, and ST releases. You can access Feature Navigator at the following URL:
http://www.cisco.com/go/fn
Supported Standards, MIBs, and RFCs
Standards
No new or modified standards are supported by this feature.
MIBs
No new or modified MIBs are supported by this feature.
RFCs
No new or modified RFCs are supported by this feature.
Configuration Tasks
See the following sections to configure the PPPoA/PPPoE Autosense for ATM PVCs feature. Each task in the list is identified as required or optional.
•
Configuring PPPoA/PPPoE Autosense for ATM PVCs (required)
•
Verifying PPPoA/PPPoE Autosense Configuration (optional)
•
Precloning Virtual-Access Interfaces (optional)
•
Verifying the Precloned Virtual-Access Interfaces (optional)
Configuring PPPoA/PPPoE Autosense for ATM PVCs
PPPoA/PPPoE autosense can be configured on a single PVC, or on a VC class that can be applied to all PVCs on an ATM interface.
To configure PPPoA/PPPoE Autosense on a PVC, use the following commands beginning in global configuration mode:
To configure PPPoA/PPPoE autosense on a VC class, use the following commands beginning in global configuration mode:
![]()
Note
Virtual-access interfaces for PPPoE sessions are cloned from the virtual template interface specified in the VPDN group.
Verifying PPPoA/PPPoE Autosense Configuration
To verify that you have successfully configured PPPoA/PPPoE autosense, use the show running-config EXEC command.
Precloning Virtual-Access Interfaces
Precloning virtual-access interfaces at the NAS reduces the load on the system during call setup. To preclone a virtual-access interface, use the following command in global configuration mode:
Command Purpose Router(config)# virtual-template template-number pre-clone numberSpecifies the number of virtual-access interfaces to be created and cloned from a specific virtual template.
Verifying the Precloned Virtual-Access Interfaces
To check the successful precloning of virtual-access interfaces, use the show vtemplate privileged EXEC command.
In the following sample output, precloning is enabled for Virtual-Template1, 250 virtual-access interfaces have been precloned, and 249 virtual-access interfaces are available for new PPPoA and PPPoE sessions. Only one virtual-access interface is in use, and no virtual-access interfaces were cloned during call setup.
Router# show vtemplateVirtual-Template 1, pre-cloning is onPre-clone limit: 250, current number: 249Active vaccess number: 1Generic free vaccess number: 0Troubleshooting Tips
To troubleshoot PPP sessions establishment, use the following commands:
•
debug ppp authentication
•
debug ppp negotiation
•
debug vpdn pppoe-error
•
debug vpdn pppoe-events
To troubleshoot the establishment of PPP sessions that are authenticated by a RADIUS or TACACS server, use the following commands:
•
debug aaa authentication
•
debug aaa authorization
![]()
CautionUse debug commands with extreme caution because they are CPU-intensive and can seriously impact your network.
Monitoring and Maintaining PPPoA/PPPoE Autosense for ATM PVCs
To monitor and maintain PPPoA/PPPoE autosense, use the following commands in EXEC mode:
Command PurposeRouter# show atm pvc [ppp]
After the client at the other end of the PVC has initiated a PPPoA session, use this command to check that the PVC contains the PPPoA session.
Router# show caller
Use this command to:
•
View individual users and consumed resources on the NAS.
•
Inspect active call statistics for large pools of connections. (The debug commands produce too much output and tax the CPU too heavily.)
•
Display the absolute and idle times for each user. The current values for both of these settings are displayed on the tty line and the asynchronous interface. Users that have been idle for unacceptably long periods of time can be easily identified. By using this information, you can define timeout policies and multiple grades of services for different users.
Router# show interface virtual access number
Displays information about the virtual-access interface, LCP1 , protocol states, and interface statistics. The status of the virtual-access interface should read:
Virtual-Access3 is up, line protocol is up
Router# show user
Displays information about the active lines on the router.
Router# show vpdn
Displays information about active Level 2 Forwarding (L2F) Protocol tunnel and message identifiers in a VPDN2 .
1 LCP = link control protocol.
2 VPDN = virtual private dial-up network.
Configuration Examples
This section provides the following configuration examples:
•
PPPoA/PPPoE Autosense on an ATM PVC Example
•
PPPoA/PPPoE Autosense on a VC Class Example
•
PPPoA/PPPoE Autosense on Multiple VC Classes and Virtual Templates Example
PPPoA/PPPoE Autosense on an ATM PVC Example
In the following example, the NAS is configured with PPPoA/PPPoE Autosense for ATM PVCs on PVC 30/33:
!! Configure PPP Autosense!interface ATM 0/0/0.33 multipointpvc 30/33encapsulation aal5autoppp Virtual-Template1
!! Configure PPPoE!vpdn enablevpdn-group 1accept dialinprotocol pppoevirtual-template 1!ip cefinterface virtual-template 1ip unnumbered fastethernet 0/0/0ip route-cache cef!interface fastethernet 0/0/0ip address 10.1.1.1 255.255.255.0!! Enable precloning for virtual-template 1!virtual-template 1 pre-clone 2000PPPoA/PPPoE Autosense on a VC Class Example
In the following example, the NAS is configured with PPPoA/PPPoE autosense on the VC class called "MyClass." " MyClass" applies PPPoA/PPPoE autosense to all PVCs on the ATM 0/0/0.99 interface.
!! Configure PPP Autosense!vc-class ATM MyClassencapsulation aal5autoppp Virtual-Template1!interface ATM 0/0/0.99 multipointclass-int MyClassno ip directed-broadcastpvc 20/40pvc 30/33!! Configure PPPoE!vpdn enablevpdn-group 1accept dialinprotocol pppoevirtual-template 1!ip cefinterface virtual-template 1ip unnumbered fastethernet 0/0/0ip route-cache cef!interface fastethernet 0/0/0ip address 10.1.1.1 255.255.255.0!! Enable precloning for virtual-template 1!virtual-template 1 pre-clone 2000!PPPoA/PPPoE Autosense on Multiple VC Classes and
Virtual Templates ExampleIn the following example, PPPoA and PPPoE sessions are handled separately by two virtual templates.
ip cefvpdn enable!vpdn-group 1accept-dialinprotocol pppoevirtual-template 1pppoe limit per-mac 1pppoe limit per-vc 1!virtual-template 1 pre-clone 1500virtual-template 2 pre-clone 1000!interface ATM0/0/0.3 multipointno ip directed-broadcastclass-int pppauto!interface ATM0/0/0.9 multipointip address 10.16.40.1 255.255.0.0no ip directed-broadcast!interface Virtual-Template1ip unnumbered ATM0/0/0.9ip route-cache cefno ip directed-broadcastpeer default ip address pool pool-1ppp authentication pap!interface Virtual-Template2ip unnumbered ATM0/0/0.9ip route-cache cefno ip directed-broadcastpeer default ip address pool pool-2ppp authentication chap!interface fastethernet 0/0/0ip address 10.1.1.1 255.255.255.0!vc-class atm pppautoencapsulation aal5autoppp Virtual-Template2!![]()
Note
Whenever possible, it is preferable to configure PPPoA and PPPoE to use the same virtual template. Using separate virtual templates leads to the inefficient use of virtual access because the maximum number of virtual-access interfaces will have to be precloned twice: once for PPPoE and once for PPPoA. If PPPoA and PPPoE use the same virtual template, the maximum number of virtual-access interfaces can be precloned once and used for PPPoA and PPPoE as needed.
Command Reference
This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.2 command reference publications.
•
encapsulation aal5autoppp virtual-template
encapsulation aal5autoppp virtual-template
To enable PPPoA/PPPoE autosense, which enables a router to distinguish between incoming PPP over ATM (PPPoA) and PPP over Ethernet (PPPoE) sessions and create virtual access for both PPP types based on demand, use the encapsulation aal5autoppp virtual-template command in Interface-ATM-VC configuration or VC class configuration mode. To terminate the PPPoA or PPPoE session and to detach the virtual-access interface from the permanent virtual circuit (PVC), use the no form of this command.
encapsulation aal5autoppp virtual-template template-number
no encapsulation aal5autoppp virtual-template template-number
Syntax Description
template-number
Number of the virtual template that will be used to clone virtual-access interfaces for PPPoA sessions. The range is from 1 to 25.
Defaults
PPPoA/PPPoE autosense is not enabled.
Command Modes
Interface-ATM-VC configuration
VC class configurationCommand History
Usage Guidelines
This command functions only when the PPPoA sessions are LLC-encapsulated.
![]()
Note
Do not use this command on a router that initiates PPPoA sessions.
Entering the no encapsulation aal5autoppp virtual-template command will terminate the PPPoA or PPPoE session and detach the virtual-access interface from the PVC.
Precloning is recommended for use with PPPoA/PPPoE autosense to improve router performance. If precloned virtual-access interfaces are not available when an incoming PPPoA or PPPoE session is identified, then a virtual-access interface will be created.
Whenever possible, it is preferable to configure PPPoA and PPPoE to use the same virtual template. Using separate virtual templates leads to the inefficient use of virtual access because the maximum number of virtual-access interfaces will have to be precloned twice: once for PPPoE and once for PPPoA. If PPPoA and PPPoE use the same virtual template, the maximum number of virtual-access interfaces can be precloned once and used for PPPoA and PPPoE as needed.
Examples
The following example enables PPPoA/PPPoE autosense on PVC 30/33 and specifies virtual-template 1 to be used for PPPoA sessions:
interface ATM 0/0/0.33 multipointpvc 30/33encapsulation aal5autoppp Virtual-Template1
Related Commands
Command Descriptionvirtual-template pre-clone
Specifies the number of virtual-access interfaces to be created and cloned from a specific virtual template.
show atm pvc
To display all ATM permanent virtual connections (PVCs) and traffic information, use the show atm pvc command in privileged EXEC mode.
show atm pvc [vpi/vci | name | interface atm interface-number[.subinterface-number multipoint]] [ppp]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
If the vpi/vci or name argument is not specified, the output of this command is the same as that of the show atm vc command, but only the configured PVCs are displayed.
If the vpi/vci or name argument is specified, the output of this command is the same as that of the show atm vc vcd command, with extra information related to PVC management, including connection name, detailed states, and Operation, Administration, and Maintenance (OAM) counters.
If the interface atm interface-number option is included in the command, all PVCs under that interface or subinterface are displayed.
Examples
The following is sample output from the show atm pvc command. The output is the same as that of the show atm vc command, but only the configured PVCs are displayed.
Router# show atm pvcVCD/ Peak Avg/Min BurstInterface Name VPI VCI Type Encaps Kbps Kbps Cells Sts2/0 1 0 5 PVC SAAL 155000 155000 UP2/0 2 0 16 PVC ILMI 155000 155000 UP2/0.2 101 0 50 PVC SNAP 155000 155000 UP2/0.2 102 0 60 PVC SNAP 155000 155000 DOWN2/0.2 104 0 80 PVC SNAP 155000 155000 UP2/0 hello 0 99 PVC SNAP 1000 UPThe following is sample output from the show atm pvc command with the vpi/vci argument specified:
Router# show atm pvc 0/41ATM2/0: VCD: 3, VPI: 0, VCI: 41UBR, PeakRate: 155000AAL5-LLC/SNAP, etype:0x0, Flags: 0xC20, VCmode: 0x0OAM frequency: 0 second(s), OAM retry frequency: 1 second(s), OAM retry frequency: 1 second(s)OAM up retry count: 3, OAM down retry count: 5OAM Loopback status: OAM DisabledOAM VC state: Not ManagedOAM Loop detection: DisabledILMI VC state: Not ManagedInARP frequency: 15 minutes(s)InPkts: 31759, OutPkts: 26497, InBytes: 2356434, OutBytes: 1589743InPRoc: 15785, OutPRoc: 26472, Broadcasts: 0InFast: 20, OutFast: 20, InAS: 15954, OutAS: 6OAM cells received: 0F5 InEndloop: 0, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 0F4 InEndloop: 0, F4 InSegloop: 0, F4 InAIS: 0, F4 InRDI: 0OAM cells sent: 0F5 OutEndloop: 0, F5 OutSegloop: 0, F5 OutRDI: 0F4 OutEndloop: 0, F4 OutSegloop: 0, F4 OutRDI: 0OAM cell drops: 0Status: UPPPPOE enabled.The following sample output from the show atm pvc command displays OAM cell emulation statistics, which are marked in this example by exclamation points:
Router# show atm pvc 5/500
ATM4/1/0.200: VCD: 6, VPI: 5, VCI: 500UBR, PeakRate: 1AAL5-LLC/SNAP, etype:0x0, Flags: 0x34000C20, VCmode: 0x0OAM Cell Emulation: enabled, F5 End2end AIS Xmit frequency: 1 second(s) !!!OAM frequency: 0 second(s), OAM retry frequency: 1 second(s)OAM up retry count: 3, OAM down retry count: 5OAM Loopback status: OAM DisabledOAM VC state: Not ManagedVerifiedOAM Loop detection: DisabledILMI VC state: Not ManagedInPkts: 564, OutPkts: 560, InBytes: 19792, OutBytes: 19680InPRoc: 0, OutPRoc: 0InFast: 4, OutFast: 0, InAS: 560, OutAS: 560InPktDrops: 0, OutPktDrops: 0CrcErrors: 0, SarTimeOuts: 0, OverSizedSDUs: 0Out CLP=1 Pkts: 0OAM cells received: 26F5 InEndloop: 0, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 26OAM cells sent: 77F5 OutEndloop: 0, F5 OutSegloop: 0, F5 OutAIS: 77, F5 OutRDI: 0 !!!OAM cell drops: 0Status: UPThe following is sample output from the show atm pvc command with the ATM subinterface specified:
Router# show atm pvc interface atm 2/0.2VCD/ Peak Avg/Min BurstInterface Name VPI VCI Type Encaps Kbps Kbps Cells Sts2/0.2 101 0 50 PVC SNAP 155000 155000 UP2/0.2 102 0 60 PVC SNAP 155000 155000 DOWN2/0.2 104 0 80 PVC SNAP 155000 155000 UPThe following is sample output for the show atm pvc command for a PVC that is a member of a multilink PPP bundle:
Router# show atm pvc 15/200ATM4/0.10000:VCD:16, VPI:15, VCI:200UBR, PeakRate:149760 (353208 cps)AAL5-LLC/SNAP, etype:0x0, Flags:0xC20, VCmode:0x0, Encapsize:12OAM frequency:0 second(s), OAM retry frequency:1 second(s)OAM up retry count:3, OAM down retry count:5OAM Loopback status:OAM DisabledOAM VC State:Not ManagedOAM Loop detection: DisabledILMI VC status:Not ManagedVC TxRingLimit:40 particlesVC Rx Limit:800 particlesInARP frequency:15 minutes(s)Transmit priority 6InPkts:347, OutPkts:399, InBytes:6268, OutBytes:7728InCells:347, OutCells:399InPRoc:7, OutPRoc:228InFast:338, OutFast:169, InAS:0, OutAS:0InPktDrops:0, OutPktDrops:0/0/0 (holdq/outputq/total)InCellDrops:0, OutCellDrops:0InByteDrops:0, OutByteDrops:0CrcErrors:0, SarTimeOuts:0, OverSizedSDUs:0, LengthViolation:0, CPIErrors:0Out CLP=1 Pkts:0, Cells:0OAM cells received:0F5 InEndloop:0, F5 InSegloop:0, F5 InAIS:0, F5 InRDI:0F4 InEndloop:0, F4 InSegloop:0, F4 InAIS:0, F4 InRDI:0OAM cells sent:0F5 OutEndloop:0, F5 OutSegloop:0, F5 OutRDI:0F4 OutEndloop:0, F4 OutSegloop:0, F4 OutRDI:0OAM cell drops:0Status:UPPPP:Virtual-Access3 from Virtual-Template1PPPoA Current State = LOCALLY_TERMINATEDPPPoA Latest Event = Vaccess UpPPPoA Latest Error = NonePPPoA Session ID = 7PPPoA Handle = 0x4D000006, SSS Handle = 0x00000000Switch Handle = 0xB5000006, PPP Handle = 0xD700000AAAA Unique ID = 0x00000007, AIE Handle = 0xE7000006PVC belongs to Multilink PPP Bundle Virtual-Access4 as a PPPoA member linkPackets in VC Holdq:0 , Particles in VC Tx Ring:0The following is sample output from the show atm pvc command with loopback detection mode through OAM enabled:
Router# show atm pvc 4/100ATM1/0: VCD: 4, VPI: 4, VCI: 100UBR, PeakRate: 149760AAL5-LLC/SNAP, etype:0x0, Flags: 0xC20, VCmode: 0x0!OAM frequency: 10 second(s), OAM retry frequency: 1 second(s)OAM up retry count: 3, OAM down retry count: 5OAM Loopback status: OAM ReceivedOAM VC state: VerifiedOAM Loop detection: Enabled ! Indicates that loopback mode detection is enabled.!ILMI VC state: Not ManagedVC is managed by OAM.InARP frequency: 15 minutes(s)Transmit priority 4InPkts: 0, OutPkts: 0, InBytes: 0, OutBytes: 0InPRoc: 0, OutPRoc: 0, Broadcasts: 0InFast: 0, OutFast: 0, InAS: 0, OutAS: 0InPktDrops: 0, OutPktDrops: 0CrcErrors: 0, SarTimeOuts: 0, OverSizedSDUs: 0Out CLP=1 Pkts: 0OAM cells received: 27F5 InEndloop: 27, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 0OAM cells sent: 27F5 OutEndloop: 27, F5 OutSegloop: 0, F5 OutAIS: 0, F5 OutRDI: 0OAM cell drops: 3Status: UPThe following is sample output from the show atm pvc command when loopback mode has been detected:
Router# show atm pvc 4/100ATM1/0: VCD: 4, VPI: 4, VCI: 100UBR, PeakRate: 149760AAL5-LLC/SNAP, etype:0x0, Flags: 0xC20, VCmode: 0x0!OAM frequency: 10 second(s), OAM retry frequency: 1 second(s)OAM up retry count: 3, OAM down retry count: 5OAM Loopback status: OAM SentOAM VC state: Not VerifiedOAM Loop detection: Enabled, Detected ! Indicates that loopback mode has been detected on this interface.!ILMI VC state: Not ManagedVC is managed by OAM.InARP frequency: 15 minutes(s)Transmit priority 4InPkts: 0, OutPkts: 0, InBytes: 0, OutBytes: 0InPRoc: 0, OutPRoc: 0, Broadcasts: 0InFast: 0, OutFast: 0, InAS: 0, OutAS: 0InPktDrops: 0, OutPktDrops: 0CrcErrors: 0, SarTimeOuts: 0, OverSizedSDUs: 0Out CLP=1 Pkts: 0OAM cells received: 20F5 InEndloop: 20, F5 InSegloop: 0, F5 InAIS: 0, F5 InRDI: 0OAM cells sent: 20F5 OutEndloop: 20, F5 OutSegloop: 0, F5 OutAIS: 0, F5 OutRDI: 0OAM cell drops: 1Status: DOWN, State: NOT_VERIFIEDTable 1 describes significant fields shown in the displays.
Table 1 show atm pvc Field Descriptions
Field DescriptionInterface
Interface and subinterface slot and port.
VCD/Name
Virtual connection descriptor (virtual connection number). The connection name is displayed if a name for the VC was configured using the pvc command.
VPI
Virtual path identifier.
VCI
Virtual channel identifier.
Type
Type of PVC detected from PVC discovery, either PVC-D, PVC-L, or PVC-M:
•
PVC-D—PVC created as a result of PVC discovery.
•
PVC-L—The corresponding peer of this PVC could not be found on the switch.
•
PVC-M—Some or all of the QoS1 parameters of this PVC fail to match those of the corresponding peer on the switch.
Encaps
Type of ATM adaptation layer (AAL) and encapsulation.
Peak
or
PeakRate
Kilobits per second sent at the peak rate.
Avg/Min
or
Average Rate
Kilobits per second sent at the average rate.
Burst Cells
Maximum number of ATM cells that the VC can send at peak rate.
Sts or Status
Status of the VC connection:
•
UP—The connection is enabled for data traffic.
•
DOWN—The connection is not ready for data traffic. When the Status field is DOWN, a State field is shown. See a description of the different values for the State field later in this table.
•
INACTIVE—The interface is down.
Connection Name
Name of the PVC.
UBR, UBR+, or VBR-NRT
•
UBR—Unspecified bit rate QoS is specified for this PVC. See the ubr command for further information.
•
UBR+—Unspecified bit rate QoS is specified for this PVC. See the ubr+ command for further information.
•
VBR-NRT—Variable bit rate-non-real-time QoS rates are specified for this PVC. See the vbr-nrt command for further information.
etype
Encapsulation type.
Flags
Bit mask describing VC information. The flag values are summed to result in the displayed value:
•
0x40—SVC
•
0x20—PVC
•
0x10—ACTIVE
•
0x0—AAL5-SNAP
•
0x1—AAL5-NLPID
•
0x2—AAL5-FRNLPID
•
0x3—AAL5-MUX
•
0x4—AAL3/4-SMDS
•
0x5—QSAAL
•
0x6—ILMI
•
0x7—AAL5-LANE
•
0x9—AAL5-CISCOPPP
virtual-access
Virtual-access interface identifier.
virtual-template
Virtual template identifier.
VCmode
AIP-specific or NPM-specific register describing the usage of the VC. This register contains values such as rate queue, peak rate, and AAL mode, which are also displayed in other fields.
OAM Cell emulation
The status of the OAM cell emulation functionality. It is either enabled or disabled.
F5 end2end AIS xmit frequency
Number of seconds between transmission of AIS cells.
OAM frequency
Number of seconds between transmission of OAM loopback cells.
OAM retry frequency
Frequency (in seconds) at which end-to-end F5 loopback cells should be sent when a change in state (up or down) is being verified. For example, if a PVC is up and a loopback cell response is not received after the value of the frequency argument (in seconds) specified using the oam-pvc command, loopback cells are sent at the value of the retry-frequency argument to determine whether the PVC is down.
OAM up retry count
Number of consecutive end-to-end F5 OAM loopback cell responses that must be received in order to change a PVC state to up. Does not apply to SVCs.
OAM down retry count
Number of consecutive end-to-end F5 OAM loopback cell responses that are not received in order to change a PVC state to down or tear down an SVC.
OAM Loopback status
Status of end-to-end F5 OAM loopback cell generation for this VC. This field will have one of the following values:
•
OAM Disabled—End-to-end F5 OAM loopback cell generation is disabled.
•
OAM Sent—OAM cell was sent.
•
OAM Received—OAM cell was received.
•
OAM Failed—OAM reply was not received within the frequency period or contained a bad correlation tag.
OAM VC state
This field will have one of the following states for this VC:
•
AIS2 /RDI3 —The VC received AIS/RDI cells. End-to-end F5 OAM loopback cells are not sent in this state.
•
Down Retry—An OAM loopback failed. End-to-end F5 OAM loopback cells are sent at retry frequency to verify that the VC is really down. After down-count unsuccessful retries, the VC goes to the Not Verified state.
•
Not Managed—VC is not being managed by OAM.
•
Not Verified—VC has not been verified by end-to-end F5 OAM loopback cells. AIS and RDI conditions are cleared.
•
Up Retry—An OAM loopback was successful. End-to-end F5 OAM loopback cells are sent at retry frequency to verify that the VC is really up. After up-count successive and successful loopback retries, the VC goes to the Verified state.
•
Verified—Loopbacks are successful. AIS/RDI cell was not received.
OAM Loop detection
Status of loopback detection mode through OAM:
•
Disabled—Automatic loopback detection is disabled.
•
Enabled—Automatic loopback detection is enabled.
•
Detected—Loopback mode is detected on an ATM interface.
ILMI VC state
This field will have one of the following states for this VC:
•
Not Managed—VC is not being managed by ILMI4 .
•
Not Verified—VC has not been verified by ILMI.
•
Verified—VC has been verified by ILMI.
VC is managed by OAM/ILMI
VC is managed by OAM or ILMI.
InARP frequency
Number of minutes for the Inverse Address Resolution Protocol (ARP) time period.
InPkts
Total number of packets received on this VC. This number includes all fast-switched and process-switched packets.
OutPkts
Total number of packets sent on this VC. This number includes all fast-switched and process-switched packets.
InBytes
Total number of bytes received on this VC. This number includes all fast-switched and process-switched bytes.
OutBytes
Total number of bytes sent on this VC. This number includes all fast-switched and process-switched bytes.
InPRoc
Number of process-switched input packets.
OutPRoc
Number of process-switched output packets.
Broadcasts
Number of process-switched broadcast packets.
InFast
Number of fast-switched input packets.
OutFast
Number of fast-switched output packets.
InAS
Number of autonomous-switched or silicon-switched input packets.
OutAS
Number of autonomous-switched or silicon-switched output packets.
OAM cells received
Total number of OAM cells received on this VC.
F5 InEndloop
Number of end-to-end F5 OAM loopback cells received.
F5 InSegloop
Number of segment F5 OAM loopback cells received.
F5 InAIS
Number of F5 OAM AIS cells received.
F5 InRDI
Number of F5 OAM RDI cells received.
F4 InEndloop
Number of end-to-end F4 OAM loopback cells received.
F4 InSegloop
Number of segment F4 OAM loopback cells received.
F4 InAIS
Number of F4 OAM AIS cells received.
F4 InRDI
Number of F4 OAM RDI cells received.
OAM cells sent
Total number of OAM cells sent on this VC.
F5 OutEndloop
Number of end-to-end F5 OAM loopback cells sent.
F5 OutSegloop
Number of segment F5 OAM loopback cells sent.
F5 OutRDI
Number of F5 OAM RDI cells sent.
OAM cell drops
Number of OAM cells dropped (or flushed).
PVC Discovery
•
NOT_VERIFIED—This PVC is manually configured on the router and not yet verified with the attached adjacent switch.
•
WELL_KNOWN—This PVC has a VCI value of 0 through 31.
•
DISCOVERED—This PVC is learned from the attached adjacent switch via ILMI.
•
MIXED—Some of the traffic parameters for this PVC were learned from the switch via ILMI.
•
MATCHED—This PVC is manually configured on the router, and the local traffic-shaping parameters match the parameters learned from the switch.
•
MISMATCHED—This PVC is manually configured on the router, and the local traffic-shaping parameters do not match the parameters learned from the switch.
•
LOCAL_ONLY—This PVC is configured locally on the router and not on the remote switch.
Status
When the Status field indicates UP, the VC is established. When the Status field indicates DOWN, refer to the State field for further information about the VC state.
State
When the Status field is UP, this field does not appear. When the Status field is DOWN or INACTIVE, the State field will appear with one of the following values:
•
NOT_VERIFIED—The VC has been established successfully; waiting for OAM (if enabled) and ILMI (if enabled) to verify that the VC is up.
•
NOT_EXIST—VC has not been created.
•
HASHING_IN—VC has been hashed into a hash table.
•
ESTABLISHING—Ready to establish VC connection.
•
MODIFYING—VC parameters have been modified.
•
DELETING—VC is being deleted.
•
DELETED—VC has been deleted.
•
NOT_IN_SERVICE—ATM interface is shut down.
PPP
For PPP over ATM, indicates the virtual access interface number and virtual template number being used.
PPPoA Current State
State of the PPPoA session associated with the VC.
PPPoA Latest Event
The latest event that occurred on the PPPoA session associated with the VC.
PPPoA Latest Error
The latest error that occurred on the PPPoA session associated with the VC.
PPPoA Session ID
PPPoA session identifier of the PPPoA session associated with the VC.
PPPoA Handle
PPPoA context handle.
SSS Handle
SSS handle for PPPoA session associated with the VC.
Switch Handle
SSS handle for switch management.
PPP Handle
Handle associated with the PPP context.
AAA Unique ID
Unique identifier associated with the AAA session.
AIE Handle
Access IE handle for the PPPoA session.
Packets in VC Holdq
Number of packets in the hold queue of the VC.
Particles in VC Tx Ring
Number of particles in the Tx ring of the VC.
1 QoS = quality of service
2 AIS = alarm indication signal
3 RDI = remote defect identification
4 ILMI = Interim Local Management Interface
virtual-template pre-clone
To specify the number of virtual-access interfaces to be created and cloned from a specific virtual template, use the virtual-template pre-clone command in global configuration mode. To disable precloning, use the no form of this command.
virtual-template template-number pre-clone number
no virtual-template template-number pre-clone number
Syntax Description
template-number
The number of the virtual template interfaces from which the new virtual-access interfaces are created.
number
The number of virtual-access interfaces to be created.
Defaults
Precloning is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
The number of precloned virtual-access interfaces should be set to the number of expected PPPoA and PPPoE sessions.
The precloned virtual-access interfaces will be attached to the PVC upon receipt of the first PPP packet from the client on the PVC. The virtual-access interface will be detached from the PVC upon termination of the PPP session.
When a PPP session is terminated, the virtual-access interface will remain in the router and will be reused. When precloning is disabled, any virtual-access interfaces that were already precloned but have not yet been used will remain in the router for future use.
Examples
The following example shows how to create 1200 precloned virtual-access interfaces on virtual template 1:
virtual-template 1 pre-clone 1200Related Commands
Glossary
cloning—Creating and configuring a virtual-access interface by applying a specific virtual template interface. The template is the source of the generic user information and router-dependent information. The result of cloning is a virtual-access interface configured with all the commands in the template.
LCP—link control protocol. Protocol that establishes, configures, and tests data-link connections for use by PPP.
LLC—logical link control. Higher of the two data link layer sublayers defined by the IEEE. The LLC sublayer handles error control, flow control, framing, and MAC-sublayer addressing. The most prevalent LLC protocol is IEEE 802.2, which includes both connectionless and connection-oriented variants.
NAS—network access server. A device providing local network access to users across a remote access network such as the Public Switched Telephone Network (PSTN).
PPP—Point-to-Point Protocol. A protocol that encapsulates network layer protocol information over point-to-point links. PPP is defined in RFC 1661.
PPPoA—PPP over ATM.
PPPoE—PPP over Ethernet.
precloning—Cloning a specified number of virtual-access interfaces from a virtual template at system startup or when the command is configured.
PVC—permanent virtual circuit (or connection). Virtual circuit that is permanently established. PVCs save bandwidth associated with circuit establishment and teardown in situations where certain virtual circuits must exist all the time. In ATM terminology, called a permanent virtual connection.
VC—virtual channel. Logical circuit created to ensure reliable communication between two network devices. A VC is defined by a VPI/VCI pair and can be either permanent (PVC) or switched (SVC).
virtual-access interface—Instance of a unique virtual interface that is created dynamically and exists temporarily. Virtual-access interfaces can be created and configured differently by different applications, such as virtual profiles and virtual private dialup networks. Virtual-access interfaces are cloned from virtual template interfaces.
virtual template interface—A logical interface configured with generic configuration information for a specific purpose or configuration common to specific users, plus router-dependent information. The template takes the form of a list of Cisco IOS interface commands that are applied to virtual-access interfaces, as needed.
VPDN—virtual private dial-up network. A system that permits dial-in networks to exist remotely from home networks, while giving the appearance of being directly connected.
![]()
Copyright © 2001-2005 Cisco Systems, Inc. All rights reserved.