Huawei S6700 Series Configuration Manual page 188

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
As shown in the routing table, Switch B learns the route to the network segment 10.3.1.0 through
BGP, and the outgoing interface is Vlanif40. The routes to the network segments 10.1.2.0 and
10.1.4.0 respectively can be learned through OSPF. The costs of the two routes are 2.
Step 7 Enable OSPF-BGP linkage on Switch B.
[SwitchB] ospf 1
[SwitchB-ospf-1] stub-router on-startup
[SwitchB-ospf-1] quit
[SwitchB] quit
Step 8 Verify the configuration.
# Restart Switch B.
<SwitchB> reboot
System will reboot! Continue?[Y/N] y
# View the routing table of Switch A. As shown in the routing table, the route to the network
10.3.1.0 can be learned through BGP, and the outgoing interface is Vlanif40.
[SwitchA] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
# View the routing table of Switch B. As shown in the routing table, only OSPF routes exist in
the routing table temporarily and their costs are equal to or greater than 65535. This is because
IGP route convergence is faster than BGP route convergence.
[SwitchB] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Issue 01 (2012-03-15)
10.2.1.0/30
BGP
10.2.1.2/32
BGP
10.3.1.0/30
BGP
NOTE
Confirm the action before you use the command because the command leads to the breakdown of the
network in a short time. In addition, when restarting a switch, ensure that the configuration file of the
switch is saved.
Destinations : 17
Proto
1.1.1.1/32
Direct 0
2.2.2.2/32
OSPF
4.4.4.0/24
BGP
4.4.4.4/32
OSPF
5.5.5.0/24
BGP
10.1.1.0/30
Direct 0
10.1.1.1/32
Direct 0
10.1.1.2/32
Direct 0
10.1.2.0/30
Direct 0
10.1.2.1/32
Direct 0
10.1.2.2/32
Direct 0
10.1.3.0/30
OSPF
10.1.3.1/32
BGP
10.1.4.0/30
OSPF
10.1.4.1/32
BGP
10.2.1.0/30
BGP
10.2.1.2/32
BGP
10.3.1.0/30 BGP
255 0
Destinations : 13
Proto
1.1.1.1/32
OSPF
2.2.2.2/32
Direct 0
4.4.4.4/32
OSPF
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
255
0
RD
255
0
RD
255
0
RD
Routes : 17
Pre
Cost
Flags NextHop
0
D
127.0.0.1
10
4
D
10.1.2.2
255
0
RD
10
4
D
10.1.2.2
255
0
RD
0
D
10.1.1.1
0
D
127.0.0.1
0
D
10.1.1.2
0
D
10.1.2.1
0
D
127.0.0.1
0
D
10.1.2.2
10
2
D
10.1.1.2
255
0
RD
10
3
D
10.1.2.2
255
0
RD
255
0
RD
255
0
RD
RD
4.4.4.4
Routes : 13
Pre
Cost
Flags NextHop
10
65536
D
10.1.1.1
0
D
127.0.0.1
10
65536
D
10.1.3.2
4 OSPF Configuration
10.1.3.2
Vlanif40
10.1.3.2
Vlanif40
10.1.3.2
Vlanif40
Interface
InLoopBack0
Vlanif40
4.4.4.4
Vlanif40
Vlanif40
10.2.1.2
Vlanif40
Vlanif10
InLoopBack0
Vlanif10
Vlanif40
InLoopBack0
Vlanif40
Vlanif10
4.4.4.4
Vlanif40
Vlanif40
4.4.4.4
Vlanif40
4.4.4.4
Vlanif40
4.4.4.4
Vlanif40
Vlanif40
Interface
Vlanif10
InLoopBack0
Vlanif40
169

Advertisement

Table of Contents
loading

Table of Contents