3com S7906E 설치 설명서

다운로드
페이지 2621
 
1-34 
Figure 1-10 
Network diagram for configuring LDP sessions  
 
 
Configuration procedure 
1)  Configure the IP addresses of the interfaces 
Configure the IP addresses and masks of the interfaces including the VLAN interfaces and loopback 
interfaces as required in 
. The detailed configuration procedure is omitted here. 
2)  Configure the routes for OSPF to advertise 
# Configure Switch A. 
<Sysname> system-view 
[Sysname] sysname SwitchA 
[SwitchA] ospf 
[SwitchA-ospf-1] area 0 
[SwitchA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.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] quit 
# Configure Switch B. 
<Sysname> system-view 
[Sysname] sysname SwitchB 
[SwitchB] ospf 
[SwitchB-ospf-1] area 0 
[SwitchB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.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] network 20.1.1.0 0.0.0.255 
[SwitchB-ospf-1-area-0.0.0.0] quit 
[SwitchB-ospf-1] quit 
# Configure Switch C. 
<Sysname> system-view 
[Sysname] sysname SwitchC 
[SwitchC] ospf 
[SwitchC-ospf-1] area 0 
[SwitchC-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0 
[SwitchC-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255 
[SwitchC-ospf-1-area-0.0.0.0] quit 
[SwitchC-ospf-1] quit 
After completing the above configurations, you will see that every switch has learned the routes to other 
switches if you execute the display ip routing-table command. The following takes Switch A as an 
example: