拓扑如下
<jf1>dis cu
#
sysname jf1
#
undo info-center enable
#
vlan batch 10
#
interface Vlanif1
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
<jf2>dis cu
#
sysname jf2
#
undo info-center enable
#
vlan batch 10
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
<huiju>dis cu
#
sysname huiju
#
undo info-center enable
#
vlan batch 10
#
interface Vlanif10
ip address 192.168.10.254 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 10
#
ip route-static 10.10.10.0 255.255.255.0 192.168.10.253
#
<luyouqi>dis cu
#
sysname luyouqi
#
acl number 2000
rule 5 permit source 192.168.10.0 0.0.0.255
#
interface GigabitEthernet0/0/0
ip address 192.168.10.253 255.255.255.0
nat outbound 2000
#
interface GigabitEthernet0/0/1
ip address 10.10.10.1 255.255.255.0
#
<hexin>dis cu
#
sysname hexin
#
undo info-center enable
#
vlan batch 20
#
interface Vlanif20
ip address 10.10.10.254 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 20
#
ip route-static 192.168.10.0 255.255.255.0 10.10.10.1
#