Huawei AR2200-S Series Configuration Manual page 68

Enterprise router
Hide thumbs Also See for AR2200-S Series:
Table of Contents

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2.
Issue 01 (2012-01-06)
[RouterB] interface gigabitethernet1/0/0
[RouterB-GigabitEthernet1/0/0] ip address 4.1.1.2 255.255.255.0
[RouterB-GigabitEthernet1/0/0] quit
# Assign an IP address to the interface of RouterC.
<Huawei> system-view
[Huawei] sysname RouterC
[RouterC] interface gigabitethernet1/0/0
[RouterC-GigabitEthernet1/0/0] ip address 2.1.1.2 255.255.255.0
[RouterC-GigabitEthernet1/0/0] quit
# Assign an IP address to the interface of RouterD.
<Huawei> system-view
[Huawei] sysname RouterD
[RouterD] interface gigabitethernet1/0/0
[RouterD-GigabitEthernet1/0/0] ip address 4.1.1.1 255.255.255.0
[RouterD-GigabitEthernet1/0/0] quit
Configure OSPF.
# Configure RouterA.
[RouterA] ospf
[RouterA-ospf-1]area 0
[RouterA-ospf-1-area-0.0.0.0] network 2.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0]quit
# Configure RouterB.
[RouterB] ospf
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 4.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
# Configure RouterC.
[RouterC] ospf
[RouterC-ospf-1] area 0
[RouterC-ospf-1-area-0.0.0.0] network 2.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] quit
# Configure RouterD.
[RouterD] ospf
[RouterD-ospf-1] area 0
[RouterD-ospf-1-area-0.0.0.0] network 4.1.1.0 0.0.0.255
[RouterD-ospf-1-area-0.0.0.0] quit
After the configuration is complete, run the display ospf routing command on RouterA to
view OSPF routes.
<RouterA> display ospf routing
OSPF Process 1 with Router ID
192.168.200.208
Routing
Tables
Routing for
Network
Destination
Cost
Area
2.1.1.0/24
1
0.0.0.0
2.2.2.2/32
0
0.0.0.0
3.3.3.3/32
1
0.0.0.0
4.1.1.0/24
3
0.0.0.0
4.4.4.4/32
3
0.0.0.0
5.1.1.0/24
2
0.0.0.0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Type
NextHop
Transit
2.1.1.1
Stub
2.2.2.2
Stub
2.1.1.2
Transit
2.1.1.2
Stub
2.1.1.2
Transit
2.1.1.2
1 Interface Backup Configuration
AdvRouter
192.168.200.208
192.168.200.208
10.1.1.2
10.137.217.165
10.10.10.2
10.1.1.2
60

Advertisement

Table of Contents
loading

Table of Contents