教你如何配置CISCO路由器(中)

来源:中国思科培训网 作者: 2007-12-14 出处:pcdog.com

access  cisco  cisco ios  cisco路由  cisco路由器  
上一页 1 2 3 4 5 6 7 8 下一页 

  具体配置如下:
  hostname Cisco2503
  !
  isdn switch-type basic-net3
  !
  ip subnet-zero
  no ip domain-lookup
  ip routing
  !
  interface Ethernet 0
  ip address 10.0.0.1 255.255.255.0
  ip nat inside
  no shutdown
  !
  interface Serial 0
  shutdown
  no des cription
  no ip address
  !
  interface Serial 1
  shutdown
  no des cription
  no ip address
  !
  interface bri 0
  ip address negotiated
  ip nat outside
  encapsulation ppp
  ppp authentication pap callin
  ppp multilink
  dialer-group 1
  dialer hold-queue 10
  dialer string 2633
  dialer idle-timeout 120
  ppp pap sent-username 263 password 263
  no cdp enable
  no ip split-horizon
  no shutdown
  !
  ip classless
  !
  ! Static Routes
  !
  ip route 0.0.0.0 0.0.0.0 bri 0
  !
  ! Access Control List 2
  !
  access-list 2 permit any
  !
  dialer-list 1 protocol ip permit
  !
  ! Dynamic NAT
  !
  ip nat inside source list 2 interface bri 0 overload
  snmp-server community public ro
  !
  line console 0
  exec-timeout 0 0
  !
  line vty 0 4
  !
  end
  
  5. Cisco765M通过ISDN拨号上263
  由于Cisco765的设置命令与我们常用的Cisco路由器的命令不同,所以以下列举了通过Cisco765上263访问Internet的具体命令行设置步骤。

  >set system c765
  c765> set multidestination on
  c765> set switch net3
  c765> set ppp multilink on
  c765> cd lan
  c765:LAN> set ip routing on
  c765:LAN> set ip address 10.0.0.1
  c765:LAN> set ip netmask 255.0.0.0
  c765:LAN> set briding off
  c765:LAN>cd
  c765> set user remotenet
  New user remotenet being created
  c765:remotenet> set ip routing on
  c765:remotenet> set bridging off
  c765:remotenet> set ip framing none
  c765:remotenet> set ppp clientname 263
  c765:remotenet> set ppp password client
  Enter new Password: 263
  Re-Type new Password: 263
  c765:remotenet> set ppp authentication out none
  c765:remotenet> set ip address 0.0.0.0
  c765:remotenet> set ip netmask 0.0.0.0
  c765:remotenet> set ppp address negotiation local on
  c765:remotenet> set ip pat on
  c765:remotenet> set ip route destination 0.0.0.0/0 gateway 0.0.0.0
  c765:remotenet> set number 2633
  c765:remotenet> set active
更多内容请看PCdog.com--Cisco IOS技术手册  Cisco交换机  cisco路由器配置专题
上一页 1 2 3 4 5 6 7 8 下一页 
上一篇:教你如何调试CISCO路由器(上)
下一篇:教你如何配置CISCO路由器(下)