当前位置:首页 > CPE路由器 > 正文

思科pppoe配置(思科ppp配置命令)

原标题:"思科如何设置PPPOE"相关路由器设置经验分享。 - 来源:路由器之家  cisco公司制造的路由器、交换机和其他设备承载了全球80%的互联网通信,成为硅谷中新经济的传奇,那么"

原标题:"思科如何设置PPPOE"相关路由器设置经验分享。 - 来源:【路由器之家】

  cisco公司制造的路由器、交换机和其他设备承载了全球80%的互联网通信,成为硅谷中新经济的传奇,那么你知道思科如何设置PPPOE吗?下面是【路由器之家】整理的一些关于思科如何设置PPPOE的相关资料,供你参考。

思科pppoe配置(思科ppp配置命令)

  思科设置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

如果您对该产品感兴趣,请填写办理(客服微信:xiaoxiongyidong)

为您推荐:

发表评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。