中兴(zxr10 1800)路由器配置
发布网友
发布时间:2022-04-20 17:14
我来回答
共3个回答
热心网友
时间:2022-06-20 15:48
1、首先在地址栏输入路由器的管理地址,输入密码进入路由器,这里的密码是路由器的登录密码,如果没有改过就是原始的admin或者wifi密码。
2、进入中兴路由器主页,然后选择进入专家模式。
3、进入专家模式后选择管理与诊断。
4、然后选择设备管理,然后选择智能重启。
5、最后在下面设置重启的时间,然后提交即可。
热心网友
时间:2022-06-20 15:48
01 ZXR10>en
02 ZXR10>zxr10 //密码
03 ZXR10#config terminal //进入全局配置模式
04 ZXR10(config)#ip local pool dhcp 192.168.10.2 192.168.10.254 255.255.255.0
//DHCP地址域名称及地址范围
05 ZXR10(config)#ip dhcp enable //启用路由器DHCP功能
06 ZXR10(config)#ip dhcp server dns 211.142.210.99 211.142.210.100 //设置DHCP的
域名服务器
07 ZXR10(config)#interface fei_1/2 //内网口
08 ZXR10(config-if)#porttype l3 //设置端口属性为三层
09 ZXR10(config-if)#ip address 192.168.10.1 255.255.255.0 //设备内网口接口地址
10 ZXR10(config-if)#ip dhcp mode server //设置内网口启用DHCP
11 ZXR10(config-if)#ip dhcp server gateway 192.168.10.1 //设置内网口DHCP网关
12 ZXR10(config-if)#peer default ip pool dhcp //设置内网口DHCP所用地址域
13 ZXR10(config-if)#exit
14 ZXR10(config)#ip dhcp server update arp
15 ZXR10(config)#ip local pool conflict-ip 10
16 ZXR10(config)#ip dhcp server leasetime 90
18 ZXR10(config)#ip nat start //启用路由器NAT功能
19 ZXR10(config)#interface fei_1/2
20 ZXR10(config-if)#ip nat inside //设置内网口NAT属性
21 ZXR10(config-if)#exit
22
23 ZXR10(config)#interface fei_1/1 //*口
24 ZXR10(config-if)#porttype l3 //设置端口属性为三层
25 ZXR10(config-if)#ip address 211.142.218.162 255.255.255.252 //设置*口接口地址,
及业务地址
26 ZXR10(config-if)#ip nat outside //设置*口NAT属性
27 ZXR10(config-if)#exit
28
29 ZXR10(config)#acl standard number 10 //NAT转换规则
30 ZXR10(config-std-acl)#permit 192.168.10.0 0.0.0.255 //设置NAT转换的私网地址段
31 ZXR10(config-std-acl)#exit
32
33 ZXR10(config)#ip nat pool outpool 211.142.218.162 211.142.218.162 prefix-length 30
//设备NAT转换后的公网地址,也即业务地址
34 ZXR10(config)#ip nat inside source list 10 pool outpool overload //匹配NAT转换规则
35 ZXR10(config)#ip route 0.0.0.0 0.0.0.0 211.142.218.161 //设置路由器默认路由
36 ZXR10(config)#exit
37 ZXR10#write //保存配置
热心网友
时间:2022-06-20 15:49
Building configuration...
!
!
ip dhcp enable(开启DHCP功能)
ip dhcp server dns 211.138.106.2 211.138.106.7(设置分配给客户的DNS地址)
ip dhcp server leasetime 18000
ip dhcp server update arp
!
ip dhcp-client disable
!
urpf log off
!
ip local pool conflict-ip 254
ip local pool dhcp 10.10.10.2 10.10.10.254 255.255.255.0(配置地址池,地址池名字为DHCP,等下在接口下引用这个名字)
!
mac-filter permit all
!
blacklist disable
!
!
interface null1
!
interface fei_0/1(连接公网的接口)
ip address 192.168.11.2 255.255.255.192
negotiation auto
ip nat outside(做为nat的outside口)
!
interface fei_0/2(连接内网的接口)
ip address 10.10.10.1 255.255.255.0(配置内网接口ip地址)
peer default ip pool dhcp(确定内网pc机使用哪个地址池,地址名字为dhcp)
negotiation auto
ip dhcp mode server(在接口下使能dhcp功能)
ip dhcp server gateway 10.10.10.1(配置分配的默认网关地址)
ip nat inside(作为nat的inside接口)
!
interface fei_0/3
negotiation auto
!
!
reference clock local
!
ip nat max-entry-number 64
ip nat start(启用nat功能)
ip nat inside source list 1 interface fei_0/1 (配置允许内网地址进行nat转换,并且转换后的地址为*接口fei——0/1地址)
ip nat translation timeout class a 20
ip nat translation timeout class b 60
ip nat translation timeout class c 150
ip nat translation timeout class d 300
ip nat translation timeout class e 1200
ip nat translation timeout protocol icmp a
ip nat translation timeout protocol ip d
ip nat translation timeout protocol tcp port 80 a
ip nat translation timeout protocol tcp d
ip nat translation timeout protocol udp port 4000 d
ip nat translation timeout protocol udp port 4001 d
ip nat translation timeout protocol udp port 4002 d
ip nat translation timeout protocol udp port 4003 d
ip nat translation timeout protocol udp port 8000 d
ip nat translation timeout protocol udp port 8001 d
ip nat translation timeout protocol udp c
ip nat translation maximal default 65535
!
ip route 0.0.0.0 0.0.0.0 192.168.11.1(添加一条默认出口路由)
!
voice class service
!
!
ip prefix-list 1 seq 5 permit 10.10.10.0 24
!
!
no ipv6 nat enable
!
!
!
acl standard number 1(配置访问列表,用于允许哪些地址进行nat转换,在上面被引用)
rule 1 permit 10.10.10.0 0.0.0.255
!
!
!
ip tcp intercept mode intercept
ip tcp intercept drop-mode oldest
ip tcp intercept watch-timeout 30
ip tcp intercept finrst-timeout 5
ip tcp intercept connection-timeout 86400
ip tcp intercept max-incomplete high 1100
ip tcp intercept max-incomplete low 900
ip tcp intercept one-minute high 1100
ip tcp intercept one-minute low 900
!
nas
!
version V4.8.01.B.01
!
nvram mng-ip-address 10.40.89.8 255.255.0.0
!
nvram boot-username mmba
!
nvram boot-password mmba
!
nvram boot-server 10.40.89.78
!
nvram default-gateway 1.1.1.1
!
nvram imgfile-location local
!
hostname DX_liHuaDaJiuDian
!
forward re-fragment time 6
!
enable secret level 15 5 Y0j79VrXYsLC0nOkCXFmaA==
!
username zxr10 password zsr
username lhdjd password lhdjd
!
user-authentication-type local
user-authorization-type local
!
line console 0
no login authentication
!
banner incoming @
*****************************************************
Welcome to ZXR10 ZSR Serial Router of ZTE Corporation
*****************************************************
@
!
!
lfap disable
lfap max-send-fun-size 100
lfap update-interval 60
lfap server-retry-interval 60
lfap message-response-interval 60
lfap ka-interval 60
lfap flow-expired-time 600
!
!
!
snmp-server location No.68 Zijinghua Rd. Yuhuatai District, Nanjing, China
snmp-server contact +86-25-52870000
snmp-server packetsize 1400
snmp-server engine-id 830900020300010289d64401
snmp-server view AllView internet included
snmp-server view DefaultView system included
!
!
logging on
logging buffer 200
logging mode fullcycle
logging console notifications
logging level notifications
logging cmdlog-interval 2880
logging timestamps datetime localtime
alarm cpuload-on
alarm cpuload-interval 30
alarm cpuload-threshold high-grade 95 middle-grade 85 low-grade 75
syslog-server facility local0
!
line console idle-timeout 120
line console absolute-timeout 1440
line telnet idle-timeout 120
line telnet absolute-timeout 1440
!
ssh server authentication ispgroup 1
ssh server authentication mode local
ssh server authentication type chap
no ssh server only
ssh server version 2
!
!
radius auto-change off
!
!
tacacs disable
tacacs-server timeout 5
tacacs-server packet 1024
!
!
amat disable
!
end
DX_liHuaDaJiuDian#
DX_liHuaDaJiuDian#