Huawei S6700 Series Configuration Manual page 164

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
4.
Configuration Files
l
Issue 01 (2012-03-15)
Destination
Cost
0.0.0.0/0
172.16.1.0/24
172.17.1.0/24
192.168.0.0/24
192.168.1.0/24
192.168.2.0/24
Total Nets: 6
Intra Area: 2
Inter Area: 4
When the area where SwitchC resides is configured as a stub area, you may not find the
AS external route but a default route external to the AS.
# Disable Router A from advertising Type3 LSAs to the stub area.
[SwitchA] ospf
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] stub no-summary
[SwitchA-ospf-1-area-0.0.0.1] quit
[SwitchA-ospf-1] quit
Verify the configuration.
# Check the OSPF routing table of SwitchC.
[SwitchC] display ospf routing
OSPF Process 1 with Router ID 3.3.3.3
Routing Tables
Routing for Network
Destination
Cost
0.0.0.0/0
172.16.1.0/24
192.168.1.0/24
Total Nets: 3
Intra Area: 2
Inter Area: 1
After the advertisement of Summary-LSA to the stub area is disabled, the route entries are
further reduced. The AS external routes are invisible in the routing table. Instead, there is
a default route.
Configuration file of SwitchA
#
sysname SwitchA
#
router id 1.1.1.1
#
vlan batch 10 20
#
interface Vlanif10
ip address 192.168.0.1 255.255.255.0
#
interface Vlanif20
ip address 192.168.1.1 255.255.255.0
#
interface XGigabitEthernet0/0/1
port trunk allow-pass vlan 10
#
interface XGigabitEthernet0/0/2
port trunk allow-pass vlan 20
#
ospf 1
area 0.0.0.0
network 192.168.0.0 0.0.0.255
area 0.0.0.1
network 192.168.1.0 0.0.0.255
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Type
NextHop
2
Inter-area
192.168.1.1
1
Transit
172.16.1.1
4
Inter-area
192.168.1.1
2
Inter-area
192.168.1.1
1
Transit
192.168.1.2
3
Inter-area
192.168.1.1
ASE: 0
NSSA: 0
Type
2
Inter-area
192.168.1.1
1
Transit
172.16.1.1
1
Transit
192.168.1.2
ASE: 0
NSSA: 0
4 OSPF Configuration
AdvRouter
1.1.1.1
3.3.3.3
1.1.1.1
1.1.1.1
3.3.3.3
1.1.1.1
NextHop
AdvRouter
1.1.1.1
3.3.3.3
3.3.3.3
Area
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
0.0.0.1
Area
0.0.0.1
0.0.0.1
0.0.0.1
145

Advertisement

Table of Contents
loading

Table of Contents