3.30 UPnP Configuration

Use this command to configure Universal Plug and Play (UPnP) to allow devices to connect seamlessly and to simplify the implementation of networks in the home (data sharing, communications, and entertainment) and in corporate environments for simplified installation of computer components.

Command Syntax:

upnp 
upnp advertising-duration <v_100_to_86400>
upnp ip-addressing-mode { dynamic | static }
upnp static interface vlan <v_vlan_id>
Table 3-130. Command Description

Argument

Description

Parameter

<v_100_to_86400>

The duration, carried in SSDP packets, is used to inform a control point or control points how often it or they should receive an SSDP advertisement message from this switch. Valid values are in the range 100 to 86400 seconds. The default value is 100 seconds.

dynamic | static

IP addressing mode.

Dynamic: Default selection for UPnP. UPnP module helps users choosing the IP address of the switch device. It finds the first available system IP address.

Static: User specifies the IP interface VLAN for choosing the IP address of the switch device.

<v_vlan_id>

The index of the specific IP VLAN interface. Valid configurable values range from 1 to 4095. The default value is 1.

Default

UPnP Enabled

Mode

Global Configuration mode

Usage

Enable and configure UPnP. To disable, use the ‘no’ version of the command.

Example

Example 1:

Enable UPnP and set the advertising duration to 200 seconds.

(config)# upnp
(config)# upnp advertising-duration 200