PPPOE服务器与客户端配置

来源:软件水平考试    发布时间:2012-11-04    软件水平考试视频    评论

  


  Server configuration
  R2#sh running-config
  Building configuration...
  Current configuration : 920 bytes
  !
  version 12.2
  service timestamps debug datetime msec
  service timestamps log datetime msec
  no service password-encryption
  !
  hostname R2
  !
  !
  username cisco password 0 cisco
  memory-size iomem 15
  ip subnet-zero
  !
  !
  !
  vpdn enable
  !
  vpdn-group 1
  accept-dialin
  protocol pppoe
  virtual-template 1
  !
  !
  !
  !
  voice call carrier capacity active
  !
  !
  !
  !
  !
  !
  !
  !
  !
  mta receive maximum-recipients 0
  !
  !
  !
  !
  interface Loopback0
  ip address 10.0.0.1 255.255.255.0
  !
  interface FastEthernet0/0
  no ip address
  duplex auto
  speed auto
  pppoe enable
  !
  interface FastEthernet0/1
  no ip address
  shutdown
  duplex auto
  speed auto
  !
  interface Virtual-Template1
  ip unnumbered Loopback0
  peer default ip address pool cisco
  ppp authentication chap
  !
  ip local pool cisco 10.0.0.10 10.0.0.20
  ip classless
  ip http server
  !
  !
  !
  call rsvp-sync
  !
  !
  mgcp profile default
  !
  dial-peer cor custom
  !
  !
  !
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  !
  !
  end
  client configuration
  R1#sh run
  R1#sh running-config
  Building configuration...
  Current configuration : 870 bytes
  !
  version 12.2
  service timestamps debug datetime msec
  service timestamps log datetime msec
  no service password-encryption
  !
  hostname R1
  !
  !
  memory-size iomem 15
  ip subnet-zero
  !
  !
  !
  vpdn enable
  !
  vpdn-group cisco
  request-dialin
  protocol pppoe
  !
  !
  !
  !
  voice call carrier capacity active
  !
  !
  !
  !
  !
  !
  !
  !
  !
  mta receive maximum-recipients 0
  !
  !
  !
  !
  interface FastEthernet0/0
  no ip address
  duplex auto
  speed auto
  pppoe enable
  pppoe-client dial-pool-number 1
  !
  interface FastEthernet0/1
  no ip address
  shutdown
  duplex auto
  speed auto
  !
  interface Dialer0
  ip address negotiated
  encapsulation ppp
  dialer pool 1
  dialer-group 1
  ppp chap hostname cisco
  ppp chap password 0 cisco
  !
  ip classless
  ip route 0.0.0.0 0.0.0.0 Dialer0
  ip http server
  !
  !
  !
  call rsvp-sync
  !
  !
  mgcp profile default
  !
  dial-peer cor custom
  !
  !
  !
  !
  !
  line con 0
  line aux 0
  line vty 0 4
  !
  !
  end
  R2#sh vpdn se
  R2#sh vpdn session
  %No active L2TP tunnels
  %No active L2F tunnels
  %No active PPTP tunnels
  PPPoE Session Information Total tunnels 1 sessions 1
  PPPoE Session Information
  SID RemMAC LocMAC Intf VASt OIntf VLAN/
  VP/VC
  1 c800.0874.0000 c800.0c04.0000 Vi1 UP Fa0/0
  R1#sh vpdn session
  %No active L2TP tunnels
  %No active L2F tunnels
  %No active PPTP tunnels
  PPPoE Session Information Total tunnels 1 sessions 1
  PPPoE Session Information
  SID RemMAC LocMAC Intf VASt OIntf VLAN/
  VP/VC
  1 c800.0c04.0000 c800.0874.0000 Vi1 UP Fa0/0

视频学习

我考网版权与免责声明

① 凡本网注明稿件来源为"原创"的所有文字、图片和音视频稿件,版权均属本网所有。任何媒体、网站或个人转载、链接转贴或以其他方式复制发表时必须注明"稿件来源:我考网",违者本网将依法追究责任;

② 本网部分稿件来源于网络,任何单位或个人认为我考网发布的内容可能涉嫌侵犯其合法权益,应该及时向我考网书面反馈,并提供身份证明、权属证明及详细侵权情况证明,我考网在收到上述法律文件后,将会尽快移除被控侵权内容。

最近更新

社区交流

考试问答