3com S7906E Manuel De Montage

Page de 2621
 
1-50 
<SwitchA> system-view 
[SwitchA] ospf 
[SwitchA-ospf-1] area 0 
[SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 
[SwitchA-ospf-1-area-0.0.0.0] quit 
[SwitchA-ospf-1] area 1 
[SwitchA-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255 
[SwitchA-ospf-1-area-0.0.0.1] quit 
[SwitchA-ospf-1] quit 
# Configure Switch B. 
<SwitchB> system-view 
[SwitchB] ospf 
[SwitchB-ospf-1] area 0 
[SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 
[SwitchB-ospf-1-area-0.0.0.0] quit 
[SwitchB-ospf-1] area 2 
[SwitchB-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255 
[SwitchB-ospf-1-area-0.0.0.2] quit 
[SwitchB-ospf-1] quit 
# Configure Switch C 
<SwitchC> system-view 
[SwitchC] ospf 
[SwitchC-ospf-1] area 1 
[SwitchC-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255 
[SwitchC-ospf-1-area-0.0.0.1] network 10.4.1.0 0.0.0.255 
[SwitchC-ospf-1-area-0.0.0.1] quit 
[SwitchC-ospf-1] quit 
# Configure Switch D 
<SwitchD> system-view 
[SwitchD] ospf 
[SwitchD-ospf-1] area 2 
[SwitchD-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255 
[SwitchD-ospf-1-area-0.0.0.2] network 10.5.1.0 0.0.0.255 
[SwitchD-ospf-1-area-0.0.0.2] quit 
[SwitchD-ospf-1] quit 
3)  Verify the configuration 
# Display information about neighbors on Switch A. 
[SwitchA] display ospf peer verbose 
 
          OSPF Process 1 with Router ID 10.2.1.1 
                  Neighbors 
 
 Area 0.0.0.0 interface 10.1.1.1(Vlan-interface100)'s neighbors 
 Router ID: 10.3.1.1         Address: 10.1.1.2         GR State: Normal 
   State: Full  Mode: Nbr is Master  Priority: 1 
   DR: 10.1.1.1  BDR: 10.1.1.2  MTU: 0