Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
OpenPortalServer对接 华为S5700配置.txt 5.20 KB
Copy Edit Web IDE Raw Blame History
LeeSon authored 2015-10-09 16:03 . SSH版本初始化
[Quidway]dis cur
#
!Software Version V200R001C00SPC300
sysname Quidway
#
vlan batch 10 100
#
web-auth-server version v2
portal free-rule 2 source ip 10.0.0.100 mask 255.255.255.255
portal free-rule 3 destination ip 10.0.0.100 mask 255.255.255.255
portal free-rule 4 destination ip 10.0.0.1 mask 255.255.255.255
portal free-rule 5 source ip 10.0.0.1 mask 255.255.255.255
portal free-rule 6 source ip 192.168.100.1 mask 255.255.255.255
portal free-rule 7 destination ip 192.168.100.1 mask 255.255.255.255
#
domain leeson.com
#
http server load s5700si-v200r001c00.001.web.zip
#
undo nap slave enable
#
dhcp enable
#
radius-server template leeson
radius-server shared-key simple leeson
radius-server authentication 10.0.0.100 1812
radius-server accounting 10.0.0.100 1813
radius-server retransmit 2
#
web-auth-server leeson
server-ip 10.0.0.100
port 50100
shared-key simple leeson
url http://10.0.0.100/OpenPortalServer
source-ip 10.0.0.1
#
aaa
authentication-scheme default
authentication-scheme leeson
authentication-mode radius
authorization-scheme default
accounting-scheme default
accounting-scheme leeson
accounting-mode radius
domain default
domain default_admin
domain leeson.com
authentication-scheme leeson
accounting-scheme leeson
radius-server leeson
local-user admin password cipher %$%$03~N$}rD0X}s=D%#SD-/ybYP%$%$
local-user admin privilege level 15
local-user admin service-type http
local-user leeson password cipher %$%$3.-^M/J1RB:MO{"\t&bDye\S%$%$
local-user leeson privilege level 15
#
interface Vlanif1
#
interface Vlanif10
ip address 10.0.0.1 255.255.255.0
web-auth-server leeson direct
#
interface Vlanif100
ip address 192.168.100.1 255.255.255.0
web-auth-server leeson direct
dhcp select interface
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/5
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/7
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/8
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/9
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/10
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/11
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/12
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/13
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/14
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/15
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/16
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/17
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/18
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/19
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/20
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/21
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/22
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/23
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/24
port link-type access
port default vlan 100
#
interface NULL0
#
user-interface con 0
authentication-mode password
set authentication password cipher %$%$ZN7:*dgkl@L}ZO(.#=3B,vmd@9|*0:bG@A>zWqJhfx%".|sn%$%$
user-interface vty 0 4
authentication-mode aaa
user-interface vty 16 20
#
port-group allport
group-member GigabitEthernet0/0/1
group-member GigabitEthernet0/0/2
group-member GigabitEthernet0/0/3
group-member GigabitEthernet0/0/4
group-member GigabitEthernet0/0/5
group-member GigabitEthernet0/0/6
group-member GigabitEthernet0/0/7
group-member GigabitEthernet0/0/8
group-member GigabitEthernet0/0/9
group-member GigabitEthernet0/0/10
group-member GigabitEthernet0/0/11
group-member GigabitEthernet0/0/12
group-member GigabitEthernet0/0/13
group-member GigabitEthernet0/0/14
group-member GigabitEthernet0/0/15
group-member GigabitEthernet0/0/16
group-member GigabitEthernet0/0/17
group-member GigabitEthernet0/0/18
group-member GigabitEthernet0/0/19
group-member GigabitEthernet0/0/20
group-member GigabitEthernet0/0/21
group-member GigabitEthernet0/0/22
group-member GigabitEthernet0/0/23
group-member GigabitEthernet0/0/24
#
port-group vlan100
group-member GigabitEthernet0/0/13
group-member GigabitEthernet0/0/14
group-member GigabitEthernet0/0/15
group-member GigabitEthernet0/0/16
group-member GigabitEthernet0/0/17
group-member GigabitEthernet0/0/18
group-member GigabitEthernet0/0/19
group-member GigabitEthernet0/0/20
group-member GigabitEthernet0/0/21
group-member GigabitEthernet0/0/22
group-member GigabitEthernet0/0/23
group-member GigabitEthernet0/0/24
#
return

Comment ( 0 )

Sign in for post a comment