2023年河北省職業院校技能大賽網絡系統管理賽項樣題解法

?

有問題請留言或主頁私信咨詢

配置文件有部分測試時的冗余配置無視即可。

解法只有大致解法,并不完整。請參考配置,自己補全

基礎配置

1.所有交換機和無線控制器開啟SSH服務,用戶名密碼分別為admin、admin1234;密碼為明文類型,特權密碼為admin@1234。

所有交換機、AC執行

enable password admin@1234
enable service ssh-server
username admin password admin1234
line vty 0 4transport input sshlogin local

2.交換設備配置SNMP功能,向主機172.16.0.254發送Trap消息版本采用V2C,讀寫的Community為“Test”,只讀的Community為“public”,開啟Trap消息。

所有交換機執行

snmp-server host 172.16.0.254 traps version 2c public
snmp-server host 172.16.0.254 traps version 2c Test
snmp-server enable traps
snmp-server community public ro 
snmp-server community Test rw

有線網絡

1.在全網Trunk鏈路上做VLAN修剪。

交換設備示例,只允許特定vlan通過

interface GigabitEthernet 0/24switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,100ip dhcp snooping trust

2.為隔離網絡中部分終端用戶間的二層互訪,在交換機S1、S2上使用端口保護。

相關接口下執行

interface GigabitEthernet 0/1switchport protected

3.為了保證接入區DHCP服務安全及偽IP源地址攻擊,具體要求如下:DHCP服務器搭建于S3上對VLAN10以內的用戶進行地址分配;為了防御從非法DHCP服務器獲得的地址要求在S1、S2上部署DHCP Snooping功能。

S1和S2開啟DHCP Snooping

service dhcp
ip dhcp snooping
interface GigabitEthernet 0/23
ip dhcp snooping trust
interface GigabitEthernet 0/24
ip dhcp snooping trust

在S3部署dhcp服務

service dhcp
ip dhcp pool 10network 192.1.10.0 255.255.255.0dns-server 8.8.8.8 default-router 192.1.10.254 

4.在本部交換機S3、S4上配置MSTP防止二層環路;要求VLAN10、VLAN20、VLAN30數據流經過S3轉發,VLAN40、VLAN50、VLAN100數據流經過S4轉發,S3、S4其中一臺宕機時均可無縫切換至另一臺進行轉發。所配置的參數要求如下:region-name為test;revision版本為1;實例1,包含VLAN10,VLAN20,VLAN30;實例2,包含VLAN40,VLAN50,VLAN100;S3作為實例0、1中的主根,S4作為實例0、1的從根;S4作為實例2中的主根,S3作為實例2的從根;主根優先級為4096,從根優先級為8192;在S3和S4上配置VRRP,實現主機的網關冗余。所配置的參數要求如表1;S3、S4各VRRP組中高優先級設置為150,低優先級設置為120。

VLANVRRP備份組號(VRID)VRRP虛擬IP
VLAN1010192.1.10.254
VLAN2020192.1.20.254
VLAN3030192.1.30.254
VLAN4040192.1.40.254
VLAN5050192.1.50.254
VLAN100(交換機間)100192.1.100.254

mstp:

全局一致

spanning-tree mst configuration
revision 1
name test
instance 1 vlan 10, 20, 30
instance 2 vlan 40, 50, 100

根據實際情況調整優先級

spanning-tree mst 0 priority 4096
spanning-tree mst 1 priority 4096
spanning-tree mst 2 priority 8192

vrrp:

interface VLAN 20
ip address 192.1.20.252 255.255.255.0
vrrp 20 ip 192.1.20.254
vrrp 20 priority 150

根據情況調整

5.本部內網使用靜態路由、OSPF多協議組網。其中S3、S4、S5、EG1、EG2、R1使用OSPF協議,本部其余三層設備間使用靜態路由協議。本部與分校廣域網間使用靜態路由協議(R1除外),各分校局域網環境使用靜態路由協議。要求網絡具有安全性、穩定性。具體要求如下:本部OSPF進程號為10,規劃多區域;區域0(S3、S4),區域1(S3,S4,S5),區域2(S3,S4,EG1,EG2),區域3(S4、R1);區域1為完全NSSA區域;AP使用靜態路由協議;本部與分校通過重分發引入彼此路由;要求本部業務網段中不出現協議報文;不允許重發布直連路由,Network方式發布本地明細路由;為了管理方便,需要發布Loopback地址;優化OSPF相關配置,以盡量加快OSPF收斂;重發布路由進OSPF中使用類型1;不允許在R1設備使用IPV4靜態路由。

簡單配置 - 動態

6.考慮到廣域網線路安全性較差,所以需要使用IPSec對各分校到總校的業務數據進行加密。要求使用動態隧道主模式,安全協議采用esp協議,加密算法采用3des,認證算法采用md5,以IKE方式建立IPsec SA。

7.在R1上所配置的參數要求如下:ipsec加密轉換集名稱為myset;動態ipsec加密圖名稱為dymymap;預共享密鑰為明文123456;靜態的ipsec加密圖mymap。

8.在R2和R3上所配置的參數要求如下:ACL編號為101;靜態的ipsec加密圖mymap預共享密鑰為明文123456。

9.考慮到數據分流及負載均衡的目的,針對本部與各分校數據流走向要求如下:通過修改OSPF接口COST達到分流的目的,且其值必須為5或10;OSPF通過路由引入時改變引入路由的COST值,且其值必須為5或10;本部VLAN10,VLAN20,VLAN30用戶與互聯網互通主路徑規劃為:S3-EG1;本部VLAN40用戶與互聯網互通主路徑規劃為:S4-EG2;各分校用戶與互聯網互通主路徑規劃為:S4-EG2;云平臺服務器與互聯網互通主路徑規劃為S3-EG1;主鏈路故障可無縫切換到備用鏈路上。

修改cost,已通過mstp進行分流,修改ospf的cost值即可

10.總部機構部署IPV6實現其IPV6終端互聯互通,在S3和S4上配置VRRP for IPv6,實現主機的IPv6網關冗余;VRRP與MSTP的主備狀態與IPV4網絡一致。

interface VLAN 30
vrrp 30 ipv6 FE80::130
vrrp 30 ipv6 2001:192:30::254
ipv6 address 2001:192:30::252/64
vrrp ipv6 30 priority 150
vrrp ipv6 30 accept_mode

11.S3、S4、R1間部署OSPFV3,進程為10,區域為0;R2、S6間部署OSPFV3進程為20,區域為0;R3、S7間部署OSPFV3進程為30,區域為0。

12.S3、S4、AC1、AC2部署IPV6靜態路由協議,實現總部有線與無線IPV6終端互聯互通。

13.R1\R2間部署IPV6 6to4動態隧道,隧道內部署靜態路由協議,實現總分機構間IPV6終端互聯互通。

interface Tunnel 1
tunnel mode ipv6ip 6to4
tunnel source Serial 2/0
ipv6 address 2002:1400:1::1/64
ipv6 enableipv6的ip是計算得出

ipv6ip 6to4 隧道配置命令

注意 需要寫條2002::/16的路由才能通

14.R1\R3間部署IPV6 GRE隧道,隧道內部署OSPFV3協議,實現總分機構間IPV6終端互聯互通。IPV6地址規劃如表2:

設備接口IPV6地址VRRP組號虛擬IP
S3VLAN102001:192:10::252/64102001:192:10::254/64
VLAN202001:192:20::252/64202001:192:20::254/64
VLAN302001:192:30::252/64302001:192:30::254/64
VLAN402001:192:40::252/64402001:192:40::254/64
VLAN1002001:192:100::252/641002001:192:100::254/64
S4VLAN102001:192:10::253/64102001:192:10::254/64
VLAN202001:192:20::253/64202001:192:20::254/64
VLAN302001:192:30::253/64302001:192:30::254/64
VLAN402001:192:40::253/64402001:192:40::254/64
VLAN1002001:192:100::253/641002001:192:100::254/64
GI0/72001:193:10::1/64
AC1VLAN602001:192:60::252/64602001:192:60::254/64
VLAN1002001:192:100::2/641002001:192:100::1/64
AC2VLAN602001:192:60::253/64602001:192:60::254/64
VLAN1002001:192:100::3/641002001:192:100::1/64
R1Gi0/02001:193:10::2/64
Tunnel 02001:191:10::1/64
Tunnel 1自行計算
R2Gi0/02001:193:20::1/64
Tunnel 1自行計算
S6Gi0/242001:193:20::2/64
VLAN102001:194:10::254/64
R3Gi0/02001:193:30::1/64
Tunnel02001:191:10::2/64
S7Gi0/242001:193:30::2/64
VLAN102001:195:10::254/64

無線網絡

1.繪制AP點位圖(包括:AP型號、編號、信道等信息,其中信道采用2.4G的1、6、11三個信道進行規劃)。

2.使用無線地勘軟件,輸出AP點位圖的2.4G頻道的信號仿真熱圖(仿真信號強度要求大于-65db)。

3.根據表3無線產品價格表,制定該無線網絡工程項目設備的預算表。

產品型號產品特征傳輸速率
(2.4G/最大)
推薦/最大帶點數功率價格(元)
AP1雙頻雙流300M/1.167G32/256100mw6000
AP2雙頻雙流300M/600M32/256100mw11000
AP3單頻單流150M12/3260mw2500
線纜110米饋線N/AN/AN/A1600
線纜215米饋線N/AN/AN/A2400
天線雙頻單流/單頻單流N/AN/AN/A500
Switch24口POE交換機N/AN/A240w15000
AC無線控制器6*1000M32/20040w50000

4.使用AC為本部無線用戶DHCP服務器,使用S3、S4為本部AP的DHCP服務器,S3分配AP地址范圍為其網段的1至100,S4分配AP地址范圍為其網段的101至200。

5.創建本部SSID(WLAN-ID 1)為test-ZX_XX(XX現場提供),AP-Group為ZX,本部無線用戶關聯SSID后可自動獲取地址。

6.AC1為主用,AC2為備用。AP與AC1、AC2均建立隧道,當AP與AC1失去連接時能無縫切換至AC2并提供服務。

7.要求本部無線用戶啟用集中轉發模式。

8.本部關閉低速率(1M,6M)應用接入。

9.AP2胖模式,以透明形式進行部署,S6部署DHCP為無線終端和AP分配地址。

10.AP2創建SSID(WLAN-ID 1)為test-BJ_XX(XX現場提供),采用WEB進行認證,認證用戶名為user1,密碼為XX(現場提供)。

11.AP3胖模式,以路由形式進行部署,本地部署DHCP為無線終端分配地址。

出口網絡

1.本部出口網關上配置訪問控制列表,允許本部、分部有線無線業務網段(ACL編號110)通過NAPT訪問聯通、教育網資源。

2.在本部EG1上配置,使本部核心交換S4(11.1.0.4)設備的Telnet服務可以通過互聯網被訪問,將其地址映射至聯通線路上,映射地址為196.1.0.10。

3.需確保NAT映射數據流來回一致,啟用EG源進源出功能保證任何外網用戶(聯通、電信、移動、教育……)均可訪問映射地址196.1.0.10。

4.在本部網關上啟用Web Portal認證服務,并創建user1、user2,密碼均為123456。有線用戶需進行WEB認證訪問互聯網。

5.無線用戶不需在EG上進行WEB認證即可訪問互聯網。

拓撲/IP規劃

?

image

?

設備接口或VLANVLAN名稱二層或三層規劃說明
S1VLAN10Office10Gi0/1至Gi0/4辦公網段
VLAN20Office20Gi0/5至Gi0/8辦公網段
VLAN30Office30Gi0/9至Gi0/12辦公網段
VLAN40Office40Gi0/13至Gi0/16辦公網段
VLAN50APGi0/21至Gi0/22無線AP管理
VLAN100Manage192.1.100.4/24設備管理VLAN
S2VLAN10Office10Gi0/1至Gi0/4辦公網段
VLAN20Office20Gi0/5至Gi0/8辦公網段
VLAN30Office30Gi0/9至Gi0/12辦公網段
VLAN40Office40Gi0/13至Gi0/16辦公網段
VLAN50APGi0/21至Gi0/22無線AP管理
VLAN100Manage192.1.100.5/24設備管理VLAN
S3VLAN10Office10192.1.10.252/24辦公網段
VLAN20Office20192.1.20.252/24辦公網段
VLAN30Office30192.1.30.252/24辦公網段
VLAN40Office40192.1.40.252/24辦公網段
VLAN50AP192.1.50.252/24無線AP管理
VLAN100Manage192.1.100.252/24設備管理VLAN
Gi0/4 10.1.0.41/30互聯EG2
Gi0/5 10.1.0.1/30互聯S5
Gi0/6 10.1.0.5/30互聯EG1
LoopBack 0 11.1.0.33/32 
S4VLAN10Office10192.1.10.253/24辦公網段
VLAN20Office20192.1.20.253/24辦公網段
VLAN30Office30192.1.30.253/24辦公網段
VLAN40Office40192.1.40.253/24辦公網段
VLAN50AP192.1.50.253/24無線AP管理
VLAN100Manage192.1.100.253/24設備管理VLAN
Gi0/4 10.1.0.37/30互聯EG1
Gi0/5 10.1.0.33/30互聯S5
Gi0/6 10.1.0.9/30互聯EG2
Gi0/7 10.1.0.13/30互聯R1
LoopBack 0 11.1.0.34/32 
AC1LoopBack 0 11.1.0.204/32 
VLAN60Wiressless192.1.60.252/24無線用戶
Vlan100Manage192.1.100.2/24管理與互聯VLAN
AC2LoopBack 0 11.1.0.205/32 
VLAN60Wiressless192.1.60.253/24無線用戶
Vlan100Manage192.1.100.3/24管理與互聯VLAN
S5LoopBack 0 11.1.0.5/32 
Gi0/23 10.1.0.2/30互聯S3
Gi0/24 10.1.0.34/30互聯S4
EG1Gi0/0 10.1.0.6/30互聯S3
Gi0/1 196.1.0.1/24互聯EG2
Gi0/2 197.1.0.1/24互聯EG2
Gi0/3 10.1.0.38/30互聯S4
LoopBack 0 11.1.0.11/32 
EG2Gi0/0 10.1.0.10/30互聯S4
Gi0/1 196.1.0.2/24互聯EG1
Gi0/2 197.1.0.2/24互聯EG1
Gi0/3 10.1.0.42/30互聯S3
LoopBack 0 11.1.0.12/32 
R1Gi0/0 10.1.0.14/30互聯S4
S2/0 20.0.0.1/30互聯R2
S3/0 10.1.0.22/30捆綁組1成員
S4/0 10.1.0.22/30捆綁組1成員
LoopBack 0 11.1.0.1/32 
R2Gi0/0 10.1.0.25/30互聯S6
S2/0 20.0.0.2/30互聯R1
LoopBack 0 11.1.0.2/32 
R3Gi0/0 10.1.0.29/30互聯S7
S3/0 10.1.0.21/30捆綁組1成員
S4/0 10.1.0.21/30捆綁組1成員
LoopBack 0 11.1.0.3/32 
S6Gi0/24 10.1.0.26/30 
VLAN10Wire_user194.1.10.254/24分校有線用戶Gi0/1-20
VLAN20Wireless_user194.1.20.254/24分校無線用戶
VLAN30AP194.1.30.254/24分校APGi0/21-23
LoopBack 0 11.1.0.6/32
S7Gi0/2310.1.0.49/30AP
Gi0/2410.1.0.30/30
VLAN10Wire_user195.1.10.254/24分校有線用戶Gi0/1-20
LoopBack 0 11.1.0.7/32
AP3Gi0/1 10.1.0.50/30
BVI20 195.1.20.254/24分校無線用戶

設備配置

部分設備有測試的冗余配置,無視即可。

R1

R1#show runBuilding configuration...
Current configuration : 3566 bytes!
version RGOS 10.4(3b34)p4 Release(208710)(Mon Oct 24 17:11:09 CST 2016 -ngcf70)
hostname R1
webmaster level 0 username admin password 7 04361c0b370d
!
!
!
!
!
!
diffserv domain default
!
!
!
!
cwmp
!
!
!
route-map fb permit 10match ip address prefix-list fb1set ip next-hop 20.0.0.2
!     
route-map fb permit 20match ip address prefix-list fb2set ip next-hop 10.1.0.21
!
!
!
!
!
!
vlan 1
!
!
no service password-encryption
!
!
!
!
!
!
!
!
!
!
!
!     
!
!
!
ip prefix-list fb1 seq 5 permit 10.1.0.24/30
ip prefix-list fb1 seq 10 permit 11.1.0.2/32
ip prefix-list fb1 seq 15 permit 11.1.0.6/32
ip prefix-list fb1 seq 20 permit 194.1.0.0/16
!
ip prefix-list fb2 seq 5 permit 10.1.0.28/30
ip prefix-list fb2 seq 10 permit 11.1.0.3/32
ip prefix-list fb2 seq 15 permit 10.1.0.48/30
ip prefix-list fb2 seq 20 permit 195.1.10.0/24
ip prefix-list fb2 seq 25 permit 11.1.0.7/32
!
!
!
!
!
!
control-plane
!
control-plane protocolno acpp
!     
control-plane manageno port-filterno arp-carno acpp
!
control-plane datano glean-carno acpp
!
!
!
!
enable service web-server http
enable service web-server https
!
crypto isakmp policy 1encryption 3desauthentication pre-share
!
!
crypto isakmp key 7 1443185e75477d address 0.0.0.0 0.0.0.0
crypto ipsec transform-set myset esp-3des esp-md5-hmac
!
crypto dynamic-map dymay 5set transform-set myset
!
!
!
crypto dynamic-map dymymap 5set transform-set myset
!
!
!
crypto map mymap 10 ipsec-isakmp dynamic dymymap
!
!
!
!
!
!
!
!
!
!
!
!
!
!     
!
interface Serial 2/0encapsulation PPPip address 20.0.0.1 255.255.255.252crypto map mymap
!
interface Serial 3/0encapsulation PPPip address 10.1.0.22 255.255.255.252crypto map mymap
!
interface FastEthernet 1/0
!
interface FastEthernet 1/1
!
interface FastEthernet 1/2
!
interface FastEthernet 1/3
!
interface FastEthernet 1/4
!
interface FastEthernet 1/5
!
interface FastEthernet 1/6
!
interface FastEthernet 1/7
!
interface FastEthernet 1/8
!
interface FastEthernet 1/9
!
interface FastEthernet 1/10
!
interface FastEthernet 1/11
!
interface FastEthernet 1/12
!
interface FastEthernet 1/13
!
interface FastEthernet 1/14
!
interface FastEthernet 1/15
!
interface FastEthernet 1/16
!
interface FastEthernet 1/17
!
interface FastEthernet 1/18
!
interface FastEthernet 1/19
!
interface FastEthernet 1/20
!
interface FastEthernet 1/21
!
interface FastEthernet 1/22
!
interface FastEthernet 1/23
!
interface GigabitEthernet 0/0ip policy route-map fbip ospf network point-to-pointip address 10.1.0.14 255.255.255.252ipv6 address 2001:193:10::2/64ipv6 ospf 10 area 0duplex autospeed auto
!
interface GigabitEthernet 0/1duplex autospeed auto
!     
interface Loopback 0ip address 11.1.0.1 255.255.255.255
!
interface Tunnel 0tunnel source 10.1.0.22tunnel destination 10.1.0.21ipv6 address 2001:191:10::1/64ipv6 ospf 30 area 0
!
interface Tunnel 1tunnel mode ipv6ip 6to4tunnel source Serial 2/0ipv6 address 2002:1400:1::1/64ipv6 enable
!
!
!
!
!
!
ipv6 route 2001:193:20::/64 Tunnel 1
ipv6 route 2002::/16 Tunnel 1
!
!     
ipv6 router ospf 10redistribute staticredistribute ospf 30
!
ipv6 router ospf 30redistribute staticredistribute ospf 10
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 10.1.0.13
!
!     
!
!
!
ref parameter 75 140
line con 0
line aux 0
line vty 0 4login
!
!
end
R1#   

R2

R2#show runBuilding configuration...
Current configuration : 2767 bytes!
version RGOS 10.4(3b34)p4 Release(208710)(Mon Oct 24 17:11:09 CST 2016 -ngcf70)
hostname R2
webmaster level 0 username admin password 7 073f07221c1c
!
!
!
!
!
!
diffserv domain default
!
!
!
!
cwmp
!
!
!
!
!     
!
!
!
vlan 1
!
!
no service password-encryption
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip access-list extended 10110 permit ip any any 
!
!
!
!
!
control-plane
!
control-plane protocolno acpp
!
control-plane manageno port-filterno arp-carno acpp
!
control-plane datano glean-carno acpp
!
!
!
!
enable service web-server http
enable service web-server https
!
crypto isakmp policy 1encryption 3desauthentication pre-share
!
!
crypto isakmp key 7 1443185e75477d address 20.0.0.1
crypto ipsec transform-set myset esp-3des esp-md5-hmac
!
crypto map mymap 5 ipsec-isakmpset peer 20.0.0.1   set transform-set mysetmatch address 101
!
!
!
!
!
!
!
!
!
!     
!
!
!
!
!
interface Serial 2/0encapsulation PPPip address 20.0.0.2 255.255.255.252crypto map mymapclock rate 64000
!
interface FastEthernet 1/0
!
interface FastEthernet 1/1
!
interface FastEthernet 1/2
!
interface FastEthernet 1/3
!
interface FastEthernet 1/4
!
interface FastEthernet 1/5
!
interface FastEthernet 1/6
!
interface FastEthernet 1/7
!
interface FastEthernet 1/8
!
interface FastEthernet 1/9
!
interface FastEthernet 1/10
!
interface FastEthernet 1/11
!
interface FastEthernet 1/12
!
interface FastEthernet 1/13
!
interface FastEthernet 1/14
!
interface FastEthernet 1/15
!
interface FastEthernet 1/16
!
interface FastEthernet 1/17
!
interface FastEthernet 1/18
!
interface FastEthernet 1/19
!
interface FastEthernet 1/20
!
interface FastEthernet 1/21
!
interface FastEthernet 1/22
!
interface FastEthernet 1/23
!
interface GigabitEthernet 0/0ip address 10.1.0.25 255.255.255.252ipv6 address 2001:193:20::1/64ipv6 ospf 20 area 0duplex autospeed auto
!
interface GigabitEthernet 0/1duplex autospeed auto
!
interface Loopback 0ip address 11.1.0.2 255.255.255.255
!
interface Tunnel 1tunnel mode ipv6ip 6to4tunnel source Serial 2/0ipv6 address 2002:1400:2::1/64ipv6 enable
!
!
!
!
!
!
ipv6 route 2001::/16 2002:1400:1::1
ipv6 route 2002::/16 Tunnel 1
!
!
ipv6 router ospf 20
!
!
!
!
!
!
!     
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 20.0.0.1
ip route 11.1.0.1 255.255.255.255 20.0.0.1
ip route 11.1.0.6 255.255.255.255 10.1.0.26
ip route 194.1.10.0 255.255.255.0 10.1.0.26
ip route 194.1.20.0 255.255.255.0 10.1.0.26
ip route 194.1.30.0 255.255.255.0 10.1.0.26
!
!
!
!
!
ref parameter 75 140
line con 0
line aux 0
line vty 0 4login
!     
!
end
R2#

R3

R3#show runBuilding configuration...
Current configuration : 2750 bytes!
version RGOS 10.4(3b34)p4 Release(208710)(Mon Oct 24 17:11:09 CST 2016 -ngcf70)
hostname R3
webmaster level 0 username admin password 7 051902330a21
!
!
!
!
!
!
diffserv domain default
!
!
!
!
cwmp
!
!
!
!
!     
!
!
!
vlan 1
!
!
no service password-encryption
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip access-list extended 10110 permit ip any any 
!
!
!
!
!
control-plane
!
control-plane protocolno acpp
!
control-plane manageno port-filterno arp-carno acpp
!
control-plane datano glean-carno acpp
!
!
!
!
enable service web-server http
enable service web-server https
!
crypto isakmp policy 1encryption 3desauthentication pre-share
!
!
crypto isakmp key 7 0549546d577a43 address 20.0.0.1
crypto isakmp key 7 1443185e75477d address 10.1.0.22
crypto ipsec transform-set myset esp-3des esp-md5-hmac
!
crypto map mymap 5 ipsec-isakmpset peer 10.1.0.22   set transform-set mysetmatch address 101
!
!
!
!
!
!
!
!
!     
!
!
!
!
!
!
interface Serial 3/0encapsulation PPPip address 10.1.0.21 255.255.255.252crypto map mymapclock rate 64000
!
interface Serial 4/0encapsulation HDLCclock rate 64000
!
interface FastEthernet 1/0
!
interface FastEthernet 1/1
!
interface FastEthernet 1/2
!
interface FastEthernet 1/3
!     
interface FastEthernet 1/4
!
interface FastEthernet 1/5
!
interface FastEthernet 1/6
!
interface FastEthernet 1/7
!
interface FastEthernet 1/8
!
interface FastEthernet 1/9
!
interface FastEthernet 1/10
!
interface FastEthernet 1/11
!
interface FastEthernet 1/12
!
interface FastEthernet 1/13
!
interface FastEthernet 1/14
!
interface FastEthernet 1/15
!     
interface FastEthernet 1/16
!
interface FastEthernet 1/17
!
interface FastEthernet 1/18
!
interface FastEthernet 1/19
!
interface FastEthernet 1/20
!
interface FastEthernet 1/21
!
interface FastEthernet 1/22
!
interface FastEthernet 1/23
!
interface GigabitEthernet 0/0ip address 10.1.0.29 255.255.255.252ipv6 address 2001:193:30::1/64ipv6 ospf 30 area 0duplex autospeed auto
!
interface GigabitEthernet 0/1duplex autospeed auto
!
interface Loopback 0
!
interface Tunnel 10tunnel source 10.1.0.21tunnel destination 10.1.0.22ipv6 address 2001:191:10::2/64ipv6 ospf 30 area 0
!
!
!
!
!
!
!
ipv6 router ospf 30
!
!
!
!
!
!     
!
!
!
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 10.1.0.22
ip route 10.1.0.48 255.255.255.252 10.1.0.30
ip route 11.1.0.1 255.255.255.255 10.1.0.22
ip route 11.1.0.7 255.255.255.255 10.1.0.30
ip route 195.1.10.0 255.255.255.0 10.1.0.30
!
!
!
!
!
ref parameter 75 140
line con 0
line aux 0
line vty 0 4login
!     
!
end
R3# 

S1

S1#show runBuilding configuration...
Current configuration: 3301 bytesversion S53_RGOS 11.4(1)B70P1
hostname S1
!
spanning-tree mst configurationrevision 1name testinstance 0 vlan 1-9, 11-19, 21-29, 31-39, 41-49, 51-99, 101-4094instance 1 vlan 10, 20, 30instance 2 vlan 40, 50, 100
!
spanning-tree
!
ip dhcp snooping
!
username admin password admin1234
!
no cwmp
!
service dhcp
!
install 0 S5310-24GT4XS
!
sysmac c0b8.e674.e13d
!
nfpp  
!
no service password-encryption
!
redundancy
!
enable password admin@1234
enable service ssh-server
!
vlan 10name Office10
!
vlan 20name Office20
!
vlan 30name Office30
!
vlan 40name Office40
!
vlan 50name AP
!
vlan 100  name Manage
!
vlan 1
!
interface GigabitEthernet 0/1switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/2switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/3switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/4switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/5switchport protectedswitchport access vlan 20
!   
interface GigabitEthernet 0/6switchport protectedswitchport access vlan 20
!
interface GigabitEthernet 0/7switchport protectedswitchport access vlan 20
!
interface GigabitEthernet 0/8switchport protectedswitchport access vlan 20
!
interface GigabitEthernet 0/9switchport protectedswitchport access vlan 30
!
interface GigabitEthernet 0/10switchport protectedswitchport access vlan 30
!
interface GigabitEthernet 0/11switchport protectedswitchport access vlan 30
!   
interface GigabitEthernet 0/12switchport protectedswitchport access vlan 30
!
interface GigabitEthernet 0/13switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/14switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/15switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/16switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/17switchport protected
!
interface GigabitEthernet 0/18switchport protected
!
interface GigabitEthernet 0/19switchport protected
!
interface GigabitEthernet 0/20switchport protected
!
interface GigabitEthernet 0/21switchport protectedswitchport access vlan 50
!
interface GigabitEthernet 0/22switchport protectedswitchport access vlan 50
!
interface GigabitEthernet 0/23switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,100ip dhcp snooping trust
!
interface GigabitEthernet 0/24switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,100ip dhcp snooping trust
!
interface TenGigabitEthernet 0/25
!
interface TenGigabitEthernet 0/26
!
interface TenGigabitEthernet 0/27
!
interface TenGigabitEthernet 0/28
!
interface VLAN 1
!
interface VLAN 10ip helper-address 192.1.10.252
!
interface VLAN 100ip address 192.1.100.4 255.255.255.0
!
snmp-server host 172.16.0.254 traps version 2c public
snmp-server host 172.16.0.254 traps version 2c Test
snmp-server enable traps
snmp-server community public ro 
snmp-server community Test rw 
!   
line console 0
line vty 0 4transport input sshlogin local
!
end
S1#  

S2

S2#show runBuilding configuration...
Current configuration: 3402 bytesversion S53_RGOS 11.4(1)B70P1
hostname S2
!
spanning-tree mst configurationrevision 1name testinstance 0 vlan 1-9, 11-19, 21-29, 31-39, 41-49, 51-99, 101-4094instance 1 vlan 10, 20, 30instance 2 vlan 40, 50, 100
!
spanning-tree
!
ip dhcp snooping
!
username admin password admin1234
!
no cwmp
!
service dhcp
!
install 0 S5310-24GT4XS
!
sysmac c0b8.e674.e19d
!
nfpp  
!
no service password-encryption
!
redundancy
!
enable password admin@1234
enable service ssh-server
!
vlan 10name Office10
!
vlan 20name Office20
!
vlan 30name Office30
!
vlan 40name Office40
!
vlan 50name AP
!
vlan 100  name Manage
!
vlan 1
!
interface GigabitEthernet 0/1switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/2switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/3switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/4switchport protectedswitchport access vlan 10
!
interface GigabitEthernet 0/5switchport protectedswitchport access vlan 20
!     
interface GigabitEthernet 0/6switchport protectedswitchport access vlan 20
!
interface GigabitEthernet 0/7switchport protectedswitchport access vlan 20
!
interface GigabitEthernet 0/8switchport protectedswitchport access vlan 20
!
interface GigabitEthernet 0/9switchport protectedswitchport access vlan 30
!
interface GigabitEthernet 0/10switchport protectedswitchport access vlan 30
!
interface GigabitEthernet 0/11switchport protectedswitchport access vlan 50
!     
interface GigabitEthernet 0/12switchport protectedswitchport access vlan 30
!
interface GigabitEthernet 0/13switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/14switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/15switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/16switchport protectedswitchport access vlan 40
!
interface GigabitEthernet 0/17switchport protected
!
interface GigabitEthernet 0/18switchport protected
!
interface GigabitEthernet 0/19switchport protected
!
interface GigabitEthernet 0/20switchport protected
!
interface GigabitEthernet 0/21switchport protectedswitchport access vlan 50
!
interface GigabitEthernet 0/22switchport protectedswitchport mode trunkswitchport trunk native vlan 50switchport trunk allowed vlan only 50,60
!
interface GigabitEthernet 0/23switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,60,100ip dhcp snooping trust
!
interface GigabitEthernet 0/24switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,60,100ip dhcp snooping trust
!
interface TenGigabitEthernet 0/25
!
interface TenGigabitEthernet 0/26
!
interface TenGigabitEthernet 0/27
!
interface TenGigabitEthernet 0/28
!
interface VLAN 1
!
interface VLAN 10ip helper-address 192.1.10.252
!
interface VLAN 50
!
interface VLAN 100ip address 192.1.100.5 255.255.255.0
!
snmp-server host 172.16.0.254 traps version 2c public
snmp-server host 172.16.0.254 traps version 2c Test
snmp-server enable traps
snmp-server community public ro 
snmp-server community Test rw 
!
line console 0
line vty 0 4transport input sshlogin local
!
end
S2#  

S3

S3#show runBuilding configuration...
Current configuration: 6954 bytesversion S6000E_RGOS 11.4(1)B12P8
hostname S3
!
spanning-tree mst configurationrevision 1name testinstance 0 vlan 1-9, 11-19, 21-29, 31-39, 41-49, 51-99, 101-4094instance 1 vlan 10, 20, 30instance 2 vlan 40, 50, 100
!
spanning-tree mst 0 priority 4096
spanning-tree mst 1 priority 4096
spanning-tree mst 2 priority 8192
spanning-tree
!
username admin password admin1234
!
cwmp
!
service dhcp
ip dhcp excluded-address 192.1.50.101 192.1.50.254
!
ip dhcp pool 10option 138 ip 192.1.100.2 192.1.100.3 network 192.1.100.0 255.255.255.0dns-server 8.8.8.8 default-router 192.1.10.254 
!
ip dhcp pool apoption 138 ip 192.1.100.2 192.1.100.3 network 192.1.50.0 255.255.255.0dns-server 1.1.1.1 default-router 192.1.50.254 
!
install 0 S6000C-48GT4XS-E
!
sysmac 5869.6cf5.2285
!
mmu buffer-mode burst-enhance
!
nfpp
!
no service password-encryption
!
redundancy
!
no zam
enable password admin@1234
enable service ssh-server
!
vlan 10name Office10
!
vlan 20name Office20
!
vlan 30name Office30
!
vlan 40name Office40
!
vlan 50name AP
!
vlan 100name Manage
!
vlan 1
!
interface GigabitEthernet 0/1switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,100
!
interface GigabitEthernet 0/2switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,100
!
interface GigabitEthernet 0/3switchport mode trunkswitchport trunk native vlan 100switchport trunk allowed vlan only 60,100
!
interface GigabitEthernet 0/4no switchportip address 10.1.0.41 255.255.255.252ip ospf network point-to-pointip ospf cost 10
!
interface GigabitEthernet 0/5no switchportip address 10.1.0.1 255.255.255.252ip ospf network point-to-point
!
interface GigabitEthernet 0/6no switchportip address 10.1.0.5 255.255.255.252ip ospf network point-to-pointip ospf cost 5
!
interface GigabitEthernet 0/7
!
interface GigabitEthernet 0/8
!
interface GigabitEthernet 0/9
!
interface GigabitEthernet 0/10
!
interface GigabitEthernet 0/11
!
interface GigabitEthernet 0/12
!
interface GigabitEthernet 0/13
!
interface GigabitEthernet 0/14
!
interface GigabitEthernet 0/15
!
interface GigabitEthernet 0/16
!
interface GigabitEthernet 0/17switchport access vlan 50
!
interface GigabitEthernet 0/18
!
interface GigabitEthernet 0/19
!
interface GigabitEthernet 0/20
!
interface GigabitEthernet 0/21
!
interface GigabitEthernet 0/22
!
interface GigabitEthernet 0/23
!
interface GigabitEthernet 0/24
!
interface GigabitEthernet 0/25
!
interface GigabitEthernet 0/26
!
interface GigabitEthernet 0/27
!
interface GigabitEthernet 0/28
!     
interface GigabitEthernet 0/29
!
interface GigabitEthernet 0/30
!
interface GigabitEthernet 0/31
!
interface GigabitEthernet 0/32
!
interface GigabitEthernet 0/33
!
interface GigabitEthernet 0/34
!
interface GigabitEthernet 0/35
!
interface GigabitEthernet 0/36
!
interface GigabitEthernet 0/37
!
interface GigabitEthernet 0/38
!
interface GigabitEthernet 0/39
!
interface GigabitEthernet 0/40
!     
interface GigabitEthernet 0/41
!
interface GigabitEthernet 0/42
!
interface GigabitEthernet 0/43
!
interface GigabitEthernet 0/44
!
interface GigabitEthernet 0/45
!
interface GigabitEthernet 0/46
!
interface GigabitEthernet 0/47
!
interface GigabitEthernet 0/48
!
interface TenGigabitEthernet 0/49port-group 1 mode active
!
interface TenGigabitEthernet 0/50port-group 1 mode active
!
interface TenGigabitEthernet 0/51
!     
interface TenGigabitEthernet 0/52
!
interface AggregatePort 1switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,60,100
!
interface Loopback 0ip address 11.1.0.33 255.255.255.255
!
interface VLAN 10ip address 192.1.10.252 255.255.255.0vrrp 10 ip 192.1.10.254vrrp 10 ipv6 FE80::110vrrp 10 ipv6 2001:192:10::254ipv6 address 2001:192:10::252/64vrrp ipv6 10 priority 150vrrp ipv6 10 accept_modevrrp 10 priority 150ip ospf network point-to-pointip ospf cost 5ipv6 ospf 10 area 0
!
interface VLAN 20ip address 192.1.20.252 255.255.255.0vrrp 20 ip 192.1.20.254vrrp 20 ipv6 FE80::120vrrp 20 ipv6 2001:192:20::254ipv6 address 2001:192:20::252/64vrrp ipv6 30 priority 150vrrp ipv6 30 accept_modevrrp 20 priority 150ip ospf network point-to-pointip ospf cost 5ipv6 ospf 10 area 0
!
interface VLAN 30ip address 192.1.30.252 255.255.255.0vrrp 30 ip 192.1.30.254vrrp 30 ipv6 FE80::130vrrp 30 ipv6 2001:192:30::254ipv6 address 2001:192:30::252/64vrrp ipv6 30 priority 150vrrp ipv6 30 accept_modevrrp 30 priority 150ip ospf network point-to-pointip ospf cost 5ipv6 ospf 10 area 0
!     
interface VLAN 40ip address 192.1.40.252 255.255.255.0vrrp 40 ip 192.1.40.254vrrp 40 ipv6 FE80::140vrrp 40 ipv6 2001:192:40::254ipv6 address 2001:192:40::252/64vrrp ipv6 40 priority 120vrrp ipv6 40 accept_modevrrp 40 priority 120ip ospf network point-to-pointip ospf cost 10ipv6 ospf 10 area 0
!
interface VLAN 50ip address 192.1.50.252 255.255.255.0vrrp 50 ip 192.1.50.254vrrp 50 ipv6 FE80::150vrrp 50 ipv6 2001:192:50::254ipv6 address 2001:192:50::252/64vrrp ipv6 50 priority 120vrrp ipv6 50 accept_modevrrp 50 priority 120ip ospf network point-to-pointipv6 ospf 10 area 0
!
interface VLAN 100ip address 192.1.100.252 255.255.255.0vrrp 100 ip 192.1.100.254vrrp 100 ipv6 FE80::100vrrp 100 ipv6 2001:192:100::254ipv6 address 2001:192:100::252/64vrrp ipv6 100 priority 120vrrp ipv6 100 accept_modevrrp 100 priority 120ip ospf network point-to-pointipv6 ospf 10 area 0
!
interface Mgmt 0
!
router ospf 10graceful-restartredistribute static metric-type 1 subnetspassive-interface VLAN 10passive-interface VLAN 20passive-interface VLAN 30passive-interface VLAN 40passive-interface VLAN 50area 0   area 1area 1 nssa no-summarynetwork 10.1.0.0 0.0.0.3 area 1network 11.1.0.33 0.0.0.0 area 0network 192.1.10.0 0.0.0.255 area 0network 192.1.20.0 0.0.0.255 area 0network 192.1.30.0 0.0.0.255 area 0network 192.1.40.0 0.0.0.255 area 0network 192.1.50.0 0.0.0.255 area 0network 192.1.100.0 0.0.0.255 area 0
!
ipv6 router ospf 10graceful-restartpassive-interface VLAN 10passive-interface VLAN 20passive-interface VLAN 30passive-interface VLAN 40passive-interface VLAN 50
!
ipv6 route 2001:192:60::/64 2001:192:100::2
!
ip route 11.1.0.204 255.255.255.255 192.1.100.2
ip route 192.1.60.0 255.255.255.0 192.1.100.2
!     
snmp-server host 172.16.0.254 traps version 2c public
snmp-server host 172.16.0.254 traps version 2c Test
snmp-server enable traps
snmp-server community public ro 
snmp-server community Test rw 
!
line console 0
line vty 0 4transport input sshlogin local
!
end
S3#  

S4

S4#show runBuilding configuration...
Current configuration: 7515 bytesversion S6000E_RGOS 11.4(1)B12P8
hostname S4
!
spanning-tree mst configurationrevision 1name testinstance 0 vlan 1-9, 11-19, 21-29, 31-39, 41-49, 51-99, 101-4094instance 1 vlan 10, 20, 30instance 2 vlan 40, 50, 100
!
spanning-tree mst 0 priority 8192
spanning-tree mst 1 priority 8192
spanning-tree mst 2 priority 4096
spanning-tree
!
username admin password admin1234
!
cwmp
!
service dhcp
ip dhcp excluded-address 192.1.50.1 192.1.50.100
ip dhcp excluded-address 192.1.50.201 192.1.50.254
!
ip dhcp pool apoption 138 ip 192.1.100.2 192.1.100.3 network 192.1.50.0 255.255.255.0dns-server 1.1.1.1 default-router 192.1.50.254 
!
install 0 S6000C-48GT4XS-E
!
sysmac 5869.6cf5.2273
!
mmu buffer-mode burst-enhance
!
nfpp
!
no service password-encryption
!
redundancy
!
no zam
enable password admin@1234
enable service ssh-server
!
vlan 10name Office10
!
vlan 20   name Office20
!
vlan 30name Office30
!
vlan 40name Office40
!
vlan 50name AP
!
vlan 100name Manage
!
vlan range 1,60
!
interface GigabitEthernet 0/1switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,60,100
!
interface GigabitEthernet 0/2switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,60,100
!     
interface GigabitEthernet 0/3switchport mode trunkswitchport trunk native vlan 100switchport trunk allowed vlan only 60,100
!
interface GigabitEthernet 0/4no switchportip address 10.1.0.37 255.255.255.252ip ospf network point-to-pointip ospf cost 10
!
interface GigabitEthernet 0/5no switchportip address 10.1.0.33 255.255.255.252ip ospf network point-to-point
!
interface GigabitEthernet 0/6no switchportip address 10.1.0.9 255.255.255.252ip ospf network point-to-pointip ospf cost 5
!
interface GigabitEthernet 0/7no switchportip address 10.1.0.13 255.255.255.252ipv6 address 2001:193:10::1/64ip ospf network point-to-pointipv6 ospf 10 area 0
!
interface GigabitEthernet 0/8
!
interface GigabitEthernet 0/9
!
interface GigabitEthernet 0/10
!
interface GigabitEthernet 0/11
!
interface GigabitEthernet 0/12
!
interface GigabitEthernet 0/13
!
interface GigabitEthernet 0/14
!
interface GigabitEthernet 0/15
!
interface GigabitEthernet 0/16
!
interface GigabitEthernet 0/17
!
interface GigabitEthernet 0/18
!
interface GigabitEthernet 0/19
!
interface GigabitEthernet 0/20
!
interface GigabitEthernet 0/21
!
interface GigabitEthernet 0/22
!
interface GigabitEthernet 0/23
!
interface GigabitEthernet 0/24
!
interface GigabitEthernet 0/25
!
interface GigabitEthernet 0/26
!
interface GigabitEthernet 0/27
!
interface GigabitEthernet 0/28
!
interface GigabitEthernet 0/29
!
interface GigabitEthernet 0/30
!
interface GigabitEthernet 0/31
!
interface GigabitEthernet 0/32
!
interface GigabitEthernet 0/33
!
interface GigabitEthernet 0/34
!
interface GigabitEthernet 0/35
!
interface GigabitEthernet 0/36
!
interface GigabitEthernet 0/37
!
interface GigabitEthernet 0/38
!
interface GigabitEthernet 0/39
!
interface GigabitEthernet 0/40
!
interface GigabitEthernet 0/41
!
interface GigabitEthernet 0/42
!
interface GigabitEthernet 0/43
!
interface GigabitEthernet 0/44
!
interface GigabitEthernet 0/45
!
interface GigabitEthernet 0/46
!
interface GigabitEthernet 0/47
!
interface GigabitEthernet 0/48
!
interface TenGigabitEthernet 0/49port-group 1 mode active
!
interface TenGigabitEthernet 0/50port-group 1 mode active
!
interface TenGigabitEthernet 0/51
!
interface TenGigabitEthernet 0/52
!
interface AggregatePort 1switchport mode trunkswitchport trunk allowed vlan only 10,20,30,40,50,60,100
!
interface Loopback 0ip address 11.1.0.34 255.255.255.255
!
interface VLAN 10ip address 192.1.10.253 255.255.255.0vrrp 10 ip 192.1.10.254vrrp 10 ipv6 FE80::110vrrp 10 ipv6 2001:192:10::254ipv6 address 2001:192:10::253/64vrrp ipv6 10 priority 120vrrp ipv6 10 accept_modevrrp 10 priority 120ip ospf network point-to-pointip ospf cost 10ipv6 ospf 10 area 0
!
interface VLAN 20ip address 192.1.20.253 255.255.255.0vrrp 20 ip 192.1.20.254vrrp 20 ipv6 FE80::120vrrp 20 ipv6 2001:192:20::254ipv6 address 2001:192:20::253/64vrrp ipv6 30 priority 120vrrp ipv6 30 accept_modevrrp 20 priority 120ip ospf network point-to-pointip ospf cost 10ipv6 ospf 10 area 0
!
interface VLAN 30ip address 192.1.30.253 255.255.255.0vrrp 30 ip 192.1.30.254vrrp 30 ipv6 FE80::130vrrp 30 ipv6 2001:192:30::254ipv6 address 2001:192:30::253/64vrrp ipv6 30 priority 120vrrp ipv6 30 accept_modevrrp 30 priority 120ip ospf network point-to-pointip ospf cost 10ipv6 ospf 10 area 0
!
interface VLAN 40ip address 192.1.40.253 255.255.255.0vrrp 40 ip 192.1.40.254vrrp 40 ipv6 FE80::140vrrp 40 ipv6 2001:192:40::254ipv6 address 2001:192:40::253/64vrrp ipv6 40 priority 150vrrp ipv6 40 accept_modevrrp 40 priority 150ip ospf network point-to-pointip ospf cost 5ipv6 ospf 10 area 0
!
interface VLAN 50ip address 192.1.50.253 255.255.255.0vrrp 50 ip 192.1.50.254vrrp 50 ipv6 FE80::150vrrp 50 ipv6 2001:192:50::254ipv6 address 2001:192:50::253/64vrrp ipv6 50 priority 150vrrp ipv6 50 accept_modevrrp 50 priority 150ip ospf network point-to-pointipv6 ospf 10 area 0
!     
interface VLAN 100ip address 192.1.100.253 255.255.255.0vrrp 100 ip 192.1.100.254vrrp 100 ipv6 FE80::100vrrp 100 ipv6 2001:192:100::254ipv6 address 2001:192:100::253/64vrrp ipv6 100 priority 150vrrp ipv6 100 accept_modevrrp 100 priority 150ip ospf network point-to-pointipv6 ospf 10 area 0
!
interface Mgmt 0
!
router ospf 10graceful-restartredistribute static metric-type 1 subnetspassive-interface VLAN 10passive-interface VLAN 20passive-interface VLAN 30passive-interface VLAN 40passive-interface VLAN 50area 0area 1   area 1 nssa no-summarynetwork 10.1.0.12 0.0.0.3 area 3network 10.1.0.32 0.0.0.3 area 1network 11.1.0.34 0.0.0.0 area 0network 192.1.10.0 0.0.0.255 area 0network 192.1.20.0 0.0.0.255 area 0network 192.1.30.0 0.0.0.255 area 0network 192.1.40.0 0.0.0.255 area 0network 192.1.50.0 0.0.0.255 area 0network 192.1.100.0 0.0.0.255 area 0
!
ipv6 router ospf 10graceful-restartpassive-interface VLAN 10passive-interface VLAN 20passive-interface VLAN 30passive-interface VLAN 40passive-interface VLAN 50
!
ipv6 route 2001:192:60::/64 2001:192:100::3
!
ip route 10.1.0.24 255.255.255.252 10.1.0.14
ip route 10.1.0.28 255.255.255.252 10.1.0.14
ip route 10.1.0.48 255.255.255.252 10.1.0.14
ip route 11.1.0.1 255.255.255.255 10.1.0.14
ip route 11.1.0.2 255.255.255.255 10.1.0.14
ip route 11.1.0.3 255.255.255.255 10.1.0.14
ip route 11.1.0.6 255.255.255.255 10.1.0.14
ip route 11.1.0.7 255.255.255.255 10.1.0.14
ip route 11.1.0.205 255.255.255.255 192.1.100.3
ip route 20.0.0.0 255.255.255.252 10.1.0.14
ip route 192.1.60.0 255.255.255.0 192.1.100.3
ip route 194.1.0.0 255.255.0.0 10.1.0.14
ip route 195.1.0.0 255.255.0.0 10.1.0.14
!
snmp-server host 172.16.0.254 traps version 2c public
snmp-server host 172.16.0.254 traps version 2c Test
snmp-server enable traps
snmp-server community public ro 
snmp-server community Test rw 
!
line console 0
line vty 0 4transport input sshlogin local
!
end
S4#  

S5

S5#show runBuilding configuration...
Current configuration: 2107 bytesversion S5750_RGOS 11.4(1)B1P3
hostname S5
!
username admin password admin1234
!
cwmp
!
install switch 1 S5750-24GT4XS-L
install 1/0 S5750-24GT4XS-L
!
sysmac 0074.9c2f.3bea
!
nfpp
!
no service password-encryption
!
redundancy
!
enable password admin@1234
enable service ssh-server
!
vlan 1
!
interface GigabitEthernet 1/0/1
!     
interface GigabitEthernet 1/0/2
!
interface GigabitEthernet 1/0/3
!
interface GigabitEthernet 1/0/4
!
interface GigabitEthernet 1/0/5
!
interface GigabitEthernet 1/0/6
!
interface GigabitEthernet 1/0/7
!
interface GigabitEthernet 1/0/8
!
interface GigabitEthernet 1/0/9
!
interface GigabitEthernet 1/0/10
!
interface GigabitEthernet 1/0/11
!
interface GigabitEthernet 1/0/12
!
interface GigabitEthernet 1/0/13
!     
interface GigabitEthernet 1/0/14
!
interface GigabitEthernet 1/0/15
!
interface GigabitEthernet 1/0/16
!
interface GigabitEthernet 1/0/17
!
interface GigabitEthernet 1/0/18
!
interface GigabitEthernet 1/0/19
!
interface GigabitEthernet 1/0/20
!
interface GigabitEthernet 1/0/21
!
interface GigabitEthernet 1/0/22
!
interface GigabitEthernet 1/0/23no switchportip address 10.1.0.2 255.255.255.252ip ospf network point-to-pointip ospf cost 5
!     
interface GigabitEthernet 1/0/24no switchportip address 10.1.0.34 255.255.255.252ip ospf network point-to-pointip ospf cost 10
!
interface TenGigabitEthernet 1/0/25
!
interface TenGigabitEthernet 1/0/26
!
interface TenGigabitEthernet 1/0/27
!
interface TenGigabitEthernet 1/0/28
!
interface Loopback 0ip address 11.1.0.5 255.255.255.255
!
router ospf 10graceful-restartarea 1area 1 nssa no-summarynetwork 10.1.0.0 0.0.0.3 area 1network 10.1.0.32 0.0.0.3 area 1network 11.1.0.5 0.0.0.0 area 1
!
switch virtual domain 1
!
snmp-server host 172.16.0.254 traps version 2c public
snmp-server host 172.16.0.254 traps version 2c Test
snmp-server enable traps
snmp-server community public ro 
snmp-server community Test rw 
!
line console 0
line vty 0 4transport input sshlogin local
!
end
S5#

S6

S6#show runBuilding configuration...
Current configuration: 2665 bytesversion S5750_RGOS 11.4(1)B1P3
hostname S6
!
cwmp
!
service dhcp
!
ip dhcp pool 20network 194.1.20.0 255.255.255.0dns-server 8.8.8.8 default-router 194.1.20.254 
!
install switch 1 S5750-24GT4XS-L
install 1/0 S5750-24GT4XS-L
!
sysmac 0074.9c2f.3c6e
!
nfpp
!
no service password-encryption
!
redundancy
!
vlan range 1,10,20,30
!     
interface GigabitEthernet 1/0/1switchport access vlan 20
!
interface GigabitEthernet 1/0/2switchport access vlan 10
!
interface GigabitEthernet 1/0/3no switchportip address dhcp
!
interface GigabitEthernet 1/0/4switchport access vlan 10
!
interface GigabitEthernet 1/0/5switchport access vlan 10
!
interface GigabitEthernet 1/0/6no switchportip address dhcp
!
interface GigabitEthernet 1/0/7switchport access vlan 10
!
interface GigabitEthernet 1/0/8switchport access vlan 10
!
interface GigabitEthernet 1/0/9switchport access vlan 10
!
interface GigabitEthernet 1/0/10switchport access vlan 10
!
interface GigabitEthernet 1/0/11switchport access vlan 10
!
interface GigabitEthernet 1/0/12switchport access vlan 10
!
interface GigabitEthernet 1/0/13switchport access vlan 10
!
interface GigabitEthernet 1/0/14switchport access vlan 10
!
interface GigabitEthernet 1/0/15switchport access vlan 10
!
interface GigabitEthernet 1/0/16switchport access vlan 10
!
interface GigabitEthernet 1/0/17switchport access vlan 10
!
interface GigabitEthernet 1/0/18switchport access vlan 10
!
interface GigabitEthernet 1/0/19switchport access vlan 10
!
interface GigabitEthernet 1/0/20switchport access vlan 10
!
interface GigabitEthernet 1/0/21switchport access vlan 30
!
interface GigabitEthernet 1/0/22switchport access vlan 30
!
interface GigabitEthernet 1/0/23switchport mode trunkswitchport trunk allowed vlan only 20,30
!     
interface GigabitEthernet 1/0/24no switchportip address 10.1.0.26 255.255.255.252ipv6 address 2001:193:20::2/64ipv6 ospf 20 area 0
!
interface TenGigabitEthernet 1/0/25
!
interface TenGigabitEthernet 1/0/26
!
interface TenGigabitEthernet 1/0/27
!
interface TenGigabitEthernet 1/0/28
!
interface Loopback 0ip address 11.1.0.6 255.255.255.255
!
interface VLAN 10ip address 194.1.10.254 255.255.255.0ipv6 address 2001:194:10::254/64ipv6 ospf 20 area 0
!
interface VLAN 20ip address 194.1.20.254 255.255.255.0
!
interface VLAN 30ip address 194.1.30.254 255.255.255.0
!
ipv6 router ospf 20graceful-restart
!
switch virtual domain 1
!
ip route 0.0.0.0 0.0.0.0 10.1.0.25
!
line console 0
line vty 0 4login
!
end
S6#

S7

S7#show runBuilding configuration...
Current configuration: 1650 bytesversion S5750_RGOS 11.4(1)B1P3
hostname S7
!
cwmp
!
install 0 S5750-24GT4XS-L
!
sysmac 0074.9c2f.3c54
!
nfpp
!
no service password-encryption
!
redundancy
!
vlan range 1,10
!
interface GigabitEthernet 0/1
!
interface GigabitEthernet 0/2
!
interface GigabitEthernet 0/3
!
interface GigabitEthernet 0/4
!     
interface GigabitEthernet 0/5
!
interface GigabitEthernet 0/6
!
interface GigabitEthernet 0/7
!
interface GigabitEthernet 0/8
!
interface GigabitEthernet 0/9
!
interface GigabitEthernet 0/10
!
interface GigabitEthernet 0/11
!
interface GigabitEthernet 0/12
!
interface GigabitEthernet 0/13
!
interface GigabitEthernet 0/14
!
interface GigabitEthernet 0/15
!
interface GigabitEthernet 0/16
!     
interface GigabitEthernet 0/17
!
interface GigabitEthernet 0/18
!
interface GigabitEthernet 0/19
!
interface GigabitEthernet 0/20
!
interface GigabitEthernet 0/21
!
interface GigabitEthernet 0/22
!
interface GigabitEthernet 0/23no switchportip address 10.1.0.49 255.255.255.252
!
interface GigabitEthernet 0/24no switchportip address 10.1.0.30 255.255.255.252ipv6 address 2001:193:30::2/64ipv6 ospf 30 area 0
!
interface TenGigabitEthernet 0/25
!     
interface TenGigabitEthernet 0/26
!
interface TenGigabitEthernet 0/27
!
interface TenGigabitEthernet 0/28
!
interface Loopback 0ip address 11.1.0.7 255.255.255.255
!
interface VLAN 10ip address 195.1.10.254 255.255.255.0ipv6 address 2001:195:10::254/64ipv6 ospf 30 area 0
!
ipv6 router ospf 30graceful-restart
!
ip route 0.0.0.0 0.0.0.0 10.1.0.29
!
line console 0
line vty 0 4login
!
end   
S7#   

AC1

AC1#show runBuilding configuration...
Current configuration: 2418 bytesversion 11.1(5)B7
hostname AC1
!
wlan-config 1 test-ZX_SZssid-code utf-8
!
ap-group ZXinterface-mapping 1 60 ap-wlan-id 1
!
ap-group default
!
ap-config all
!
ac-controllercapwap ctrl-ip 192.1.100.2country CN802.11g network rate 1 disabled802.11g network rate 2 disabled802.11g network rate 5 disabled802.11g network rate 6 supported802.11g network rate 9 supported802.11g network rate 11 mandatory802.11g network rate 12 supported802.11g network rate 18 supported802.11g network rate 24 supported802.11g network rate 36 supported802.11g network rate 48 supported802.11g network rate 54 supported802.11b network rate 1 disabled802.11b network rate 2 disabled802.11b network rate 5 disabled802.11b network rate 11 mandatory802.11a network rate 6 disabled802.11a network rate 9 disabled802.11a network rate 12 mandatory802.11a network rate 18 supported802.11a network rate 24 mandatory802.11a network rate 36 supported802.11a network rate 48 supported802.11a network rate 54 supported
!
cwmp
!
enable service web-server http
enable service web-server https
no service password-encryption
!
tftp-server enable
!     
link-check disable
!
nfpp
!
wids
!
vlan 1
!
vlan 50
!
vlan 60
!
vlan 100
!
interface GigabitEthernet 0/1switchport mode trunkswitchport trunk native vlan 100switchport trunk allowed vlan only 60,100
!
interface GigabitEthernet 0/2
!
interface GigabitEthernet 0/3no switchportip address 192.168.110.150 255.255.255.0
!
interface GigabitEthernet 0/4
!
interface GigabitEthernet 0/5
!
interface GigabitEthernet 0/6
!
interface GigabitEthernet 0/7
!
interface GigabitEthernet 0/8
!
interface Loopback 0ip address 11.1.0.204 255.255.255.255
!
interface VLAN 1
!
interface VLAN 60ip address 192.1.60.252 255.255.255.0vrrp 60 ipv6 FE80::360vrrp 60 ipv6 2001:192:60::254ipv6 address 2001:192:60::252/64vrrp ipv6 60 accept_mode
!
interface VLAN 100ip address 192.1.100.2 255.255.255.0vrrp 100 ipv6 FE80::300ipv6 address 2001:192:100::2/64vrrp ipv6 100 accept_mode
!
wlan hot-backup 192.1.100.3!context 100priority level 1ap-group default!wlan hot-backup enable
!
wlansec 1
!
ipv6 route 2000::/8 2001:192:100::252
!
ip route 0.0.0.0 0.0.0.0 192.1.100.254
!
line console 0
line vty 0 4login
!
end   
AC1#

AC2

AC2#show runBuilding configuration...
Current configuration: 2525 bytesversion 11.1(5)B7
hostname AC2
!
wlan-config 1 test-ZX_SZssid-code utf-8band-select enable
!
ap-group ZXinterface-mapping 1 60 ap-wlan-id 1
!
ap-group default
!
ap-config all
!
ac-controllercapwap ctrl-ip 192.1.100.3country CN802.11g network rate 1 disabled802.11g network rate 2 disabled802.11g network rate 5 disabled802.11g network rate 6 supported802.11g network rate 9 supported802.11g network rate 11 mandatory802.11g network rate 12 supported802.11g network rate 18 supported802.11g network rate 24 supported802.11g network rate 36 supported802.11g network rate 48 supported802.11g network rate 54 supported802.11b network rate 1 disabled802.11b network rate 2 disabled802.11b network rate 5 disabled802.11b network rate 11 mandatory802.11a network rate 6 disabled802.11a network rate 9 disabled802.11a network rate 12 mandatory802.11a network rate 18 supported802.11a network rate 24 mandatory802.11a network rate 36 supported802.11a network rate 48 supported802.11a network rate 54 supported
!
cwmp
!
service dhcp
!
ip dhcp pool wifinetwork 192.1.60.0 255.255.255.0dns-server 1.1.1.1 default-router 192.1.60.253 
!
enable service web-server http
enable service web-server https
no service password-encryption
!
tftp-server enable
!
link-check disable
!
nfpp
!
wids
!
vlan 1
!
vlan 50
!
vlan 60
!
vlan 100
!
interface GigabitEthernet 0/1switchport mode trunkswitchport trunk native vlan 100switchport trunk allowed vlan only 60,100
!
interface GigabitEthernet 0/2
!
interface GigabitEthernet 0/3
!
interface GigabitEthernet 0/4
!
interface GigabitEthernet 0/5
!
interface GigabitEthernet 0/6
!
interface GigabitEthernet 0/7
!
interface GigabitEthernet 0/8
!
interface Loopback 0ip address 11.1.0.205 255.255.255.255
!
interface VLAN 1
!
interface VLAN 60ip address 192.1.60.253 255.255.255.0vrrp 60 ipv6 FE80::460vrrp 60 ipv6 2001:192:60::254ipv6 address 2001:192:60::253/64vrrp ipv6 60 accept_mode
!
interface VLAN 100ip address 192.1.100.3 255.255.255.0vrrp 100 ipv6 FE80::400vrrp 100 ipv6 2001:192:100::1ipv6 address 2001:192:100::3/64vrrp ipv6 100 accept_mode
!
wlan hot-backup 192.1.100.2!context 100priority level 1ap-group default!wlan hot-backup enable
!
ipv6 route 2000::/8 2001:192:100::253
!
ip route 0.0.0.0 0.0.0.0 192.1.100.254
!     
line console 0
line vty 0 4login
!
end
AC2#

AP1

Ruijie#show runBuilding configuration...
Current configuration: 1832 bytesversion AP_RGOS 11.1(9)B1P14, Release(06163010)
privilege exec all level 1 debug
privilege exec all level 1 show
privilege exec all level 1 terminal
privilege exec all level 1 undebug
fair-schedule
ip dhcp snooping clear-broadcast-flag
!
spectral
!
cwmpacs url http://devicereg.ruijienetworks.com/service/tr069servletcpe inform
!
data-plane queue-weight 16 4 2 1 1
!
enable service web-server http
enable service web-server https
webmaster level 0 username admin password 7 13041647042f
no service password-encryption
!
link-check disable
!
dot11 wlan 1band-select enablessid test-ZX_SZ
!
nfpp
!
wids
!
wlocation
!
login access non-aaa
enable secret 5 $1$7eyy$wv2Drs0zry0z74A9 
vlan 1
!
vlan 60
!
interface GigabitEthernet 0/1encapsulation dot1Q 1
!
interface GigabitEthernet 0/1.1
!
interface Dot11radio 1/0country-code CN cca-ed threshold 28radio-type 802.11bantenna receive 3antenna transmit 3no ampdu-rtsrate-set 11b mandatory 1 2 5 11rate-set 11g mandatory 11rate-set 11g support 6 9 12 18 24 36 48 54rate-set 11g disable 1 2 5rate-set 11n mcs-support 15channel 1chan-width 20
!
interface Dot11radio 1/0.1wlan-id 1
!
interface Dot11radio 2/0country-code CN cca-ed threshold 28no short-preambleradio-type 802.11aantenna receive 3antenna transmit 3mu-mimo enableno ampdu-rtsrate-set 11a mandatory 12 24rate-set 11a support 18 36 48 54rate-set 11a disable 6 9rate-set 11n mcs-support 15rate-set 11ac mcs-support 1911acsupport enablechannel 149chan-width 20
!
interface Dot11radio 2/0.1wlan-id 1
!
interface BVI 1ip address dhcpipv6 enable
!
wlansec 1
!
no offline-detect
!
line console 0loginpassword ruijie
line vty 0 4loginpassword ruijie
!
end
Ruijie# 

AP2

Ruijie#show runBuilding configuration...
Current configuration: 1787 bytesversion AP_RGOS 11.1(9)B1P14, Release(06163010)
fair-schedule
!
http redirect direct-arp 192.168.60.254
http redirect port 8081
!
web-auth template iportalpage-suite default
!
username user1 web-auth password test
!
aaa new-model
!
aaa accounting network default start-stop none
aaa authentication iportal default local
!
spectral
!
enable service web-server http
enable service web-server https
webmaster level 0 username admin password 7 092e111f2e0b
no service password-encryption
!
link-check disable
!     
dot11 wlan 1ssid test-BJ_XX
!
nfpp
!
wids
!
wlocation
!
vlan 1
!
vlan 20
!
vlan 30
!
interface GigabitEthernet 0/1
!
interface GigabitEthernet 0/1.20encapsulation dot1Q 20
!
interface GigabitEthernet 0/1.30encapsulation dot1Q 30
!
interface Dot11radio 1/0country-code CN radio-type 802.11bantenna receive 3antenna transmit 3no ampdu-rtsrate-set 11b mandatory 1 2 5 11rate-set 11g mandatory 1 2 5 11rate-set 11g support 6 9 12 18 24 36 48 54rate-set 11n mcs-support 15channel 1chan-width 20
!
interface Dot11radio 1/0.2encapsulation dot1Q 20wlan-id 1
!
interface Dot11radio 2/0country-code CN no short-preambleradio-type 802.11aantenna receive 3antenna transmit 3mu-mimo enableno ampdu-rtsrate-set 11a mandatory 6 12 24rate-set 11a support 9 18 36 48 54rate-set 11n mcs-support 15rate-set 11ac mcs-support 1911acsupport enablechannel 149chan-width 20
!
interface BVI 1ip address 192.168.111.1 255.255.255.0
!
interface BVI 30ip address 194.1.30.1 255.255.255.0
!
wlansec 1web-auth portal iportalwebauth
!
no offline-detect
!
line console 0password admin
line vty 0 4privilege level 15password admin
!
end
Ruijie#  

AP3

Ruijie#show runBuilding configuration...
Current configuration: 1549 bytesversion AP_RGOS 11.1(9)B1P14, Release(06163010)
fair-schedule
!
spectral
!
service dhcp
!
ip dhcp pool 20network 195.1.20.0 255.255.255.0dns-server 8.8.8.8 default-router 195.1.20.254 
!
enable service web-server http
enable service web-server https
webmaster level 0 username admin password 7 092e111f2e0b
no service password-encryption
!
link-check disable
!
dot11 wlan 1ssid test-SZ_XX
!
nfpp
!
wids  
!
wlocation
!
vlan 1
!
vlan 20
!
interface GigabitEthernet 0/1ip address 10.1.0.50 255.255.255.252
!
interface Dot11radio 1/0country-code CN radio-type 802.11bantenna receive 3antenna transmit 3no ampdu-rtsrate-set 11b mandatory 1 2 5 11rate-set 11g mandatory 1 2 5 11rate-set 11g support 6 9 12 18 24 36 48 54rate-set 11n mcs-support 15channel 1chan-width 20
!
interface Dot11radio 1/0.2encapsulation dot1Q 20wlan-id 1
!
interface Dot11radio 2/0country-code CN no short-preambleradio-type 802.11aantenna receive 3antenna transmit 3mu-mimo enableno ampdu-rtsrate-set 11a mandatory 6 12 24rate-set 11a support 9 18 36 48 54rate-set 11n mcs-support 15rate-set 11ac mcs-support 1911acsupport enablechannel 149chan-width 20
!
interface BVI 1ip address 192.168.111.1 255.255.255.0
!
interface BVI 20ip address 195.1.20.254 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 10.1.0.49
!
no offline-detect
!
line console 0loginpassword admin
line vty 0 4privilege level 15loginpassword admin
!
end
Ruijie#  

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/bicheng/71438.shtml
繁體地址,請注明出處:http://hk.pswp.cn/bicheng/71438.shtml
英文地址,請注明出處:http://en.pswp.cn/bicheng/71438.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

React之旅-02 創建項目

創建React項目,常用的方式有兩種: 官方提供的腳手架,官網:https://create-react-app.dev/。如需創建名為 my-app 的項目,請運行如下命令: npx create-react-app my-app 使用Vite包,官網&…

Visual Studio Code的下載安裝與漢化

1.下載安裝 Visual Studio Code的下載安裝十分簡單,在本電腦的應用商店直接下載安裝----注意這是社區版-----一般社區版就足夠用了---另外注意更改安裝地址 2.下載插件 重啟后就是中文版本了

CAN總線常見的錯誤幀及產生原因

文章目錄 一、位錯誤(Bit Error)1. 表現形式2. 產生原因 二、填充錯誤(Stuff Error)1. 表現形式2. 產生原因 三、CRC 錯誤(CRC Error)1. 表現形式2. 產生原因 四、格式錯誤(Form Error&#xff…

在項目中調用本地Deepseek(接入本地Deepseek)

前言 之前發表的文章已經講了如何本地部署Deepseek模型,并且如何給Deepseek模型投喂數據、搭建本地知識庫,但大部分人不知道怎么應用,讓自己的項目接入AI模型。 文末有彩蛋哦!!! 要接入本地部署的deepsee…

【擁抱AI】GPT Researcher的誕生

一、GPT Researcher 研究過程總結 GPT Researcher 是一個開源的自主智能體,旨在通過利用人工智能技術實現高效、全面且客觀的在線研究。它通過一系列創新的設計和優化,解決了傳統研究工具(如 AutoGPT)中存在的問題,如…

52款獨特婚禮主題手繪水彩花卉樹葉高清png免摳圖設計素材Floria – Botanical Elements

Floria 是一個獨特的系列,由郁郁蔥蔥的植物元素組成,以繪畫風格手繪。它們非常適合任何設計項目 – 包裝、網站、博客、文具等等! 在 Photoshop 中輕松更改顏色,并將其圖層添加到任何紋理或顏色上。擁有 52 種花卉元素&#xff0c…

python入門筆記4

Python 中的列表(List)是 有序、可變 的序列類型,用方括號 [] 定義。以下是列表的核心語法和常用操作: list1 [Google, W3Cschool, 1997, 2000] list2 [7, 2, 3, 4, 5, 6, 1 ] #索引操作 print ("list1 first: ", li…

基于Ubuntu+vLLM+NVIDIA T4高效部署DeepSeek大模型實戰指南

一、 前言:擁抱vLLM與T4顯卡的強強聯合 在探索人工智能的道路上,如何高效地部署和運行大型語言模型(LLMs)一直是一個核心挑戰。尤其是當我們面對資源有限的環境時,這個問題變得更加突出。原始的DeepSeek-R1-32B模型雖…

Linux環境Docker使用代理推拉鏡像

閑扯幾句 不知不覺已經2月中了,1個半月忙得沒寫博客,這篇其實很早就想寫了(可追溯到Docker剛剛無法拉鏡像的時候),由于工作和生活上的事比較多又在備考軟考架構,拖了好久…… 簡單記錄下怎么做的&#xf…

撕碎QT面具(6):調節窗口大小后,控件被擠得重疊的解決方法

問題:控件重疊 分析原因:因為設置了最小大小,所以界面中的大小不會隨窗口的變化而自動變化。 處理方案:修改mimumSize的寬度與高度為0,并設置sizePolicy為Expanding,讓其自動伸縮。 結果展示(自…

Mysql測試連接失敗

解決方案 1 將mysql.exe(C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe)配置到系統環境變量 2 管理員權限啟動cmd 輸入 3 ALTER USER rootlocalhost IDENTIFIED WITH mysql_native_password BY 123456; 4 FLUSH PRIVILEGES;

【UCB CS 61B SP24】Lecture 3 - Lists 1: References, Recursion, and Lists學習筆記

本文開坑伯克利 CS 61B(算法與數據結構)2024年春季課程學習筆記,Lecture 1 & Lecture 2 的內容為課程介紹與 Java 基礎,因此直接跳過。本文內容為介紹基本數據類型與引用數據類型的區別,以及手動實現整數列表。 1…

每日學習Java之一萬個為什么

9.Class <?> class1 Myclass.class 為什么要有通配符&#xff1f;傳給誰用的&#xff1f; 首先&#xff0c;這里的class特指某個對象在JVM中的元數據集合。 有普通、接口、數組、基本類型、 void 類型、局部類、匿名類、枚舉、注解 1.類型安全&#xff1a;通配符允許…

【算法】787. 歸并排序

題目 歸并排序 思路 和快排一樣&#xff0c;先判斷數據是否沒有或者只為一個&#xff1b;如果大于一個&#xff0c;取中間的值一分為二&#xff0c;然后兩邊遞歸&#xff0c;歸并的實質是把兩個有序數組排成一個&#xff0c;兩個數組都從頭開始比較&#xff0c;把更小的取下…

濾波器 | 原理 / 分類 / 特征指標 / 設計

注&#xff1a;本文為 “濾波器” 相關文章合輯。 未整理去重。 淺談濾波器之 —— 啥是濾波器 原創 RF 小木匠 射頻學堂 2020 年 03 月 25 日 07:46 濾波器&#xff0c;顧名思義&#xff0c;就是對信號進行選擇性過濾&#xff0c;對不需要的信號進行有效濾除。按照其傳輸信…

DeepSeek-學習與實踐

1.應用場景 主要用于學習與使用DeepSeek解決問題, 提高效率. 2.學習/操作 1.文檔閱讀 文檔 DeepSeek -- 官網, 直接使用 --- 代理網站 --- 極客智坊 https://poe.com/DeepSeek-R1 https://time.geekbang.com/search?qdeepseek -- 搜索deepseek的資料 資料 20250209DeepSeekC…

分布式架構與XXL-JOB

目錄 先了解什么是任務調度&#xff1f; 什么是分布式任務調度&#xff1f; 了解XXL-JOB分布式任務調度平臺 如何搭建XXL-JOB&#xff1f; 分片廣播 作業分片方案 最近學習在項目的媒資管理模塊如何高效處理大量視頻&#xff0c;上傳單個視頻可能涉及到轉碼&#xff0c…

如何解決服務器端口被攻擊:全面防護與快速響應

服務器端口被攻擊是網絡安全中常見的問題之一&#xff0c;尤其是當服務器暴露在公共網絡上時&#xff0c;容易成為黑客的目標。攻擊者可能通過掃描開放端口、利用漏洞或發動拒絕服務&#xff08;DoS/DDoS&#xff09;攻擊來破壞服務器的正常運行。本文將詳細介紹如何檢測、防御…

在高流量下保持WordPress網站的穩定和高效運行

隨著流量的不斷增加&#xff0c;網站的穩定和高效運行變得越來越重要&#xff0c;特別是使用WordPress搭建的網站。流量過高時&#xff0c;網站加載可能會變慢&#xff0c;甚至崩潰&#xff0c;直接影響用戶體驗和網站正常運營。因此&#xff0c;我們需要采取一些有效的措施&am…

MyBatis-Plus之通用枚舉

MyBatis-Plus之通用枚舉 前言 MyBatis-Plus中提供了通用枚舉&#xff0c;簡單來說就是將數據庫中的某一字段的代替的含義轉換成真實的含義將數據展示給用戶&#xff0c;用戶在存儲時也會將真實值轉換成代替的數字存入到數據庫中。舉個例子&#xff1a;用戶性別在數據庫中存儲…