Managing Network Datalinks in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

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.2 .

  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

      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.