EasyManua.ls Logo

Cisco SF500-24P - Built-In Smartport Macros

Cisco SF500-24P
548 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Smartport
Built-in Smartport Macros
Cisco 500 Series Stackable Managed Switch Administration Guide Release 1.3 192
11
Built-in Smartport Macros
The following describes the pair of built-in macros for each Smartport type. For
each Smartport type there is a macro to configure the interface and an anti macro
to remove the configuration.
Macro code for the following Smartport types are provided:
desktop
printer
guest
server
host
ip_camera
ip_phone
ip_phone_desktop
switch
router
ap
desktop
[desktop]
#interface configuration, for increased network security and reliability when
connecting a desktop device, such as a PC, to a switch port.
#macro description Desktop
#macro keywords $native_vlan $max_hosts
#
#macro key description: $native_vlan: The untag VLAN which will be
configured on the port
# $max_hosts: The maximum number of allowed devices on
the port
#Default Values are
#$native_vlan = Default VLAN
#$max_hosts = 10
#
#the port type cannot be detected automatically
#
#the default mode is trunk
smartport switchport trunk native vlan $native_vlan
#
port security max $max_hosts

Table of Contents

Other manuals for Cisco SF500-24P

Related product manuals