标签:domain com turn 修改 aof match oom ber desc
华为AR2220E-S 设置限制上网时间<staff_AR2220e>dis version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.160 (AR2200 V200R007C00SPCb00)
Copyright (C) 2011-2016 HUAWEI TECH CO., LTD
Huawei AR2220E-S Router uptime is 0 week, 3 days, 2 hours, 48 minutes
BKP 0 version information:
以下为配置信息注意斜体部分需要修改。
[V200R007C00SPCb00]
#
sysname staff_AR2220e
#
#
firewall zone Local
priority 64
#
interface GigabitEthernet0/0/0
ip address 192.168.1.1 255.255.255.0
combo-port auto
#
interface GigabitEthernet0/0/1
ip address 123.123.123.123 255.255.255.248
nat outbound 3997
#斜体处ip与掩码需要更换为自己的
interface GigabitEthernet0/0/2
tcp adjust-mss 1200
ip address 10.1.0.1 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 10.1.0.2 10.1.0.100
dhcp server excluded-ip-address 10.1.0.200 10.1.0.227
dhcp server dns-list 10.1.0.1
ip accounting input-packets
ip accounting output-packets
#
interface GigabitEthernet0/0/3
description VirtualPort
#
interface Cellular0/0/0
#
interface Cellular0/0/1
#
interface NULL0
#
info-center timestamp log format-date
#
#
telnet server enable
#
http secure-server port 4433
http secure-server ssl-policy default_policy
http server enable
http secure-server enable
#
ip route-static 0.0.0.0 0.0.0.0 GigabitEthernet0/0/1 123.123.123.122
#斜体出更换为自己网关
fib regularly-refresh disable
#
user-interface con 0
authentication-mode aaa
user-interface vty 0
authentication-mode aaa
user privilege level 15
user-interface vty 1 4
authentication-mode aaa
#
wlan ac
#
undo ntp-service enable
ntp-service cwmp unicast-server 120.25.115.20 first
#此处禁止时间服务器
voice
#
diagnose
#
ops
#
autostart
#
return
注意可使用以下命令查看时间段是否生效
<staff_AR2220e>dis time-range all
使用以下命令查看路由器当前时间
<staff_AR2220e>dis clock
2018-08-25 21:15:27
Saturday
Time Zone(BeijingChongqingHongKongUrumqi) : UTC+08:00
<staff_AR2220e>
设置时间使用以下命令
<Bloomage_SD_staff_AR2220e>clock datetime
标签:domain com turn 修改 aof match oom ber desc
原文地址:http://blog.51cto.com/rewardhunter/2164376