cisco 2621+2AS的拨号配置
- 来源:互联网在线
- 发布者:
- 进入论坛
hostname <您路由器的名称>
!
enable password <进入特权模式的口令>
!
no ip name-server
!
ip subnet-zero
no ip domain-lookup
ip routing
!
interface Ethernet 0
ip nat inside
no shutdown
description connected to EthernetLAN
ip address <以太网口IP地址及子网掩码>
no keepalive
!
interface Serial 0
physical async
no description
no ip address
encap ppp
async default routing
async mode dedicated
dialer in-band
dialer rotary-group 1
no shutdown
!
interface Serial 1
physical async
no description
no ip address
encap ppp
async default routing
async mode dedicated
dialer in-band
dialer rotary-group 1
no shutdown
!
interface dialer 1
ip nat outside
no shutdown
ip unnumbered Ethernet 0
ip address negotication
ip tcp header-compression passive
dialer string 169
encapsulation ppp
async default routing
async mode dedicated
group-range <异步端口号范围> (通过SHOW LINE命令显示)
ppp authentication pap callin
pap sent 用户名 password 口令
dialer-group 1
no cdp enable
!
dialer-list 1 protocol ip permit
router rip
version 2
network <内网段地址>
no auto-summary
!
!
ip classless
no ip http server
snmp-server community public RO
no snmp-server location
no snmp-server contact
!
ip route 0.0.0.0 0.0.0.0 dialer1
line console 0
exec-timeout 0 0
password <从控制台端口登录进用户模式所需口令>
login
!
line vty 0 4
password
login
!
line <异步线号范围>
exec
autoselect ppp
autoselect during-login
login local
modem InOut
transport input all
stopbits 1
speed 38400
flowcontrol hardware
!
end
!
enable password <进入特权模式的口令>
!
no ip name-server
!
ip subnet-zero
no ip domain-lookup
ip routing
!
interface Ethernet 0
ip nat inside
no shutdown
description connected to EthernetLAN
ip address <以太网口IP地址及子网掩码>
no keepalive
!
interface Serial 0
physical async
no description
no ip address
encap ppp
async default routing
async mode dedicated
dialer in-band
dialer rotary-group 1
no shutdown
!
interface Serial 1
physical async
no description
no ip address
encap ppp
async default routing
async mode dedicated
dialer in-band
dialer rotary-group 1
no shutdown
!
interface dialer 1
ip nat outside
no shutdown
ip unnumbered Ethernet 0
ip address negotication
ip tcp header-compression passive
dialer string 169
encapsulation ppp
async default routing
async mode dedicated
group-range <异步端口号范围> (通过SHOW LINE命令显示)
ppp authentication pap callin
pap sent 用户名 password 口令
dialer-group 1
no cdp enable
!
dialer-list 1 protocol ip permit
router rip
version 2
network <内网段地址>
no auto-summary
!
!
ip classless
no ip http server
snmp-server community public RO
no snmp-server location
no snmp-server contact
!
ip route 0.0.0.0 0.0.0.0 dialer1
line console 0
exec-timeout 0 0
password <从控制台端口登录进用户模式所需口令>
login
!
line vty 0 4
password
login
!
line <异步线号范围>
exec
autoselect ppp
autoselect during-login
login local
modem InOut
transport input all
stopbits 1
speed 38400
flowcontrol hardware
!
end
(编辑:aisy)
更多相关文章
- · Cisco路由器的口令恢复技巧2008-01-27
- · 精简路由配置的VRF通信方法2008-01-27
- · HDLC协议配置2008-01-27
- · ISDN 协议配置(1)2008-01-27
- · PPP 配置协议2008-01-27
- · Cisco HSRP(双机热备份)的配置2008-01-27
- · BGP配置示例2008-01-27
- · IGRP路由协议基本配置2008-01-27
- · 配置路由器实现多设备控制端口访问2008-01-27
- · cisco 2621+2A/S的拨号配置2008-01-27




