ZyXEL Communications 4.04 Network Card User Manual


 
Chapter 21 System Commands
ZyWALL (ZyNOS) CLI Reference Guide
161
21.10.1 UPnP Commands
The following section lists the UPnP commands.
21.10.2 UPnP Commands Example
The following example turns on UPnP and sets the ZyWALL to allow UPnP to create firewall
rules and keep UPnP created NAT rules even after restarting.
sys tos timeout mail <1~65535> Sets the e-mail session idle-timeout value in seconds. R+B
sys tos timeout others <1~65535> Sets the idle-timeout value for other sessions in seconds. R+B
sys tos timeout tcp <1~65535> Sets the TCP session idle timeout value in seconds. R+B
sys tos timeout tcpfin <1~65535> Sets the TCP FIN session idle timeout value in seconds. R+B
sys tos timeout tcpsyn <1~65535> Sets the SYN TCP session idle timeout value in seconds. R+B
sys tos timeout udp <1~65535> Sets the UDP-session idle-timeout value in seconds. R+B
Table 78 TOS Commands (continued)
COMMAND DESCRIPTION M
Table 79 UPnP Commands
COMMAND DESCRIPTION M
sys upnp active [0:no/1:yes] Turns UPnP on or off. R
sys upnp config [0:no/1:yes] Allow UPnP to configure NAT rules or not. R
sys upnp debug [on|off] Turns UPnP debug message on or off. R
sys upnp display Displays the UPnP configuration. R
sys upnp firewall
[0:deny|1:pass]
Allow UPnP to pass through the firewall. R
sys upnp load Loads the UPnP settings for editing. Use this command to be
able to configure the settings. Use sys upnp save after you
configure the settings.
R
sys upnp reserve
[0:deny|1:permit]
Retain UPnP created NAT rules even after restarting. R
sys upnp save Saves the UPnP settings to the non-volatile memory. R
ras> sys upnp load
ras> sys upnp active 1
ras> sys upnp config 1
ras> sys upnp reserve 1
ras> sys upnp save
ras> sys upnp display
Active: Yes
Reserve UPnP NAT rules in flash: Yes
Configuration through UPnP: Permit
Pass through Firewall: Deny