H3c-technologies H3C WX6000 Series Access Controllers Instrukcja Użytkownika Strona 275

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 274
25-41
# Configure Switch B.
[SwitchB] ospf
[SwitchB-ospf-1] area 1
[SwitchB-ospf-1-area-0.0.0.1] stub
[SwitchB-ospf-1-area-0.0.0.1] quit
[SwitchB-ospf-1] quit
# Display OSPF routing information on Switch B.
[SwitchB] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
0.0.0.0/0 4 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.2.1.0/24 3 Transit 10.2.1.2 10.2.1.1 0.0.0.1
10.3.1.0/24 7 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.4.1.0/24 3 Stub 10.4.1.1 10.4.1.1 0.0.0.1
10.5.1.0/24 17 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.1.1.0/24 5 Inter 10.2.1.1 10.2.1.1 0.0.0.1
Total Nets: 6
Intra Area: 2 Inter Area: 4 ASE: 0 NSSA: 0
When Switch B resides in the Stub area, a default route takes the place of the external route.
# Filter Type-3 LSAs out the stub area
[AC] ospf
[AC-ospf-1] area 1
[AC-ospf-1-area-0.0.0.1] stub no-summary
[AC-ospf-1-area-0.0.0.1] quit
# Display OSPF routing information on Switch B.
[SwitchB] display ospf routing
OSPF Process 1 with Router ID 10.4.1.1
Routing Tables
Routing for Network
Destination Cost Type NextHop AdvRouter Area
0.0.0.0/0 4 Inter 10.2.1.1 10.2.1.1 0.0.0.1
10.2.1.0/24 3 Transit 10.2.1.2 10.4.1.1 0.0.0.1
10.4.1.0/24 3 Stub 10.4.1.1 10.4.1.1 0.0.0.1
Total Nets: 3
Przeglądanie stron 274
1 2 ... 270 271 272 273 274 275 276 277 278 279 280 ... 677 678

Komentarze do niniejszej Instrukcji

Brak uwag