动态路由OSPF实验配置

动态路由OSPF实验配置_第1张图片

动态路由OSPF实验配置_第2张图片

动态路由OSPF实验配置_第3张图片

动态路由OSPF实验配置_第4张图片

动态路由OSPF实验配置_第5张图片

动态路由OSPF实验配置_第6张图片

动态路由OSPF实验配置_第7张图片

查看接口配置display ip interface brief

动态路由OSPF实验配置_第8张图片

display ip interface brief

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 4

The number of interface that is DOWN in Physical is 0

The number of interface that is UP in Protocol is 4

The number of interface that is DOWN in Protocol is 0

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              192.168.10.1/24      up         up        

GigabitEthernet0/0/1              10.1.10.254/24       up         up        

GigabitEthernet0/0/2              192.168.30.1/24      up         up        

NULL0                             unassigned           up         up(s)     

display ip interface brief

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 4

The number of interface that is DOWN in Physical is 0

The number of interface that is UP in Protocol is 4

The number of interface that is DOWN in Protocol is 0

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              192.168.10.2/24      up         up        

GigabitEthernet0/0/1              192.168.20.2/24      up         up        

GigabitEthernet0/0/2              60.222.227.130/24    up         up        

NULL0                             unassigned           up         up(s)

display ip interface brief

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 4

The number of interface that is DOWN in Physical is 0

The number of interface that is UP in Protocol is 4

The number of interface that is DOWN in Protocol is 0

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              192.168.20.3/24      up         up        

GigabitEthernet0/0/1              10.1.20.254/24       up         up        

GigabitEthernet0/0/2              192.168.40.3/24      up         up        

NULL0                             unassigned           up         up(s)

display ip interface brief

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 2

The number of interface that is DOWN in Physical is 2

The number of interface that is UP in Protocol is 2

The number of interface that is DOWN in Protocol is 2

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              60.222.227.1/24      up         up        

GigabitEthernet0/0/1              unassigned           down       down      

GigabitEthernet0/0/2              unassigned           down       down      

NULL0                             unassigned           up         up(s)     

display ip interface brief

*down: administratively down

^down: standby

(l): loopback

(s): spoofing

The number of interface that is UP in Physical is 3

The number of interface that is DOWN in Physical is 1

The number of interface that is UP in Protocol is 3

The number of interface that is DOWN in Protocol is 1

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              192.168.30.5/24      up         up        

GigabitEthernet0/0/1              192.168.40.5/24      up         up        

GigabitEthernet0/0/2              unassigned           down       down      

NULL0                             unassigned           up         up(s)   

防环检测配置

[AR1]interface LoopBack 0

[AR1-LoopBack0]ip address 1.1.1.1 32

[AR1-LoopBack0]quit

[AR1]quit

save

[AR2]interface LoopBack 0

[AR2-LoopBack0]ip address 2.2.2.2 32

[AR2-LoopBack0]quit

[AR2]quit

save

[AR3]interface LoopBack 0

[AR3-LoopBack0]ip address 3.3.3.3 32

[AR3-LoopBack0]quit

[AR3]quit

save

[AR4]interface LoopBack 0

[AR4-LoopBack0]ip address 4.4.4.4 32

[AR4-LoopBack0]quit

[AR4]quit

save

[AR5]interface LoopBack 0

[AR5-LoopBack0]ip address 5.5.5.5 32

[AR5-LoopBack0]quit

[AR5]quit

save

配置ospf

[AR1]ospf 1 router-id 1.1.1.1

[AR1-ospf-1-area-0.0.0.0]network 192.168.10.0 0.0.0.255

[AR1-ospf-1-area-0.0.0.0]network 192.168.30.0 0.0.0.255

[AR1-ospf-1-area-0.0.0.0]network 10.1.10.0 0.0.0.255

[AR1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0

[AR1-ospf-1-area-0.0.0.0]quit

[AR1-ospf-1]quit

[AR1]quit

save

[AR2]ospf 1 router-id 2.2.2.2

[AR2-ospf-1-area-0.0.0.0]network 192.168.10.0 0.0.0.255

[AR2-ospf-1-area-0.0.0.0]network 192.168.20.0 0.0.0.255

[AR2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0

[AR2-ospf-1-area-0.0.0.0]quit

[AR2-ospf-1]quit

[AR2]quit

save

[AR3]ospf 1 router-id 3.3.3.3

[AR3-ospf-1]area 0

[AR3-ospf-1-area-0.0.0.0]network 192.168.10.0 0.0.0.255

[AR3-ospf-1-area-0.0.0.0]network 192.168.40.0 0.0.0.255

[AR3-ospf-1-area-0.0.0.0]network 10.1.20.0 0.0.0.255

[AR3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0

[AR3-ospf-1-area-0.0.0.0]quit

[AR3-ospf-1]quit

[AR3]quit

save

[AR5]ospf 1 router-id 5.5.5.5

[AR5-ospf-1]area 0

[AR5-ospf-1-area-0.0.0.0]network 192.168.30.0 0.0.0.255

[AR5-ospf-1-area-0.0.0.0]network 192.168.40.0 0.0.0.255

[AR5-ospf-1-area-0.0.0.0]network 5.5.5.5 0.0.0.0

[AR5-ospf-1-area-0.0.0.0]quit

[AR5-ospf-1]quit

[AR5]quit

save

通信测试

动态路由OSPF实验配置_第9张图片

display ip routing-table protocol ospf查看ospf路由表

动态路由OSPF实验配置_第10张图片

tracert 查看路由节点

动态路由OSPF实验配置_第11张图片

dis cur查看全局配置

动态路由OSPF实验配置_第12张图片

dis cur

[V200R003C00]

#

 sysname AR1

#

 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 192.168.10.1 255.255.255.0

#

interface GigabitEthernet0/0/1

 ip address 10.1.10.254 255.255.255.0

#

interface GigabitEthernet0/0/2

 ip address 192.168.30.1 255.255.255.0

#

interface NULL0

#

interface LoopBack0

 ip address 1.1.1.1 255.255.255.255

#

ospf 1 router-id 1.1.1.1

 area 0.0.0.0

  network 1.1.1.1 0.0.0.0

  network 10.1.10.0 0.0.0.255

  network 192.168.10.0 0.0.0.255

  network 192.168.30.0 0.0.0.255

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

dis cur

[V200R003C00]

#

 sysname AR2

#

 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 192.168.10.2 255.255.255.0

#

interface GigabitEthernet0/0/1

 ip address 192.168.20.2 255.255.255.0

#

interface GigabitEthernet0/0/2

 ip address 60.222.227.130 255.255.255.0

#

interface NULL0

#

interface LoopBack0

 ip address 2.2.2.2 255.255.255.255

#

ospf 1 router-id 2.2.2.2

 area 0.0.0.0

  network 2.2.2.2 0.0.0.0

  network 192.168.10.0 0.0.0.255

  network 192.168.20.0 0.0.0.255

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

dis cur

[V200R003C00]

#

 sysname AR3

#

 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 192.168.20.3 255.255.255.0

#

interface GigabitEthernet0/0/1

 ip address 10.1.20.254 255.255.255.0

#

interface GigabitEthernet0/0/2

 ip address 192.168.40.3 255.255.255.0

#

interface NULL0

#

interface LoopBack0

 ip address 3.3.3.3 255.255.255.255

#

ospf 1 router-id 3.3.3.3

 area 0.0.0.0

  network 3.3.3.3 0.0.0.0

  network 10.1.20.0 0.0.0.255

  network 192.168.10.0 0.0.0.255

  network 192.168.40.0 0.0.0.255

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

dis cur

[V200R003C00]

#

 sysname AR4

#

 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 60.222.227.1 255.255.255.0

#

interface GigabitEthernet0/0/1

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

interface LoopBack0

 ip address 4.4.4.4 255.255.255.255

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

dis cur

[V200R003C00]

#

 sysname AR5

#

 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 192.168.30.5 255.255.255.0

#

interface GigabitEthernet0/0/1

 ip address 192.168.40.5 255.255.255.0

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

interface LoopBack0

 ip address 5.5.5.5 255.255.255.255

#

ospf 1 router-id 5.5.5.5

 area 0.0.0.0

  network 5.5.5.5 0.0.0.0

  network 192.168.30.0 0.0.0.255

  network 192.168.40.0 0.0.0.255

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

你可能感兴趣的:(网络,大数据,服务器)