background image
61
第 5 章 - 命令行界面
華碩 GigaX 系列
[PVID]
通過指定一個 VLAN ID 及其相關聯的端口成員列表即可為端口設置一個默
認的 VLAN。
CLI 命令 : l2 port vlan <vlan id, 4095 to disable the port-based vlan>
<port list>
[CoS Value]
為未標記封包指定優先級標準數值(範圍為 0-7)來設置端口的服務等級
(Class of Service)。
CLI 命令 : l2 port priority <
CoS> <port list>
[Reload]
從配置文件中恢復先前保存的配置。
CLI 命令 : l2 port retrieve
5.3.4
簡單網絡管理協議(SNMP)
[Community Name] [Set]
一個群組(community)項目包含一個群組描述字串和一組特權(privilege)。
Get Privilege 是默認為開啟的,用戶可以在新增項目時,指定是否開啟 Set
Privilege。
CLI 命令 : snmp community add
New community string: <new community string>
Get privileges: [y, always turn on by default]
Set privileges? (y/n): [n] <
set privilege, y for ‘yes’; n for ‘no’>
用戶可以重新指定群組字串和特權 (privilege) 來更改群組 (community) 項
目。
CLI 命令 : snmp community set
Community entry (table index): <entry id to config>
Community string (old community string): <new community string>