SW1
[SW1]v b 10
[SW1]int e0/0/1
[SW1-Ethernet0/0/1]po link-t a
[SW1-Ethernet0/0/1]po de v 10
[SW1-Ethernet0/0/1]int e0/0/2
[SW1-Ethernet0/0/2]po link-t a
[SW1-Ethernet0/0/2]po de v 10
[SW1-Ethernet0/0/2]int e0/0/3
[SW1-Ethernet0/0/3]po link-t t
[SW1-Ethernet0/0/3]po t a v a
SW2
[SW2]v b 20
[SW2]int e0/0/1
[SW2-Ethernet0/0/1]po link-t a
[SW2-Ethernet0/0/1]po de v 20
[SW2-Ethernet0/0/1]int e0/0/2
[SW2-Ethernet0/0/2]po link-t a
[SW2-Ethernet0/0/2]po de v 20
[SW2-Ethernet0/0/2]po link-t t
[SW2-Ethernet0/0/2]int e0/0/3
[SW2-Ethernet0/0/3]po link-t t
[SW2-Ethernet0/0/3]po t a v a
SW3
[SW3]v b 10 34 30
[SW3]int g0/0/1
[SW3-GigabitEthernet0/0/1]po link-t t
[SW3-GigabitEthernet0/0/1]po t a v a
[SW3-GigabitEthernet0/0/1]int g0/0/2
[SW3-GigabitEthernet0/0/2]po link-t t
[SW3-GigabitEthernet0/0/2]po link-t a
[SW3-GigabitEthernet0/0/2]po de v 30
[SW3-GigabitEthernet0/0/2]q
[SW3]int et 1
[SW3-Eth-Trunk1]mode lacp-static
[SW3-Eth-Trunk1]trunkport g0/0/3
[SW3-Eth-Trunk1]trunkport g0/0/4
[SW3-Eth-Trunk1]trunkport g0/0/5
[SW3-Eth-Trunk1]q
[SW3]lacp priority 0
[SW3-Eth-Trunk1]max active-linknumber 2
[SW3-Eth-Trunk1]int g0/0/4
[SW3-GigabitEthernet0/0/4]lacp priority 65000
[SW3-GigabitEthernet0/0/4]int et 1
[SW3-Eth-Trunk1]lacp preempt enable
[SW3-Eth-Trunk1]lacp preempt delay 10
[SW3-Eth-Trunk1]load-balance src-dst-mac
[SW3-Eth-Trunk1]ospf 1
[SW3-ospf-1]a 1
[SW3-ospf-1-area-0.0.0.1]net 34.1.1.0 0.0.0.255
[SW3-ospf-1-area-0.0.0.1]net 10.1.1.0 0.0.0.255
[SW3-ospf-1-area-0.0.0.1]net 30.1.1.0 0.0.0.255
[SW3-ospf-1-area-0.0.0.1]int v 10
[SW3-Vlanif10]ip ad 10.1.1.254 24
[SW3-Vlanif10]int v 30
[SW3-Vlanif30]ip ad 30.1.1.3 24
[SW3-Vlanif30]int v 34
[SW3-Vlanif34]ip ad 34.1.1.3 24
[SW3-Vlanif34]q
[SW3]dhcp enable
[SW3]dhcp server group bosai1
[SW3-dhcp-server-group-bosai1]dhcp-server 30.1.1.5
[SW3-dhcp-server-group-bosai1]int v 10
[SW3-Vlanif10]dhcp select relay
[SW3-Vlanif10]dhcp relay server-select bosai1
[SW3]stp mod
[SW3]stp mode stp
[SW3]ip route-static 0.0.0.0 0 30.1.1.5
SW4
[SW4]v b 20 34 40
[SW4]int g0/0/2
[SW4-GigabitEthernet0/0/2]po link-t a
[SW4-GigabitEthernet0/0/2]po de v 40
[SW4-GigabitEthernet0/0/2]int g0/0/14
[SW4-GigabitEthernet0/0/14]int g0/0/1
[SW4-GigabitEthernet0/0/1]po link-t t
[SW4-GigabitEthernet0/0/1]po t a v a
[SW4-GigabitEthernet0/0/1]int et 1
[SW4-Eth-Trunk1]mode lacp-static
[SW4-Eth-Trunk1]trunkport g0/0/3
[SW4-Eth-Trunk1]trunkport g0/0/4
[SW4-Eth-Trunk1]trunkport g0/0/5
[SW4-Eth-Trunk1]max a
[SW4-Eth-Trunk1]max active-linknumber 2
[SW4-Eth-Trunk1]int g0/0/4
[SW4-GigabitEthernet0/0/4]lacp priority 65000
[SW4-GigabitEthernet0/0/4]int et 1
[SW4-Eth-Trunk1]lacp preempt enable
[SW4-Eth-Trunk1]lacp preempt delay 10
[SW4-Eth-Trunk1]load-balance src-dst-mac
[SW4-Eth-Trunk1]ospf 1
[SW4-ospf-1]a 1
[SW4-ospf-1-area-0.0.0.1]net 34.1.1.0 0.0.0.255
[SW4-ospf-1-area-0.0.0.1]net 10.1.2.0 0.0.0.255
[SW4-ospf-1-area-0.0.0.1]net 40.1.1.0 0.0.0.255
[SW4-ospf-1-area-0.0.0.1]int v 20
[SW4-Vlanif20]ip ad 10.1.2.254 24
[SW4-Vlanif20]int v 40
[SW4-Vlanif40]ip ad 40.1.1.4 24
[SW4-Vlanif40]int v 34
[SW4-Vlanif34]ip ad 34.1.1.4 24
[SW4-Vlanif34]q
[SW4]dhcp enable
[SW4]dhcp server group bosai2
[SW4-dhcp-server-group-bosai2]dhcp-server 40.1.1.5
[SW4-dhcp-server-group-bosai2]int v 20
[SW4-Vlanif20]dhcp select relay
[SW4-Vlanif20]dhcp relay server-select bosai2
[SW4-Vlanif20]q
[SW4]stp mode stp
[SW4]ip route-static 0.0.0.0 0 40.1.1.5
SW5
[SW5]v b 30 40 15
[SW5]int g0/0/1
[SW5-GigabitEthernet0/0/1]po link-t a
[SW5-GigabitEthernet0/0/1]po de v 30
[SW5-GigabitEthernet0/0/1]int g0/0/2
[SW5-GigabitEthernet0/0/2]po link-t a
[SW5-GigabitEthernet0/0/2]po de v 40
[SW5-GigabitEthernet0/0/2]int g0/0/3
[SW5-GigabitEthernet0/0/3]po link-t a
[SW5-GigabitEthernet0/0/3]po de v 15
[SW5-GigabitEthernet0/0/3]ospf 1
[SW5-ospf-1]a 1
[SW5-ospf-1-area-0.0.0.1]net 30.1.1.0 0.0.0.255
[SW5-ospf-1-area-0.0.0.1]net 40.1.1.0 0.0.0.255
[SW5-ospf-1-area-0.0.0.1]net 15.1.1.0 0.0.0.255
[SW5-ospf-1-area-0.0.0.1]int v30
[SW5-Vlanif30]ip ad 30.1.1.5 24
[SW5-Vlanif30]int v 40
[SW5-Vlanif40]ip ad 40.1.1.5 24
[SW5-Vlanif40]int v 15
[SW5-Vlanif15]ip ad 15.1.1.5 24
[SW5-Vlanif15]q
[SW5]dhcp enable
[SW5]ip pool huawei1
[SW5-ip-pool-huawei1]gateway-list 10.1.1.254
[SW5-ip-pool-huawei1]network 10.1.1.0 mask 24
[SW5-ip-pool-huawei1]int v 30
[SW5-Vlanif30]dhcp select global
[SW5-Vlanif30]q
[SW5]ip route-static 10.1.1.0 24 30.1.1.3
[SW5]ip pool huawei2
[SW5-ip-pool-huawei2]int v 30
[SW5-Vlanif30]ip pool huawei1
[SW5-ip-pool-huawei1]lease day 2
[SW5-ip-pool-huawei1]ip pool huawei2
[SW5-ip-pool-huawei2]gateway-list 10.1.2.254
[SW5-ip-pool-huawei2]network 10.1.2.0 mask 24
[SW5-ip-pool-huawei2]lease day 2
[SW5-ip-pool-huawei2]int v 40
[SW5-Vlanif40]dhcp select global
[SW5-Vlanif40]q
[SW5]ip route-static 10.1.2.0 24 40.1.1.4
[SW5]stp mode stp
[SW5]stp priority 4096
[SW5]ip route-static 0.0.0.0 0 15.1.1.1
R1
[R1]int g0/0/2
[R1-GigabitEthernet0/0/2]ip ad 10.1.3.254 24
[R1-GigabitEthernet0/0/2]int g0/0/0
[R1-GigabitEthernet0/0/0]ip ad 15.1.1.1 24
[R1-GigabitEthernet0/0/0]int g0/0/1
[R1-GigabitEthernet0/0/1]ip ad 12.1.1.1 24
[R1-GigabitEthernet0/0/1]ospf 1
[R1-ospf-1]a 1
[R1-ospf-1-area-0.0.0.1]net 10.1.3.0 0.0.0.255
[R1-ospf-1-area-0.0.0.1]net 12.1.1.0 0.0.0.255
[R1-ospf-1-area-0.0.0.1]net 15.1.1.0 0.0.0.255
[R1]ip route-static 0.0.0.0 0 12.1.1.2
R2
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip ad 12.1.1.2 24
[R2-GigabitEthernet0/0/0]int g0/0/1
[R2-GigabitEthernet0/0/1]ip ad 23.1.1.2 24
[R2-GigabitEthernet0/0/1]int g0/0/2
[R2-GigabitEthernet0/0/2]ip ad 24.1.1.2 24
[R2-GigabitEthernet0/0/2]ospf 1
[R2-ospf-1]a 1
[R2-ospf-1-area-0.0.0.1]net 12.1.1.0 0.0.0.255
[R2-ospf-1-area-0.0.0.1]q
[R2-ospf-1]a 0
[R2-ospf-1-area-0.0.0.0]net 23.1.1.0 0.0.0.255
[R2-ospf-1-area-0.0.0.0]net 24.1.1.0 0.0.0.255
[R2]ip route-static 0.0.0.0 0 23.1.1.3
[R2]ip route-static 0.0.0.0 0 24.1.1.4
[R2]int g0/0/2
[R2-GigabitEthernet0/0/2]ospf cost 6
R3
[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]ip ad 23.1.1.3 24
[R3-GigabitEthernet0/0/0]int g0/0/1
[R3-GigabitEthernet0/0/1]ip ad 35.1.1.3 24
[R3-GigabitEthernet0/0/1]ospf 1
[R3-ospf-1]a 0
[R3-ospf-1-area-0.0.0.0]net 23.1.1.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0]net 35.1.1.0 0.0.0.255
[R3]ip route-static 0.0.0.0 0 35.1.1.5
R4
[R4]int g0/0/0
[R4-GigabitEthernet0/0/0]ip ad 24.1.1.4 24
[R4-GigabitEthernet0/0/0]int g 0/0/1
[R4-GigabitEthernet0/0/1]ip ad 45.1.1.4 24
[R4-GigabitEthernet0/0/1]ospf 1
[R4-ospf-1]a 0
[R4-ospf-1-area-0.0.0.0]net 24.1.1.0 0.0.0.255
[R4-ospf-1-area-0.0.0.0]net 45.1.1.0 0.0.0.255
[R4]ip route-static 0.0.0.0 0 45.1.1.5
R5
[R5]int g0/0/0
[R5-GigabitEthernet0/0/0]ip ad 35.1.1.5 24
[R5-GigabitEthernet0/0/0]int g0/0/1
[R5-GigabitEthernet0/0/1]ip ad 45.1.1.5 24
[R5-GigabitEthernet0/0/1]int g0/0/3
[R5-GigabitEthernet0/0/3]ip ad 51.1.1.5 24
[R5-GigabitEthernet0/0/3]ospf 1
[R5-ospf-1]a 0
[R5-ospf-1-area-0.0.0.0]net 35.1.1.0 0.0.0.255
[R5-ospf-1-area-0.0.0.0]net 45.1.1.0 0.0.0.255
[R5-ospf-1-area-0.0.0.0]net 51.1.1.0 0.0.0.255
[R5-ospf-1-area-0.0.0.0]q
[R5-ospf-1]int g0/0/2.1
[R5-GigabitEthernet0/0/2.1]ip ad 50.1.1.254 24
[R5-GigabitEthernet0/0/2.1]dot1q termination vid 50
[R5-GigabitEthernet0/0/2.1]arp broadcast enable
[R5-GigabitEthernet0/0/2.1]int g0/0/2.2
[R5-GigabitEthernet0/0/2.2]dot1q termination vid 60
[R5-GigabitEthernet0/0/2.2]ip ad 60.1.1.254 24
[R5-GigabitEthernet0/0/2.2]arp broadcast enable
[R5-GigabitEthernet0/0/2.2]ospf 1
[R5-ospf-1]a 2
[R5-ospf-1-area-0.0.0.2]net 50.1.1.0 0.0.0.255
[R5-ospf-1-area-0.0.0.2]net 60.1.1.0 0.0.0.255
[R5-ospf-1-area-0.0.0.2]q
[R5-ospf-1]q
[R5]ip route-static 0.0.0.0 0 51.1.1.1
SW6
[SW6]v b 50 60
[SW6]int e0/0/2
[SW6-Ethernet0/0/2]po link-t a
[SW6-Ethernet0/0/2]po de v 50
[SW6-Ethernet0/0/2]int e0/0/2
[SW6-Ethernet0/0/2]po link-t a
[SW6-Ethernet0/0/2]po de v 60
[SW6-Ethernet0/0/2]po de v 50
[SW6-Ethernet0/0/2]int e0/0/3
[SW6-Ethernet0/0/3]po link-t a
[SW6-Ethernet0/0/3]po de v 60
[SW6-Ethernet0/0/3]int e0/0/1
[SW6-Ethernet0/0/1]po link-t t
[SW6-Ethernet0/0/1]po t a v a
AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip ad 51.1.1.1 24
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip ad 200.1.1.1 24
[AR1-GigabitEthernet0/0/1]ospf 1
[AR1-ospf-1]a 0
[AR1-ospf-1-area-0.0.0.0]net 51.1.1.0 0.0.0.255
[AR1-ospf-1-area-0.0.0.0]q
[AR1-ospf-1]q
[AR1]nat address-group 1 200.1.1.10 200.1.1.20
[AR1]acl 2000
[AR1-acl-basic-2000]rule permit source 10.1.1.0 0.0.0.255
[AR1-acl-basic-2000]rule permit source 10.1.2.0 0.0.0.255
[AR1-acl-basic-2000]rule permit source 10.1.3.0 0.0.0.25
[AR1-acl-basic-2000]rule permit source 50.1.1.0 0.0.0.255
[AR1-acl-basic-2000]rule permit source 60.1.1.0 0.0.0.255
[AR1-acl-basic-2000]q
[AR1]int g0/0/1
[AR1-GigabitEthernet0/0/1]nat outbound 2000 address-group 1
[AR1-GigabitEthernet0/0/1]q
[AR1]ip route-static 0.0.0.0 0 200.1.1.2
[AR1]int g0/0/1
[AR1-GigabitEthernet0/0/1]nat server global 200.1.1.100 inside 10.1.3.1
AR2
[AR2]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip ad 202.1.1.254 24
[AR2-GigabitEthernet0/0/1]int g0/0/0
[AR2-GigabitEthernet0/0/0]IP ad 200.1.1.2 24
[AR2-GigabitEthernet0/0/0]q