Published On: August 6ᵗʰ, 2019 02:05
Cisco Enterprise Network Function Virtualization Infrastructure Software Command Reference
PnP Commands
pnp action
Syntax Description
Command History
Release | Modification |
---|---|
3.5.1 |
This command was introduced. |
Examples
The following example shows how to use the pnp action command:
nfvis(config)# pnp action command start nfvis(config)# pnp action command stop nfvis(config)# pnp action command restart nfvis(config)# commit
pnp automatic
pnp automatic { cco | cco-ipv6 | dhcp | dhcp-ipv6 | dns-ipv6 | dns | timeout value } { enable | disable }
no pnp automatic
Syntax Description
cco |
Specifies the use of the Cisco Cloud Device Redirect tool available in the Cisco Software Central for automatic PnP discovery. |
cco-ipv6 |
Specifies the use of the Cisco Cloud Device Redirect tool available in the Cisco Software Central for automatic PnP discovery for IPv6. |
dhcp |
Specifies the use of a IPv4 DHCP server for automatic PnP discovery. |
dhcp-ipv6 |
Specifies the use of a IPv6 DHCP server for automatic PnP discovery. |
dns |
Specifies the use of a IPv4 DNS server for automatic PnP discovery. |
dns-ipv6 |
Specifies the use of a IPv6 DNS server for automatic PnP discovery. |
timeout value |
Specifies the timeout value in seconds. The default value is 60. |
enable |
Enables the PnP discovery method. |
disable |
Disables the PnP discovery method. |
Command History
Usage Guidelines
You can enable or disable the options as required. For example, you can enable all options or keep one enabled, and the rest disabled. You cannot disable both static and automatic PnP discovery modes at the same time. You must restart PnP action every time you make changes to the PnP discovery configuration. You can do this using the pnp action command restart command.
pnp static
To specify a static IP address for the Cisco Network PnP server, use the pnp static command in global configuration mode. To remove the PnP static IP address configuration , use the no form of the command with the static keyword. To clear any PnP static and automatic configurations, and put all the automatic configurations in default mode, which is enabled, with a retry timeout of 60 seconds, use the no pnp command.
Syntax Description
ip-address ipv4-address |
Specifies the IPv4 address. |
ipv6-address ipv6-address |
Specifies the IPv6 address. |
port number |
(Optional) Specifies the port number. Valid range is from 0 to 65535. |
Command History
Usage Guidelines
You cannot disable both static and automatic PnP discovery modes at the same time. You must restart PnP action every time you make changes to the PnP discovery configuration. You can do this using the pnp action command restart.
Examples
The following example shows how to configure a static IP address for the Cisco Network PnP server:
nfvis(config)# pnp automatic dhcp disable nfvis(config)# pnp automatic dns disable nfvis(config)# pnp automatic cco disable nfvis(config)# pnp static ip-address 192.0.2.0 port 80 nfvis(config)# commit
show pnp
To verify the configuration of PnP discovery methods, use the show pnp command in privileged EXEC mode.
show pnp
Syntax Description
This command has no arguments or keywords. |
Command Modes
Privileged EXEC (#)
Command History
Release | Modification |
---|---|
3.5.1 |
This command was introduced. |
Examples
The following sample output of the show pnp command shows that the static discovery mode is enabled, and the automatic discovery mode is disabled.
nfvis# show pnp pnp status response "PnP Agent is running\n" pnp status ip-address 192.0.2.0 pnp status port 80 pnp status transport "" pnp status created_by user pnp status dhcp_opt43 0 pnp status dns_discovery 0 pnp status cco_discovery 0 pnp status timeout 100