3com S7906E Manuel De Montage

Page de 2621
 
1-62 
Figure 1-26 Network diagram for OSPF DR election configuration 
 
 
Configuration procedure 
1)  Configure IP addresses for interfaces (omitted) 
2)  Configure OSPF basic functions 
# Configure Switch A. 
<SwitchA> system-view 
[SwitchA] router id 1.1.1.1 
[SwitchA] ospf 
[SwitchA-ospf-1] area 0 
[SwitchA-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
[SwitchA-ospf-1-area-0.0.0.0] quit 
[SwitchA-ospf-1] quit 
# Configure Switch B. 
<SwitchB> system-view 
[SwitchB] router id 2.2.2.2 
[SwitchB] ospf 
[SwitchB-ospf-1] area 0 
[SwitchB-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
[SwitchB-ospf-1-area-0.0.0.0] quit 
[SwitchB-ospf-1] quit 
# Configure Switch C. 
<SwitchC> system-view 
[SwitchC] router id 3.3.3.3 
[SwitchC] ospf 
[SwitchC-ospf-1] area 0 
[SwitchC-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
[SwitchC-ospf-1-area-0.0.0.0] quit 
[SwitchC-ospf-1] quit 
# Configure Switch D. 
<SwitchD> system-view 
[SwitchD] router id 4.4.4.4 
[SwitchD] ospf 
[SwitchD-ospf-1] area 0 
[SwitchD-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255