User Guide
智能端口
内置智能端口宏
思科 200 系列智能型交换机管理指南 147
12
no smartport switchport trunk native vlan
smartport switchport trunk allowed vlan remove all
#
no spanning-tree link-type
#
@
路由器
[ 路由器 ]
#macro description router
#macro keywords $native_vlan $voice_vlan
#
#macro key description: $native_vlan: 将在端口上配置的 Untagged VLAN
# $voice_vlan: 语音 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: 语音 VLAN ID
#
no smartport switchport trunk native vlan
smartport switchport trunk allowed vlan remove all
#
no smartport storm-control broadcast enable










