收藏 分销(赏)

维护基础手册专业资料.doc

上传人:a199****6536 文档编号:3031117 上传时间:2024-06-13 格式:DOC 页数:28 大小:85.54KB
下载 相关 举报
维护基础手册专业资料.doc_第1页
第1页 / 共28页
维护基础手册专业资料.doc_第2页
第2页 / 共28页
维护基础手册专业资料.doc_第3页
第3页 / 共28页
维护基础手册专业资料.doc_第4页
第4页 / 共28页
维护基础手册专业资料.doc_第5页
第5页 / 共28页
点击查看更多>>
资源描述

1、Bras ME60维护手册12月目 录一、设备配备脚本3二、新设备(顾客)开局脚本102.1汇聚/接入互换机开局102.2配备纯Portal拨号业务112.3配备静态IP业务(绑定顾客IP)122.4配备静态IP业务(不绑定顾客IP)132.5配备Portal拨号业务+固定IP142.6配备Portal拨号业务(绑定顾客IP)15三、维护命令163.1.1查看域163.1.2查看域内顾客状态173.1.3查看网络联通性173.1.4查看总顾客数173.1.5强制某顾客下线183.1.6查看地址池占用率183.1.7查用巡检命令18一、 设备配备脚本设备配备较多,仅列出维护有关某些dis cur

2、sysname JRZK-ME60配备主机名radius-server group wgyxy radius-server authentication 192.168.100.100 1812 weight 0 radius-server accounting 192.168.100.100 1813 weight 0 radius-server shared-key hwme60 radius-server nas-ip-address 192.168.100.1 radius-server attribute translate undo radius-server user-name

3、domain-included配备深澜Radius#radius-server authorization 192.168.100.100 shared-key hwme60授权深澜Radius对Bras进行操作(顾客欠费踢下线)#acl number 6000 rule 20 permit tcp source user-group portal destination-port eq www rule 25 permit tcp source user-group portal destination-port eq 8080 rule 30 permit tcp source user-

4、group portal destination-port eq 801 rule 35 permit tcp source user-group portal destination-port eq 802 rule 40 permit tcp source user-group portal destination-port eq 803 rule 45 permit tcp source user-group portal destination-port eq 804 rule 50 permit tcp source user-group portal destination-por

5、t eq 443开放深澜Portal端口#acl number 6001 rule 5 permit ip source user-group portal destination ip-address 192.168.100.100 0 rule 10 permit ip source user-group portal destination ip-address 127.0.0.1 0 rule 15 permit ip source ip-address 192.168.100.100 0 destination user-group portal rule 20 permit ip

6、source ip-address 127.0.0.1 0 destination user-group portal rule 25 permit ip source ip-address 10.10.10.0 0.0.1.255 destination user-group portal rule 30 permit ip source user-group portal destination ip-address 10.10.10.0 0.0.1.255 rule 35 permit ip source ip-address 10.19.0.0 0.0.0.255 destinatio

7、n user-group portal rule 40 permit ip source user-group portal destination ip-address 10.19.0.0 0.0.0.255 rule 45 permit ip source ip-address 10.3.1.0 0.0.0.255 destination user-group portal rule 50 permit ip source user-group portal destination ip-address 10.3.1.0 0.0.0.255 rule 55 permit ip source

8、 ip-address 202.97.224.68 0.0.0.1 destination user-group portal rule 60 permit ip source user-group portal destination ip-address 202.97.224.68 0.0.0.1 rule 65 permit ip source ip-address 101.7.8.9 0 destination user-group portal rule 70 permit ip source user-group portal destination ip-address 101.

9、7.8.9 0在未通过认证状况下,可以免费访问业务:自服务、DNS、内网资源等。#acl number 6002 rule 30 permit ip source user-group portal destination ip-address any rule 35 permit ip source ip-address any destination user-group portal#ip pool 3jiao_ap_dong bas local gateway 10.10.31.1 255.255.255.0 section 0 10.10.31.2 10.10.31.254 excl

10、uded-ip-address 10.10.31.2 10.10.31.9 dns-server 202.97.224.68 202.97.224.69 定义3教东区AP地址池,其中1作为网关,2-9从地址池中排除。其她业务地址池不再阐述# ip pool 3jiao_ap_xi bas local gateway 10.10.30.1 255.255.255.0 section 0 10.10.30.2 10.10.30.254 excluded-ip-address 10.10.30.2 10.10.30.9 dns-server 202.97.224.68 202.97.224.69 #

11、ip pool guanli bas local 定义设备管理地址池 gateway 10.11.255.254 255.255.0.0 section 0 10.11.0.1 10.11.255.253 excluded-ip-address 10.11.0.1 10.11.255.253# ip pool portal bas local 定义学生寝室Portal地址池。 gateway 10.50.0.1 255.255.0.0 section 0 10.50.0.2 10.50.255.254 excluded-ip-address 10.50.100.100 dns-server 2

12、02.97.224.68 202.97.224.69 #aaa local-user huawei password irreversible-cipher $1a$:a(TQ#WC2$z(,t;r*N%-AG$h2S-G6:/w;:V4$3Vq6YO$ local-user huawei service-type telnet local-user huawei level 15 local-user huawei state block fail-times 3 interval 5 authentication-scheme default0 authentication-sche

13、me default1 authentication-scheme default authentication-mode local radius authentication-scheme pppoe authentication-mode none authentication-scheme radius # authorization-scheme default # accounting-scheme default0 accounting-scheme default1 accounting-scheme pppoe accounting-mode none accounting-

14、scheme jrzk accounting-scheme radius accounting interim interval 10定义每10分钟向Radius上传一次计费报文。 # domain default0 ip-pool qinshi-1 dns primary-ip 202.97.224.68 dns second-ip 202.97.224.69 user-group portal web-server 192.168.100.100 web-server url web-server url-parameter定义认证前域,用来为学生分派IP地址,并推送Portal页面 do

15、main default1 domain default_admindomain portal authentication-scheme radius accounting-scheme radius radius-server group wgyxy 定义认证域,学生通过Portal输入顾客名及密码后,会由认证域进行身份认证。 domain guanli authentication-scheme pppoe accounting-scheme pppoe ip-pool guanli 定义用于设备管理域,该域中定义都是互换机管理地址。 #interface Eth-Trunk1 desc

16、ription to-HW-S12708 20G mode user-termination load-balance packet-all下联寝室网核心8614#interface Eth-Trunk1.1Eth1.1用于终结Portal拨号业务。 description portal_bohao user-vlan 101 148 qinq 2111 2114终结顾客vlan:内层vlan101-148外层vlan 2111-2114 user-vlan 101 148 qinq 2141 user-vlan 101 148 qinq 2171 user-vlan 101 148 qinq

17、 2211 2213 user-vlan 201 248 qinq 2213 user-vlan 101 148 qinq 2240 user-vlan 201 248 qinq 2240 user-vlan 301 348 qinq 2240 user-vlan 101 148 qinq 2321 2324 user-vlan 101 148 qinq 2341 user-vlan 101 148 qinq 2371 user-vlan 101 148 qinq 2421 2425 user-vlan 101 148 qinq 2441 user-vlan 101 148 qinq 2471

18、 user-vlan 101 148 qinq 2511 2518 user-vlan 101 148 qinq 2520 user-vlan 101 148 qinq 2540 user-vlan 201 248 qinq 2540 user-vlan 101 148 qinq 2542 user-vlan 101 148 qinq 2561 user-vlan 101 148 qinq 2611 2614 user-vlan 101 148 qinq 2641 user-vlan 101 148 qinq 2711 2713 user-vlan 101 148 qinq 2741 2742

19、 user-vlan 101 148 qinq 2810 user-vlan 201 248 qinq 2810 user-vlan 101 148 qinq 2821 2822 user-vlan 101 148 qinq 2830 user-vlan 201 248 qinq 2830 user-vlan 101 148 qinq 2840 user-vlan 201 248 qinq 2840 user-vlan 101 148 qinq 2851 user-vlan 101 148 qinq 2861 2862 user-vlan 101 148 qinq 2870 user-vlan

20、 201 248 qinq 2870 bas # access-type layer2-subscriber default-domain authentication portal authentication-method web arp-trigger#interface Eth-Trunk1.2 Eth1.2做互换设备管理用.机tal description device_management user-vlan user-vlan qinq 2111 2114 user-vlan qinq 2141 user-vlan qinq 2171 user-vlan qinq 2211 22

21、13 user-vlan qinq 2240 2243 user-vlan qinq 2321 2324 user-vlan qinq 2341 user-vlan qinq 2371 user-vlan qinq 2421 2425 user-vlan qinq 2441 user-vlan qinq 2471 user-vlan qinq 2511 2518 user-vlan qinq 2520 user-vlan qinq 2540 user-vlan qinq 2542 user-vlan qinq 2561 user-vlan qinq 2611 2614 user-vlan qi

22、nq 2641 user-vlan qinq 2711 2713 user-vlan qinq 2741 2742 user-vlan qinq 2810 user-vlan qinq 2821 2822 user-vlan qinq 2830 user-vlan qinq 2840 user-vlan qinq 2851 user-vlan qinq 2861 2862 user-vlan qinq 2870 bas # access-type layer2-subscriber default-domain authentication guanli authentication-meth

23、od bind arp-proxy ip-trigger arp-trigger其她子接口可依照子接口描述拟定业务!#interface Eth-Trunk2 portswitch description to-USG9000-FW 20G port link-type trunk port trunk allow-pass vlan 105 4000上联USG防火墙#interface GigabitEthernet1/0/0 undo shutdown eth-trunk 1#interface GigabitEthernet1/0/1 undo shutdown eth-trunk 1#

24、interface GigabitEthernet1/0/2 undo shutdown eth-trunk 2#interface GigabitEthernet1/0/3 undo shutdown eth-trunk 2#interface GigabitEthernet1/0/4 description to_powercache undo shutdown ip address 10.100.99.1 255.255.255.0 #下联PowerCache#interface GigabitEthernet1/0/9 negotiation auto description to-H

25、3C12508 undo shutdown ip address 172.16.6.66 255.255.255.0下联H3C12508,用于榜文办公网,图书馆,实验室.#ip route-static 0.0.0.0 0.0.0.0 Vlanif4000 172.31.0.1 description uplink-USG9000-FW默认出口路由为FWip route-static 10.5.0.0 255.255.252.0 172.28.2.2由于某些3教是以3层链路接到Bras,因而需向下回指静态路由ip route-static 10.10.1.0 255.255.255.0 172

26、.28.2.2ip route-static 10.10.2.0 255.255.255.0 172.28.2.2ip route-static 10.10.3.0 255.255.255.0 172.28.2.2ip route-static 10.10.4.0 255.255.255.0 172.28.2.2ip route-static 10.10.5.0 255.255.255.0 172.28.2.2ip route-static 10.10.6.0 255.255.255.0 172.28.1.2ip route-static 10.10.7.0 255.255.255.0 172

27、.28.1.2ip route-static 10.10.8.0 255.255.255.0 172.28.2.2ip route-static 10.10.9.0 255.255.255.0 172.28.2.2ip route-static 10.10.11.0 255.255.255.0 172.28.1.2ip route-static 10.10.12.0 255.255.255.0 172.28.1.2ip route-static 10.10.13.0 255.255.255.0 172.28.1.2ip route-static 10.10.14.0 255.255.255.0

28、 172.28.2.2ip route-static 10.10.15.0 255.255.255.0 172.28.1.2ip route-static 10.10.16.0 255.255.255.0 172.28.1.2ip route-static 10.10.17.0 255.255.255.0 172.28.1.2ip route-static 10.10.18.0 255.255.255.0 172.28.2.2ip route-static 10.10.19.0 255.255.255.0 172.28.1.2ip route-static 10.10.20.0 255.255

29、.255.0 172.28.1.2ip route-static 10.10.21.0 255.255.255.0 172.28.1.2ip route-static 10.10.32.0 255.255.255.0 172.28.1.2ip route-static 10.17.0.0 255.255.255.0 172.28.1.2ip route-static 10.20.0.0 255.255.255.0 172.28.1.2ip route-static 10.22.0.0 255.255.255.0 172.28.1.2ip route-static 10.23.0.0 255.2

30、55.255.0 172.28.2.2ip route-static 10.25.25.0 255.255.255.0 172.28.2.2ip route-static 172.20.1.99 255.255.255.255 192.168.100.97 description to-ATMip route-static 172.20.2.2 255.255.255.255 192.168.100.97 description to-ATM去往学校ATM#static-user 10.11.0.254 10.11.0.254 gateway 10.11.255.254 interface E

31、th-Trunk1.2 vlan domain-name guanli detect定义静态IP互换机管理地址,以本条命令为例,将eth1.2接口从vlan 上来顾客,容许其静态配备成10.11.0.254,网关10.11.255.254。针对固定IP顾客,配备原理也是同样。static-user 10.11.1.11 10.11.1.11 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2111 domain-name guanli detectstatic-user 10.11.1.12 10.11.1.12 gateway 1

32、0.11.255.254 interface Eth-Trunk1.2 vlan qinq 2112 domain-name guanli detect static-user 10.11.1.13 10.11.1.13 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2113 domain-name guanli detect static-user 10.11.1.14 10.11.1.14 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2114 domain-na

33、me guanli detect static-user 10.11.1.41 10.11.1.41 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2141 domain-name guanli detect static-user 10.11.1.254 10.11.1.254 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan domain-name guanli detect static-user 10.11.2.11 10.11.2.11 gateway 10.11.255

34、.254 interface Eth-Trunk1.2 vlan qinq 2211 domain-name guanli detect static-user 10.11.2.12 10.11.2.12 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2212 domain-name guanli detect static-user 10.11.2.13 10.11.2.14 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2213 domain-name guanl

35、i detect static-user 10.11.2.41 10.11.2.43 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2240 domain-name guanli detect static-user 10.11.2.254 10.11.2.254 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan domain-name guanli detect static-user 10.11.3.21 10.11.3.21 gateway 10.11.255.254 int

36、erface Eth-Trunk1.2 vlan qinq 2321 domain-name guanli detect static-user 10.11.3.22 10.11.3.22 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2322 domain-name guanli detect static-user 10.11.3.23 10.11.3.23 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2323 domain-name guanli detect

37、 static-user 10.11.3.24 10.11.3.24 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2324 domain-name guanli detect static-user 10.11.3.41 10.11.3.41 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan qinq 2341 domain-name guanli detect static-user 10.11.3.71 10.11.3.71 gateway 10.11.255.254 int

38、erface Eth-Trunk1.2 vlan qinq 2371 domain-name guanli detect static-user 10.11.3.253 10.11.3.254 gateway 10.11.255.254 interface Eth-Trunk1.2 vlan domain-name guanli detect# web-auth-server 192.168.100.100 port 50100 key simple hwme60配备Portal服务器二、 新设备(顾客)开局脚本2.1 汇聚/接入互换机开局场景:假定新建一套中区11号楼汇聚和接入互换机,其外层

39、VLAN为1011,内层管理地址为11,内层1xx为一楼互换机,2xx为二楼互换机,依次类推。1.定义一种管理IP地址池:ip pool guanli-zhongqu-11 bas local gateway 10.0.11.254 255.255.255.0 section 0 10.0.11.1 10.0.11.253 excluded-ip-address 10.0.11.1 10.0.11.253固定IP顾客必要将地址从地址池中移除。2.在管理域中加入此地址池:aaadomain guanli ip-pool guanli-zhongqu-11 3.在Bras口上终结此VLANinte

40、rface Eth-Trunk1.2user-vlan 11汇聚设备管理vlan是不带外层标签user-vlan 11 qinq 1011楼层互换机通过汇聚设备会打上2层标签4.定义静态IP顾客(互换机)static-user 10.0.11.1 10.0.11.252 gateway 10.0.11.254 interface Eth-Trunk1.2 vlan 11 qinq 1011 domain-name guanli 如果是设备管理IP,建议放到guanli这个域中。detectstatic-user 10.0.11.253 10.0.11.253 gateway 10.0.11.2

41、54 interface Eth-Trunk1.2 vlan 11 domain-name guanli detect2.2 配备纯Portal拨号业务场景:假定新建一套中区11号楼汇聚和接入互换机,其外层VLAN为1011,内层1xx为一楼互换机,2xx为二楼互换机,依次类推。如果此Portal业务需要为其新分派段IP,则需要执行如下1-3操作,如果与既有业务相似,可直接进行第3步。1.定义一种管理IP地址池:ip pool new-yewu bas local gateway 10.2.0.1 255.255.255.0 section 0 10.2.0.1 10.2.255.2542.在

42、新建域中加入此地址池:aaadomain new-yewu0 ip-pool new-yewu dns primary-ip 172.16.17.23 user-group portal web-server 172.16.6.6 web-server url web-server url-parameter domain new-yewu authentication-scheme radius accounting-scheme radius value-added-service account-type radius jrzk radius-server group jrzk user-group inside3.在Bras口上终结此VLANinterface Eth-Trunk1.x需新建一种子接口user-vlan 101 148 qinq 1001user-vlan 201 248 qinq 1011bas # access-type layer2-subscriber default-domain pre-authentication n

展开阅读全文
部分上传会员的收益排行 01、路***(¥15400+),02、曲****(¥15300+),
03、wei****016(¥13200+),04、大***流(¥12600+),
05、Fis****915(¥4200+),06、h****i(¥4100+),
07、Q**(¥3400+),08、自******点(¥2400+),
09、h*****x(¥1400+),10、c****e(¥1100+),
11、be*****ha(¥800+),12、13********8(¥800+)。
相似文档                                   自信AI助手自信AI助手
搜索标签

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服