思科如何设置PPPOE.doc
- 格式:doc
- 大小:88.50 KB
- 文档页数:10
思科如何设置PPPOE
cisco公司制造的路由器、交换机和其他设备承载了全球80%的互联网通信,成为硅谷中新经济的传奇,那么你知道思科如何设置PPPOE吗?下面是整理的一些关于思科如何设置PPPOE的相关资料,供你参考。
思科设置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
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