Cisco L2TP configuration Commands

Source: Internet
Author: User

R6

Interface FastEthernet 0/0

IP addr 10.0.0.1 255.255.255.0

No shut

Interface serial0/0

IP addr 200.0.0.5 255.255.255.252

No shutdown

IP Route 0.0.0.0 0.0.0.0 200.0.0.6




R6 L2TP


Config T

Username User1 password 0 (encryption level) User1 (several account login to write a few)

Username user2 password 0 (encryption level) User2

Username User3 password 0 (encryption level) User3


VPDN enable (Virtual Private VPN network)

Vpdn-group MYL2TP (custom group name: MYL2TP)

Accecpt-dianlin (Allow access)

Protocol L2TP (using L2TP protocol)

Virtual-template 1 (Call virtual template)

Exit

No L2TP tunnel authentication

Exit


Interface Virtual-template1

IP unnnumbered fa0/0 (determines no numbered IP address)

Encapsulation PPP (PPP package)

Peer default IP Add pool ip-pool (assign address pool to define the name of the address pool)

PPP Authentication CHAP

No shutdown

Exit

IP local pool ip-pool 11.0.0.201 11.0.0.210 (indicates the range of address pools)

End

Show ip interface breif




R6 Formal Configuration

En

Config T

No IP domain-lookup

IP classless

IP Subnet-zero

Hostname R6


Interface Serial 1/2

IP addr 173.16.1.1 255.255.255.252

No shut


IP fa2/0

IP addr 11.0.0.101 255.0.0.0

No shut

Exit


Router OSPF 100 (process number)

Network 173.16.1.0 0.0.0.3 Area 0

Network 11.0.0.0 0.255.255.255 Area 0 (code)

End

Show IP route


R7


En

Config T

No IP domain-lookup

IP classless

IP Subnet-zero

Hostname R6


Interface Serial 1/2

IP addr 173.16.1.2 255.255.255.252

No shut


IP fa2/0

IP addr 12.0.0.101 255.0.0.0

No shut

Exit


Router OSPF 100 (process number)

Network 173.16.1.0 0.0.0.3 Area 0

Network 12.0.0.0 0.255.255.255 Area 0 (code)

End

Show IP route


Tracert 11.0.0.102


Cisco L2TP configuration Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.