Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017

Disabling LLDP

This section describes how to disable LLDP selectively on individual ports.

How to Disable LLDP

To disable LLDP across all of the system's interfaces, perform the following steps.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Change the SMF LLDP property to no, which disables automatic enabling of LLDP on all ports except those with existing LLDP configurations.
    # svccfg -s svc:/network/lldp:default setprop lldp/auto-enable-agents = "no"
  3. Restart the LLDP service.
    # svcadm restart svc:/network/lldp:default
  4. Disable LLDP on each port whose previous LLDP configuration is retained.
    • To disable LLDP by changing the mode of the agent:
      # lldpadm set-agentprop -p mode=disable agent

      Where agent is the LLDP agent and is identified by the physical link on which the agent is enabled. For example, if you enable LLDP on net0, the agent is net0.

    • To disable LLDP by removing the LLDP configuration from the port:
      # lldpadm reset-agentprop -p mode agent

      In this command, you do not set a value for the mode property.


      Caution  -  If auto-enable-agents that is set to no is switched back to yes, LLDP behaves differently than if the agent's mode on that port were simply disabled.