3com 8807 Mode D'Emploi

Page de 883
Typical OSPF Configuration Example
335
Network diagram
Figure 85   Network diagram
Configuration procedure
# Configure the switch Switch 8800 FamilyA
<Switch 8800 FamilyA> system-view
 
[Switch 8800 FamilyA] vlan 192
 
[Switch 8800 FamilyA-vlan192] port GigabitEthernet 3/1/1
 
[Switch 8800 FamilyA-vlan192] interface vlan 192
 
[Switch 8800 FamilyA-Vlan-interface192] ip address 192.168.1.1 24
 
[Switch 8800 FamilyA-Vlan-interface192] quit
 
[Switch 8800 FamilyA] ospf 1
 
[Switch 8800 FamilyA-ospf-1] graceful-restart 180
 
[Switch 8800 FamilyA-ospf-1] area 0
 
[Switch 8800 FamilyA-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
# Configure the switch Switch 8800 FamilyB
<Switch 8800 FamilyB> system-view
 
[Switch 8800 FamilyB] vlan 192
 
[Switch 8800 FamilyB-vlan192] port GigabitEthernet 3/1/1
 
[Switch 8800 FamilyB-vlan192] interface vlan 192
 
[Switch 8800 FamilyB-Vlan-interface192] ip address 192.168.1.2 24
 
[Switch 8800 FamilyB-Vlan-interface192] quit
 
[Switch 8800 FamilyB] interface GigabitEthernet 3/1/2
 
[Switch 8800 FamilyB-GigabitEthernet3/1/2] port access vlan 192
 
[Switch 8800 FamilyB-GigabitEthernet3/1/2] quit
 
[Switch 8800 FamilyB] ospf 1
 
[Switch 8800 FamilyB-ospf-1] graceful-restart 180
 
[Switch 8800 FamilyB-ospf-1] area 0
 
[Switch 8800 FamilyB-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
# Configure the switch Switch 8800 FamilyC
<Switch 8800 FamilyC> system-view
 
[Switch 8800 FamilyC] vlan 192
 
[Switch 8800 FamilyC-vlan192] port GigabitEthernet 3/1/1
 
[Switch 8800 FamilyC-vlan192] interface vlan 192
 
[Switch 8800 FamilyC-Vlan-interface192] ip address 192.168.1.3 24
 
[Switch 8800 FamilyC-Vlan-interface192] quit
 
[Switch 8800 FamilyC] ospf 1
 
[Switch 8800 FamilyC-ospf-1] graceful-restart 180
 
[Switch 8800 FamilyC-ospf-1] area 0
 
[Switch 8800 FamilyC-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255