Macro Auto Smartport Type - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Smartport Commands
78-21075-01 Command Line Interface Reference Guide
Command Mode
Interface Configuration mode (Ethernet Interface, Port Channel)
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 gi1-2
switchxxxxxx(config-if-range)#macro auto persistent
switchxxxxxx(config-if-range)#exit
switchxxxxxx(config)#interface range gi3-4
switchxxxxxx(config-if-range)#no macro auto persistent
35.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
parameter-name value
(Range: printer, desktop, guest, server, host, ip_camera, ip_phone,
ip_phone_desktop, switch, router or wireless access point (ap)).
smartport-type
parameter-name value
[
smartport-type
—Smartport type.
—Specifies the parameter name and its value
parameter-name value
[
]]]
35
559

Advertisement

Table of Contents
loading

Table of Contents