Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

Common Commands Reply

Levy

Level 1

Common Commands
7388 1 2018-6-21 14:25:21
Original
Edited by Levy at 2018-6-21 14:28

1.      Configure an interface address.
2.      Configure a static route.
3.      Configure a default route.
4.      Configure a firewall address.
5.      Configure an IP pool.
6.      Configure a virtual IP address.
7.      Configure the Internet access policy.
8.      Configure the mapping policy.
9.      Change the internal switching interface to the routing interface.
10.    View the host name and management port.
11.    View the system status and available resources.
12.    View the application traffic statistics.
13.    View the ARP table.
14.    View ARP details.
15.    Clear the ARP cache.
16.    View the current session table.
17.    View the session list.
18.    View the physical interface status.
19.    View settings of the default route.
20.    View the static route in the routing table.
21.    View OSPF configuration.
22.    View the global routing table.
23.    View HA status.
24.    Check synchronization of active and standby routers.

0 2018-6-21 14:29:21 View all replies
1.    Configure an interface address.
RG-WALL # config system interface
RG-WALL (interface) # edit lan
RG-WALL (lan) # set ip 192.168.100.99/24
RG-WALL (lan) # end
2.      Configure a static route.
RG-WALL (static) # edit 1
RG-WALL (1) # set device wan1
RG-WALL (1) # set dst 10.0.0.0 255.0.0.0

RG-WALL (1) # set gateway 192.168.57.1
RG-WALL (1) # end
3.      Configure a default route.
RG-WALL (1) # set gateway 192.168.57.1
RG-WALL (1) # set device wan1
RG-WALL (1) # end
4.      Configure a firewall address.
RG-WALL # config firewall address
RG-WALL (address) # edit clientnet
new entry 'clientnet' added
RG-WALL (clientnet) # set subnet 192.168.1.0 255.255.255.0
RG-WALL (clientnet) # end
5.      Configure an IP pool.
RG-WALL (ippool) # edit nat-pool
new entry 'nat-pool' added
RG-WALL (nat-pool) # set startip 100.100.100.1
RG-WALL (nat-pool) # set endip 100.100.100.100
RG-WALL (nat-pool) # end
6.      Configure a virtual IP address.
RG-WALL # config firewall vip
RG-WALL (vip) # edit webserver
new entry 'webserver' added
RG-WALL (webserver) # set extip 202.0.0.167
RG-WALL (webserver) # set extintf wan1
RG-WALL (webserver) # set mappedip 192.168.0.168
RG-WALL (webserver) # end
7.      Configure the Internet access policy.
RG-WALL # config firewall policy
RG-WALL (policy) # edit 1      
RG-WALL (1)#set srcintf internal //Indicates the source interface.
RG-WALL (1)#set dstintf wan1    ///Indicates the destination interface.
RG-WALL (1)#set srcaddr all        //Indicates the source address.
RG-WALL (1)#set dstaddr all       //Indicates the destination address.
RG-WALL (1)#set action accept      //Indicates the action.
RG-WALL (1)#set schedule always    //Indicates the schedule.
RG-WALL (1)#set service ALL          //Indicates the service.
RG-WALL (1)#set logtraffic disable     //Enables or disables logs.
RG-WALL (1)#set nat enable   //Enables NAT.
8.      Configure the mapping policy.
RG-WALL # config firewall policy
RG-WALL (policy) #edit 2
RG-WALL (2)#set srcintf wan1  //Indicates the source interface.
RG-WALL (2)#set dstintf internal //Indicates the destination interface.
RG-WALL (2)#set srcaddr all          //Indicates the source address.
RG-WALL (2)#set dstaddr ngfw1  //Indicates the destination address used for virtual IP address mapping, which is added beforehand.
RG-WALL (2)#set action accept      //Indicates the action.
RG-WALL (2)#set schedule always    //Indicates the schedule.
RG-WALL (2)#set service ALL          //Indicates the service.
RG-WALL (2)#set logtraffic disable     //Enables or disables logs.
9.      Change the internal switching interface to the routing interface.
Ensure that routing, DHCP, and firewall policies of the internal interface are deleted.
RG-WALL # config system global
RG-WALL (global) # set internal-switch-mode interface
RG-WALL (global) #end
10.    View the host name and management port.
RG-WALL # show system global
11.    View the system status and available resources.
RG-WALL # get system performance status
12.    View the application traffic statistics.
RG-WALL # get system performance firewall statistics
13.    View the ARP table.
RG-WALL # get system arp
14.    View ARP details.
RG-WALL # diagnose ip arp list
15.    Clear the ARP cache.
RG-WALL # execute clear system arp table
16.    View the current session table.
RG-WALL # diagnose sys session stat or RG-WALL # diagnose sys session full-stat
17.    View the session list.
RG-WALL # diagnose sys session list
18.    View the physical interface status.
RG-WALL # get system interface physical
19.    View settings of the default route.
RG-WALL # show router static
20.    View the static route in the routing table.
RG-WALL # get router info routing-table static
21.    View OSPF configuration.
RG-WALL # show router ospf
22.    View the global routing table.
RG-WALL # get router info routing-table all
23.    View HA status.
RG-WALL # get system ha status
24.    Check synchronization of active and standby routers.
RG-WALL # diagnose sys ha showcsum


Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd