Smartport Commands
OL-32830-01 Command Line Interface Reference Guide
840
44
Default Configuration
Not persistent.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
A Smartport’s persistent interface retains its dynamic configuration in the
following cases: link down/up, the attaching device ages out, and reboot. Note that
for persistence and the Smartport configuration to be effective across reboot, the
Running Configuration file must be saved to the Startup Configuration file.
Example
The example establishes two port ranges and makes one persistent and the other
not.
switchxxxxxx(config)#
interface range
gi11-2
switchxxxxxx(config-if-range)#
macro auto persistent
switchxxxxxx(config-if-range)#
exit
switchxxxxxx(config)#
interface range
gi13-4
switchxxxxxx(config-if-range)#
no macro auto persistent
44.6 macro auto smartport type
The macro auto smartport type Interface Configuration mode command manually
(statically) assigns a Smartport type to an interface. The no format of the
command removes the manually-configured type and returns it to default.
Syntax
macro auto smartport type
smartport-type
[
parameter-name value
[
parameter-name value
[
parameter-name
value
]]]
no macro auto smartport type
Parameters
•
smartport-type
—Smartport type.
Summary of Contents for 300 Series
Page 2: ......