思科如何設(shè)置PPPOE
思科如何設(shè)置PPPOE
cisco公司制造的路由器、交換機(jī)和其他設(shè)備承載了全球80%的互聯(lián)網(wǎng)通信,成為硅谷中新經(jīng)濟(jì)的傳奇,那么你知道思科如何設(shè)置PPPOE嗎?下面是學(xué)習(xí)啦小編整理的一些關(guān)于思科如何設(shè)置PPPOE的相關(guān)資料,供你參考。
思科設(shè)置PPPOE的方法
XXX#show run
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
看過(guò)文章“思科如何設(shè)置PPPOE"的人還看了: