![Cisco 350XG series Скачать руководство пользователя страница 222](http://html.mh-extra.com/html/cisco/350xg-series/350xg-series_administration-manual_67491222.webp)
Smartport
Built-in Smartport Macros
Cisco 350XG & 550XG Series 10G Stackable Managed Switches
213
11
#macro description guest
#macro keywords $native_vlan
#
#macro key description: $native_vlan: The untag VLAN which will be
configured on the port
#Default Values are
#$native_vlan = Default VLAN
#
#the port type cannot be detected automatically
#
switchport mode access
switchport access vlan $native_vlan
#
#single host
port security max 1
port security mode max-addresses
port security discard trap 60
#
smartport storm-control broadcast level 10
smartport storm-control include-multicast
smartport storm-control broadcast enable
#
spanning-tree portfast
#
@
no_guest]
]
[no_guest]
#macro description No guest
#
no switchport access vlan
no switchport mode
#
no port security
no port security mode
#
no smartport storm-control broadcast enable
no smartport storm-control broadcast level
no smartport storm-control include-multicast
#
spanning-tree portfast auto
#
@
server
[server]
#macro description server
#macro keywords $native_vlan $max_hosts
#