锐捷路由器配置手册
锐捷路由器配置指南(接口配置)

RGOS™用户配置指导手册接口配置目录RGOS™用户配置指导手册 (1)第一章接口配置 (1)1.1 接口介绍 (1)1.2 接口共性配置 (1)1.2.1 进入指定的接口配置模式 (1)1.2.2 配置IP地址 (2)1.2.3 配置接口描述 (2)1.2.4 配置最大传输单元MTU (3)1.2.5 配置带宽Bandwidth (3)1.2.6 配置接口队列大小 (3)1.3 接口监控和维护 (3)1.3.1 监控接口和控制器状态 (4)1.3.2 清除和复位接口计数 (4)1.3.3 关闭和重启接口 (5)1.4 接口基本配置示例 (5)1.4.1 接口使能配置示例 (5)1.4.2 接口描述配置示例 (6)1.4.3 接口关闭配置示例 (6)第二章 LAN接口配置 (7)2.1 以太网接口配置 (7)2.1.1 以太网接口配置任务 (7)2.1.2 以太口监控和维护 (8)2.1.3 以太口配置示例 (10)2.2 VLAN 配置 (10)2.2.1 802.1Q简介 (11)2.2.2 VLAN配置任务 (12)2.2.3 VLAN调试与监控 (13)2.2.4 VLAN配置实例 (13)第三章 WAN接口配置 (15)3.1 异步串口配置 (15)3.1.1 异步串口概述 (15)3.1.2 异步串口配置 (15)3.1.3 异步串行接口的监控与维护 (18)3.1.4 异步串行接口的故障诊断 (20)3.2 同步串口配置 (20)3.2.1 同步串口概述 (20)3.2.2 同步串口的配置 (20)3.2.3 同步串口监控和维护 (23)3.2.4 同步串口的故障诊断 (24)3.3 CE1接口配置 (25)3.3.1 CE1接口概述 (25)3.2.2 CE1接口的配置 (25)3.2.3 配置实例 (32)3.2.4 CE1接口的故障诊断 (32)第四章逻辑接口配置 (34)4.1 Loopback接口配置 (34)4.2 NULL接口配置 (35)4.3 Tunnel接口配置 (35)4.3.1 Tunnel接口概述 (35)4.3.2 Tunnel接口配置 (37)4.3.3 Tunnel接口配置示例 (40)4.3.4 Tunnel接口的监控与维护 (41)4.3.5 Tunnel接口的故障诊断与排除 (42)4.4 Dialer接口配置 (42)4.4.1 Dialer接口概述 (42)4.4.2 Dialer接口配置 (42)4.4.3 Dialer接口的监控与维护 (43)4.5子接口配置 (43)4.5.1 子接口概述 (43)4.5.2 子接口配置 (44)4.5.3 子接口的监控与维护 (46)4.5.4 子接口配置示例 (46)4.5.5 子接口配置故障诊断与排除 (47)第一章接口配置1.1 接口介绍Ruijie系列设备支持两种类型接口:物理接口和逻辑接口。
路由器配置手册

锐捷路由器配置手册1 路由器的基本配置 ....................................................................................................................... 2 1.1 配置主机名 ....................................................................................................................... 2 1.2 配置口令............................................................................................................................ 3 1.3 配置以太网接口................................................................................................................ 8 1.4 配置回环接口.................................................................................................................. 13 1.5 配置同步串行接口 .......................................................................................................... 15 2 配置路由 .................................................................................................................................... 22 2.1 配置静态路由与默认路由 .............................................................................................. 22 2.2 RIP 协议的配置 ............................................................................................................... 27 2.3 OSPF 协议的配置 ............................................................................................................ 30 3 广域网协议配置......................................................................................................................... 33 3.1 HDLC 协议的配置 ........................................................................................................... 33 3.2 PPP 协议的配置 ............................................................................................................... 35 3.3 配置 PAP 验证 ................................................................................................................ 38 3.4 配置 CHAP 验证 ........................................................................................................... 42 4 NAT 的配置 ................................................................................................................................. 46 4.1 静态 NAT 的配置 ......................................................................................................... 46 4.2 动态 NAT 的配置 ......................................................................................................... 51 4.3 重叠地址 NAT 配置 ..................................................................................................... 57 4.4 TCP 负载均衡 ............................................................................................................... 62 4.5 NAT 信息的查看 .......................................................................................................... 64 5 访问控制列表的配置................................................................................................................. 65 5.1 标准访问控制列表的配置 .............................................................................................. 65 5.2 扩展访问控制列表的配置 .............................................................................................. 71 5.3 MAC 扩展访问列表的配置............................................................................................. 77 5.4 Expert 扩展访问列表的配置 ........................................................................................... 82 5.5 其它形式的访问列表 ...................................................................................................... 87 6 DHCP 的配置 ........................................................................................................................... 92 6.1 DHCP 服务器的配置 ....................................................................................................... 92 6.2 配置 DHCP 地址绑定 ..................................................................................................... 97 6.3 DHCP 中继代理的配置 ................................................................................................... 991 路由器的基本配置1.1 配置主机名配置主机名主机名用于标识交换机和路由器,通常它会作为提示符的一部分显示在命令 提示符的前面。
锐捷路由器配置命令

锐捷路由器配置命令本文档提供了一份详细的锐捷路由器配置命令的范本,供参考使用。
以下是各个章节的详细配置指南。
1、基本配置a) 连接到路由器使用串口或者Telnet连接到锐捷路由器。
b) 登录路由器输入登录用户名和密码来登录路由器的管理界面。
c) 配置主机名配置路由器的主机名,以便于识别和管理。
d) 配置IP地质为路由器的接口配置IP地质,并启用相应的接口。
e) 配置默认网关配置路由器的默认网关,以便于实现路由功能。
f) 配置DNS服务器配置路由器的DNS服务器,以便于解析域名。
2、路由配置a) 配置静态路由配置静态路由表,以便于定义特定目的地的下一跳。
b) 配置动态路由配置动态路由协议,如OSPF、BGP等。
c) 配置路由跟踪配置路由跟踪功能,以便于监控路由器上的数据包传输情况。
3、网络地质转换 (NAT) 配置a) 配置静态NAT配置静态NAT,将一个私有IP地质映射为一个公有IP地质。
b) 配置动态NAT配置动态NAT,将一个私有IP地质映射为一个公有IP地质,并提供端口转换。
c) 配置PAT配置端口地质转换(PAT),将多个私有IP地质映射为一个公有IP地质。
4、安全配置a) 配置访问控制列表 (ACL)配置ACL,以限制特定网络流量的进出。
b) 配置防火墙配置防火墙规则,以保护路由器和连接的网络。
c) 配置虚拟专用网 (VPN)配置VPN,以提供安全的远程访问和站点到站点连接。
d) 配置用户认证配置用户认证方式,如RADIUS、TACACS+等。
5、服务配置a) 配置DHCP服务器配置DHCP服务器,为连接到路由器的设备提供动态IP地质分配。
b) 配置网络时间协议 (NTP)配置NTP服务器,以同步路由器的时间。
c) 配置简单网络管理协议 (SNMP)配置SNMP,以实现对路由器的远程管理和监控。
d) 配置域名服务器 (DNS)配置路由器的DNS服务器,以提供域名解析服务。
6、系统配置a) 配置日志记录配置日志记录,以记录路由器的运行状态和事件。
锐捷 RG-EW系列路由器Web配置指南说明书

Ruijie Reyee RG-EW Series Routers Web-Based Configuration GuideCopyright StatementRuijie Networks©2021Ruijie Networks reserves all copyrights of this document. Any reproduction, excerption, backup, modification, transmission, translation or commercial use of this document or any portion of this document, in any form or by any means, without the prior written consent of Ruijie Networks is prohibited.Exemption StatementThis document is provided “as is”. The contents of this document are subject to change without any notice. Please obtain the latest information through the Ruijie Networks website. Ruijie Networks endeavors to ensure content accuracy and will not shoulder any responsibility for losses and damages caused due to content omissions, inaccuracies or errors.PrefaceThank you for using our products.AudienceThis manual is intended for:●Network engineers●Technical support and servicing engineers●Network administratorsObtaining TechnicalAssistance●Ruijie Networks Website: https:///●Technical Support Website: https:///support ●Case Portal: https://●Community: https://●Technical Support Email: *****************************●Skype: *****************************Related DocumentsConventionsThis manual uses the following conventions:Configuration Guide Overview 1 OvervieweWeb is a Web-based network management system that manages or configures devices. You can access eWeb via browsers such as Google Chrome.Web-based management involves a Web server and a Web client. The Web server is integrated in a device, and is used to receive and process requests from the client, and return processing results to the client. The Web client usually refers to a browser, such as Google Chrome IE, or Firefox.1.1 ConventionsIn this document, texts in bold are names of buttons (for example, OK) or other graphical user interface (GUI) elements (for example, DHCP Security).2 Configuration Guide2.1 PreparationScenarioAs shown in the figure below, an administrator can access the device from a browser and configure the device through the eWeb management system.Figure 2-1-1 Data Exchange PrincipleDeliver or requestcommandsthrough AJAX.Administrator Return dataWebserviceDeviceDeployment↘Configuration Environment RequirementsClient requirements:●An administrator can log into the eWeb management system from a Web browser to manage devices. The client refersto a PC or some other mobile endpoints such as laptops or tablets.●Google Chrome, Firefox, IE10.0 and later versions, and some Chromium-based browsers (such as 360 ExtremeExplorer) are supported. Exceptions such as garble or format error may occur if an unsupported browser is used.●1024 x 768 or a higher resolution is recommended. If other resolutions are used, the page fonts and formats may not bealigned and the GUI is less artistic, or other exceptions may occur.●The client IP address is set in the same LAN network as the device IP address, such as 192.168.120.X. The subnetmask is 255.255.255.0. The default management address of the device is 192.168.120.1. Alternatively, you can set the IP assignment mode to Obtain an IP address automatically.Server requirements:●You can log into the eWeb management system through a LAN port or from Ruijie Cloud on an external network.●The device is enabled with Web service (enabled by default).The device is enabled with login authentication (enabled by default).To log into the eWeb management system, open the Google Chrome browser, and enter 192.168.120.1 into the address bar, and press Enter .Figure 2-1-2 Login PageEnter the password and click Login .2.2 Network SetupYou will enter the Network Setup page without login at initial setup.2.2.1 Discover DeviceThe page displays online device count and network status.You can add the device to My Network before configuring the network. If the device works in the standalone mode, this feature is not supported.Figure 2-2-1 Discover Device2.2.2 Add to My NetworkSelect the target device and click Add to My Network. If the target device is not configured yet, you can add the device directly without a password.Figure 2-2-2 Add Device to My Network2.2.3 Create Network & ConnectIf the device is configured for the first time, the network name, management password and SSID are required. If the device is already configured, the management password will not be displayed here. You can navigate to Network> Password to change the management password.If the device is detected disconnected to Ruijie Cloud, the Ruijie Cloud page will be embedded for you to bind your account after the device accesses the Internet successfully. If the device is already connected to Ruijie Cloud, the eWeb homepage will be displayed after this step.Figure 2-2-3 Create NetworkClick Create Network & Connect, and it takes about 60 seconds to deliver and activate settings. The following message will appear after Internet connection is set up.Figure 2-2-4 Connect to InternetIf the Internet connection failed, please follow the instruction in the prompt message.Figure 2-2-5 Failed Connection2.2.4 Cloud ServiceThe Network Setup module requires a Ruijie Cloud account. If you are a new user, please register an account first at the Ruijie Cloud website.Figure 2-2-6 Log In with Ruijie Cloud AccountIf the device works in the standalone mode, log in and the account will be bound with Ruijie Cloud automatically. If the device works in the self-organizing network mode, the following page will appear.Figure 2-2-7 Select TemplateFigure 2-2-8 Confirm Device StatusFigure 2-2-9 Enable ServicesClick Apply Config. The following page will appear after configuration is delivered successfully.Figure 2-2-10 CompleteAfter the above step, click Ruijie Cloud to configure the device on Ruijie Cloud. Then exit from Ruijie Cloud and enter the eWeb page again.Upon the configuration, check the network and wireless settings of each device for consistency.2.3 Work ModeThe eWeb menu varies with different work modes. The EG device works in the Router mode and the EAP device works in the AP mode by default. The work mode is displayed on the Route > Overview page.Figure 2-3-1 Device OverviewFigure 2-3-2 Work Mode2.3.1 Router ModeThe Router mode indicates NAT forwarding.The EG device in the Router mode of a router contains networking, network setup and routing features including VPN and behavior management.The AP in the Router mode contains networking, network setup and some radio features.2.3.2 AP ModeThe AP mode refers to fit AP mode. All WAN ports are enabled with DHCP by default. You can configure a WAN port with a static IP address or enable PPPoE manually.2.4 Self-Organizing NetworkClick the current work mode, and the following page will appear. You can enable or disable self-organizing network here.Figure 2-4-1 Self-Organizing Network2.4.1 EnableIf self-organizing network is enabled, the device in the network will be discovered and discover other devices. These devices will form a network and be synchronized with network settings.The menu on the left contains all network settings, including wireless management, switch management and system management.Figure 2-4-2 Enable Self-Organizing NetworkIf there is a wireless router enabled with self-organizing network in the network, the Router module will appear in the menu on the left. Click Router , and a horizontal menu will be displayed. Figure 2-4-3 Router Menu2.4.2DisableIf self-organizing network is disabled, the device will work in the standalone mode.After self-organizing network is disabled, a horizontal menu will be displayed vertically on the left. Figure 2-4-4 Disable Self-Organizing Network3 eWeb Configuration3.1 OverviewThe Overview page displays login device, wireless information and network status. Figure 3-1 Overview3.2 Basic WirelessThe APs module allows you to group, upgrade and delete APs.Figure 3-2-1 AP ListA. Group ManagementClick Expand, and all groups will be displayed on the left column. You can add, delete, edit and search groups. Up to 8 groups can be added.Figure 3-2-2 Group ManagementB. Advanced Search and List FilterClick Advanced Search, and you can search APs by SN, model, software version, MAC address and IP address.Click List Filter, and you can select columns to be displayed in the list.C. Batch ActionSelect the target devices and click Batch Action. The following actions are available:Figure 3-2-3 Batch ActionUpgrade Device: If there is a new version available, you can upgrade the devices in batches.Delete Device: You can delete the devices in batches.Change Group: You can move the devices from one group to another. The devices will be applied with the new group settings.3.2.1 ConfigurationFigure 3-2-4 ConfigurationSelect the target device and click Manage in the Action column, and the AP management page will be displayed.3.2.2 OverviewThe Overview page displays the information including memory usage, online clients, status, device details, wireless information and interface details.Figure 3-2-5 Overview3.2.3 Basics3.2.3.1 WANThe WAN module allows you to configure WAN settings. WAN settings support multiple lines, and you can configure a specific line as needed.Figure 3-2-6 WAN Settings3.2.3.2 LANThe LAN module contains LAN Settings, Port VLAN, DHCP Clients and Static IP Addresses. LAN SettingsThe LAN module allows you to set the IP address of the LAN port and DHCP status.Figure 3-2-7 LAN SettingsFigure 3-2-8 Add IP AddressIn the AP mode, the Port VLAN function is available on page for the AP supporting Port VLAN. Figure 3-2-9 Port VLAN↘Port VLANThe Port VLAN page displays VLAN information. This page is displayed only when the AP is enabled with port VLAN in the AP mode.Figure 3-2-10 Port VLAN↘DHCP ClientsThe DHCP Clients page displays DHCP clients. This page is displayed only in the router mode.Figure 3-2-11 DHCP ClientsClick Convert to Static IP in the Action column to convert a DHCP-assigned IP address to a static IP address. Alternatively, select DHCP-assigned IP addresses and click Batch Convert to convert more than one IP address.Static IP AddressesThe Static IP Addresses module allows you to add, delete and edit static IP addresses. This page is displayed only in the router mode.Figure 3-2-12 Static IP AddressesClick Add to add a static IP address manually. In the displayed dialog box, configure settings and click OK.Figure 3-2-13 Add Static IP Address3.2.3.3 PoEThe PoE page displays PoE status and power consumption. Figure 3-2-14 PoE3.2.4 Security3.2.4.1 ARP ListThe ARP List page displays ARP entries.Figure 3-2-15 ARP ListClick Add to add an IP-MAC binding. In the displayed dialog box, enter or select an IP address and a MAC address and click OK.Figure 3-2-16 Add IP-MAC Bindingdialog box, click OK. The message "Delete operation succeeded." is displayed.3.2.5 Advanced3.2.5.1 Local DNSThe Local DNS module allows you to configure a local DNS server.Figure 3-2-17 Local DNS3.2.5.2 PoE SettingsThe PoE Settings module allows you to configure the PoE mode.Figure 3-2-18 PoE Settings3.2.5.3 Other SettingsThe Other Settings module allows you to perform other settings, such as Enable RIP&RIPng, Enable Advanced and Disable ICMPv6 Error.Figure 3-2-19 Other Settings3.2.6 Diagnostics3.2.6.1 Network Check Figure 3-2-20 Network CheckClick Start, and click OK in the confirmation box. After the test finishes, the result will be displayed. Figure 3-2-21 ResultIf any problem occurs, the result will be displayed as follows:Figure 3-2-22 Issue & AdvicePlease fix the problem by taking the suggested action.3.2.6.2 AlarmsThe Alarms module allows you to view and manage alarms in the network.Figure 3-2-23 AlarmsClick Unfollow in the Action column to unfollow an alarm. In the confirmation box, click OK. Figure 3-2-24 Unfollow AlarmClick View Unfollowed Alarm, and you can view and follow the alarm again.Figure 3-3-25 Re-follow Alarm3.2.6.3 Network ToolsThe Network Tools module provides the following network tools to detect the network status: Ping, Traceroute, and DNS Lookup.Figure 3-2-26 Ping Test and ResultFigure 3-2-27 Traceroute Test and ResultFigure 3-2-28 DNS Lookup Test and Result3.2.6.4 Fault CollectionThe Fault Collection module allows you to collect faults by one click and download the fault information to the local device. Figure 3-2-29 Fault Collection3.2.7 System3.2.7.1 Session TimeoutThe Session Timeout module allows you to set the session timeout period.Figure 3-2-30 Session Timeout3.2.7.2 Backup & Import & ResetBackup & ImportThe Backup & Import module allows you to import a configuration file and apply the imported settings. It also allows exporting the configuration file to generate a backup.Figure 3-2-31 Backup & ImportRestoreThe Restore module allows you to restore the device to factory settings. Figure 3-2-32 RestorePlease exercise caution if you want to restore the factory settings. Figure 3-2-33 Confirm RestoreClick OK to restore all default values. This function is recommended when the network configuration is incorrec t or the network environment is changed.3.2.7.3 UpgradeOnline UpgradeClick Upgrade Now. The device downloads the upgrade package from the network, and upgrades the current version. The upgrade operation retains configuration of the current device. Alternatively, you can select Download File to the local device and import the upgrade package on the Local Upgrade page.Figure 3-2-34 Online UpgradeFigure 3-2-35 Upgrade PromptLocal UpgradeClick Browse to select an upgrade package, and click Upload. After uploading and checking the package, the device displays the upgrade package information and a prompt asking for upgrade confirmation. Click OK to start the upgrade.Figure 3-2-36 Local Upgrade3.2.7.4 RebootThe Reboot module allows you to reboot the device immediately.Figure 3-2-37 RebootClick Reboot, and click OK in the confirmation box. The device is rebooted and you need to log into the eWeb management system again after the reboot. Do not refresh the page or close the browser during the reboot. After the device is successful ly rebooted and the eWeb service becomes available, you will be redirected to the login page of the eWeb management system.3.3 WiFiThe WiFi module allows you to configure WiFi settings for all devices.3.3.1 WiFi SettingsThe WiFi Settings module allows you to configure the primary WiFi.Figure 3-3-1 WiFi Settings3.3.2 Guest WiFiThe guest WiFi is disabled by default. You can enable guest WiFi on this page or homepage.AP isolation is enabled by default and cannot be edited.Set a schedule, and the guest WiFi will be enabled only during this period time. When the time expires, the guest WiFi will be disabled.Figure 3-3-2 Guest WiFiFigure 3-3-3 Enable Guest WiFi3.3.3 WiFi ListThe WiFi List displays all WiFi networks. The primary WiFi is also listed here and cannot be deleted.Figure 3-3-4 WiFi ListClick Add to add a WiFi network. In the displayed dialog box, configure settings and click OK. Figure 3-3-5 Add WiFiYou can click in the upper right corner to see description about each configuration item.3.3.4 Healthy ModeThe Healthy Mode module allows you to enable health mode and set a schedule. Figure 3-3-6 Healthy Mode3.4 Wireless ClientsThe Clients module displays the wireless clients.Figure 3-4-1 Wireless Client ListClick Advanced Search, and you can search clients by SN and MAC address. This is a fuzzy search. You can enter an incomplete MAC address or part of an SN. Figure 3-4-2 Advanced Search3.5 Blacklist/WhitelistThe Blacklist/Whitelist module allows you to configure wireless global or SSID-based client blacklist and whitelist. Blacklist and whitelist can achieve full match or prefix match (OUI).3.5.1 Global Blacklist/WhitelistFigure 3-5-1 Global Blacklist/WhitelistClick Add to add a blacklisted or whitelisted client. In the displayed dialog box, configure settings and click OK.。
nbr锐捷路由器怎么设置

nbr锐捷路由器怎么设置nbr锐捷路由器怎么设置锐捷路由器进入设置界面和网络设置的步骤如下:在配置上网前首先需要把运营商提供的IP地址、网关及接口带宽等信息确认好,以及将外网线接到WAN0口,内网线接到设备的LAN0口,然后通过快速配置即可。
一、上网配置说明1、在下面的客户机的浏览器上输入NBR内网口IP地址(NBR出厂默认IP地址为192.168.1.1,用户名:admin,密码:admin),登录到路由器配置界面;2、首先需要确认好运营商提供的.IP地址等外网信息,以及选用的内外网口。
默认情况下LAN表示内网口,WAN表示外网口,LAN/WAN表示可进行LAN/WAN转换的接口,缺省情况下是LAN 口。
3、刚买的设备要上网,必须要进行快速配置才可以。
4、默认登录地址为:192.168.1.1,默认用户和密码都是admin。
默认内网接口为:LAN0;5、在高级选项中勾选“开启NAT配置”、“路由功能”、“网站访问安全”以及配置DNS和web访问端口(默认是80端口)。
注意:内网是私网地址,一定要开启“NAT配置”和“路由功能”才能实现上网。
DNS是实现系统文件更新检测的必要参数,所以也要配置。
如果出口线路的上下行带宽是不对称的,请再在网络配置——接口配置中进行修改?二、具体配置步骤如下:1、在下面的客户机的浏览器上输入NBR内网口IP地址(默认为:192.168.1.1),登录到路由器的“高级选项”>>"快速配置";2、快速配置:a 、选择网络的模式,NBR默认为网关模式。
b 、配置内网口的ip地址。
内网口地址为:192.168.1.1 子网掩码:255.255.255.0c 、勾选需要的外网口,若有多条外网线路,则勾选多个外网口,若为静态IP地址,则需要配置相应的外网口的ip地址、子网掩码及外网网关地址或选择;若为拨号线路,则选择“PPPOE(ADSL)”类型,输入运营商分配的账号和密码;需要注意的是:以NBR1300G为例,面板上标识为LAN0的物理接口对应web配置页面上的Gi0/0,而WAN1对应web配置页面上的Gi0/3,LAN1和LAN2转换为WAN口后对应于Gi0/1和Gi0/2。
锐捷NBR系列路由器用户手册V

T
T
T
T
2.2.2 洁净度要求 ...................................................................................................................... 19
T
T
THale Waihona Puke T2.2.3 防静电要求 ...................................................................................................................... 20
T
T
T
T
1.1.8 锐捷NBR3000 路由器 ..................................................................................................... 11
T
T
T
T
1.2
锐捷路由器特点 ...................................................................................................................... 13
T
T
T
T
1.2.5 方便的升级途径 .............................................................................................................. 14
锐捷路由器配置流程
锐捷路由器配置流程锐捷路由器配置流程范本一、前言在本文档中,我们将详细介绍如何配置锐捷路由器。
本文档分为如下章节:二、硬件准备1.路由器组件a.锐捷路由器设备b.电源适配器c.网线2.连接设备a.将路由器设备与电源适配器连接b.将路由器与计算机通过网线连接三、路由器初始设置1.路由器启动a.将电源适配器插入电源插座并连接到路由器设备b.等待路由器启动完成2.连接到路由器管理界面a.打开计算机上的浏览器b.在浏览器地质栏输入默认的路由器管理IP地质c.输入默认的用户名和密码登录到路由器管理界面3.修改管理员密码a.在路由器管理界面中找到密码修改选项b.输入当前密码和新密码并确认修改四、基本网络配置1.WAN口设置a.在路由器管理界面中找到WAN设置选项b.根据网络提供商提供的信息配置WAN接口c.保存并应用修改N口设置a.在路由器管理界面中找到LAN设置选项b.配置LAN接口的IP地质和子网掩码c.保存并应用修改五、无线网络设置1.创建无线网络a.在路由器管理界面中找到无线网络设置选项b.创建一个新的无线网络,在设置中指定网络名称(SSID)和密码c.保存并应用修改2.配置无线加密方式a.在路由器管理界面中找到无线安全设置选项b.选择合适的无线加密方式,如WPA2-PSKc.输入密码并保存设置六、路由器高级配置1.端口映射设置a.在路由器管理界面中找到端口映射设置选项b.添加需要映射的端口及对应的内网IP地质c.保存并应用修改2.网络地质转换(NAT)设置a.在路由器管理界面中找到NAT设置选项b.配置端口转发规则以实现内部网络与外部网络的通信c.保存并应用修改七、文档附件1、本文档附带的附件为路由器配置示例截图和配置文件。
八、法律名词及注释1、锐捷:指中国的一家网络设备制造商,主要提供网络安全解决方案。
2、IP地质:Internet Protocol的缩写,用于标识互联网上的设备。
3、SSID:Service Set Identifier的缩写,是无线网络名称的标识符。
锐捷路由器配置手册
锐捷路由器配置手册(共78页) -本页仅作为预览文档封面,使用时请删除本页-锐捷路由器配置手册目录:路由器基础:路由器的几种配置方法控制台远程登录其它配置方法命令行(CLI)操作命令模式命令模式的切换CLI命令的编辑技巧常见CLI错误提示使用 no 和 default 选项配置文件的保存、查看与备份查看配置文件保存配置文件删除配置文件备份配置文件文件系统文件系统概述文件操作目录操作系统文件的备份与升级搭建环境用TFTP传输文件用Xmodem传输文件ROM监控模式密码丢失的解决方法路由器的基本配置:配置主机名配置口令配置控制台口令配置远程登录口令配置特权口令配置以太网接口以太网接口的一般配置配置多个IP地址配置MAC地址接口信息的查看配置同步串行口同步串行口的一般配置配置反转时钟配置链路封装协议配置线路编解码方式忽略DCD信号接口信息的查看配置回环接口回环接口的配置接口信息的查看配置路由:静态路由和缺省路由的配置配置静态路由配置默认路由配置缺省网络配置可被动态路由覆盖的静态路由RIP协议的配置RIP协议的一般配置RIP协议参数的配置OSPF协议的配置OSPF协议的一般配置广域网协议配置:HDLC协议配置配置接口的HDLC封装配置keepalive时间PPP协议配置配置接口的PPP封装配置PPP协商超时时间配置CHAP验证配置CHAP服务端配置CHAP客户端配置双向CHAP验证配置PAP验证配置PAP服务端配置PAP客户端配置双向PAP验证帧中继协议配置点到点的帧中继配置点到点子接口的帧中继配置NAT的配置:静态NAT配置静态NAT的配置静态NAPT的配置动态NAT配置动态NAT的配置动态NAPT的配置接口动态NAPT的配置重叠地址NAT配置外部源地址的静态NAT配置外部源地址的动态NAT配置TCP负载均衡NAT信息的查看DHCP的配置:DHCP服务器的配置启用DHCP服务器配置DHCP地址池配置选项配置DHCP地址绑定DHCP中继代理的配置访问控制列表的配置:标准访问控制列表的配置标准ACLs的语句规则配置标号的标准ACLs配置命名的标准ACLs扩展访问控制列表的配置扩展ACLs的语句规则配置标号的扩展ACLs配置命名的扩展ACLsMAC扩展访问列表的配置MAC扩展ACLs的语句规则配置标号的MAC扩展ACLs配置命名的MAC扩展ACLsExpert扩展访问列表的配置Expert扩展ACLs的语句规则配置标号的Expert扩展ACLs配置命名的Expert扩展ACLs其它形式的访问列表带序号的ACLs带时间区的ACLs第一部分路由器基础:路由器的几种配置方法控制台用一台计算机作为控制台和网络设备相连,通过计算机对网络设备进行配置。
锐捷 Reyee RG-EW 系列路由器 Web 配置指南说明书
Ruijie Reyee RG-EW Series Routers Web-Based Configuration GuideCopyright StatementRuijie Networks©2021Ruijie Networks reserves all copyrights of this document. Any reproduction, excerption, backup, modification, transmission, translation or commercial use of this document or any portion of this document, in any form or by any means, without the prior written consent of Ruijie Networks is prohibited.Exemption StatementThis document is provided “as is”. The contents of this document are subject to change without any notice. Please obtain the latest information through the Ruijie Networks website. Ruijie Networks endeavors to ensure content accuracy and will not shoulder any responsibility for losses and damages caused due to content omissions, inaccuracies or errors.PrefaceThank you for using our products.AudienceThis manual is intended for:●Network engineers●Technical support and servicing engineers●Network administratorsObtaining TechnicalAssistance●Ruijie Networks Website: https:///●Technical Support Website: https:///support ●Case Portal: https://●Community: https://●Technical Support Email: *****************************●Skype: *****************************Related DocumentsConventionsThis manual uses the following conventions:Configuration Guide Overview 1 OvervieweWeb is a Web-based network management system that manages or configures devices. You can access eWeb via browsers such as Google Chrome.Web-based management involves a Web server and a Web client. The Web server is integrated in a device, and is used to receive and process requests from the client, and return processing results to the client. The Web client usually refers to a browser, such as Google Chrome IE, or Firefox.1.1 ConventionsIn this document, texts in bold are names of buttons (for example, OK) or other graphical user interface (GUI) elements (for example, ARP List).12 Configuration Guide2.1 PreparationScenarioAs shown in the figure below, an administrator can access the device from a browser and configure the device through the eWeb management system.Figure 2-1-1 Data Exchange PrincipleDeliver or requestcommandsthrough AJAX.Administrator Return dataWebserviceDeviceDeployment↘Configuration Environment RequirementsClient requirements:●An administrator can log into the eWeb management system from a Web browser to manage devices. The client refersto a PC or some other mobile endpoints such as laptops or tablets.●Google Chrome, Firefox, IE10.0 and later versions, and some Chromium-based browsers (such as 360 ExtremeExplorer) are supported. Exceptions such as garble or format error may occur if an unsupported browser is used.●1024 x 768 or a higher resolution is recommended. If other resolutions are used, the page fonts and formats may not bealigned and the GUI is less artistic, or other exceptions may occur.●The client IP address is set in the same LAN network as the device IP address, such as 192.168.110.X. The subnetmask is 255.255.255.0. Alternatively, you can set the IP assignment mode to Obtain an IP address automatically or enter into the address bar of the browser to access eWeb.The default gateway is device management address 192.168.110.1.Server requirements:●The device is enabled with Web service (enabled by default).23The device is configured with a management IP address (Default: 192.168.110.1). You can enter http://192.168.110.1to access the eWeb management system.To log into the eWeb management system, open the Google Chrome browser, and enter http://192.168.110.1 into the address bar, and pressEnter .F igure 2-1-2 Login PageEnter the password and click Login .2.2 WizardYou will enter the Wizard page without login at initial setup.2.2.1 Welcome PageThe welcome page will appear when you configure the device for the first time.Figure 2-2-1 Welcome PageThe network status will be displayed when you configure the device for the second time. Figure 2-2-2 Wizard Page4If the network are configured with repeaters, their number is displayed. (In the above figure, X32G-PRO is the primary router.)2.2.2 Network SettingsWhen the device is not connected via network cables, the following page is displayed.Figure 2-2-3 Network Settings52.2.2.1 Wireless RepeatingTo scan nearby Wi-Fi, click Wireless Repeating.Figure 2-2-7 Wi-Fi List6Figure 2-2-8 Wireless Repeating 1Enter the Wi-Fi password of the primary router (This item will not be displayed if the primary router Wi-Fi is open).Click Next to set the wireless information and management password of the device (This configuration applies to only new devices).Figure 2-2-9 Wireless Repeating 2Figure 2-2-10 Completing Wireless Repeating Configuration2.2.2.2 Wired RepeatingWhen the device is connected via network cables, the wired repeater can be configured. (This option is ready for new devices only).Figure 2-2-11 Wired RepeatingClick Check, and enter the local router SSID, password and management password. Click Save to complete the configuration.Figure 2-2-12 Wired Repeater PageFigure 2-2-13 Completing Configuration2.2.2.3 InternetWhen the device is not configured with the repeating configuration, you can access the Internet through the following means: If the device fails to access the Internet, the system will check IP assignment automatically. It is recommended to select DHCP.Figure 2-2-14 Normal ConnectionFigure 2-2-15 DHCPFigure 2-2-16 PPPoEFigure 2-2-17 Static IP2.2.3 WiFi SettingsThis module allows you to configure the SSID, WiFi password and management password.Figure 2-2-18 WiFi Settings2.2.4 FinishAfter the configuration is delivered, click Finish to enter the homepage. Figure 2-2-19 FinishNote: For a new device which is configured via a mobile client, the automatically pop-up page does not display Finish. Click Add Router.Figure 2-2-20 Add Router2.3 GUI2.3.1 Phone-Based GUIThe system switches between the phone-based GUI and PC-based GUI according to the screen width and browser type. The phone-based GUI is more concise.Figure 2-3-1 Phone-Based GUI2.3.2 PC-Based GUIClick Pro in the upper right corner of phone-based GUI to switch over to the PC-based GUI. The PC-based GUI provides more configuration items. For details, see eWeb Configuration .Figure 2-3-2 PC-Based GUI3 eWeb ConfigurationThis chapter introduces the features on the PC-based GUI.3.1 OverviewThe Overview page displays the device details, WiFi and interface details.Figure 3-1 Overview3.2 ClientsThe Clients module allows you to bind the static IP, manage blocked time and block WLAN clients. Figure 3-2-1 Online ClientsFigure 3-2-2 Blocked Time ManagementFigure 3-2-3 Add RuleBind the Static IP AddressFigure 3-2-4 Bind Static IP AddressYou can convert a dynamic IP address to a static IP address by clicking Unbinded. In the displayed dialog box, configure settings and click OK.3.3 InternetThe Internet module allows you to select an IP assignment mode.Figure 3-3-1 Internet3.4 WiFiThe WiFi module allows you to configure WiFi settings. Figure 3-4-1 WiFi Settings3.5 More3.5.1 Basics3.5.1.1 WANThe WAN module allows you to configure WAN settings. There are three IP assignment modes available: Static IP Address, DHCP and PPPoE.Figure 3-5-1 WAN Settings3.5.1.2 LANThe LAN module contains LAN Settings, DHCP Clients, Static IP Addresses and DNS Proxy.3.5.1.2.1 LAN SettingsThe LAN module allows you to set the IP address of the LAN port and DHCP status.Figure 3-5-2 LAN Settings3.5.1.2.2 DHCP ClientsThe DHCP Clients page displays DHCP clients.Figure 3-5-3 DHCP ClientsClick Convert to Static IP in the Action column to convert a DHCP-assigned IP address to a static IP address. Alternatively, select DHCP-assigned IP addresses and click Batch Convert to convert more than one IP address.3.5.1.2.3 Static IP AddressesThe Static IP Addresses module allows you to add, delete and edit static IP addresses.Figure 3-5-4 Static IP AddressesClick Add to add a static IP address manually. In the displayed dialog box, configure settings and click OK.Figure 3-5-5 Add Static IP Address3.5.1.2.4 DNS ProxyThe DNS Proxy module allows you to configure DNS proxy settings.Figure 3-5-6 DNS Proxy3.5.1.1 IPTV/VLANThe IPTV/VLAN Settings module allows you to configure IPTV/VLAN settings. Figure 3-5-7 IPTV/VLAN3.5.1.2 IPv6 AddressThe WAN Settings module allows you to configure WANv6 settings. Figure 3-5-7 IPv6 AddressFigure 3-5-8 LAN SettingsFigure 3-5-9 DHCPv6 Clients3.5.1.3 RepeaterThe Repeater module displays the current mode and the other available modes.Figure 3-5-10 Router ModeFigure 3-5-11 Wired RepeaterFigure 3-5-12 Wireless RepeaterFigure 3-5-13 Wi-Fi ListSet a new Wi-Fi password (optional). Figure 3-5-14 Wi-Fi Password3.5.2 Wireless3.5.2.1 WiFi3.5.2.1.1 WiFi SettingsThe WiFi Settings module allows you to configure the primary WiFi.Figure 3-5-15 WiFi Settings3.5.2.1.2 Guest WiFiThe guest WiFi is disabled by default. You can enable guest WiFi on this page or homepage.AP isolation is enabled by default and cannot be edited.Set a schedule, and the guest WiFi will be enabled only during this period time. When the time expires, the guest WiFi will be disabled.Figure 3-5-16 Guest WiFiFigure 3-5-17 Enable Guest WiFi3.5.2.1.3 Smart WiFiThe Smart WiFi module allows to configure the smart WiFi.Figure 3-5-18 Smart WiFi3.5.2.1.4 Healthy ModeThe Healthy Mode module allows you to enable health mode and set a schedule.Figure 3-5-19 Healthy Mode3.5.2.2 Blocked ClientsThe Blocked Clients module allows you to add, edit or delete blocked clients.Click Delete in the Action column to delete a blocked client. Alternatively, select target clients and click Delete Selected to delete more than one blocked clients.Figure 3-5-20 Blocked ClientsClick Add to add a blocked Clients. In the displayed dialog box, configure settings and click OK.Figure 3-5-21 Add Blocked Client。
锐捷路由器配置手册簿
锐捷路由器配置手册目录:路由器基础:路由器的几种配置方法控制台远程登录其它配置方法命令行(CLI)操作命令模式命令模式的切换CLI命令的编辑技巧常见CLI错误提示使用no 和default 选项配置文件的保存、查看与备份查看配置文件保存配置文件删除配置文件备份配置文件文件系统文件系统概述文件操作目录操作系统文件的备份与升级搭建环境用TFTP传输文件用Xmodem传输文件ROM监控模式密码丢失的解决方法路由器的基本配置:配置主机名配置口令配置控制台口令配置远程登录口令配置特权口令配置以太网接口以太网接口的一般配置配置多个IP地址配置MAC地址接口信息的查看配置同步串行口同步串行口的一般配置配置反转时钟配置链路封装协议配置线路编解码方式忽略DCD信号接口信息的查看配置回环接口回环接口的配置接口信息的查看配置路由:静态路由和缺省路由的配置配置静态路由配置默认路由配置缺省网络配置可被动态路由覆盖的静态路由RIP协议的配置RIP协议的一般配置RIP协议参数的配置OSPF协议的配置OSPF协议的一般配置广域网协议配置:HDLC协议配置配置接口的HDLC封装配置keepalive时间PPP协议配置配置接口的PPP封装配置PPP协商超时时间配置CHAP验证配置CHAP服务端配置CHAP客户端配置双向CHAP验证配置PAP验证配置PAP服务端配置PAP客户端配置双向PAP验证帧中继协议配置点到点的帧中继配置点到点子接口的帧中继配置NAT的配置:静态NAT配置静态NAT的配置静态NAPT的配置动态NAT配置动态NAT的配置动态NAPT的配置接口动态NAPT的配置重叠地址NAT配置外部源地址的静态NAT配置外部源地址的动态NAT配置TCP负载均衡NAT信息的查看DHCP的配置:DHCP服务器的配置启用DHCP服务器配置DHCP地址池配置选项配置DHCP地址绑定DHCP中继代理的配置访问控制列表的配置:标准访问控制列表的配置标准ACLs的语句规则配置标号的标准ACLs配置命名的标准ACLs扩展访问控制列表的配置扩展ACLs的语句规则配置标号的扩展ACLs配置命名的扩展ACLsMAC扩展访问列表的配置MAC扩展ACLs的语句规则配置标号的MAC扩展ACLs 配置命名的MAC扩展ACLs Expert扩展访问列表的配置Expert扩展ACLs的语句规则配置标号的Expert扩展ACLs 配置命名的Expert扩展ACLs 其它形式的访问列表带序号的ACLs带时间区的ACLs第一部分路由器基础:控制台远程登录其它配置方法命令行(CLI)操作命令模式的切换CLI命令的编辑技巧常见CLI错误提示使用no 和default 选项查看配置文件模式:特权配置模式。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
锐捷路由器配置手册目录:路由器基础:路由器的几种配置方法控制台远程登录其它配置方法命令行(CLI)操作命令模式%命令模式的切换CLI命令的编辑技巧常见CLI错误提示使用no 和default 选项配置文件的保存、查看与备份查看配置文件保存配置文件删除配置文件备份配置文件文件系统`文件系统概述文件操作目录操作系统文件的备份与升级搭建环境用TFTP传输文件用Xmodem传输文件ROM监控模式密码丢失的解决方法路由器的基本配置:#配置主机名配置口令配置控制台口令配置远程登录口令配置特权口令配置以太网接口以太网接口的一般配置配置多个IP地址配置MAC地址接口信息的查看(配置同步串行口同步串行口的一般配置配置反转时钟配置链路封装协议配置线路编解码方式忽略DCD信号接口信息的查看配置回环接口回环接口的配置接口信息的查看》配置路由:静态路由和缺省路由的配置配置静态路由配置默认路由配置缺省网络配置可被动态路由覆盖的静态路由RIP协议的配置RIP协议的一般配置RIP协议参数的配置OSPF协议的配置—OSPF协议的一般配置广域网协议配置:配置接口的HDLC封装配置keepalive时间PPP协议配置配置接口的PPP封装配置PPP协商超时时间配置CHAP验证配置CHAP服务端(配置CHAP客户端配置双向CHAP验证配置PAP验证配置PAP服务端配置PAP客户端配置双向PAP验证帧中继协议配置点到点的帧中继配置点到点子接口的帧中继配置NAT的配置:/静态NAT配置静态NAT的配置静态NAPT的配置动态NAT的配置动态NAPT的配置接口动态NAPT的配置重叠地址NAT配置外部源地址的静态NAT配置外部源地址的动态NAT配置~TCP负载均衡NAT信息的查看DHCP的配置:DHCP服务器的配置启用DHCP服务器配置DHCP地址池配置选项配置DHCP地址绑定DHCP中继代理的配置访问控制列表的配置:(标准访问控制列表的配置标准ACLs的语句规则配置标号的标准ACLs配置命名的标准ACLs扩展访问控制列表的配置扩展ACLs的语句规则配置标号的扩展ACLs配置命名的扩展ACLsMAC扩展访问列表的配置MAC扩展ACLs的语句规则|配置标号的MAC扩展ACLs 配置命名的MAC扩展ACLs Expert扩展访问列表的配置Expert扩展ACLs的语句规则配置标号的Expert扩展ACLs 配置命名的Expert扩展ACLs 其它形式的访问列表带序号的ACLs带时间区的ACLs,第一部分路由器基础:路由器的几种配置方法控制台用一台计算机作为控制台和网络设备相连,通过计算机对网络设备进行配置。
1、硬件连接:把Console线一端连接在计算机的串行口上,另一端连接在网络设备的Console 口上。
|Console线在购置网络设备时会提供,它是一条反转线,你也可以自己用双绞线进行制作。
按照上面的线序制作一根双绞线,一端通过一个转接头连接在计算机的串行口上,另一端连接在网络设备的Console口上。
注意:不要把反转线连接在网络设备的其他接口上,这有可能导致设备损坏。
2、软件安装:在计算机上需要安装一个终端仿真软件来登录网络设备。
通常我们使用Windows 自带的“超级终端”。
超级终端的安装方法:开始| 程序| 附件| 通信| 超级终端。
按照提示的步骤进行安装,其中连接的接口应选择“COM1”,端口的速率应选择“9600”,数据流控制应选择“无”,其它都使用默认值。
登录后,就可以对网络设备进行配置了。
《说明:超级终端只需安装一次,下次再使用时可从“开始| 程序| 附件| 通信| 超级终端”中找到上次安装的超级终端,直接使用即可。
远程登录通过一台连接在网络中的计算机,用Telnet命令登录网络设备进行配置。
远程登录条件:1、网络设备已经配置了IP地址、远程登录密码和特权密码。
2、网络设备已经连入网络工作。
3、计算机也连入网络,并且可以和网络设备通信。
说明:远程登录的计算机不是连接在网络设备Console口上的计算机,而是网络中任一台计算机。
远程登录方法:$在计算机的命令行中,输入命令“telnet 网络设备IP地址”,输入登录密码就可以进入网络设备的命令配置模式。
说明:远程登录方式不能用来配置新设备,新设备应该用控制台配置IP地址等参数,以后才能使用远程登录进行配置。
其它配置方法除了控制台和远程登录之外,还有其它一些配置方法配置网络设备。
1、TFTP服务器:TFTP服务器是网络中的一台计算机,你可以把网络设备的配置文件等信息备份到TFTP服务器之中,也可以把备份的文件传回到网络设备中。
由于设备的配置文件是文本文件,所以,你可以用文本编辑软件打开进行修改,再把修改后的配置文件传回网络设备,这样就可以实现配置功能。
你也可以用TFTP服务器把一个已经做好的配置文件上传到一台同型号的设备中实现对它的配置。
2、SSH:SSH是一种安全的配置手段,其功能类似于远程登录。
与Telnet不同的是,SSH 传输中所有信息都是加密的,所以如果需要在一个不能保证安全的环境中配置网络设备,最好使用SSH。
》&命令行(CLI)操作命令模式的切换交换机和路由器的模式大体可分为四层:用户模式→特权模式→全局配置模式→其它配置模式。
进入某模式时,需要逐层进入。
要求$命令举例说明进入用户模式登录后就进入进入特权模式Ruijie>enable Ruijie# 在用户模式中输入enable命令进入全局配置模式Ruijie#configureterminal Ruijie(config)#;在特权模式中输入conft命令进入接口配置模式Ruijie(config)#interfacef0/1Ruijie(config-if)#在全局配置模式中输入interface命令,该命令可带不同参数进入线路配置模式Ruijie(config)#line console0Ruijie(config-line)#在全局配置模式中输入line命令,该命令可带不同参数进入路由配置模式Ruijie(config)#routerrip Ruijie(config-router)#在全局配置模式中输入router命令,该命令可带不同参数…进入VLAN配置模式Ruijie(config)#vlan3Ruijie(config-vlan)#在全局配置模式中输入vlan命令,该命令可带不同参数退回到上一层模式Ruijie(config-if)#exit Ruijie(config)# 用exit命令可退回到上一层模式退回到特权模式Ruijie(config-if)#end Ruijie# 用end命令或Ctrl+Z可从各种配置模式中直接退回到特权模式退回到用户模式;Ruijie#disable Ruijie>从特权模式退回到用户模式说明:interface等命令都是带参数的命令,应根据情况使用不同参数。
特例:当在特权模式下输入Exit 命令时,会直接退出登录,不是回到用户模式。
从特权模式返回用户模式的命令是disable。
CLI命令的编辑技巧CLI(命令行)有以下特点。
1、命令不区分大小写。
2、可以使用简写。
命令中的每个单词只需要输入前几个字母。
要求输入的字母个数足够与其它命令相区分即可。
如:configure terminal 命令可简写为conf t。
'3、用Tab 键可简化命令的输入。
如果你不喜欢简写的命令,可以用Tab 键输入单词的剩余部分。
每个单词只需要输入前几个字母,当它足够与其它命令相区分时,用Teb 键可得到完整单词。
如:输入conf(Tab) t(Tab) 命令可得到configure terminal。
4、可以调出历史来简化命令的输入。
历史是指你曾经输入过的命令,可以用“↑”键和“↓”键翻出历史命令再回车就可执行此命令。
(注:只能翻出当前提示符下的输入历史。
)系统默认记录的历史条数是10条,你可以用history size 命令修改这个值。
5、编辑快捷键:Ctrl+A——光标移到行首,Ctrl+E——光标移到行尾。
6、用“”可帮助输入命令和参数。
在提示符下输入“”可查看该提示符下的命令集,在命令后加“”,可查看它第一个参数,在参数后再加“”,可查看下一个参数,如果遇到提示“<cr>”表示命令结束,可以回车了。
:常见CLI错误提示% Ambiguous command: "show c"用户没有输入足够的字符,设备无法识别唯一的命令。
% Invomplete command.命令缺少必需的关键字或参数。
% Invalid input detected at '^' marker.输入的命令错误,符号^ 指明了产生错误的单词的位置使用no 和default 选项很多命令都有no 选项和default 选项。
#no 选项可用来禁止某个功能,或者删除某项配置。
default 选项用来将设置恢复为缺省值。
由于大多数命令的缺省值是禁止此项功能,这时default 选项的作用和no 选项是相同的。
但部分命令的缺省值是允许,这时default 选项的作用和no 选项的作用是相反的。
no 选项和default 选项的用法是在命令前加no 或defaule 前缀。
如:no shutdownno ip addressdefault hostname相比之下,我们多使用no 选项来删除有问题的配置信息。
,查看配置文件模式:特权配置模式。
查看运行配置文件:Ruijie#show running-config-或者:Ruijie#write terminal查看启动配置文件:Ruijie#show startup-configshow running-config命令和write terminal命令的效果是完全相同的。
保存配置文件保存配置文件就是把running-config 保存为startup-config。
模式:特权配置模式。
{命令1:Ruijie#copy running-config startup-config命令2:Ruijie#writewrite命令与copy running-config startup-config命令的功能相同,它是人们习惯使用的一种简化写法。
删除配置文件删除配置文件就是把NVRAM中的startup-config 删除。
模式:特权配置模式。
:命令:Ruijie#delete flash:说明:是配置文件在NVRAM中的文件名,它被删除后,再重启设备时会自动进入setup 配置模式。
注:有些设备没有setup配置模式,它在没有配置文件时会自动按照缺省值启动。