R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference

46
ppp lqc lcp-echo
Use ppp lqc lcp-echo to configure an interface to periodically send large LCP echo packets on a PPP link.
Use undo ppp lqc lcp-echo to restore the default.
Syntax
ppp lqc lcp-echo [ packet size ] [ interval seconds ]
undo ppp lqc lcp-echo
Default
The interface does not send large LCP echo packets on a PPP link.
Views
Interface view
Default command level
2: System level
Parameters
packet size: Specifies the size of LCP echo packets, in the range of 128 to 1500 bytes.
interval seconds:
Specifies the interval for sending LCP echo packets, in the range of 1 to 10
seconds.
Usage guidelines
This feature can avoid PPP link flapping caused by loss of large LCP packets.
Examples
# Configure interface Serial 2/1/1 to send 1400-byte LCP echo packets every 1 second.
<Sysname> system-view
[Sysname] interface serial 2/1/1
[Sysname-Serial2/1/1] ppp lqc lcp-echo packet 1400 interval 1
peer neighbor-route
Use peer neighbor-route to enable peer route creation.
Use undo peer neighbor-route to disable peer route creation.
Syntax
peer neighbor-route
undo peer neighbor-route
Default
Peer route creation is enabled.
Views
Serial interface view, AUX interface view, POS interface view, VT interface view
Default command level
2: System level