This section describes how to disable LLDP selectively on individual ports.
To disable LLDP across all of the system's interfaces, perform the following steps.
Before You Begin
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
$ svccfg -s svc:/network/lldp:default setprop lldp/auto-enable-agents = "no"
$ svcadm restart svc:/network/lldp:default
$ 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.
$ 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.