Smartport
Overview
175
Cisco Sx350, SG350X, SG350XG, Sx550X & SG550XG Series Managed Switches, Firmware Release 2.2.5.x
10
Special Smartport Types
There are two special Smartport types;
default
and
unknown
. These two types are not
associated with macros, but they exist to signify the state of the interface regarding Smartport.
The following describe these special Smartport types:
•
Default
An interface that does not (yet) have a Smartport type assigned to it has the Default
Smartport status.
If Auto Smartport assigns a Smartport type to an interface and the interface is not
configured to be Auto Smartport Persistent, then its Smartport type is re-initialized to
Default in the following cases:
-
A link down/up operation is performed on the interface.
-
The device is restarted.
-
All devices attached to the interface have aged out, which is defined as the absence
of CDP and/or LLDP advertisement from the device for a specified time period.
•
Unknown
If a Smartport macro is applied to an interface and an error occurs, the interface is
assigned the Unknown status. In this case, the Smartport and Auto Smartport features
do not function on the interface until you correct the error and applies the Reset action
(performed in the
) that resets the Smartport status.
See the workflow area in
section for troubleshooting tips.
NOTE
Throughout this section, the term “aged out” is used to describe the LLDP and CDP messages
via their TTL. If Auto Smartport is enabled, and persistent status is disabled, and no more CDP
or LLDP messages are received on the interface before both TTLs of the most recent CDP and
LLDP packets decrease to 0, then the anti-macro is run, and the Smartport type returns to
default.
Smartport Macros
A Smartport macro is a script of CLI commands that configure an interface appropriately for a
particular network device.
Smartport macros should not be confused with global macros. Global macros configure the
device globally, however, the scope of a Smartport macro is limited to the interface on which it
is applied.