Monitoring PPPoE
Use the commands described in this section to display information about PPPoE interfaces and subinterfaces.
You can set a statistics baseline for PPPoE interfaces, subinterfaces, and/or circuits using the baseline pppoe interface command.
You can use the output filtering feature of the show command to include or exclude lines of output based on a text string you specify. See JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface for details.
baseline pppoe interface
- Use to set a statistics baseline for PPPoE interfaces, subinterfaces, and circuits.
- The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved.
- You cannot set a baseline for groups of interfaces, subinterfaces, or circuits. You must set them one at a time.
- When baselining is requested, the time since the last baseline was set is displayed in hours:minutes:seconds or days/hours format. If a baseline has not been set, the message "No baseline has been set" is displayed instead.
- Use the optional delta keyword with PPPoE show commands to specify that baselined statistics will be shown.
- Examples
host1#baseline pppoe interface atm 2/0.1.1host1#baseline pppoe interface atm 2/0/0.1.1There is no no version. show aaa tunnel-parameters
- Use to display tunnel parameters that are configured for L2TP tunnel definitions, including the calling number format.
- Field descriptions
- Tunnel password—Default tunnel password
- Tunnel client-name—Hostname that the LAC sends to the LNS when communicating about the tunnel
- Tunnel nas-port-method—Default NAS port type
- Tunnel nas-port ignore—Whether the router uses the tunnel peer's NAS-Port [5] attribute; enabled or disabled
- Tunnel nas-port-type ignore—Whether the router uses the tunnel peer's NAS-Port-Type [61] attribute; enabled or disabled
- Tunnel assignmentID format—Value of the tunnel assignment ID that is passed to PPP/L2TP
- Tunnel calling number format—Format configured for L2TP Calling Number AVP 22 generated by the LAC
host1#show aaa tunnel-parametersTunnel password is 3&92k5b#q4Tunnel client-name is host1Tunnel nas-port-method is noneTunnel nas-port ignore disabledTunnel nas-port-type ignore disabledTunnel assignmentId format is assignmentIdTunnel calling number format is descriptive, includes agent-circuit-id andagent-remote-idshow pppoe interface
- Use to display parameters on a PPPoE interface or a PPPoE subinterface.
- If you do not specify an interface and subinterface, the router displays the PPPoE interface and Status parameters for all configured interfaces.
- If you specify an interface with no subinterface, the router displays the PPPoE interface and Status parameters for that interface.
- If you specify an interface and subinterface, the router displays detailed parameters available for that subinterface.
- Field descriptions
- PPPoE interface—Interface identifier. For more information about specifying the physical interface, see Interface Types and Specifiers in JUNOSe Command Reference Guide, About This Guide.
- Status—Operational status of the interface; possible values are:
- operStatusUP—Interface or subinterface is operational
- Down—Interface or subinterface is not operational
- LowerLayerDown—Subinterface is not operational because an underlying interface is down
- max sessions—Number of maximum allowable PPP sessions configured
- acName - PPPoE ACNAME—Access concentrator name
- will not send ac info in PADS packet—When the pppoe pads disable-ac-info command is issued, indicates that the router will not send the AC-Name and AC-Cookie tags in the PADS packet
- duplicate-protection—Indicates whether duplicate protection is enabled or disabled for the interface
- capture remote circuit id—Indicates whether capture of the PPPoE remote circuit ID sent from the DSLAM is enabled or disabled for the interface
- active connections—Number of live PPP connections
- configured subinterfaces—PPPoE subinterfaces you configured on an interface
- Assigned profile—Name of profile assigned to dynamic PPPoE interface
- PPPoE Statistics Counters
- PADI received/PADI transmitted—Number of initiation control packets received/transmitted
- PADO received/PADO transmitted—Number of offer control packets received/transmitted
- PADR received/PADR transmitted—Number of request control packets received/transmitted
- PADS received/PADS transmitted—Number of session confirmation control packets received/transmitted
- PADT received/PADT transmitted—Number of termination control packets received/transmitted
- PADM received/PADM transmitted—Number of message control packets received/transmitted
- PADN received/PADN transmitted—Number of network control packets received/transmitted
- PAD packets received—Total number of control packets received on the interface
- PAD packets transmitted—Total number of control packets transmitted on the interface
- Invalid PAD Packets
- Invalid Version—Number of control packets received with an invalid version
- Invalid PAD Code—Number of control packets received with an invalid code
- Invalid PAD Tags—Number of control packets received with invalid tags
- Invalid PAD Tag length—Number of control packets received with an invalid tag length
- Invalid PAD Type—Number of control packets received with an invalid type
- Invalid PADI Session—Number of invalid PPPoE Active Discovery Initiation sessions
- Invalid PADR Session—Number of invalid PPPoE Active Discovery Request sessions
- Invalid PAD packet length—Number of control packets received with an invalid packet length
- Invalid PAD packets—Number of invalid control packets received
- Total Invalid PAD packets—Total number of invalid control packets received on the interface
- Insufficient Resources—Number of requests denied because of an inadequate number of sessions; check the number of active clients
host1#show pppoe interface atm 1/0.1PPPoE interface ATM 1/0.1 is operStatusUp (dynamic)PPPoE interface ATM 1/0.1 has max sessions = 4000PPPoE interface ATM 1/0.1 has acName of 111111111111111PPPoE interface ATM 1/0.1 will not send ac info in PADS packetPPPoE interface ATM 1/0.1 is in duplicate-protectionPPPoE interface ATM 1/0.1 will capture remote circuit IDPPPoE interface ATM 1/0.1 has 1 active connections,out of 1 configured subinterfacesAssigned profile (any) : baseProfilePPPoE StatisticsCounters:PADI received 0PADI transmitted 1PADO received 1PADO transmitted 0PADR received 0PADR transmitted 1PADS received 1PADS transmitted 0PADT received 0PADT transmitted 0PADM received 1PADM transmitted 0PADN received 0PADN transmitted 0PAD packets received 2PAD packets transmitted 2Invalid PAD Packets:Invalid Version 0Invalid PAD Code 0Invalid PAD Tags 0Invalid PAD Tag length 0Invalid PAD Type 0Invalid PADI Session 0Invalid PADR Session 0Invalid PAD packet length 3Invalid PAD packets 0Total Invalid PAD packets 3Insufficient Resources 0show pppoe interface summary
- Use to display the operational and administrative status of all configured PPPoE interfaces.
- Field descriptions
- Total PPPoE interfaces—Number of configured PPPoE interfaces included in summary
- Administrative Status
- Up—Number of interfaces not affected by manual administrative intervention
- Down—Number of interfaces that cannot flow because of manual administrative intervention
- Up—Number of interfaces that are operational
- Down—Number of interfaces that are not operational
- LowerLayerDown—Number of interfaces that are not operational because an underlying interface is down
- NotPresent—Number of interfaces that are not operational because hardware is unavailable
host1:01#show pppoe interface summaryTotal PPPoE interfaces: 16Administrative Status:Up: 15Down: 1Operational Status:Up: 15Down: 1LowerLayerDown: 1NotPresent: 0show pppoe-service-name-table
- Use to display the contents of a PPPoE service name table configured on the router.
- The command displays the table name, action (terminate or drop) associated with the empty service name tag, and the name of each specific service name entry in the table.
- You must specify the name of the PPPoE service name table configured with the pppoe-service-name-table command from Global Configuration mode.
- To display the names of PPPoE service name tables that you can specify to complete the command, issue the show pppoe-service-name-table name ? command.
- Field descriptions
- Service Name Table—Name of the PPPoE service name table configured with the pppoe-service-name-table command
- Empty service name action—Action (terminate or drop) associated with the empty service name tag in the PPPoE service name table
- Service name—Name of the specific (custom) service name tag configured with the service command
- Example 1—Displays the names of PPPoE service name tables that you can specify to complete the command
host1#show pppoe-service-name-table name ?myDefaultTable myDefaultTable service-name-tablemyServiceTable1 myServiceTable1 service-name-tablemyServiceTable2 myServiceTable2 service-name-tablemyServiceTable3 myServiceTable3 service-name-tableExample 2—Displays the contents of a default PPPoE service name table with no specific service name entries host1#show pppoe-service-name-table name myDefaultTableService Name Table myDefaultTableEmpty service name action: terminateExample 3—Displays the contents of a PPPoE service name table that has three specific service name entries and the nondefault action (drop) associated with the empty service name tag host1#show pppoe-service-name-table name myServiceTable1Service Name Table myServiceTable1Empty service name action: dropService name: myISPServiceService name: myQOSClass1Service name: myQOSClass2Example 4—Displays the names of all PPPoE service name tables configured on the router host1#show pppoe-service-name-table briefService-Name Table:myServiceTable1myServiceTable2show pppoe subinterface
- Use to display parameters for PPPoE subinterfaces.
- If you do not specify a subinterface, the router displays the configured PPPoE subinterface number and status for all configured PPPoE subinterfaces.
- If you specify an interface with no subinterface, the router displays the status for the subinterfaces associated with the interface.
- If you specify an interface and subinterface, the router displays detailed parameters available for that subinterface.
- Field descriptions
- PPPoE subinterface—Interface specifier
- Status—Operational status of the interface. Possible values are:
- operStatusUP—Interface or subinterface is operational
- Down—Interface or subinterface is not operational
- LowerLayerDown—Subinterface is not operational because an underlying interface or subinterface is down
- URL String—URL string sent in the PADM message to PPPoE clients
- MOTM String—Message of the minute string sent in the PADM message to PPPoE clients
- session ID—Session ID of the subinterface
- In Octets—Number of octets received on the subinterface
- Out Octets—Number of octets transmitted on the subinterface
- In Packets—Number of packets received on the subinterface
- Out Packets—Number of packets transmitted on the subinterface
host1:v0#show pppoe subinterface fastEthernet 1/1.1.1PPPoE subinterface fastEthernet 1/1.1.1 is operStatusUpURL String: http://www.urlofinterest.comMOTM String: a horse walks into a barPPPoE subinterface fastEthernet 1/1.1.1 has a session id of 1PPPoE StatisticsIn Octets: 480Out Octets: 256In Packets: 8Out Packets: 8show pppoe subinterface summary
- Use to display the operational and administrative status of all configured PPPoE subinterfaces.
- Field descriptions
- Total PPPoE subinterfaces—Number of configured PPPoE subinterfaces included in summary
- Administrative Status
- Up—Number of subinterfaces not affected by manual administrative intervention
- Down—Number of subinterfaces that cannot flow because of manual administrative intervention
- Up—Number of subinterfaces that are operational
- Down—Number of subinterfaces that are not operational
- LowerLayerDown—Number of subinterfaces that are not operational because an underlying interface is down
- NotPresent—Number of subinterfaces that are not operational because hardware is unavailable
host1:01#show pppoe subinterface summaryTotal PPPoE subinterfaces: 116Administrative Status:Up: 115Down: 1Operational Status:Up: 115Down: 1LowerLayerDown: 1NotPresent: 0show profile
- Use to display information about profiles.
- To display information about a specific profile, use the name keyword.
- To display a list of profiles configured on the router, use the brief keyword.
- Field descriptions
- Profile—Name of the profile that is displayed
- IP address—IP address and subnet mask of the interface, or none if the interface is unnumbered
- Unnumbered interface—Specifier for the unnumbered interface, or none if the interface is numbered
- Router—Name of the virtual router (VR) assigned to the profile; interfaces created by the profile are attached to this VR
- Directed Broadcast—Enabled or disabled
- ICMP Redirects—Enabled or disabled
- Access Route Addition—Enabled or disabled
- Network Address Translation—Enabled or disabled; domain location (inside or outside)
- Source-Address Validation—Enabled or disabled
- Ignore DF Bit—Enabled or disabled
- Filter Option Packets—Router filters out packets with IP options; enabled or disabled
- Administrative MTU—MTU size configured on the profile
- TCP MSS value—Maximum segment size for TCP SYN packets traveling through the interface
- Inactivity Timer—Inactivity timer setting; enabled or disabled
- Route Map Name—Route map applied to the IP interface subscriber; enabled or disabled
- Auto Detect—Router automatically detects packets that do not match any entries in the demultiplexer table; enabled or disabled
- Auto Configure—Dynamic creation of subscriber interfaces on a primary IP interface; enabled or disabled
- IGMP—Enabled or disabled
- static-groups—Displays address of any static groups configured for IGMP
- Input policy—Name of input policy and whether statistics are enabled or disabled
- Output policy—Name of output policy and whether statistics are enabled or disabled
- PPP Keepalive—PPP keepalive period, in seconds
- PPP Magic Number—Enabled or disabled
- PPP Peer DNS Priority—Enabled or disabled
- PPP Peer WINS Priority—Enabled or disabled
- PPP Authentication—Type of authentication configured: PAP, CHAP, or none
- PPP Authentication Router—Name of authentication virtual router
- PPP Negotiate MRU—MRU configured for the profile
- PPP Packet Log—Enabled or disabled
- PPP State Log—Enabled or disabled
- PPP Chap Challenge Length—Minimum and maximum Chap Challenge length
- PPP Passive Mode—Enabled or disabled
- PPP Multilink—Enabled or disabled
- PPP IPCP netmask option—Enabled or disabled
- PPP AAA Profile—AAA profile associated with this PPP interface
- PPP Multilink Fragmentation—Enabled or disabled
- PPP Multilink Fragment Size—Multilink fragment size for this PPP interface
- PPP Multilink Reassembly—Enabled or disabled
- PPP Multilink Mrru—Multilink MRRU value for this PPP interface
- PPP Initiate IP—Initiation of IPv4 over this PPP interface; enabled or disabled
- PPP Initiate IPv6—Initiation of IPv6 over this PPP interface; enabled or disabled
- PPPoE Max Sessions—Maximum number of PPPoE subinterfaces that can be on an interface
- PPPoE Always-offer—Router offers to set up a session for the client, even if the router has insufficient resources to establish a session; enabled or disabled
- PPPoE Remote-Circuit-Id—The router captures and processes a vendor-specific tag containing a remote circuit ID transmitted from a digital subscriber line access multiplexer (DSLAM); enabled or disabled
- PPPoE Log PPPoeControlPacket—Enabled or disabled
- PPPOE duplicate-protect—Enabled or disabled
- PPPoE ACNAME—Access concentrator name
- PPPoE URL—URL sent in PADM message to PPPoE clients
- PPPoE MOTM—Message of the minute sent in the PADM message to PPPoE clients
- PPPoE Service-Name Table—Name of the PPPoE service name table, if configured for the specified profile
host1#show profile name pppoeProfileProfile : pppoeProfileUnnumbered interface on : loopback 1Router : defaultDirected Broadcast : DisabledICMP Redirects : DisabledAccess Route Addition : EnabledNetwork Address Translation: DisabledSource-Address Validation : DisabledIgnore DF Bit : DisabledFilter Option Packets : DisabledAdministrative MTU : 1500TCP MSS value : 0Inactivity Timer : DisabledRoute Map Name : DisabledAuto Detect : DisabledAuto Configure : DisabledIGMP : Enabledstatic-groups :Input policy: bobb statistics enabledOutput policy: bobb statistics enabledPPP Keepalive : 30PPP Magic Number : enabledPPP Peer DNS Priority : disabledPPP Peer WINS Priority : disabledPPP Authentication : pap/chapPPP Authentication Router :PPP Negotiate MRU : (use lower layer MRU)PPP Packet Log : disabledPPP State Log : disabledPPP Chap Challenge Length : 16 - 32PPP Passive Mode : disabledPPP Multilink : disabledPPP IPCP Netmask Option : disabledPPP AAA Profile :PPP Multilink Fragmentation : disabledPPP Multilink Fragment Size : (use MTU)PPP Multilink Reassembly : disabledPPP Multilink Mrru : (use MRU)PPP Initiate IP : disabledPPP Initiate IPv6 : disabledPPPoE Max Sessions : 2PPPoE Always-offer : DisabledPPPoE Remote-Circuit-Id : EnabledPPPoE Log PPPoeControlPacket: DisabledPPPoE duplicate-protect : EnabledPPPoE ACNAME : CYM9876PPPoE URL : http://www.urlofinterest.comPPPoE MOTM : goodmorningPPPoE Service-Name table : myServiceTable1show radius override
- Use to display the current override settings configured on the RADIUS client (LNS) for the NAS-IP-Address [4], NAS-Port-Id [87], Calling-Station-Id [31], and NAS-Identifier [32] RADIUS attributes.
- Field descriptions
- nas-ip-addr—Override setting for the NAS-IP-Address attribute
- nas-port-id—Override setting for the NAS-Port-Id attribute; value is remote-circuit-id if configured with radius override nas-port-id remote-circuit-id command
- calling-station-id—Override setting for the Calling-Station-Id attribute; value is remote-circuit-id if configured with radius override calling-station-id remote-circuit-id command
- nas-info—Virtual router that generates the NAS-IP-Address and NAS-Identifier attributes for AAA broadcast accounting packets; current virtual router or authentication virtual router
host1#show radius overridenas-ip-addr: nas-ip-addrnas-port-id: remote-circuit-idcalling-station-id: remote-circuit-idnas-info: from current virtual routershow radius remote-circuit-id-delimiter
- Use to display the delimiter character configured to set off components in the PPPoE remote circuit ID value captured from a DSLAM.
- The default delimiter character is #.
- Example
host1#show radius remote-circuit-id-delimiter%show radius remote-circuit-id-format
- Use to display the format configured for the PPPoE remote circuit ID value captured from a DSLAM.
- The command output displays the components (agent-circuit-id, agent-remote-id, and nas-identifier) included in the PPPoE remote circuit ID value and the order in which these components appear.
- The default format is agent-circuit-ID.
- Example
host1#show radius remote-circuit-id-formatnas-identifier agent-circuit-id agent-remote-id