Huawei S6700 Series Configuration Manual page 168

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
4.
5.
Issue 01 (2012-03-15)
[SwitchA] ospf
[SwitchA-ospf-1] area 1
[SwitchA-ospf-1-area-0.0.0.1] nssa default-route-advertise no-summary
[SwitchA-ospf-1-area-0.0.0.1] quit
[SwitchA-ospf-1] quit
# Configure SwitchC.
[SwitchC] ospf
[SwitchC-ospf-1] area 1
[SwitchC-ospf-1-area-0.0.0.1] nssa
[SwitchC-ospf-1-area-0.0.0.1] quit
[SwitchC-ospf-1] quit
# Configure SwitchE.
[SwitchE] ospf
[SwitchE-ospf-1] area 1
[SwitchE-ospf-1-area-0.0.0.1] nssa
[SwitchE-ospf-1-area-0.0.0.1] quit
[SwitchE-ospf-1] quit
NOTE
You should run the default-route-advertise no-summary command on SwitchA. In this manner,
the size of the routing table of devices in the NSSA area can be reduced. For other devices in the
NSSA area, you need to use only the nssa command.
# 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
1
192.168.1.0/24
1
Total Nets: 3
Intra Area: 2
Inter Area: 1
Configure SwitchC to import static routes.
# Import static routes on SwitchC, as follows:
[SwitchC]ip route-static 100.0.0.0 8 null 0
[SwitchC] ospf
[SwitchC-ospf-1] import-route static
[SwitchC-ospf-1] quit
Verify the configuration.
# Check the OSPF routing table of SwitchD.
[SwitchD] display ospf routing
OSPF Process 1 with Router ID 4.4.4.4
Routing Tables
Routing for Network
Destination
Cost
172.16.1.0/24
4
172.17.1.0/24
1
192.168.0.0/24
2
192.168.1.0/24
3
192.168.2.0/24
1
Routing for ASEs
Destination
Cost
100.0.0.0/8
1
Total Nets: 6
Intra Area: 2
Inter Area: 3
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Type
NextHop
2
Inter-area
192.168.1.1
Transit
172.16.1.1
Transit
192.168.1.2
ASE: 0
NSSA: 0
Type
NextHop
Inter-area
192.168.2.1
Transit
172.17.1.1
Inter-area
192.168.2.1
Inter-area
192.168.2.1
Transit
192.168.2.2
Type
Tag
Type2
1
ASE: 1
NSSA: 0
4 OSPF Configuration
AdvRouter
Area
1.1.1.1
0.0.0.1
3.3.3.3
0.0.0.1
3.3.3.3
0.0.0.1
AdvRouter
Area
2.2.2.2
0.0.0.2
4.4.4.4
0.0.0.2
2.2.2.2
0.0.0.2
2.2.2.2
0.0.0.2
4.4.4.4
0.0.0.2
NextHop
AdvRouter
192.168.2.1
1.1.1.1
149

Advertisement

Table of Contents
loading

Table of Contents