[RouterA-isp-bbb] authorization ppp hwtacacs-scheme hwtac
[RouterA-isp-bbb] accounting ppp hwtacacs-scheme hwtac
[RouterA-isp-bbb] quit
# Enable PPP encapsulation on Serial 1/1/0.
[RouterA] interface serial 1/1/0
[RouterA-Serial1/1/0] link-protocol ppp
# Configure Serial 1/1/0 to authenticate the peer by using PAP in authentication domain bbb.
[RouterA-Serial1/1/0] ppp authentication-mode pap domain bbb
# Configure the IP address of Serial 1/1/0.
[RouterA-Serial1/1/0] ip address 200.1.1.1 24
[RouterA-Serial1/1/0] quit
3.
Configure Router B:
# Enable PPP encapsulation on Serial 1/1/0.
<RouterB> system-view
[RouterB] interface serial 1/1/0
[RouterB-Serial1/1/0] link-protocol ppp
# Configure the local username and password for PAP authentication to userb and plaintext
passb, respectively.
[RouterB-Serial1/1/0] ppp pap local-user userb password simple passb
# Configure the IP address of Serial 1/1/0.
[RouterB-Serial1/1/0] ip address 200.1.1.2 24
[RouterB-Serial1/1/0] quit
Verifying the configuration
# Use the display interface serial command to display information for Serial 1/1/0. The PPP link is
established if the output contains the following information:
•
Both the physical layer and link layer are up.
•
LCP and IPCP have entered the Opened state.
Router A and Router B can ping each other.
Local guest configuration and management example
Network requirements
As shown in
and manage the local guest on the router as follows:
•
Configure attributes for the local guest, including the password, user group, validity period, and
sponsor information.
•
Enable the guest auto-delete feature.
•
Specify an SMTP server and email sender address for the device to send local guest email
notifications.
•
Configure email addresses for the local guest and guest sponsor.
•
Configure the subject and body of the email notifications to be sent to the guest and guest
sponsor.
•
Send email notifications of the local guest account information to the guest and guest sponsor.
Figure
28, create a local guest named user1 for Jack. Configure local guest attributes
76