设为首页收藏本站language 语言切换
查看: 1524|回复: 0
收起左侧

PPPoA配置说明

[复制链接]
发表于 2010-8-25 16:21:03 | 显示全部楼层 |阅读模式
 PC上配置PPPoA
  Set IP addressing to automatically obtain an IP address.
  
  Set WINS to use DHCP for WINS resolution.
  
  Ensure that no default gateway is set.
  
  It may be necessary to set a domain name because DHCP cannot pass this information
  
  
  CiscoCPE Configuration for PPPoA
  cbos>enable
  Password:
  
  cbos# set nat enable
  NAT is now enabled
  You must use "write" then reboot for changes to take effect.
  
  cbos# set ppp wan0-0 login
  User name for wan0-0 has been set to testcpe.
  
  cbos# set ppp wan0-0 password
  Password for wan0-0 has been set to cisco.
  
  cbos# set ppp wan0-0 ipcp 0.0.0.0
  PPP wan0-0 IPCP Address set to 0.0.0.0
  
  cbos# set int wan0-0 close
  cbos# set int wan0-0 vpi 1
  
  cbos# set int wan0-0 vci 32
  
  cbos# set int wan0-0 open
  
  cbos# set int eth0 address 172.22.10.254
  eth0 ip address changed from 10.0.0.1 to 172.22.10.254
  
  cbos# set int eth0 netmask 255.255.255.0
  eth0 netmask changed from 255.255.255.0 to 255.255.255.0
  
  cbos# set dhcp server enable
  DHCP Server enabled
  
  cbos# set dhcp server pool 0 ip 172.22.10.0
  Pool 0 IP parameter is now 172.22.10.0
  
  cbos# set dhcp server pool 0 netmask 255.255.255.0
  Pool 0 netmask parameter is now 255.255.255.0
  
  cbos# set dhcp server pool 0 gateway 172.22.10.254
  Pool 0 gateway parameter is now 172.22.10.254
  
  cbos# set password exec
  Exec Password Change Successful!
  
  cbos# set password enable
  Enable Password Change Successful!
  
  cbos# write
  NVRAM written.
  file://imgfiles/2002.10.14.23.9.42.1.gif
  CiscoDSLAM Configuration for PPPoA
  hostname 6260
  ! Subtending Port - Will set as shutdown
  interface atm0/2
  shutdown
  slot 1 atuc-1-4dmt
  !
  dsl-profile fast
  dmt codeword-size downstream 16 upstream 16
  dmt bitrate maximum interleaved downstream 8032 upstream 832
  !
  interface atm1/1
  dsl profile fast
  atm pvc 1 32 interface atm0/1 1 35
  
  
  
  
  Cisco LS1010 Configuration for PPPoA
  interface ATM 0/1/2
  no ip address
  no ip directed-broadcast
  no ATM ilmi-keepalive
  ATM pvp 1 interface ATM 0/0/2 1
  
  
  
  
  Cisco 7200 Configuration for PPPoA
  aaa new-model
  AAA authentication ppp default local
  !
  !
  username password
  !
  !
  interface ATM 2/0.1 multipoint
  no ip directed-broadcast
  PVC 1/35
  encapsulation aal5mux ppp Virtual-Template 2
  !
  !
  interface FastEthernet 4/0
  ip address 172.22.32.1 255.255.255.0
  no ip directed-broadcast
  !
  !
  interface Virtual-Template 2
  ip unnumbered FastEthernet 4/0
  no ip directed-broadcast
  peer default ip address pool
  ppp authentication pap
  !
  !
  ip local pool172.22.40.10 172.22.40.25
  
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 23:41 , Processed in 0.067196 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表