AR28/46系列路由器auto-config典型配置
【需求】
待配置路由器R2支持auto-config功能,安装了一块1E1接口模块。中心路由器R1与在待配置路由器R2通过E1口相连,管理员在R1上进行相应的配置,然后通过FTP将配置文件quidwayR2.cfg加载到R2。
【组网图】
【配置脚本】
配置脚本
(1) 配置中心路由器R1
# 配置controller接口。
[Quidway] controller e1 0/0/0
[Quidway-e1 0/0/0] using e1
# 配置e1接口生成的serial0/0/0接口,并为对端分配IP地址。
[Quidway] ip pool 1 192.10.1.1
[Quidway] interface serial0/0/0
[Quidway-serial0/0/0] link-protocol ppp
[Quidway-serial0/0/0] ip address 192.10.1.2 255.255.255.0
[Quidway-serial0/0/0] remote address pool 1
# 通过FTP给远端路由器加载配置文件。
<Quidway > ftp 192.10.1.1
[ftp] put quidwayR2.cfg vrpcfg.cfg
//vrpcfg.cfg为路由器上缺省的配置文件名。
(2) 待配置路由器R2
R2开机后自动运行auto-config功能,生成如下配置:
ftp server enable
local-user admin password cipher admin
service-type telnet terminal
level 3
service-type ftp
controller e1 0/0/0
using e1
interface serial 0/0/0
link-protocol ppp
ip address ppp-negotiate
user-interface vty 0 4
authentication-mode scheme
【提示】
1、路由器上的固定接口也会同时自动生成相关配置。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作