Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

2 / ИСС / Функции коммутаторов D-Link 3-его уровня и примеры их использования_SMM

.pdf
Скачиваний:
67
Добавлен:
06.02.2016
Размер:
6.28 Mб
Скачать

DGS-3324SR_1 ():

1. VLAN- IP-1, 2 3,

.

2. OSPF

: enable ospf

config ospf all state enabled

3. (1.0.0.0) : create ospf area 1.0.0.0 type normal

config ospf ipif net2 area 1.0.0.0 state enabled config ospf ipif net3 area 1.0.0.0 state enabled

4.: show ospf

DGS-3324SR_1 ():

1. VLAN- IP-1, 4 5,

.

2. OSPF

: enable ospf

config ospf all state enabled

3. (2.0.0.0) : create ospf area 2.0.0.0 type normal

config ospf ipif net4 area 2.0.0.0 state enabled config ospf ipif net5 area 2.0.0.0 state enabled

4.: show ospf

:

1. “show iproute” ,

4 5 OSPF.

2. “show iproute” ,

2 3 OSPF. 3. .

A0

0.0.0.0

 

DGS-3324SR_1

PC A: 192.168.4.1

: 192.168.4.254

! 4

Router_ID 1.1.1.1

 

192.168.4.x/24

 

A2

A1

 

2.0.0.0

1.0.0.0

 

 

 

! 5

!

3

192.168.5.x/24

 

 

192.168.3.x/24

DGS-3324SR_3

Router_ID 3.3.3.3

! 1

192.168.1.x/24

! 2

192.168.2.x/24

DGS-3324SR_2

Router_ID 2.2.2.2

PC B: 192.168.3.1 : 192.168.3.254

:

OSPF DGS-3324SR_1 2 3. DGS-3324SR_2 3.

DGS-3324SR_3 2.

PC C: 192.168.2.1 : 192.168.2.254

, :

OSPF – : 1/3

DGS-3324SR_2

 

!

! ! 3 4

1

192.168.3.x/24

!

192.168.1.x/24

192.168.4.x/24

 

 

5

! 2

DGS-3324SR_1 192.168.2.x/24

1.0.0.0

192.168.5.x/24

2.0.0.0

DGS-3324SR_3

0.0.0.0

:

OSPF , DGS-3324SR_3 (1 2), DGS3324SR_1.

:

DGS-3324SR_3 ( 0.0.0.0). ,

.

DGS-3324SR_1 ():

OSPF – : 2/3

1. VLAN- IP-1, 2 3, .

2. OSPF : enable ospf

config ospf all state enabled config ospf router_id 1.1.1.1

3. (1.0.0.0) :

create ospf area 1.0.0.0 type normal

config ospf ipif net3 area 1.0.0.0 state enabled config ospf router_id 1.1.1.1

DGS-3324SR_2 ():

1. VLAN- IP-3 4, .

2. OSPF : enable ospf

config ospf all state enabled config ospf router_id 2.2.2.2

3. (1.0.0.0) (2.0.0.0) :

create ospf area 1.0.0.0 type normal create ospf area 2.0.0.0 type normal

config ospf ipif net3 area 1.0.0.0 state enabled config ospf ipif net4 area 2.0.0.0 state enabled

OSPF –

:

:

3/3

“show iproute” ,

4 OSPF.

“show iproute” ,

1 2 OSPF.

DGS-3324SR_2 ():

1. VLAN- IP-1, 2 3, .

2. OSPF

: enable ospf

config ospf all state enabled

3. (2.0.0.0) :

create ospf area 2.0.0.0 type normal

config ospf ipif net4 area 2.0.0.0 state enabled config ospf ipif net4 area 2.0.0.0 state enabled config ospf router_id 3.3.3.3

4.: show ospf

5.:

create ospf virtual_link 0.0.0.0 3.3.3.3

create ospf virtual_link 2.0.0.0 1.1.1.1

:

“show iproute” ,

1 2 OSPF,

, 4 5

OSPF.

.

OSPF –

!!3

:

4

DGS-3324SR_2 192.168.3.x/24 192.168.4.x/24

20.0.0.0

10.0.0.0

! 1

192.168.1.x/24

! 6

192.168.6.x/24

! 5

!

!2 3

DGS-3324SR_1 192.168.2.x/24 192.168.3.x/24

2.0.0.0 2.0.0.0

4

192.168.5.x/24

!

 

 

 

192.168.4.x/24

DGS-3324SR_3

0.0.0.0 0.0.0.0

:

OSPF , DGS-3324SR_3

(1 2) DGS-3324SR_1 (5 6).

:

DGS-3324SR_3

!

OSPF-

1

 

192.168.1.x/24

 

DGS-3324SR_1

0.0.0.0

: 1/3

! 5

10.1.5.x/24

! 15

11.1.15.x/24

DGS-3324SR_3

DGS-3324SR_2

2.0.0.0

1.0.0.0

! 3

 

!

13

 

 

10.1.3.x/24

 

 

11.1.13.x//24

!

!

 

4 2

 

!

 

 

 

14

 

 

!

10.1.4.x/24

10.1.2.x/24

12

 

11.1.12.x/24

11.1.14.x/24

:

OSPF , :

1.DGS-3324SR_3 DGS-3324SR_1.

2.DGS-3324SR_1 DGS-3324SR_3.

:

«»

.

AREA 1.0.0.0 ,

AREA 2.0.0.0.

DGS-3324SR_1 ():

OSPF- : 2/3

1. VLAN- IP-1, 5 15,

.

2. OSPF

: enable ospf

config ospf all state enabled config ospf router_id 1.1.1.1

3. (1.0.0.0), (2.0.0.0) : create ospf area 1.0.0.0 type normal

create ospf area 2.0.0.0 type normal

config ospf ipif net5 area 1.0.0.0 state enabled config ospf ipif net15 area 2.0.0.0 state enabled

DGS-3324SR_2 ():

1. VLAN- IP-1, 12 - 15,

.

2. OSPF

: enable ospf

config ospf all state enabled config ospf router_id 3.3.3.3

3. (2.0.0.0) : create ospf area 2.0.0.0 type normal

config ospf ipif all area 2.0.0.0 state enabled

DGS-3324SR_3 ():

OSPF- : 3/3

1. VLAN- IP-2 - 5,

.

2.Enable OSPF, and enable the associated Interface or enable all. enable ospf

config ospf all state enabled config ospf router_id 2.2.2.2

3.Create new Area (1.0.0.0) and enable the associated Interface create ospf area 1.0.0.0 type normal

config ospf ipif all area 1.0.0.0 state enabled

OSPF-:

1., create ospf aggregation 1.0.0.0 10.1.0.0/16 lsdb_type summary

2., create ospf aggregation 2.0.0.0 11.1.0.0/16 lsdb_type summary

:

“show iproute” ,

OSPF.

“show iproute” ,

OSPF.

.