搜档网
当前位置:搜档网 › 锐捷NBR100 NBR200 网吧路由器的高级设置方法

锐捷NBR100 NBR200 网吧路由器的高级设置方法

锐捷NBR100 NBR200 网吧路由器的高级设置方法
今天在配置NBR1000的时候碰不到不少没看过的东西。用向导始终只是知道皮毛,还是要了解下RGNOS。

首先看下命令模式的提示符。

Red-Giant> 普通用户模式 和路由器建立连接时即可进入,如果 Telnet模式需要输入密码

Red-Giant# 特权用户模式 普通模式下输入enable,同时输入授权密码

Red-Giant(config)# 全局配置模式 在特权用户模式下输入configure terminal

Red-Giant(config-router)# 路由协议配置模式 在全局模式下根据路由协议用router命令进入

Red-Giant(config-if)# 接口配置模式 在全局模式下根据配置的接口用interface命令进入

Red-Giant(config-subif)# 子接口配置模式 在全局模式下根据指定的子接口用interface命令进入

Red-Giant(config-line)# 线路配置模式 在全局模式下根据要配置的线路用line命令进入

Red-Giant(config-dial-peer)# 拨号对等体配置模式 在全局模式下用dial-peer voice 100 pots 或者dial-peer voice 100 voip命令进入

Red-Giant(config-voice-port)# 语音端口配置模式 在全局模式下用voice port 0进入

Red-Giant(config-voice-service-vo)# 语音端口配置模式 在全局模式下用voice service voip进入

Red-Giant(cfg-crypto-trans)# 安全转换方式配置模式 在全局模式下用crypto ipsectransform-set mytran进入

Red-Giant(config-isakmp)# IKE策略配置模式 在全局模式下用crypto isakmp policy 1进入

Red-Giant(config-crypto-map)# 安全策略配置模式 在全局模式下用crypto map mymap 1进入

boot: ROM监控模式 在特权用户模式下用reboot命令重起路由器,在启动时3秒内按CTRL+BREAK键


--------------------------------------------------------------------------------

常用命令示范。搭建内部服务器的方法,既端口映射方法。

Red-Giant>enable ------进入特权用户组

Red-Giant#config terminal ------进入全局配置

Red-Giant(config)#interface fastethernet 0 ---进入WAN口配置层

Red-Giant(config-if)#ip address 61.175.200.116 255.255.255.248 ---配置WAN口地址

Red-Giant(config-if)#ip nat outside ---设置WAN口为共享连接的internet的接入口

Red-Giant(config-if)#no shut ----启用WAN口

Red-Giant(config-if)#end ----返回普通用户层

系统会返回提示信息,提示WAN口处于UP状态

Red-Giant#config terminal ------进入全局配置

Red-Giant(config)#interface fastethernet 1 ---进入LAN口配置层

Red-Giant(config-if)#ip address 192.168.0.1 255.255.255.0 ---配置LAN口地址

Red-Giant(config-if)#ip nat inside ---设置LAN口为共享连接的internet的接入口

Red-Giant(config-if)#no shut ----启用LAN口


Red-Giant(config-if)#end

Red-Giant#

Red-Giant#config terminal ------进入全局配置

Red-Giant(config)#ip router 0.0.0.0 0.0.0.0 fastenhernet 0 61.175.200.116 ----配置默认路由以访问Internet

Red-Giant(config)#access-list 1 permit any ---配置NAT应用的访问列表

Red-Giant(config)#ip nat inside source list 1 interface fastethernet 0 ---配置连接共享规则

Red-Giant(config)#ip nat inside source static tcp 192.168.0.20 21 61.175.200.116 21 ---配置192.168.0.20的机子FTP端口映射

Red-Giant(config)#ip nat inside source static tcp 192.168.0.30 80 61.175.200.116 80 ---配置192.168.0.30的机子HTTP端口映射

Red-Giant(config)#end

Red-Giant#

Red-Giant#config terminal

Red-Giant(config)#line vty 0 4 ----配置远程TELNET访问密码

Red-Giant(config-line)#password temoteuser

Red-Giant(config-line)#end

Red-Giant#

Red-Giant#config terminal

Red-Giant(config)#enable password puzzle

Red-Giant(config)#host name ----设置路由器名字

name(config)#end

name#

name#write ----保存配置

name#show running-config ---查看当前运行的配置

这样就算配置完成了。附件是简单的配置说明。更详细的配置参数可以查看RGNOS的说明。


相关主题