Specifications
100 Chapter 4. Configuring Special Features
remote setourpasswd Secret PPPoEuser
#
# Define an IP route for the remote.
remote addiproute 0.0.0.0 0.0.0.0 1 PPPoEuser
#
# Turn on Network Address Translation for the remote.
remote setiptranslate on PPPoEuser
#
# Permanently allocate a channel for the connection.
remote setminline 1 PPPoEuser
# To have PPPoE sessions timeout after 10 min. (600 sec.) of no traffic,
# change the setminline value to 0 and add this command:
# remote settimer 600 PPPoEuser
#
# -----------------------------------------------
# Save the configuration changes and then reboot.
save
reboot
Managing PPPoE Sessions
Each PPPoE session is listed with the other interfaces in the output from an ifs command. In the following
example, the PPPoE session is shown as the last line of the output.
# ifs
Interface Speed In % Out % Protocol State Connection
ETHERNET/0 10.0.mb 0%/0% 0%/0% (Ethernet) OPENED
DMT/0 8.0mb D 0%/0% (ATM) OPENED
800kb U 0%/0% (ATM) OPENED
ATM-VC/1 8.0mb D 0%/0% (ATM) OPENED to PPPoEbridge
800kb U 0%/0% (ATM) OPENED to PPPoEbridge
ATM-ECHO/2 8.0mb D 0%/0% (ATM) OPENED
800kb U 0%/0% (ATM) OPENED
CONSOLE/0 9600 b 0%/0% 0%/0% (TTY) OPENED
PPPoE/1 10.0 mb 0%/0% 0%/0% (PPP) OPENED to PPPoEuser
You can list more information about the current PPPoE sessions using the pppoe list command. The following is
an example:
# pppoe list
PPPoE Client Session ...... DialUpPPP.net
PPPoE/Ifs number..... 1
Access Concentrator.. 15021109931568-efficient
Peer MAC Address .... 00:10:67:00:66:E2
Session ID .......... 2
State ............... 2
Flags ............... 1
To close a PPPoE session before it terminates, use the pppoe close command. The session is specified by its
number. (Use the PPPoE/n number from the ifs output or the PPPoE/Ifs number from the pppoe list
output.)