3Com 10014299 manual To configure Ospf peer authentication Configure Router a

Models: 10014299

1 762
Download 762 pages 3.46 Kb
Page 449
Image 449

OSPF Configuration Example 445

[RouterC] router id 3.3.3.3

[RouterC] ospf enable [RouterC-ospf] interface ethernet 0 [RouterC-Ethernet0] ospf enable area 2

[RouterC-Ethernet0] interface serial 0 [RouterC-Serial0] ospf enable area 1

[RouterC-Serial0] quit

[RouterC] ospf

[RouterC-ospf]vlink peer-id 2.2.2.2 transit-area 1

Configuring OSPF Peer Verify peer authentication with simple text algorithm and MD5 algorithm. Simple Authentication text authentication is used when Router A and Router B exchange route updating

and MD5 authentication is used when Router A and Router C exchange route updating. The Ethernet interface of Router A and that of Router B are in OSPF area 0.The serial interface of Router A and that of Router B are both in area 1, configured with MD5 authentication.

Figure 150 Networking diagram of configuring OSPF peer authentication

Area 0

E0 192. 1. 1. 2/ 24

Simple authentication

2.2.2.2Router B

E0 192. 1. 1. 1/ 24

1.1.1.1

Router A

S0 193. 1. 1. 1/ 24

Area 1

MD5 authentication

S0 193. 1. 1. 2/ 24

Router C

3.3.3.3

To configure OSPF peer authentication:

1Configure Router A:

[RouterA] router id 1.1.1.1

[RouterA] ospf enable [RouterA-ospf]interface ethernet 0

[RouterA-Ethernet0]ip address 192.1.1.1 255.255.255.0

[RouterA-Ethernet0] ospf enable area 0

[RouterA-Ethernet0]ospf authentication-mode simple 3Com

[RouterA-Ethernet0] interface serial 0 [RouterA-Serial0] ip address 193.1.1.1 255.255.255.0

[RouterA-Serial0] ospf enable area 1

[RouterA-Serial0]ospf authentication-mode md5 3Com 11

2Configure Router B:

[RouterB] router id 2.2.2.2

Page 449
Image 449
3Com 10014299 manual To configure Ospf peer authentication Configure Router a