Example For Configuring A Stub Area Of Ospf - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l

4.14.2 Example for Configuring a Stub Area of OSPF

Networking Requirements
As shown in
three areas. SwitchA and SwitchB function as ABRs to forward routes between areas. SwitchD
functions as the ASBR to import static routes.
The requirement is to configure Area 1 as the stub area, thus reducing the LSAs advertised to
this area without affecting the route reachability.
Figure 4-6 Configuring OSPF stub areas
S-switch
SwitchA
SwitchA
SwitchB
Issue 01 (2012-03-15)
network 172.16.1.0 0.0.0.255
#
return
Configuration file of Switch F
#
sysname SwitchF
#
router id 6.6.6.6
#
vlan batch 50
#
interface Vlanif50
ip address 172.17.1.2 255.255.255.0
#
interface XGigabitEthernet0/0/1
port trunk allow-pass vlan 50
#
ospf 1
area 0.0.0.2
network 172.17.1.0 0.0.0.255
#
return
Figure
4-6, OSPF is enabled on all Switches and the entire AS is partitioned into
Switch A
XGE 0/0/2
Switch C
XGE 0/0/1
Area 1
XGE 0/0/2
XGE0/0/1
Switch E
Interface
XGE 0/0/1
XGE 0/0/2
XGE 0/0/1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Area 0
XGE 0/0/1
XGE 0/0/1
XGE 0/0/1
Area 2
XGE 0/0/2
4 OSPF Configuration
Switch B
XGE 0/0/2
Switch D
XGE0/0/1
Switch F
VLANIF Interface
IP Address
VLANIF 10
192.168.0.1/24
VLANIF 20
192.168.1.1/24
VLANIF 10
192.168.0.2/24
142

Advertisement

Table of Contents
loading

Table of Contents