Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verifying and Managing L2TP for Subscriber Access

    Purpose

    View or clear information about L2TP tunnels and sessions.

    Action

    • To display a summary of L2TP tunnels, sessions, errors, and control and data packets:
    • To display the L2TP destinations:
    • To clear all L2TP destinations:
    • To clear statistics for all L2TP tunnels belonging to a destination, tunnels belonging to a specified local-gateway address, and tunnels belonging to a specified peer-gateway address:
      user@host>clear services l2tp destination statistics alluser@host>clear services l2tp destination local-gateway 10.1.1.2
    • To display the L2TP sessions:
    • To clear all L2TP sessions, the session with a specified local session ID, or sessions associated with the local gateway specified by an IP address or name:
      user@host>clear services l2tp session alluser@host>clear services l2tp session local-session-id 40553user@host>clear services l2tp session local-gateway 10.1.1.2user@host>clear services l2tp session local-gateway-name lns-mx960
    • To clear statistics for all L2TP sessions, the session with a specified local session ID, or sessions associated with the local gateway specified by an IP address or name:
      user@host>clear services l2tp session statistics alluser@host>clear services l2tp session statistics local-session-id 17967user@host>clear services l2tp session statistics local-gateway 10.1.1.2user@host>clear services l2tp session statistics local-gateway-name lns-mx960
    • To display the L2TP tunnels:
    • To clear all L2TP tunnels, the tunnel with a specified local tunnel ID, or tunnels associated with the local gateway specified by an IP address or name:
      user@host> clear services l2tp tunnel alluser@host>clear services l2tp tunnel local-tunnel-id 40553user@host>clear services l2tp tunnel local-gateway 10.1.1.2user@host>clear services l2tp tunnel local-gateway-name lns-mx960
    • To clear statistics for all L2TP tunnels, the tunnel with a specified local tunnel ID, or tunnels associated with the local gateway specified by an IP address or name:
      user@host> clear services l2tp tunnel statistics alluser@host>clear services l2tp tunnel statistics local-tunnel-id 40553user@host>clear services l2tp tunnel statistics local-gateway 10.1.1.2user@host>clear services l2tp tunnel statistics local-gateway-name lns-mx960

    Published: 2013-02-11