news 2025/12/16 21:19:45

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进行投诉反馈,一经查实,立即删除!
网站建设 2025/12/13 1:10:02

Day28~实现strlen、strcpy、strncpy、strcat、strncat

实现strlen、strcpy、strncpy、strcat、strncat#include <stdio.h>size_t my_strlen(const char *src) {size_t len 0;while (*src ! \0){len;src;}return len; }char *my_strcpy(char *dest, const char *src) {if (dest NULL || src NULL) // 判断输入的字符是否为空…

作者头像 李华
网站建设 2025/12/13 1:04:48

空洞骑士模组管理大师课:5个关键技巧让Scarab成为你的游戏管家

你是否曾经因为模组冲突而无法正常游戏&#xff1f;或者因为手动安装模组耗费了大量时间&#xff1f;Scarab作为一款专为空洞骑士设计的模组管理工具&#xff0c;正是你需要的解决方案。这款基于Avalonia框架开发的开源工具&#xff0c;让模组安装、更新和卸载变得前所未有的简…

作者头像 李华
网站建设 2025/12/13 1:03:43

实用方法:轻松实现NCM文件格式转换的完整解析

实用方法&#xff1a;轻松实现NCM文件格式转换的完整解析 【免费下载链接】NCMconverter NCMconverter将ncm文件转换为mp3或者flac文件 项目地址: https://gitcode.com/gh_mirrors/nc/NCMconverter NCMconverter是一款高效便捷的开源工具&#xff0c;专门用于将网易云音…

作者头像 李华
网站建设 2025/12/13 1:02:02

C++课后习题训练记录Day49

1.练习项目&#xff1a; 输入描述 第一行是一个整数 M&#xff08;1≤M≤1000&#xff09;&#xff0c;表示一共有 M 次操作。 第二行到第 M1 行输入操作&#xff0c;格式如下&#xff1a; IN name VOUT VIN name NOUT N 输出描述 输出 M 次操作后 VIP 窗口队列和普通窗口…

作者头像 李华
网站建设 2025/12/13 1:01:55

LeetCode 189. 旋转数组 | 三步反转最优解全拆解

「旋转数组」核心考察数组操作技巧与空间复杂度优化思路。这道题看似简单&#xff0c;却能延伸出多种解题方法&#xff0c;从暴力模拟到极致的空间优化&#xff0c;层层递进的思路能帮我们理解算法设计的核心 —— 用最少的资源解决问题。实际开发中&#xff0c;类似 循环数组操…

作者头像 李华
网站建设 2025/12/13 1:01:51

downkyi视频下载:告别卡顿与画质损失的终极解决方案

downkyi视频下载&#xff1a;告别卡顿与画质损失的终极解决方案 【免费下载链接】downkyi 哔哩下载姬downkyi&#xff0c;哔哩哔哩网站视频下载工具&#xff0c;支持批量下载&#xff0c;支持8K、HDR、杜比视界&#xff0c;提供工具箱&#xff08;音视频提取、去水印等&#xf…

作者头像 李华