檢視次數:

本節說明產品中可用來執行監控、偵錯、疑難排解和組態設定工作的命令列介面 (CLI) 命令。使用您的 admin 帳號透過虛擬機器登入 CLI。CLI 命令可讓管理員執行組態設定工作以及偵錯和疑難排解功能。CLI 介面還提供了其他用於監控重要資源和功能的命令。若要存取 CLI 介面,您必須擁有管理員帳號和密碼。

命令

語法

說明

certificate regen self-sign

certificate regen self-sign <Issued_to> <Issued_by> <Validity>

重新產生自我簽署憑證。

<Issued_to>:憑證接收者的一般名稱或 CN

<Issued_by>:憑證核發者的一般名稱或 CN

<Validity>:憑證的有效天數

certificate update CA

certificate update CA

下載最新的 CA 組合檔

configure date

configure date <date> <time>

設定日期並儲存到 CMOS

date DATE_FIELD [DATE_FIELD]

time TIME_FIELD [TIME_FIELD]

configure dns ipv4

configure dns ipv4 <dns1> [dns2]

設定 IPv4 DNS 設定

dns1 IPv4_ADDR 主要 DNS 伺服器

dns2 IPv4_ADDR 次要 DNS 伺服器 []

configure dns ipv6

configure dns ipv6 <dns1> [dns2]

設定 IPv6 DNS 設定

dns1 IPv6_ADDR 主要 DNS 伺服器

dns2 IPv6_ADDR 次要 DNS 伺服器 []

configure hostname

configure hostname <hostname>

設定主機名稱

hostname HOSTNAME 主機名稱或 FQDN

configure ipv4 dhcp

configure ipv4 dhcp [vlan]

將預設乙太網路介面設為使用 DHCP

vlan VLAN_ID VLan ID [1-4094],預設無 VLan: [0]

configure ipv4 static

configure ipv4 static <ip> <mask> <gateway> [vlan]

將預設乙太網路介面設為使用靜態 IPv4 設定

vlan VLAN_ID VLan ID [1-4094],預設無 VLan: [0]

configure ipv6 auto

configure ipv6 auto [vlan]

將預設乙太網路介面設為使用自動鄰居搜索 IPv6 設定

vlan VLAN_ID VLan ID [1-4094],預設無 VLan: [0]

configure ipv6 dhcp

configure ipv6 dhcp [vlan]

將預設乙太網路介面設為使用動態 IPv6 設定 (DHCPv6)

vlan VLAN_ID VLan ID [1-4094],預設無 VLan: [0]

configure ipv6 static

configure ipv6 static <v6ip> <v6mask> <v6gate> [vlan]

將預設乙太網路介面設為使用靜態 IPv6 設定

vlan VLAN_ID VLan ID [1-4094],預設無 VLan: [0]

configure locale de_DE

configure locale de_DE

將系統地區設定設為德文

configure locale en_US

configure locale en_US

將系統地區設定設為英文

configure locale es_ES

configure locale es_ES

將系統地區設定設為西班牙文

configure locale fr_FR

configure locale fr_FR

將系統地區設定設為法文

configure locale it_IT

configure locale it_IT

將系統地區設定設為義大利文

configure locale ja_JP

configure locale ja_JP

將系統地區設定設為日文

configure locale ko_KR

configure locale ko_KR

將系統地區設定設為韓文

configure locale ru_RU

configure locale ru_RU

將系統地區設定設為俄文

configure locale zh_CN

configure locale zh_CN

將系統地區設定設為中文(簡體)

configure locale zh_TW

configure locale zh_TW

將系統地區設定設為中文(繁體)

configure ntp

configure ntp <ip or FQDN>

設定 NTP 伺服器

configure port

configure port <frs_http_port> <frs_https_port> <wrs_http_port>> <wrs_https_port>

變更檔案信譽評等服務及網頁信譽評等服務的服務通訊埠。

configure password

configure password <user>

設定帳號密碼

user USER 您要變更其密碼的使用者名稱。使用者可以是 'admin'、'root' 或是主動式雲端截毒技術伺服器之 Administrator 群組中的任何使用者。

configure proxy-service

configure proxy-service <wis_url> <cfr_url> <grid_url> <mars_url>

修改趨勢科技全域防護服務 URL。

<wis_url>:Web 檢查服務 URL

<cfr_url>:社群檔案信譽評等 URL

<grid_url>:正常檔案和資訊資料庫 URL

<mars_url>:行動應用程式信譽評等服務 URL

configure service

configure service inter­face <ifname>

設定預設伺服器設定

configure timezone Africa Cairo

configure timezone Africa Cairo

將時區設為「非洲/開羅」位置。

configure timezone Africa Harare

configure timezone Africa Harare

將時區設為「非洲/哈拉雷」位置。

configure timezone Africa Nairobi

configure timezone Africa Nairobi

將時區設為「非洲/奈洛比」位置。

configure timezone America Anchorage

configure timezone America Anchorage

將時區設為「美洲/安克拉治」位置。

configure timezone America Bogota

configure timezone America Bogota

將時區設為「美洲/波哥大」位置。

configure timezone America Buenos_Aires

configure timezone America Buenos_Aires

將時區設為「美洲/布宜諾斯艾利斯」位置。

configure timezone America Caracas

configure timezone America Caracas

將時區設為「美洲/卡拉卡斯」位置。

configure timezone America Chicago

configure timezone America Chicago

將時區設為「美洲/芝加哥」位置。

configure timezone America Chihuahua

configure timezone America Chihuahua

將時區設為「美洲/奇瓦瓦」位置。

configure timezone America Denver

configure timezone America Denver

將時區設為「美洲/丹佛」位置。

configure timezone America Godthab

configure timezone America Godthab

將時區設為「美洲/哥特哈布」位置。

configure timezone America Lima

configure timezone America Lima

將時區設為「美洲/利馬」位置。

configure timezone America Los_Angeles

configure timezone America Los_Angeles

將時區設為「美洲/洛杉磯」位置。

configure timezone America Mexico_City

configure timezone America Mexico_City

將時區設為「美洲/墨西哥市」位置。

configure timezone America New_York

configure timezone America New_York

將時區設為「美洲/紐約」位置。

configure timezone America Noronha

configure timezone America Noronha

將時區設為「美洲/諾若尼亞」位置。

configure timezone America Phoenix

configure timezone America Phoenix

將時區設為「美洲/鳳凰城」位置。

configure timezone America Santiago

configure timezone America Santiago

將時區設為「美洲/聖地牙哥」位置。

configure timezone America St_Johns

configure timezone America St_Johns

將時區設為「美洲/聖約翰斯」位置。

configure timezone America Tegucigalpa

configure timezone America Tegucigalpa

將時區設為「美洲/德古西加巴」位置。

configure timezone Asia Almaty

configure timezone Asia Almaty

將時區設為「亞洲/阿馬提」位置。

configure timezone Asia Baghdad

configure timezone Asia Baghdad

將時區設為「亞洲/巴格達」位置。

configure timezone Asia Baku

configure timezone Asia Baku

將時區設為「亞洲/巴庫」位置。

configure timezone Asia Bangkok

configure timezone Asia Bangkok

將時區設為「亞洲/曼谷」位置。

configure timezone Asia Calcutta

configure timezone Asia Calcutta

將時區設為「亞洲/加爾各答」位置。

configure timezone Asia Colombo

configure timezone Asia Colombo

將時區設為「亞洲/可倫坡」位置。

configure timezone Asia Dhaka

configure timezone Asia Dhaka

將時區設為「亞洲/達卡」位置。

configure timezone Asia Hong_Kong

configure timezone Asia Hong_Kong

將時區設為「亞洲/香港」位置。

configure timezone Asia Irkutsk

configure timezone Asia Irkutsk

將時區設為「亞洲/伊爾庫次克」位置。

configure timezone Asia Jerusalem

configure timezone Asia Jerusalem

將時區設為「亞洲/耶路撒冷」位置。

configure timezone Asia Kabul

configure timezone Asia Kabul

將時區設為「亞洲/喀布爾」位置。

configure timezone Asia Karachi

configure timezone Asia Karachi

將時區設為「亞洲/喀拉蚩」位置。

configure timezone Asia Katmandu

configure timezone Asia Katmandu

將時區設為「亞洲/加德滿都」位置。

configure timezone Asia Krasnoyarsk

configure timezone Asia Krasnoyarsk

將時區設為「亞洲/克拉斯諾亞爾斯克」位置。

configure timezone Asia Kuala_Lumpur

configure timezone Asia Kuala_Lumpur

將時區設為「亞洲/吉隆坡」位置。

configure timezone Asia Kuwait

configure timezone Asia Kuwait

將時區設為「亞洲/科威特」位置。

configure timezone Asia Magadan

configure timezone Asia Magadan

將時區設為「亞洲/馬加丹」位置。

configure timezone Asia Manila

configure timezone Asia Manila

將時區設為「亞洲/馬尼拉」位置。

configure timezone Asia Muscat

configure timezone Asia Muscat

將時區設為「亞洲/馬斯喀特」位置。

configure timezone Asia Rangoon

configure timezone Asia Rangoon

將時區設為「亞洲/仰光」位置。

configure timezone Asia Seoul

configure timezone Asia Seoul

將時區設為「亞洲/首爾」位置。

configure timezone Asia Shanghai

configure timezone Asia Shanghai

將時區設為「亞洲/上海」位置。

configure timezone Asia Singapore

configure timezone Asia Singapore

將時區設為「亞洲/新加坡」位置。

configure timezone Asia Taipei

configure timezone Asia Taipei

將時區設為「亞洲/台北」位置。

configure timezone Asia Tehran

configure timezone Asia Tehran

將時區設為「亞洲/德黑蘭」位置。

configure timezone Asia Tokyo

configure timezone Asia Tokyo

將時區設為「亞洲/東京」位置。

configure timezone Asia Yakutsk

configure timezone Asia Yakutsk

將時區設為「亞洲/亞庫茲克」位置。

configure timezone Atlantic Azores

configure timezone Atlantic Azores

將時區設為「大西洋/亞速爾群島」位置。

configure timezone Aus­tralia Adelaide

configure timezone Aus­tralia Adelaide

將時區設為「澳洲/阿德雷德」位置。

configure timezone Aus­tralia Brisbane

configure timezone Aus­tralia Brisbane

將時區設為「澳洲/布里斯本」位置。

configure timezone Aus­tralia Darwin

configure timezone Aus­tralia Darwin

將時區設為「澳洲/達爾文」位置。

configure timezone Aus­tralia Hobart

configure timezone Aus­tralia Hobart

將時區設為「澳洲/霍巴特」位置。

configure timezone Aus­tralia Melbourne

configure timezone Aus­tralia Melbourne

將時區設為「澳洲/墨爾本」位置。

configure timezone Aus­tralia Perth

configure timezone Aus­tralia Perth

將時區設為「澳洲/伯斯」位置。

configure timezone Europe Amsterdam

configure timezone Europe Amsterdam

將時區設為「歐洲/阿姆斯特丹」位置。

configure timezone Europe Athens

configure timezone Europe Athens

將時區設為「歐洲/雅典」位置。

configure timezone Europe Belgrade

configure timezone Europe Belgrade

將時區設為「歐洲/貝爾格勒」位置。

configure timezone Europe Berlin

configure timezone Europe Berlin

將時區設為「歐洲/柏林」位置。

configure timezone Europe Brussels

configure timezone Europe Brussels

將時區設為「歐洲/布魯塞爾」位置。

configure timezone Europe Bucharest

configure timezone Europe Bucharest

將時區設為「歐洲/布加勒斯特」位置。

configure timezone Europe Dublin

configure timezone Europe Dublin

將時區設為「歐洲/都柏林」位置。

configure timezone Europe Moscow

configure timezone Europe Moscow

將時區設為「歐洲/莫斯科」位置。

configure timezone Europe Paris

configure timezone Europe Paris

將時區設為「歐洲/巴黎」位置。

configure timezone Pacific Auckland

configure timezone Pacific Auckland

將時區設為「太平洋/奧克蘭」位置。

configure timezone Pacific Fiji

configure timezone Pacific Fiji

將時區設為「太平洋/斐濟」位置。

configure timezone Pacific Guam

configure timezone Pacific Guam

將時區設為「太平洋/關島」位置。

configure timezone Pacific Honolulu

configure timezone Pacific Honolulu

將時區設為「太平洋/檀香山」位置。

configure timezone Pacific Kwajalein

configure timezone Pacific Kwajalein

將時區設為「太平洋/瓜加林島」位置。

configure timezone Pacific Midway

configure timezone Pacific Midway

將時區設為「太平洋/中途島」位置。

configure timezone US Alaska

configure timezone US Alaska

將時區設為「美國/阿拉斯加」位置。

configure timezone US Arizona

configure timezone US Arizona

將時區設為「美國/亞利桑那」位置。

configure timezone US Central

configure timezone US Central

將時區設為「美國/中部」位置。

configure timezone US East-Indiana

configure timezone US East-Indiana

將時區設為「美國/東印地安那」位置。

configure timezone US Eastern

configure timezone US Eastern

將時區設為「美國/東部」位置。

configure timezone US Hawaii

configure timezone US Hawaii

將時區設為「美國/夏威夷」位置。

configure timezone US Mountain

configure timezone US Mountain

將時區設為「美國/山區」位置。

configure timezone US Pacific

configure timezone US Pacific

將時區設為「美國/太平洋」位置。

disable adhoc-query

disable adhoc-query

關閉 Web 存取記錄檔

disable ssh

disable ssh

關閉 sshd 精靈

enable

enable

啟動管理命令

enable adhoc-query

enable adhoc-query

啟動 Web 存取記錄檔

enable ssh

enable ssh

啟動 sshd 精靈

exit

exit

結束作業階段

說明

說明

顯示 CLI 語法的總覽。

history

history [limit]

顯示目前作業階段的命令列歷史記錄

limit指定要顯示的 CLI 命令數目。範例:指定 [limit] 為 "5" 表示顯示 5 個 CLI 命令。

reboot

reboot [time]

在經過指定的延遲時間之後或立即重新啟動這部電腦

time UNIT 要等多久再重新啟動這部電腦 [0] 的時間(以分鐘為單位)

show date

show date

顯示目前的日期/時間

show hostname

show hostname

顯示網路主機名稱

show interfaces

show interfaces

顯示網路介面資訊

show ipv4 address

show ipv4 address

顯示網路 IPv4 位址

show ipv4 dns

show ipv4 dns

顯示網路 IPv4 DNS 伺服器

show ipv4 gateway

show ipv4 gateway

顯示網路 IPv4 閘道

show ipv4 route

show ipv4 route

顯示網路 IPv4 路由表

show ipv4 type

show ipv4 type

顯示網路 IPv4 設定類型(dhcp/靜態)

show ipv6 address

show ipv6 address

顯示網路 IPv6 位址

show ipv6 dns

show ipv6 dns

顯示網路 IPv6 DNS 伺服器

show ipv6 gateway

show ipv6 gateway

顯示網路 IPv6 閘道

show ipv6 route

show ipv6 route

顯示網路 IPv6 路由表

show ipv6 type

show ipv6 type

顯示網路 IPv6 設定類型(自動/dhcp/靜態)

show timezone

show timezone

顯示網路時區

show uptime

show uptime

顯示目前系統正常執行時間

show url management

show url management

顯示 Web 管理主控台 URL

show url FileReputationService

show url FileReputationService

顯示檔案信譽評等服務的端點連線位址

show url WebReputationService

show url WebReputationService

顯示網頁信譽評等服務的端點連線位址

shutdown

shutdown [time]

在經過指定的延遲之後或立即關閉這部電腦

time UNIT 要等多久再關閉這部電腦 [0] 的時間(以分鐘為單位)