中兴2826交换机配置实例

SXL-2826-06(cfg)#show run
Software version: V1.1.12.S
Switch's Mac Address: 00.22.44.4d.d6.15

!
syslocation No.68_Zijinghua_Road,Yuhuatai_District,Nanjing,CHINA
hostname ppp-2806
promptlen 32
create user admin admin
set user local admin login-password B612AD6F2259089A79740AD7CB5A38BF
line-vty timeout 10
set loginauth local
set adminauth disable
!
set port 1 pvid 20
set port 1 security enable
set port 2 pvid 20
set port 2 security enable
set port 3 pvid 20
set port 3 security enable
set port 4 pvid 20
set port 4 security enable
set port 5 pvid 20
set port 5 security enable
set port 6 pvid 20
set port 6 security enable
set port 7 pvid 20
set port 7 security enable
set port 8 pvid 20
set port 8 security enable
set port 9 pvid 20
set port 9 security enable
set port 10 pvid 20
set port 10 security enable
set port 11 pvid 20
set port 11 security enable
set port 12 pvid 20
set port 12 security enable
set port 13 pvid 20
set port 13 security enable
set port 14 pvid 20
set port 14 security enable
set port 15 pvid 20
set port 15 security enable
set port 16 pvid 20
set port 16 security enable
set port 17 pvid 20
set port 17 security enable
set port 18 pvid 20
set port 18 security enable
set port 19 pvid 20
set port 19 security enable
set port 20 pvid 20
set port 20 security enable
set port 21 pvid 20
set port 21 security enable
set port 22 pvid 20
set port 22 security enable
set port 23 pvid 20
set port 23 security enable
set port 24 pvid 20
set port 24 security enable
!
!
!
set vlan 1 add port 1-26 untag
set vlan 1 add trunk 1-8 untag
create vlan 20 name aaavlan
set vlan 20 add port 1-24 untag
set vlan 20 add port 25-26 tag
create vlan 200 name bbbvlan
set vlan 200 add port 25-26 tag
set vlan 20 enable
set vlan 100 enable
set vlan 200 enable
!
!
!
!
!

!

!

!
!
!

!
!
!
!
!
!
create community public public
create view zteView include 1.3.6.1
set community public view zteView
!
!
set ipport 1 ipaddress 192.168.200.26 255.255.255.0
set ipport 1 vlan 200
set ipport 1 enable
iproute 0.0.0.0 0.0.0.0 192.168.200.254 1
!
!
!
!
radius isp stu enable
radius isp stu defaultisp enable
radius isp stu sharedsecret aaazte
radius isp stu add accounting 192.168.10.250 1813
radius isp stu add authentication 192.168.10.250 1812
radius isp stu client 192.168.200.26
aaa-control port 1 dot1x enable
aaa-control port 1 keepalive enable
aaa-control port 1 accounting enable
aaa-control port 1 multiple-hosts enable
aaa-control port 1 max-hosts 48
aaa-control port 2 dot1x enable
aaa-control port 2 keepalive enable
aaa-control port 2 accounting enable
aaa-control port 2 multiple-hosts enable

aaa-control port 2 max-hosts 48
aaa-control port 3 dot1x enable
aaa-control port 3 keepalive enable
aaa-control port 3 accounting enable
aaa-control port 3 multiple-hosts enable
aaa-control port 3 max-hosts 48
aaa-control port 4 dot1x enable
aaa-control port 4 keepalive enable
aaa-control port 4 accounting enable
aaa-control port 4 multiple-hosts enable
aaa-control port 4 max-hosts 48
aaa-control port 5 dot1x enable
aaa-control port 5 keepalive enable
aaa-control port 5 accounting enable
aaa-control port 5 multiple-hosts enable
aaa-control port 5 max-hosts 48
aaa-control port 6 dot1x enable
aaa-control port 6 keepalive enable
aaa-control port 6 accounting enable
aaa-control port 6 multiple-hosts enable
aaa-control port 6 max-hosts 48
aaa-control port 7 dot1x enable
aaa-control port 7 keepalive enable
aaa-control port 7 accounting enable
aaa-control port 7 multiple-hosts enable
aaa-control port 7 max-hosts 48
aaa-control port 8 dot1x enable
aaa-control port 8 keepalive enable
aaa-control port 8 accounting enable
aaa-control port 8 multiple-hosts enable
aaa-control port 8 max-hosts 48
aaa-control port 9 dot1x enable
aaa-control port 9 keepalive enable
aaa-control port 9 accounting enable
aaa-control port 9 multiple-hosts enable
aaa-control port 9 max-hosts 48
aaa-control port 10 dot1x enable
aaa-control port 10 keepalive enable
aaa-control port 10 accounting enable
aaa-control port 10 multiple-hosts enable
aaa-control port 10 max-hosts 48
aaa-control port 11 dot1x enable
aaa-control port 11 keepalive enable
aaa-control port 11 accounting enable
aaa-control port 11 multiple-hosts enable
aaa-control port 11 max-hosts 48
aaa-control port 12 dot1x enable
aaa-control port 12 keepalive enable
aaa-control port 12 accounting enable
aaa-control port 12 multiple-hosts enable
aaa-control port 12 max-hosts 48
aaa-control port 13 dot1x enable
aaa-control port 13 keepalive enable
aaa-control port 13 accounting enable
aaa-control port 13 multiple-hosts enable
aaa-control port 13 max-hosts 48
aaa-control port 14 dot1x enable
aaa-control port 14 keepalive enable
aaa-control port 14 accounting enable
aaa-control port 14 multiple-hosts enable
aaa-control port 14 max-hosts 48
aaa-control port 15 dot1x enable
aaa-control port 15 keepalive enable
aaa-control port 15 accounting enable
aaa-control port 15 multiple-hosts enable
aaa-control port 15 max-hosts 48
aaa-control port 16 dot1x enable
aaa-control port 16 keepalive enable
aaa-control port 16 accounting enable
aaa-control port 16 multiple-hosts enable
aaa-control port 16 max-hosts 48
aaa-control port 17 dot1x enable
aaa-control port 17 keepalive enable
aaa-control port 17 accounting enable
aaa-control port 17 multiple-hosts enable
aaa-control port 17 ma

x-hosts 48
aaa-control port 18 dot1x enable
aaa-control port 18 keepalive enable
aaa-control port 18 accounting enable
aaa-control port 18 multiple-hosts enable
aaa-control port 19 dot1x enable
aaa-control port 19 keepalive enable
aaa-control port 19 accounting enable
aaa-control port 19 multiple-hosts enable
aaa-control port 19 max-hosts 48
aaa-control port 20 dot1x enable
aaa-control port 20 keepalive enable
aaa-control port 20 accounting enable
aaa-control port 20 multiple-hosts enable
aaa-control port 20 max-hosts 48
aaa-control port 21 dot1x enable
aaa-control port 21 keepalive enable
aaa-control port 21 accounting enable
aaa-control port 21 multiple-hosts enable
aaa-control port 21 max-hosts 48
aaa-control port 22 dot1x enable
aaa-control port 22 keepalive enable
aaa-control port 22 accounting enable
aaa-control port 22 multiple-hosts enable
aaa-control port 22 max-hosts 48
aaa-control port 23 dot1x enable
aaa-control port 23 keepalive enable
aaa-control port 23 accounting enable
aaa-control port 23 multiple-hosts enable
aaa-control port 23 max-hosts 48
aaa-control port 24 dot1x enable
aaa-control port 24 keepalive enable
aaa-control port 24 accounting enable
aaa-control port 24 multiple-hosts enable
aaa-control port 24 max-hosts 48
dot1x re-authenticate enable
!
!
set syslog level informational
!
!


相关文档
最新文档