news 2026/5/23 16:28:09

1000人网络设计冗余型

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
1000人网络设计冗余型

只做到DHCP中继服务了,还有电信的pppoe拨号上网、telnet、策略路由等还没做,等下次更新,配置需要对照拓扑图来看

<HX_SW1>dis cu
#
sysname HX_SW1
#
undo info-center enable
#
vlan batch 2 to 5 200 800 999
#
stp instance 1 root primary
stp instance 2 root secondary
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
dhcp enable
#
diffserv domain default
#
stp region-configuration
region-name aa
revision-level 1
instance 1 vlan 2 to 3 200
instance 2 vlan 4 to 5
active region-configuration
#
bfd
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif2
ip address 192.168.2.254 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.2.1
vrrp vrid 2 priority 105
vrrp vrid 2 track interface GigabitEthernet0/0/1
vrrp vrid 2 track bfd-session session-name aa
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif3
ip address 192.168.3.254 255.255.255.0
vrrp vrid 3 virtual-ip 192.168.3.1
vrrp vrid 3 priority 105
vrrp vrid 3 track interface GigabitEthernet0/0/1
vrrp vrid 3 track bfd-session session-name aa
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif4
ip address 192.168.4.254 255.255.255.0
vrrp vrid 4 virtual-ip 192.168.4.1
ospf cost 4
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif5
ip address 192.168.5.254 255.255.255.0
vrrp vrid 5 virtual-ip 192.168.5.1
ospf cost 4
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif200
ip address 192.168.200.254 255.255.255.0
vrrp vrid 200 virtual-ip 192.168.200.1
vrrp vrid 200 priority 105
vrrp vrid 200 track interface GigabitEthernet0/0/5
vrrp vrid 200 track bfd-session session-name aa
#
interface Vlanif800
ip address 192.168.12.2 255.255.255.0
#
interface MEth0/0/1
#
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 5 200 800 999
mode lacp-static
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 3 999
#
interface GigabitEthernet0/0/2
eth-trunk 2
#
interface GigabitEthernet0/0/3
eth-trunk 2
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 4 to 5 999
#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 2 to 5 200 999
#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 800
#
interface NULL0
#
bfd aa bind peer-ip 192.168.12.1 source-ip 192.168.12.2 auto
commit
#
ospf 1 router-id 2.2.2.2
area 0.0.0.0
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.4.0 0.0.0.255
network 192.168.5.0 0.0.0.255
network 192.168.200.0 0.0.0.255
network 192.168.12.0 0.0.0.255
#
ip route-static 0.0.0.0 0.0.0.0 192.168.12.1
ip route-static 0.0.0.0 0.0.0.0 192.168.23.1 preference 65
#
user-interface con 0
user-interface vty 0 4
#
return
<HX_SW1>

<HX_SW2>dis cu
#
sysname HX_SW2
#
undo info-center enable
#
vlan batch 2 to 5 200 800 999
#
stp instance 1 root secondary
stp instance 2 root primary
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
dhcp enable
#
diffserv domain default
#
stp region-configuration
region-name aa
revision-level 1
instance 1 vlan 2 to 3 200
instance 2 vlan 4 to 5
active region-configuration
#
bfd
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif2
ip address 192.168.2.253 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.2.1
ospf cost 4
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif3
ip address 192.168.3.253 255.255.255.0
vrrp vrid 3 virtual-ip 192.168.3.1
ospf cost 4
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif4
ip address 192.168.4.253 255.255.255.0
vrrp vrid 4 virtual-ip 192.168.4.1
vrrp vrid 4 priority 105
vrrp vrid 4 track interface GigabitEthernet0/0/4
vrrp vrid 4 track bfd-session session-name bb
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif5
ip address 192.168.5.253 255.255.255.0
vrrp vrid 5 virtual-ip 192.168.5.1
vrrp vrid 5 priority 105
vrrp vrid 5 track interface GigabitEthernet0/0/4
vrrp vrid 5 track bfd-session session-name bb
dhcp select relay
dhcp relay server-ip 192.168.200.3
#
interface Vlanif200
ip address 192.168.200.253 255.255.255.0
vrrp vrid 200 virtual-ip 192.168.200.1
ospf cost 4
#
interface Vlanif800
ip address 192.168.23.2 255.255.255.0
#
interface MEth0/0/1
#
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 5 200 800 999
mode lacp-static
#
interface GigabitEthernet0/0/1
eth-trunk 2
#
interface GigabitEthernet0/0/2
eth-trunk 2
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 200 999
#
interface GigabitEthernet0/0/4
port link-type trunk
port trunk allow-pass vlan 4 to 5 200 999
#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 2 to 3 200 999
#
interface GigabitEthernet0/0/6
port link-type access
port default vlan 800
#
interface NULL0
#
bfd bb bind peer-ip 192.168.23.1 source-ip 192.168.23.2 auto
commit
#
ospf 1 router-id 3.3.3.3
area 0.0.0.0
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
network 192.168.4.0 0.0.0.255
network 192.168.5.0 0.0.0.255
network 192.168.200.0 0.0.0.255
network 192.168.23.0 0.0.0.255
#
ip route-static 0.0.0.0 0.0.0.0 192.168.23.1
ip route-static 0.0.0.0 0.0.0.0 192.168.12.1 preference 65
#
user-interface con 0
user-interface vty 0 4
#
return

<HX_SW2>

<HJ_SW3>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Save the configuration successfully.
<HJ_SW3>
<HJ_SW3>
<HJ_SW3>dis cu
#
sysname HJ_SW3
#
undo info-center enable
#
vlan batch 2 to 5 200 999
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
stp region-configuration
region-name aa
revision-level 1
instance 1 vlan 2 to 3 200
instance 2 vlan 4 to 5
active region-configuration
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 3 999
mode lacp-static
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 3 999
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 3 999
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2 999
#
interface Ethernet0/0/4
eth-trunk 1
#
interface Ethernet0/0/5
eth-trunk 1
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<HJ_SW3>

<HJ_SW4>dis cu
#
sysname HJ_SW4
#
undo info-center enable
#
vlan batch 2 to 5 200 999
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
stp region-configuration
region-name aa
revision-level 1
instance 1 vlan 2 to 3 200
instance 2 vlan 4 to 5
active region-configuration
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4 to 5 999
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 4 to 5 999
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 4 to 5 999
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<HJ_SW4>

<JR_sw5>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Save the configuration successfully.
<JR_sw5>
<JR_sw5>
<JR_sw5>
<JR_sw5>dis cu
#
sysname JR_sw5
#
undo info-center enable
#
vlan batch 2 to 5 200 999
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 999
#
interface Ethernet0/0/2
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/3
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/4
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/5
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/6
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/7
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/8
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/9
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/10
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/11
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/12
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/13
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/14
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/15
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/16
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/17
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/18
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/19
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/20
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/21
port link-type access
port default vlan 2
stp edged-port enable
#
interface Ethernet0/0/22
port link-type access
port default vlan 2
stp edged-port enable
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<JR_sw5>

<JR_sw6>dis cu
#
sysname JR_sw6
#
undo info-center enable
#
vlan batch 2 to 5 200 999
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 3 999
mode lacp-static
#
interface Ethernet0/0/1
eth-trunk 1
#
interface Ethernet0/0/2
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/3
eth-trunk 1
#
interface Ethernet0/0/4
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/5
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/6
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/7
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/8
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/9
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/10
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/11
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/12
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/13
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/14
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/15
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/16
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/17
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/18
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/19
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/20
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/21
port link-type access
port default vlan 3
stp edged-port enable
#
interface Ethernet0/0/22
port link-type access
port default vlan 3
stp edged-port enable
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<JR_sw6>

<JR_SW7>dis cu
#
sysname JR_SW7
#
undo info-center enable
#
vlan batch 2 to 5 200 999
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 4 to 5 999
#
interface Ethernet0/0/2
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/3
port link-type access
port default vlan 5
stp edged-port enable
#
interface Ethernet0/0/4
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/5
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/6
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/7
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/8
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/9
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/10
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/11
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/12
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/13
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/14
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/15
port link-type access
port default vlan 4
stp edged-port enable
#
interface Ethernet0/0/16
port link-type access
port default vlan 5
stp edged-port enable
#
interface Ethernet0/0/17
port link-type access
port default vlan 5
stp edged-port enable
#
interface Ethernet0/0/18
port link-type access
port default vlan 5
stp edged-port enable
#
interface Ethernet0/0/19
port link-type access
port default vlan 5
stp edged-port enable
#
interface Ethernet0/0/20
port link-type access
port default vlan 5
stp edged-port enable
#
interface Ethernet0/0/21
port link-type access
port default vlan 5
stp edged-port enable
#
interface Ethernet0/0/22
port link-type access
port default vlan 5
stp edged-port enable
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<JR_SW7>

<JF_sw8>dis cu
#
sysname JF_sw8
#
undo info-center enable
#
vlan batch 200 999
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
stp region-configuration
region-name aa
revision-level 1
instance 1 vlan 2 to 3 200
instance 2 vlan 4 to 5
active region-configuration
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 200 999
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 200 999
#
interface Ethernet0/0/3
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/4
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/5
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/6
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/7
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/8
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/9
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/10
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/11
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/12
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/13
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/14
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/15
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/16
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/17
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/18
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/19
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/20
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/21
port link-type access
port default vlan 200
stp edged-port enable
#
interface Ethernet0/0/22
port link-type access
port default vlan 200
stp edged-port enable
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<JF_sw8>

<R1>dis cu
[V200R003C00]
#
sysname R1
#
board add 0/1 1GEC
board add 0/2 1GEC
board add 0/3 1GEC
board add 0/4 1GEC
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
undo info-center enable
#
set cpu-usage threshold 80 restore 75
#
bfd
#
acl number 2000
rule 10 permit source 192.168.0.0 0.0.255.255
rule 15 deny
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 192.168.12.1 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 192.168.23.1 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet1/0/0
ip address 13.1.1.1 255.255.255.0
nat outbound 2000
#
interface GigabitEthernet2/0/0
ip address 14.1.1.1 255.255.255.0
#
interface GigabitEthernet3/0/0
#
interface GigabitEthernet4/0/0
#
interface NULL0
#
bfd aa bind peer-ip 192.168.12.2 source-ip 192.168.12.1 auto
commit
#
bfd bb bind peer-ip 192.168.23.2 source-ip 192.168.23.1 auto
commit
#
ospf 1 router-id 1.1.1.1
area 0.0.0.0
network 14.1.1.0 0.0.0.255
network 192.168.12.0 0.0.0.255
network 192.168.23.0 0.0.0.255
#
ip route-static 0.0.0.0 0.0.0.0 13.1.1.2
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<R1>

<fenzhiR4>dis cu
#
sysname fenzhiR4
#
undo info-center enable
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#
local-user admin service-type http
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 14.1.1.2 255.255.255.0
#
interface Ethernet0/0/1
ip address 192.168.100.1 255.255.255.0
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
ospf 1 router-id 4.4.4.4
area 0.0.0.0
network 192.168.100.0 0.0.0.255
network 14.1.1.0 0.0.0.255
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
<fenzhiR4>

<dianxinR2>dis cu
[V200R003C00]
#
sysname dianxinR2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
drop illegal-mac alarm
#
undo info-center enable
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 12.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 25.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
rip 1
version 2
network 12.0.0.0
network 25.0.0.0
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
<dianxinR2> pppoe配置还没做,等下次更新

<liantongR3>dis cu
#
sysname liantongR3
#
undo info-center enable
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#
local-user admin service-type http
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 13.1.1.2 255.255.255.0
#
interface Ethernet0/0/1
ip address 35.1.1.1 255.255.255.0
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
rip 1
version 2
network 13.0.0.0
network 35.0.0.0
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
<liantongR3>

<hulianwangR5>dis cu
#
sysname hulianwangR5
#
undo info-center enable
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#
local-user admin service-type http
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 25.1.1.2 255.255.255.0
#
interface Ethernet0/0/1
ip address 35.1.1.2 255.255.255.0
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
ip address 5.5.5.1 255.255.255.0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
rip 1
version 2
network 35.0.0.0
network 25.0.0.0
network 5.0.0.0
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
<hulianwangR5>

<DHCP>dis cu
#
sysname DHCP
#
undo info-center enable
#
dhcp enable
#
ip pool vlan2
gateway-list 192.168.2.1
network 192.168.2.0 mask 255.255.255.0
excluded-ip-address 192.168.2.200 192.168.2.254
dns-list 114.114.114.114 2.2.2.2
#
ip pool vlan3
gateway-list 192.168.3.1
network 192.168.3.0 mask 255.255.255.0
excluded-ip-address 192.168.3.200 192.168.3.254
dns-list 114.114.114.114 3.3.3.3
#
ip pool vlan4
gateway-list 192.168.4.1
network 192.168.4.0 mask 255.255.255.0
excluded-ip-address 192.168.4.200 192.168.4.254
dns-list 114.114.114.114 4.4.4.4
#
ip pool vlan5
gateway-list 192.168.5.1
network 192.168.5.0 mask 255.255.255.0
excluded-ip-address 192.168.5.200 192.168.5.254
dns-list 114.114.114.114 5.5.5.5
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher OOCM4m($F4ajUn1vMEIBNUw#
local-user admin service-type http
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 192.168.200.3 255.255.255.0
dhcp select global
#
interface Ethernet0/0/1
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.200.1
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
<DHCP>

只做到DHCP中继服务了,还有电信的pppoe拨号上网、telnet、策略路由等还没做,等下次更新,配置需要对照拓扑图来看

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/5/22 19:04:38

PyCausalSim:基于模拟的因果发现的Python框架

做 A/B 测试或者分析转化率的时候&#xff0c;经常会碰到那个老生常谈的问题&#xff1a; “这数据的波动到底是干预引起的&#xff0c;还是仅仅是相关性&#xff1f;” 传统的分析手段和机器学习擅长告诉你什么能预测结果&#xff0c;但预测不等于因果。而在做决策&#xff…

作者头像 李华
网站建设 2026/5/21 13:31:21

技术工具类文章仿写专家Prompt指南

技术工具类文章仿写专家Prompt指南 【免费下载链接】LeagueAkari ✨兴趣使然的&#xff0c;功能全面的英雄联盟工具集。支持战绩查询、自动秒选等功能。基于 LCU API。 项目地址: https://gitcode.com/gh_mirrors/le/LeagueAkari 一、核心任务定义 你是一名专业的文章仿…

作者头像 李华
网站建设 2026/5/22 11:19:56

终极指南:5步实现B站视频高效批量下载与高清保存

终极指南&#xff1a;5步实现B站视频高效批量下载与高清保存 【免费下载链接】downkyi 哔哩下载姬downkyi&#xff0c;哔哩哔哩网站视频下载工具&#xff0c;支持批量下载&#xff0c;支持8K、HDR、杜比视界&#xff0c;提供工具箱&#xff08;音视频提取、去水印等&#xff09…

作者头像 李华
网站建设 2026/5/21 21:29:49

2024年8月中文大模型战力榜:国产模型全面崛起改写全球竞争格局

一、行业背景与研究意义 【免费下载链接】DeepSeek-V2-Chat-0628 DeepSeek-V2-Chat-0628&#xff0c;开源创新之作&#xff0c;AI聊天机器人性能卓越&#xff0c;编码能力出众。在LMSYS Chatbot Arena榜单脱颖而出&#xff0c;多项任务表现领先。升级优化&#xff0c;体验更佳&…

作者头像 李华
网站建设 2026/5/22 20:15:27

LeetCode热题100--215. 数组中的第K个最大元素--中等

题目 给定整数数组 nums 和整数 k&#xff0c;请返回数组中第 k 个最大的元素。 请注意&#xff0c;你需要找的是数组排序后的第 k 个最大的元素&#xff0c;而不是第 k 个不同的元素。 你必须设计并实现时间复杂度为 O(n) 的算法解决此问题。 示例 1: 输入: [3,2,1,5,6,4]…

作者头像 李华
网站建设 2026/5/6 7:28:24

C语言递归函数的习题笔记

字符串逆序的递归实现&#xff08;C语言&#xff09;在C语言中&#xff0c;实现字符串逆序的递归方法是一种高效且直观的方式。递归的核心思想是将问题分解为更小的子问题&#xff1a;通过交换字符串的首尾字符&#xff0c;然后递归地处理剩余的子字符串&#xff0c;直到整个字…

作者头像 李华