Please select To the mobile version | Continue to access the desktop computer version
 Forgot password?
 Register now


Security

View: 4048|Reply: 1

Common Commands

[Copy link]

2

Digests

81

Posts

93

Credits

Staff

Credits
93
Post time 2018-6-21 14:25:21 | Show all posts |Read mode
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.

Reply

Use magic Report

14

Digests

1028

Posts

1161

Credits

administrator

Rank: 9Rank: 9Rank: 9

Credits
1161
Post time 2018-6-21 14:29:21 | Show all posts
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


Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Register now