H3C SR6600 Configuration Manual page 100

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

Advertisement

[LNS-isp-bbb.net] quit
# Create two virtual interface templates.
[LNS] interface virtual-template 1
[LNS-Virtual-Template1] ip address 10.0.1.1 255.255.255.0
[LNS-Virtual-Template1] remote address pool 1
[LNS-Virtual-Template1] ppp authentication-mode chap domain aaa.net
[LNS-Virtual-Template1] quit
[LNS] interface virtual-template 2
[LNS-Virtual-Template2] ip address 10.0.2.1 255.255.255.0
[LNS-Virtual-Template2] remote address pool 1
[LNS-Virtual-Template2] ppp authentication-mode chap domain bbb.net
[LNS-Virtual-Template2] quit
# Create two L2TP groups.
[LNS] l2tp-group 3
[LNS-l2tp3] tunnel name LNS
[LNS-l2tp3] tunnel authentication
[LNS-l2tp3] allow l2tp virtual-template 1 remote LAC-1 domain aaa.net
[LNS-l2tp3] tunnel password simple 12345
[LNS-l2tp3] quit
[LNS] l2tp-group 4
[LNS-l2tp4] tunnel name LNS
[LNS-l2tp4] tunnel authentication
[LNS-l2tp4] allow l2tp virtual-template 2 remote LAC-2 domain bbb.net
[LNS-l2tp4] tunnel password simple 12345
If RADIUS authentication is required on the LNS, modify the AAA configurations as needed.
For more AAA configuration information, see AAA in the Security Configuration Guide.
3) Configure the users
Create a dial-up connection on each host.
On Host A, enter vpdn1@aaa.net as the username and 11111 as the password in the
dial-up terminal window.
On Host B, enter vpdn2@aaa.net as the username and 22222 as the password in the
dial-up terminal window.
4) Verify the configurations
# After Host A establishes a dial-up connection with enterprise 1, Host A gets IP address
10.0.1.10 and can ping the private address of the LNS (10.0.1.1).
# After Host B establishes a dial-up connection with enterprise 2, Host B gets IP address
10.0.2.10 and can ping the private address of the LNS (10.0.2.1).
# On the LNS, use the display l2tp session command to check the L2TP sessions
established.
[LNS-l2tp1] display l2tp session
Total session = 2
LocalSID
RemoteSID
17345
4351
23914
10923
# On the LNS, use the display l2tp tunnel command to check the L2TP tunnels
established.
LocalTID
1
2
4-90

Advertisement

Table of Contents
loading

Table of Contents