华为USG6500:
ssh 登录配置
time-range 相关配置:
Enter system view, return user view with Ctrl+Z.
[USG6000V1]tim
[USG6000V1]time-range hns
[USG6000V1]time-range hns
[USG6000V1-time-range-hns]?
time-range view commands:
absolute-range configure absolute time range #绝对时间
anti-ddos Defend against DDoS attacks
arp Specify ARP configuration information
Configuration interlock
debugging Enable system debugging functions
display Display current system information
download Load specify module
firewall Indicate firewall
period-range configure period time range #周期时间
ping Send echo messages
quit Exit from current command view
reset Reset operation
return Exit to user view
run Execute command of user view
screen-width Set screen width
test-aaa Accounts test
tracert Trace route to host
undo Cancel current setting
[USG6000V1-time-range-hns]period-range 09:00:00 to 18:00:00 working-day #周期时间
[USG6000V1-time-range-hns]absolute-range 12:00:00 2018/06/05 to 16:00:00 2018/06/05 #绝对时间
[USG6000V1]display time-range all #显示所有
Current time is 17:54:42 6-4-2018 Monday
Time-range : hns ( Inactive )
period-range 09:00:00 to 18:00:00 working-day
absolute-range 12:00:00 2018/6/5 to 16:00:00 2018/6/5
Time-range : worktime ( Active )
period-range 08:00:00 to 18:00:00 working-day
[USG6000V1]display time-range hns #显示单个
Current time is 17:55:04 6-4-2018 Monday
Time-range : hns ( Inactive )
period-range 09:00:00 to 18:00:00 working-day
absolute-range 12:00:00 2018/6/5 to 16:00:00 2018/6/5
公共对象--地址集:
类似思科的object或object-group
[USG6000V1]ip address-set ?
STRING<1-63>/STRING<3-65> Name of address set; the length of the name is 1
to 63 characters,if the name contains spaces, the
name must be enclosed with double quotation
marks, for example, "address for test"
ip address-set outside type object #outside 是地址集名字,object 类型
address 0 1.1.1.1 0
address 1 2.2.2.0 mask 255.255.255.0
address 2 3.3.3.0 0.0.0.255
address 3 range 4.4.4.1 4.4.4.222
ip address-set outsidegroup type group #group 类型,可以嵌套object
address 0 address-set outside
address 1 5.5.5.5 0
几个查看命令:
[USG6000V1]display ip address-set all
Object address-set maximum number(s): 1024
Group address-set maximum number(s): 128
Address-set total number(s): 2
Address-set item total number(s): 6
Address-set reference total number(s): 1
Address-set: outsidegroup
Type: group
Item number(s): 2
Reference number(s): 0
Address-set: outside
Type: object
Item number(s): 4
Reference number(s): 1
[USG6000V1]display ip address-set verbose outside item
Address-set: outside
Type: object
Item number(s): 4
Reference number(s): 1
Item(s):
address 0 1.1.1.1 0
address 1 2.2.2.0 mask 255.255.255.0
address 2 3.3.3.0 0.0.0.255
address 3 range 4.4.4.1 4.4.4.222
[USG6000V1]display ip address-set verbose outsidegroup item
Address-set: outsidegroup
Type: group
Item number(s): 2
Reference number(s): 0
Item(s):
address 0 address-set outside
address 1 5.5.5.5 0
手机扫一扫
移动阅读更方便
你可能感兴趣的文章