![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/4b/f4b102f7-3b3d-4316-a6f8-74bdc00130e7/f4b102f7-3b3d-4316-a6f8-74bdc00130e7-bgad.png)
Smartport
Built-in Smartport Macros
Cisco Small Business 200 Series Smart Switch Administration Guide 160
10
smartport switchport trunk allowed vlan remove all
#
no spanning-tree link-type
#
@
router
[router]
#macro description router
#macro keywords $native_vlan $voice_vlan
#
#macro key description: $native_vlan: The untag VLAN which will be
configured on the port
# $voice_vlan: The voice VLAN ID
#
#Default Values are
#$native_vlan = Default VLAN
#$voice_vlan = 1
#
#the default mode is trunk
smartport switchport trunk allowed vlan add all
smartport switchport trunk native vlan $native_vlan
#
smartport storm-control broadcast level 10
smartport storm-control broadcast enable
#
spanning-tree link-type point-to-point
#
@
no_router
[no_router]
#macro description No router
#macro keywords $voice_vlan
#
#macro key description: $voice_vlan: The voice VLAN ID
#
no smartport switchport trunk native vlan
smartport switchport trunk allowed vlan remove all
#
no smartport storm-control broadcast enable