Huawei S6700 Series Configuration Manual page 465

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
6.
Issue 01 (2012-03-15)
[SwitchA-bgp-af-ipv4] quit
[SwitchA-bgp] quit
# Check the routing table of SwitchA.
[SwitchA] display bgp routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 1
Network
*>
8.0.0.0
# Check the routing table of SwitchB.
[SwitchB] display bgp routing-table
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 1
Network
*>
8.0.0.0
# Check the routing table of SwitchC.
[SwitchC] display bgp routing-table
BGP Local router ID is 3.3.3.3
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 1
Network
i
8.0.0.0
From the routing table, you can view that SwitchC has learned the route to the destination
8.0.0.0 in AS 65008, but the next hop 200.1.1.2 is unreachable. Therefore, this route is
invalid.
Configure BGP to import direct routes
# Configure SwitchB.
[SwitchB] vlan 65009
[SwitchB-bgp] ipv4-family unicast
[SwitchB-bgp-af-ipv4] import-route direct
[SwitchB-bgp-af-ipv4] quit
[SwitchB-bgp] quit
# Check the BGP routing table of SwitchA.
[SwitchA] display bgp routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 4
Network
*>
8.0.0.0
*>
9.1.1.0/24
*>
9.1.3.0/24
*
200.1.1.0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
NextHop
MED
0.0.0.0
0
i - internal, s - suppressed, S - Stale
NextHop
MED
200.1.1.2
0
i - internal, s - suppressed, S - Stale
NextHop
MED
200.1.1.2
0
i - internal, s - suppressed, S - Stale
NextHop
MED
0.0.0.0
0
200.1.1.1
0
200.1.1.1
0
200.1.1.1
0
7 BGP Configuration
LocPrf
PrefVal Path/Ogn
0
i
LocPrf
PrefVal Path/Ogn
0
65008i
LocPrf
PrefVal Path/Ogn
100
0
65008i
LocPrf
PrefVal Path/Ogn
0
i
0
0
0
65009?
65009?
65009?
446

Advertisement

Table of Contents
loading

Table of Contents