Cisco Cisco SG200-26P 26-port Gigabit PoE Smart Switch Mode D'Emploi

Page de 292
智能端口
内置智能端口宏
 
思科 200 系列智能型交换机管理指南 
138
12
步骤  3
单击重置可将处于“未知”状态 (由未成功应用宏所致)的接口设置为默认接口。该
宏可在主页面上重新应用。
步骤  4
单击应用更新更改,并将智能端口类型分配到接口。
内置智能端口宏
下文介绍各智能端口类型的内置宏对。每种智能端口类型都有一个用于配置接口的宏,以及一个用于移除配置的
反宏。
在此提供以下智能端口类型的宏代码:
台式机
打印机
访客
服务器
主机
ip_camera
ip_phone
ip_phone_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: 将在端口上配置的 Untagged VLAN
#                         $max_hosts: 端口上允许设备的最大数量
#Default Values are
#$native_vlan = Default VLAN
#$max_hosts = 10
#
#the port type cannot be detected automatically
#
#the default mode is trunk