Username:bdcom
Pwd
Ena
进入
Dongfang#show run
查看所有配置
Dongfang#config
进入参数配置模式
Dongfang_config#interface fastEthernet 0/0
进入
fastEthernet 0/0
端口
Dongfang_config_f0/0#ip address 10.46.34.254 255.255.255.0
设置
TP0
端口
ip
地址
Dongfang_config_f0/0#quit
退出端口配置
Dongfang_config#interface virtual-tunnel 1
进入
adsl
拨号设置
Dongfang_config_vnl#ppp pap sent-username adsldzj438 password 0 25534438
修改
adsl
用户及
密码
Dongfang_config#interface tunnel 40
配置
vpn
通道
(TUNNEL 40)
Dongfang_config_t40#ip address 10.46.253.26 255.255.255.252
配置
TUNNEL 40
的
ip
地址
Dongfang_config_t40#mtu 1464
Dongfang_config_t40#no ip directed-broadcast
Dongfang_config_t40#tunnel source Virtual-tunnel1
Dongfang_config_t40#tunnel destination 202.100.228.130
Dongfang_config_t40#tunnel key 140
Dongfang_config_t40#keepalive period 3
Dongfang_config_t40#keepalive address 202.100.228.130
Dongfang_config_t40#ip ospf network point-to-point
Dongfang_config#write
保存配置
Ctrl +z
返回根节点
ctrl +p
选择已写的命令
重启博达路由器
reboot