Chapter 26 UPnP
ZyWALL Series CLI Reference Guide
215
26.3 UPnP & NAT-PMP Commands Example
The following example turns on UPnP and NAT-PMP on the Zyxel Device and it’s two LAN interfaces. It
also shows the UPnP and NAT-PMP settings.
[no] nat-pmp activate
Enables NAT-PMP on the Zyxel Device.
The no command disables NAT-PMP on the Zyxel Device.
[no] upnp-igd
activate
Enables UPnP on the Zyxel Device.
The no command disables UPnP on the Zyxel Device.
no ip upnp port-mapping port
{<1..65535> type <tcp|udp> |
all}
Removes all or a specific port mapping rule.
show ip upnp listen-
interface
Displays the name(s) of the internal interface(s) on which the Zyxel Device
supports UPnP and/or NAT-PMP.
show ip upnp port-mapping Displays the UPnP and/or NAT-PMP port mapping rules on the Zyxel Device.
show ip upnp status Displays the UPnP and/or NAT-PMP configuration.
Table 108 ip upnp Commands (continued)
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# ip upnp
Router(config-upnp)# nat-pmp activate
Router(config-upnp)# upnp-igd activate
Router(config-upnp)# listen-interface lan1
Router(config-upnp)# listen-interface lan2
Router(config-upnp)# exit
Router(config)# show ip upnp status
upnp active: yes
nat-pmp active: yes
bypass-firewall active: no
link-sticking outgoing: all
Router(config)# show ip upnp listen-interface
interface
===============================================================================
lan1
lan2
Router(config)#