思科如何设置PPPOE
cisco公司制造的路由器、交换机和其他设备承载了全球80%的互联网通信,成为硅谷中新经济的传奇,那么你知道思科如何设置PPPOE吗?下面是读文网小编整理的一些关于思科如何设置PPPOE的相关资料,供你参考。
思科设置PPPOE的方法
XXXshowrun
Building configuration…
Current configuration : 6200 bytes
!
! Last configuration change at 15:13:00 UTC Tue Jan 21 2014 by anchnet
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXX
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
no aaa new-model
!
crypto pki trustpoint TP-self-signed-1543760446
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1543760446
revocation-check none
rsakeypair TP-self-signed-1543760446
!
ip cef
!
!
!
!
!
ip dhcp excluded-address 192.168.20.1
!
ip dhcp pool ccp-pool
import all
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.8.8 4.4.4.4
lease 0 2
!
!
!
no ip domain lookup
ip domain name yourdomain.com
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
license udi pid CISCO891-K9 sn FGL172624VJ
!
!
username XXX privilege 15 secret 4 XXX
username XXX privilege 15 secret 4 XXX
!
redundancy
!
!
!
!
!
!
!
!
crypto ipsec transform-set ccie esp-3des esp-sha-hmac
mode tunnel
!
!
!
crypto map 121 1 ipsec-isakmp
! Incomplete
!
!
!
!
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface FastEthernet4
no ip address
!
interface FastEthernet5
no ip address
!
interface FastEthernet6
no ip address
!
interface FastEthernet7
no ip address
!
interface FastEthernet8
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0
description To_Link
no ip address
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
crypto map 121
!
interface Vlan1
description $ETH_LAN$
ip address 192.168.20.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1452
!
interface Async1
no ip address
encapsulation slip
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
ppp pap sent-username XXX password 0 XXX
no cdp enable
crypto map 121
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
ip nat inside source list 101 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip sla auto discovery
access-list 100 permit ip 192.168.20.0 0.0.0.255 10.8.8.0 0.0.0.255
access-list 101 deny ip 192.168.20.0 0.0.0.255 10.8.8.0 0.0.0.255
access-list 101 permit ip 192.168.20.0 0.0.0.255 any
no cdp run
!
!
!
control-plane
!
!
!
!
mgcp profile default
!
!
!
!
!
!
line con 0
login local
line 1
modem InOut
speed 115200
flowcontrol hardware
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
line vty 5 15
privilege level 15
login local
transport input telnet ssh
!
!
end
看过文章“思科如何设置PPPOE"