Macro Auto Smartport Type - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Smartport Commands
OL-32830-01 Command Line Interface Reference Guide
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)#
switchxxxxxx(config-if-range)#
switchxxxxxx(config-if-range)#
switchxxxxxx(config)#
switchxxxxxx(config-if-range)#

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
parameter-name value
[
no macro auto smartport type
Parameters
smartport-type
interface range gi11-2
macro auto persistent
exit
interface range gi13-4
no macro auto persistent
smartport-type
parameter-name value
[
—Smartport type.
parameter-name value
[
]]]
44
840

Advertisement

Table of Contents
loading

Table of Contents