路由器 R1 的配置
system-view
sysname R1
interface GigabitEthernet0/0/1
ip address 10.0.0.1 255.255.255.252
interface GigabitEthernet0/0/2
ip address 202.1.1.1 255.255.255.252
interface GigabitEthernet0/0/3
ip address 10.0.0.5 255.255.255.252
interface GigabitEthernet0/0/4
ip address 10.0.0.8 255.255.255.252
interface GigabitEthernet0/0/5
ip address 10.0.0.12 255.255.255.252
ip route-static 0.0.0.0 0.0.0.0 202.1.1.2
路由器 AR2 的配置
system-view
sysname AR2
interface GigabitEthernet0/0/0
ip address 100.100.100.1 255.255.255.0
interface GigabitEthernet0/0/1
ip address 202.1.1.2 255.255.255.252
ip route-static 0.0.0.0 0.0.0.0 202.1.1.1
交换机 LSW1 的配置
system-view
sysname LSW1
interface GigabitEthernet0/0/1
ip address 10.0.0.2 255.255.255.252
interface GigabitEthernet0/0/2
ip address 10.0.0.6 255.255.255.252
interface Vlanif2
ip address 10.0.2.1 255.255.255.0
interface Vlanif3
ip address 10.0.3.1 255.255.255.0
vlan batch 2 to 3
interface GigabitEthernet0/0/3
port link-type access
port default vlan 2
interface GigabitEthernet0/0/4
port link-type access
port default vlan 3
交换机 LSW2 的配置
system-view
sysname LSW2
interface GigabitEthernet0/0/1
ip address 10.0.0.9 255.255.255.252
interface GigabitEthernet0/0/2
ip address 10.0.0.10 255.255.255.252
interface GigabitEthernet0/0/3
ip address 10.0.0.13 255.255.255.252
interface Vlanif20
ip address 10.0.20.1 255.255.255.0
interface Vlanif30
ip address 10.0.30.1 255.255.255.0
vlan batch 20 to 30
interface GigabitEthernet0/0/4
port link-type access
port default vlan 20
interface GigabitEthernet0/0/5
port link-type access
port default vlan 30
交换机 LSW3 的配置
system-view
sysname LSW3
interface Vlanif20
ip address 10.0.20.1 255.255.255.0
vlan batch 20
interface GigabitEthernet0/0/1
port link-type access
port default vlan 20
交换机 LSW4 的配置
system-view
sysname LSW4
interface Vlanif30
ip address 10.0.30.1 255.255.255.0
vlan batch 30
interface GigabitEthernet0/0/1
port link-type access
port default vlan 30

2269

被折叠的 条评论
为什么被折叠?



