The new version of CCNP adds one of the hot spot configurations (ADSLPPPoE configuration Cases)

Source: Internet
Author: User
2514 # shrunBuildingconfiguration... Currentconfiguration: 982 bytes! Version12.2servicetimestampsdebuguptimeservicetimestampsloguptimenoservicepassword-encryption! Hostnamep2r3 !! Ipsubnet-zero! Vpdnenable (enable vpdn

2514 # sh run Building configuration... Current configuration: 982 bytes! Version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption! Hostname p2r3! ! Ip subnet-zero! Vpdn enable


2514 # sh run
Building configuration...
  
Current configuration: 982 bytes
!
Version 12.2:
Service timestamps debug uptime
Service timestamps log uptime
No service password-encryption
!
Hostname p2r3
!
!
Ip subnet-zero
!
Vpdn enable (enable vpdn)
!
Vpdn-group tyl
Request-dialin
Protocol pppoe (enabling pppoe protocol)
!
!
!
!
Interface Ethernet0
No ip address
Pppoe enable
Pppoe-client dial-pool-number 1 (bind the physical port to the virtual dialing port)
!
Interface Ethernet1
Ip address 192.168.1.254 255.255.255.0
Ip nat inside
!
Interface Dialer1
Ip address negotiated
Ip mtu 1492 (change the original mtu1500 to 1492, because the pppoe header is 8 bytes)
Ip nat outside
Encapsulation ppp
Dialer pool 1 (bind the physical port to the virtual dialing port through the dialing pool)
Ppp pap sent-username ****** @ 163.gd password 0 ******* (one-way verification of ppp pap)
  
!
Ip nat inside source list 1 interface Dialer1 overload (NAT translation)
Ip classless
Ip route 0.0.0.0 0.0.0.0 Dialer1 (set Static Routing)
Ip http server
Ip pim bidir-enable
!
!
Access-list 1 permit 192.168.1.0 0.0.255
  
!
!
Line con 0
Exec-timeout 0 0
Logging synchronous
Line aux 0
Line vty 0 4
!
End
  
  
  

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.