19
10. (Optional.) Set the MTU for the dialer interface
mtu size
By default, the MTU on a dialer interface is 1500 bytes.
The dialer interface fragments a packet that exceeds the configured MTU, and adds a 2-byte
PPP header and a 6-byte PPPoE header to each fragment. You should modify the MTU of a
dialer interface to make sure the total length of any fragment packet is less than the MTU of the
physical interface.
Configuring a PPPoE session
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Create a PPPoE session and specify a dialer bundle for the session.
pppoe-client dial-bundle-number number [ no-hostuniq ]
The number argument in this command must take the same value as the configured dialer
interface number.
Resetting a PPPoE session
About resetting a PPPoE session
After you reset a PPPoE session in permanent mode, the device establishes a new PPPoE session
when the autodial timer expires.
After you reset a PPPoE session in on-demand mode, the device establishes a new PPPoE session
when there is a demand for data transmission.
Procedure
To reset a PPPoE session, execute the following command in user view:
reset pppoe-client { all | dial-bundle-number number }
Display and maintenance commands for PPPoE
Display and maintenance commands for PPPoE client
Execute display commands in any view and reset commands in user view.
Task Command
Display summary information for a PPPoE
session.
display pppoe-client session
summary
[
dial-bundle-number
number
]
Display the protocol packet statistics for a
PPPoE session.
display pppoe-client
session packet
[
dial-bundle-number
number
]
Clear the protocol packet statistics for a PPPoE
session.
reset pppoe-client
session packet
[
dial-bundle-number
number
]