[Contents] [Prev] [Next] [Index] [Report an Error]

Troubleshooting PPP and PPPoE Dynamic Interfaces

You can issue the profile-reassign command to help you use PPP and PPPoE packet–logging capabilities to debug and troubleshoot PPP and PPPoE dynamic interfaces. To use the profile-reassign command, you must access Privileged Exec mode at privilege level 5 or higher.

The profile-reassign command enables you to reassign the profile currently assigned to the specified encapsulation type for the specified ATM 1483 subinterface. In effect, you swap the currently assigned nondebug profile for a debug profile that has identical attributes with the addition of one or more PPP or PPPoE packet–logging attributes enabled.

To troubleshoot PPP and PPPoE dynamic interfaces:

  1. Create a debug profile that includes the same attributes as an existing nondebug profile, with the addition of one or more PPP or PPPoE packet–logging attributes enabled.

    Observe the following guidelines when you create the debug profile:

    For details about creating and using profiles, see Configuring a Dynamic Interface from a Profile .

  2. Access Privileged Exec mode at privilege level 5 or higher.
    host1>enable 5
    Password: *********
    host1#

    Note: The router prompts you for a password only if you have configured a password to control access to Privileged Exec mode. For details about setting passwords to access various command privilege levels, see chapter Passwords and Security in JUNOSe System Basics Configuration Guide.

  3. From Privileged Exec mode, issue the profile-reassign command to replace the nondebug profile currently assigned to the specified encapsulation type for the specified ATM 1483 interface with the debug profile created in Step 1.

    You must specify one of the following encapsulation types to which the debug profile applies: ppp, pppoe, or any. You can use the any encapsulation type if neither the ppp encapsulation type nor the pppoe encapsulation type has an existing profile assignment. For example:

    host1#profile-reassign atm 2/0.101 ppp pppLogConfig

    Note: Issuing the profile-reassign command causes the router to tear down any dynamic interfaces that exist above the ATM 1483 subinterface. After the profile is reassigned, the router restores the interfaces based on the necessary client reconnections. If the ATM 1483 subinterface is currently shut down, issuing the profile-reassign command does not reestablish the interface connection.

  4. (Optional) Use the appropriate show command to verify the profile reassignment. For example:
    host1#show atm subinterface atm 2/0.101

    When you reassign a debug profile to an ATM 1483 subinterface, the reassignment is stored in NVS and persists after a reboot. If you issue the show atm subinterface or show configuration command after the profile is reassigned, these commands display the new profile assignment.

  5. (Optional) To restore the initial (nondebug) profile assignment after you troubleshoot the dynamic interface, issue the profile-reassign command again using the name of the nondebug profile. For example:
    host1#profile-reassign atm 2/0.101 ppp pppConfig

enable

profile-reassign

 


[Contents] [Prev] [Next] [Index] [Report an Error]