ZyXEL Communications 4.04 Manuel D’Utilisation

Page de 204
 Chapter 15 IP Commands
ZyWALL (ZyNOS) CLI Reference Guide
115
15.1.18  Route Commands
The following section lists the route commands.
15.1.19  Report and Status Commands
The following section lists the report and status commands.
15.1.20  Static Route Commands
The following section lists the static route commands.
Table 55   Route Commands
COMMAND
DESCRIPTION
M
ip route add 
<dest_address|default>[/<mask-
bits>] <gateway-ip> [<metric>]
Adds a route. The route is runtime only (it is not kept in non-
volatile memory).
R
ip route addiface <dest-ip-
address>[/<mask-bits>] 
<interface> [<metric>]
Adds an entry to the routing table for the specified interface.
R
ip route drop <ip-address> [/
<mask-bits>]
Drops a route.
R
ip route status
Displays the routing table.
R
Table 56   Report and Status Commands
COMMAND
DESCRIPTION
M
ip rpt active [0:no|1:yes]
Enables or disables the system reports.
R+B
ip rpt ip [0:lan|1:dmz] [number]
Displays the IP addresses (connected to the specified 
interface) that sent and received the most traffic.
R+B
ip rpt srv [0:lan|1:dmz] 
[number]
Displays the most heavily used protocols or service ports.
R+B
ip rpt start [0:lan|1:dmz]
Starts recording reports data for the specified port’s traffic.
R+B
ip rpt stop [0:lan|1:dmz]
Stops recording reports data for the specified port’s traffic.
R+B
ip rpt url [0:lan|1:dmz] 
[number]
Displays the specified port’s most visited Web sites.
R+B
ip status
Displays IP statistic counters.
R+B
ip tcp status
Displays the TCP statistics counters.
R+B
ip udp status
Displays the UDP status.
R+B
Table 57   Static Route Commands
COMMAND
DESCRIPTION
M
ip stroute config active 
<yes|no>
Enables or disables a static route rule. You must use the load 
command before you can configure a static route.
R
ip stroute config destination 
<dest-ip-address>[/<mask-bits>] 
<gateway-ip> [<metric>]   
Sets a static route’s destination IP address and gateway.
R
ip stroute config gateway <ip>
Sets a static route’s gateway IP address.
R
ip stroute config mask <mask>
Sets a static route’s subnet mask.
R