開業(yè)酒店網(wǎng)關(guān)配置

JYXSJD-cfg# show running-config

!version AMTT ACS Software v2.65.4

!

hostname JYXSJD

dns primary 202.102.224.68

dns secondary 202.102.227.68

dns cache-size 512

!

no service telnet-login enable

service web-admin enable

service web-adminonly-https

service web-admin super-user wadmin secret $1$hNGM4wZt$BBdnxeWkpSiOeH05Z/okW0

service audit-log above-enable

no service syslog-export

service timezoneShanghai

service ntp-sync cn.pool.ntp.org

!

interface eth0

? mode common-ip

? ip address 123.7.17.124 255.255.255.0

? link-mode auto

? end

interface eth1

? mode access-ctrl

? ip address 172.31.16.1 255.255.248.0

? vlan-tag 2101 2107

? vlan-tag 2501 2506

? vlan-tag 2507 2516

? vlan-tag 2888

? vlan-tag 3201 3208

? vlan-tag 3301 3305

? vlan-tag 3306 3317

? vlan-tag 3508 3511

? vlan-tag 3501 3507

? vlan-tag 3512 3520

? vlan-tag 3608 3611

? vlan-tag 3601 3607

? vlan-tag 3612 3619

? vlan-tag 3666

? vlan-tag 301 wlan

? vlan-tag 2301 2320

? link-mode auto

? end

interface eth2

? mode common-ip

? ip address 172.31.14.1 255.255.255.0

? link-mode auto

? end

!

route default 123.7.17.254

!

radius server 172.31.14.2amtium? ? ? 后面一定要命名

radius udp-port 1812 1813

radius timeout 5 retry 3

radius nas-ip-address 172.31.14.2

radius nas-identifier XINYANG? ? ? ? 在申請短信的時(shí)候,李東成會給你一個(gè)內(nèi)部的ID號办桨,把那個(gè)配置在這兩個(gè)地方

radius called-station-idXINYANG? ? 在申請短信的時(shí)候筹淫,李東成會給你一個(gè)內(nèi)部的ID號,把那個(gè)配置在這兩個(gè)地方

radius vsa-encapsulation

radius enable

!

no radius admin-aaa enable

!

pnp interface eth1

pnp enable

pnp dns-redirect only-pnp

pnp smtp-server 172.31.14.2

no pnp auto-smtp-redirect

pnp non-portal global

!

access-ctrl network 172.31.16.0 255.255.248.0

access-ctrl rate-limit102400 102400 1

access-ctrl keep-alive 60 180

access-ctrl idle-timeout 15 1

access-ctrl connection-limit1024

access-ctrl local-connection-limit 32

access-ctrl spam-threshold 5 300 30

access-ctrl anti-spam-level normal

access-ctrl anti-dos enable

access-ctrl dos-threshold 6 50 36

access-ctrl user-isolation

no access-ctrl deny-admin-login

!

access-ctrl walled-garden network 172.31.14.2 255.255.255.255 rate-limit102400 102400

!

portal https-redirect enable

portal icmp-redirect enable

no portal accept-and-pass global

portalhome-url http://baidui.com

portal redirect-home-url

portal login-result-page auto

no portal self-help-domain

!

portal vlan authentication 2101 2107

portal vlan authentication 2501 2506

portal vlan authentication 2507 2516

portal vlan authentication 2888

portal vlan authentication 3201 3208

portal vlan authentication 3301 3305

portal vlan authentication 3306 3317

portal vlan authentication 3508 3511

portal vlan authentication 3501 3507

portal vlan authentication 3512 3520

portal vlan authentication 3608 3611

portal vlan authentication 3601 3607

portal vlan authentication 3612 3619

portal vlan authentication 3666

portal vlan authentication 2301 2320

portal vlan public-roaming 301 force-mac-auth

!

portal policy port 1404

portal policy timeout 60

no portal policy strict-mac-roaming

portal policy enable

portal policy guest-table enable

!

portal wispr-gis server 112.64.161.133 amtium

portal wispr-gis url https://service.amttgroup.com/wispr/login.php

portal wispr-gis location-name WISPr Site

no portal wispr-gis enable

!

no portal ads-push enable

portal ads-push timeout 30

portal ads-push frame-height 38

portal ads-push disconnect-warn 5

portal ads-push ignore public-ip-users

!

conn-track tcp-timeout 900

conn-track udp-timeout 180

conn-track icmp-timeout 30

conn-track max-limit 81920

!

nat eth0 map 172.254.254.0/23 123.7.17.124

nat eth0 map 172.31.14.0/24 123.7.17.124

nat eth0 redirect tcp 123.7.17.124 62222 172.31.14.2 22

nat eth0 redirect tcp 123.7.17.124 7070 172.31.14.2 443

nat eth0 map 172.31.16.0/21 123.7.17.124

!

vpool auto-allocate ike

vpool auto-allocate pptp

no vpool uni-direction

!

dhcp lease 3600

dhcp pnp-dns-suffix

dhcp interface eth1

dhcp pool 172.31.16.2 172.31.23.254 255.255.248.0 172.31.16.1

!

mac-vlan mac-limit-per-vlan global 512

mac-vlan mac-limit-per-vlan wlan 2048

!

snmp communityamttroread? ? ? Hinos要改殊霞,及交換機(jī)要添加這條命令

snmp communityamttrwwrite

snmp trap host 172.31.14.2 community amttrw v2c

!

qos http-bulk-content 8

qos fuzzy-p2p-dfi

no qos rsvb-per-user

!

qos eth0 htb-shaping 120M

qos eth0 channel 1 committed-rate 80M ceiling-rate 100M priority 3

qos eth0 channel 2 committed-rate 20M ceiling-rate 100M priority 4

!

enable secret $1$7PxM3Y2V$rx.yzuzDjNobb2tV6pnbx0

!

user name amtium password XingSheJiuDian@2019

user name admin password JianYeXingShe@2019

!

traffic-log enable

traffic-log max-pps-limit 1024

traffic-log server 172.31.14.2 1818

no traffic-log http-user-id enable

no traffic-log extract-url enable

traffic-log ignore non-established-tcp

traffic-log ignore dns

traffic-log ignore netbios

!

black-mac auto-detect enable? ? ? ? ? 黑名單要開啟

black-mac threshold 60 6 6 1500

black-mac timeout 180

!

terminal timeout 30

!

bwstat interface eth0

!

no dynamic-bw-share enable

no dynamic-bw-share mark-qos-id

!

no local-user authentication enable

local-user session-timeout 1440

local-user iphone-auto-pass-timeout 0

!

vlan-user authentication radius

no vlan-user canonical-number

vlan-user name 8101 tag 2101 number 8

vlan-user name 8501 tag 2501 number 5

vlan-user name 8507 tag 2507 number 8

vlan-user name 6201 tag 3201 number 7

vlan-user name 6301 tag 3301 number 4

vlan-user name 6306 tag 3306 number 10

vlan-user name 6508 tag 3508 number 4

vlan-user name 6501 tag 3501 number 6

vlan-user name 6512 tag 3512 number 7

vlan-user name 6608 tag 3608 number 4

vlan-user name 6601 tag 3601 number 6

vlan-user name 6612 tag 3612 number 6

vlan-user name 6666 tag 3666

vlan-user name 8888 tag 2888

vlan-user name 8301 tag 2301 number 16

!

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末摧阅,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子绷蹲,更是在濱河造成了極大的恐慌棒卷,老刑警劉巖,帶你破解...
    沈念sama閱讀 216,919評論 6 502
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件祝钢,死亡現(xiàn)場離奇詭異比规,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)拦英,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,567評論 3 392
  • 文/潘曉璐 我一進(jìn)店門蜒什,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人疤估,你說我怎么就攤上這事灾常■耄” “怎么了?”我有些...
    開封第一講書人閱讀 163,316評論 0 353
  • 文/不壞的土叔 我叫張陵钞瀑,是天一觀的道長沈撞。 經(jīng)常有香客問我,道長雕什,這世上最難降的妖魔是什么缠俺? 我笑而不...
    開封第一講書人閱讀 58,294評論 1 292
  • 正文 為了忘掉前任,我火速辦了婚禮监徘,結(jié)果婚禮上晋修,老公的妹妹穿的比我還像新娘。我一直安慰自己凰盔,他們只是感情好墓卦,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,318評論 6 390
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著户敬,像睡著了一般落剪。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上尿庐,一...
    開封第一講書人閱讀 51,245評論 1 299
  • 那天忠怖,我揣著相機(jī)與錄音,去河邊找鬼抄瑟。 笑死凡泣,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的皮假。 我是一名探鬼主播鞋拟,決...
    沈念sama閱讀 40,120評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼惹资!你這毒婦竟也來了贺纲?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 38,964評論 0 275
  • 序言:老撾萬榮一對情侶失蹤褪测,失蹤者是張志新(化名)和其女友劉穎猴誊,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體侮措,經(jīng)...
    沈念sama閱讀 45,376評論 1 313
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡懈叹,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,592評論 2 333
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了分扎。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片项阴。...
    茶點(diǎn)故事閱讀 39,764評論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖笆包,靈堂內(nèi)的尸體忽然破棺而出环揽,到底是詐尸還是另有隱情,我是刑警寧澤庵佣,帶...
    沈念sama閱讀 35,460評論 5 344
  • 正文 年R本政府宣布歉胶,位于F島的核電站,受9級特大地震影響巴粪,放射性物質(zhì)發(fā)生泄漏通今。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,070評論 3 327
  • 文/蒙蒙 一肛根、第九天 我趴在偏房一處隱蔽的房頂上張望辫塌。 院中可真熱鬧,春花似錦派哲、人聲如沸臼氨。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,697評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽储矩。三九已至,卻和暖如春褂乍,著一層夾襖步出監(jiān)牢的瞬間持隧,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,846評論 1 269
  • 我被黑心中介騙來泰國打工逃片, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留屡拨,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 47,819評論 2 370
  • 正文 我出身青樓褥实,卻偏偏與公主長得像呀狼,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個(gè)殘疾皇子性锭,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,665評論 2 354