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.mzph.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;用户性别在数据库中存储…