H3C SR6600 Configuration Manual page 31

Layer 2 – wan configuration
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

[RouterC] domain system
[RouterC-isp-system] authentication ppp local
[RouterC-isp-system] ip pool 1 202.38.162.1 202.38.162.100
[RouterC-isp-system] quit
# Create a VT interface, configure PAP authentication and an IP address, and allocate an IP address for
the remote end from the IP address pool.
[RouterC] interface virtual-template 10
[RouterC-Virtual-Template10] ip address 202.38.160.1 255.255.255.0
[RouterC-Virtual-Template10] ppp authentication-mode pap
[RouterC-Virtual-Template10] remote address pool 1
[RouterC-Virtual-Template10] quit
[RouterC] interface virtual-template 11
[RouterC-Virtual-Template11] ip address 202.38.161.1 255.255.255.0
[RouterC-Virtual-Template11] ppp authentication-mode pap
[RouterC-Virtual-Template11] remote address pool 1
[RouterC-Virtual-Template11] quit
# Create a PVC, and specify it to carry PPP.
[RouterC] interface atm 1/0/1.1
[RouterC-Atm1/0/1.1] pvc to_adsl_a 0/0/60
[RouterC-atm-pvc-Atm1/0/1.1-0/0/60-to_adsl_a] map ppp virtual-template 10
[RouterC-atm-pvc-Atm1/0/1.1-0/0/60-to_adsl_a] quit
[RouterC-Atm1/0/1.1] pvc to_adsl_b 0/0/61
[RouterC-atm-pvc-Atm1/0/1.1-0/0/61-to_adsl_b] map ppp virtual-template 11
2)
Configure ADSL Router A (PPPoA Client)
# Create a VT interface, and configure PAP authentication and IP address negotiation.
<RouterA> system-view
[RouterA] interface virtual-template 0
[RouterA-Virtual-Template0] ppp pap local-user user1 password simple pwd1
[RouterA-Virtual-Template0] ip address ppp-negotiate
[RouterA-Virtual-Template0] quit
# Create a PVC, and specify it to run PPP.
[RouterA] interface atm 1/0/1
[RouterA-Atm1/0/1] pvc pppoa 0/0/37
[RouterA-atm-pvc-Atm1/0/1-0/0/37-pppoa] map ppp virtual-template 0
The configuration of ADSL Router B is similar to that of Router A.
If the client cancels the IP address it has received through address negotiation, or the client is
configured with a fixed IP address, the communication between the server and the client will fail. In this
case, you need to shut down the ATM interface first, and delete the IP address pool on the server.
1-21

Advertisement

Table of Contents
loading

Table of Contents