R1 sysname r1
#
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
#
set cpu-usage threshold 80 restore 75
#
dhcp enable
#
undo dhcp server bootp
#
ip pool 1
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
static-bind ip-address 192.168.1.11 mac-address 5489-98a3-2997
static-bind ip-address 192.168.1.22 mac-address 5489-9800-0b85
dns-list 8.8.8.8
#
ip pool 2
gateway-list 172.16.2.1
network 172.16.2.0 mask 255.255.255.0
static-bind ip-address 172.16.2.11 mac-address 5489-9085-2ab4
static-bind ip-address 172.16.2.22 mac-address 5489-988e-2db0
dns-list 8.8.8.8
#
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.1.1 255.255.255.0
ospf timer hello 5
#
interface GigabitEthernet0/0/1
ip address 172.16.2.1 255.255.255.0
ospf timer hello 5
dhcp select global
#
interface GigabitEthernet0/0/2
ip address 12.1.1.1 255.255.255.0
ospf timer hello 5
#
interface NULL0
#
ospf 100 router-id 1.1.1.1
area 0.0.0.1
authentication-mode simple cipher %$%$J0e}>00ZM>hb!e6HT+yIC7M3%$%$
network 1.1.1.1 0.0.0.0
network 12.1.1.0 0.0.0.255
network 172.16.2.0 0.0.0.255
network 192.168.1.0 0.0.0.255
#
user-interface con 0
authentication-mode password
idle-timeout 0 0
user-interface vty 0 4
user-interface vty 16 20
R2 sysname r2
#
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
#
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 Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
ip address 12.1.1.2 255.255.255.0
ospf timer hello 5
#
interface GigabitEthernet0/0/1
ip address 23.1.1.1 255.255.255.0
ospf timer hello 5
#
interface NULL0
#
ospf 100 router-id 2.2.2.2
area 0.0.0.1
authentication-mode simple cipher %$%$z#o}PWNKf=358'O!}]oBC7,8%$%$
network 2.2.2.2 0.0.0.0
network 12.1.1.0 0.0.0.255
network 23.1.1.0 0.0.0.255
#
user-interface con 0
authentication-mode password
idle-timeout 0 0
user-interface vty 0 4
user-interface vty 16 20
R3 sysname r3
#
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
#
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 Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
ip address 23.1.1.2 255.255.255.0
ospf timer hello 5
#
interface GigabitEthernet0/0/1
ip address 123.1.1.1 255.255.255.0
ospf dr-priority 0
ospf timer hello 5
#
interface NULL0
#
ospf 100 router-id 3.3.3.3
area 0.0.0.0
network 123.1.1.0 0.0.0.255
area 0.0.0.1
authentication-mode simple cipher %$%$PMZ*OW=N!Gmb7cQBGbQ+C7YG%$%$
network 3.3.3.3 0.0.0.0
network 23.1.1.0 0.0.0.255
#
user-interface con 0
authentication-mode password
idle-timeout 0 0
user-interface vty 0 4
user-interface vty 16 20
R4 sysname r4
#
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
#
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 Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
ip address 123.1.1.2 255.255.255.0
ospf timer hello 5
#
interface GigabitEthernet0/0/1
ip address 45.1.1.1 255.255.255.0
ospf timer hello 5
#
interface NULL0
#
ospf 100 router-id 4.4.4.4
area 0.0.0.0
network 4.4.4.4 0.0.0.0
network 123.1.1.0 0.0.0.255
area 0.0.0.2
authentication-mode md5
network 45.1.1.0 0.0.0.255
#
user-interface con 0
authentication-mode password
idle-timeout 0 0
user-interface vty 0 4
user-interface vty 16 20
R5 sysname r5
#
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
#
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 45.1.1.2 255.255.255.0
ospf timer hello 5
#
interface GigabitEthernet0/0/1
ip address 123.1.1.3 255.255.255.0
ospf timer hello 5
#
interface GigabitEthernet0/0/2
ip address 56.1.1.1 255.255.255.0
ospf timer hello 5
#
interface NULL0
#
ospf 100 router-id 5.5.5.5
area 0.0.0.0
network 5.5.5.5 0.0.0.0
network 123.1.1.0 0.0.0.255
area 0.0.0.2
authentication-mode md5
network 45.1.1.0 0.0.0.255
network 56.1.1.0 0.0.0.255
#
user-interface con 0
authentication-mode password
idle-timeout 0 0
user-interface vty 0 4
user-interface vty 16 20
R6 sysname r6
#
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
#
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 Ethernet0/0/0
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface GigabitEthernet0/0/0
ip address 123.1.1.4 255.255.255.0
ospf timer hello 5
#
interface GigabitEthernet0/0/1
ip address 56.1.1.2 255.255.255.0
ospf timer hello 5
#
interface NULL0
#
ospf 100 router-id 6.6.6.6
area 0.0.0.0
network 6.6.6.6 0.0.0.0
network 123.1.1.0 0.0.0.255
area 0.0.0.2
authentication-mode md5
network 56.1.1.0 0.0.0.255
#
user-interface con 0
authentication-mode password
idle-timeout 0 0
user-interface vty 0 4
user-interface vty 16 20
PC1>ping 56.1.1.1
Ping 56.1.1.1: 32 data bytes, Press Ctrl_C to break
From 56.1.1.1: bytes=32 seq=1 ttl=252 time=78 ms
From 56.1.1.1: bytes=32 seq=2 ttl=252 time=78 ms
From 56.1.1.1: bytes=32 seq=3 ttl=252 time=78 ms
From 56.1.1.1: bytes=32 seq=4 ttl=252 time=63 ms
From 56.1.1.1: bytes=32 seq=5 ttl=252 time=94 ms
--- 56.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 63/78/94 ms
PC3>ipconfig
Link local IPv6 address...........: fe80::5689:98ff:fe8e:2db0
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 172.16.2.22
Subnet mask.......................: 255.255.255.0
Gateway...........................: 172.16.2.1
Physical address..................: 54-89-98-8E-2D-B0
DNS server........................: 8.8.8.8