Home | Mirror | Search

第 11 章 H3C Command

目錄

1. config
1.1. current-configuration
1.2. saved-configuration
1.3. 保存配置
2. boot-loader
3. display
3.1. 顯示設備工作狀態
3.2. 介面相關信息

1. config

1.1. current-configuration

current-configuration

			
[WA2220E-AG]display current-configuration
#
 version 5.20, Release 1110P01
#
 sysname WA2220E-AG
#
 domain default enable system
#
 telnet server enable
#
 port-security enable
#
vlan 1
#
radius scheme system
#
domain system
 access-limit disable
 state active
 idle-cut disable
 self-service-url disable
#
user-group system
#
local-user admin
 password simple h3capadmin
 authorization-attribute level 3
 service-type telnet
#
wlan rrm
 dot11a mandatory-rate 6 12 24
 dot11a supported-rate 9 18 36 48 54
 dot11b mandatory-rate 1 2
 dot11b supported-rate 5.5 11
 dot11g mandatory-rate 1 2 5.5 11
 dot11g supported-rate 6 9 12 18 24 36 48 54
#
wlan service-template 1 clear
 ssid H3C
 service-template enable
#
wlan service-template 2 crypto
 ssid www.davosfair.com
#
interface NULL0
#
interface Vlan-interface1
 ip address 172.16.1.1 255.255.255.0
#
interface Ethernet1/0/1
#
interface WLAN-BSS1
#
interface WLAN-BSS2
#
interface WLAN-Radio1/0/1
 channel auto
 max-power 19
#
interface WLAN-Radio1/0/2
 channel 1
 max-power 20
 service-template 1 interface wlan-bss 1
 service-template 2 interface wlan-bss 2
#
 ip route-static 0.0.0.0 0.0.0.0 172.16.0.254
#
 load xml-configuration
#
user-interface con 0
user-interface vty 0 4
 authentication-mode scheme
#
return
[WA2220E-AG]

			
			

1.2. saved-configuration

saved-configuration

			
[WA2220E-AG]display saved-configuration
#
 version 5.20, Release 1110P01
#
 sysname WA2220E-AG
#
 domain default enable system
#
 telnet server enable
#
 port-security enable
#
vlan 1
#
domain system
 access-limit disable
 state active
 idle-cut disable
 self-service-url disable
#
user-group system
#
local-user admin
 password simple h3capadmin
 authorization-attribute level 3
 service-type telnet
#
wlan rrm
 dot11a mandatory-rate 6 12 24
 dot11a supported-rate 9 18 36 48 54
 dot11b mandatory-rate 1 2
 dot11b supported-rate 5.5 11
 dot11g mandatory-rate 1 2 5.5 11
 dot11g supported-rate 6 9 12 18 24 36 48 54
#
wlan service-template 1 clear
 ssid H3C
#
wlan service-template 2 clear
 ssid www.example.com
 service-template enable
#
interface NULL0
#
interface Vlan-interface1
 ip address 192.168.0.50 255.255.255.0
#
interface Ethernet1/0/1
#
interface WLAN-BSS1
#
interface WLAN-BSS2
#
interface WLAN-Radio1/0/1
 channel auto
 max-power 19
#
interface WLAN-Radio1/0/2
 channel 1
 max-power 20
 service-template 1 interface wlan-bss 1
 service-template 2 interface wlan-bss 2
#
 load xml-configuration
#
user-interface con 0
user-interface vty 0 4
 authentication-mode scheme
#
return

			
			

1.3. 保存配置

			
[WA2220E-AG]save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
 Validating file. Please wait.............................
 Configuration is saved to device successfully.
			
			
comments powered by Disqus