Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 867

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
ipv4-family unicast
The IPv4 unicast address family view is displayed.
Step 4 Run:
peer { group-name | ipv4-address } default-route-advertise [ route-policy route-
policy-name ] [ conditional-route-match-all { ipv4-address1 { mask1 | mask-
length1 } } &<1-4> | conditional-route-match-any { ipv4-address2 { mask2 | mask-
length2 } } &<1-4> ]
The device is configured to send a default route to a peer or a peer group.
If route-policy route-policy-name is set, the BGP device changes attributes of a default route
based on the specified route policy.
If conditional-route-match-all { ipv4-address1 { mask1 | mask-length1 } } &<1-4> is set, the
BGP device sends a default route to the peer only when all specified routes exist in the local
routing table.
If conditional-route-match-any { ipv4-address2 { mask2 | mask-length2 } } &<1-4> is set, the
local device sends a default route to the peer when one of the specified routes exists in the local
routing table.
----End
Checking the Configurations
After a BGP device is configured to send a default route to a peer, you can check whether the
configuration is correct.
l
# Run the display bgp routing-table command on a peer to view information about a received
BGP default route.
<HUAWEI> display bgp routing-table
BGP Local router ID is 10.1.1.1
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 9
*>i
*>
*>i
*>i
*>i
*>
*>i
*>i
Issue 02 (2014-09-30)
NOTE
After the peer default-route-advertise command is used on a device, the device sends a default route with
the local address as the next-hop address to a specified peer, regardless of whether there is a default route
in the routing table.
Run the display bgp routing-table [ ipv4-address [ mask | mask-length ] ] command on a
peer to check information about a received BGP default route.
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
0.0.0.0
1.1.1.1/32
4.0.0.0
10.0.0.0
10.2.1.0/24
10.3.1.0/24
192.168.0.0/16
192.168.15.0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
NextHop
MED
10.1.1.2
0
10.3.1.1
0
10.2.1.2
10.2.1.2
10.1.1.2
0
0.0.0.0
0
10.3.1.1
0
10.2.1.2
10.2.1.2
8 BGP Configuration
LocPrf
PrefVal Path/Ogn
0
i
0
20?
100
0
100?
100
0
100?
100
0
i
0
i
0
20?
100
0
100?
100
0
100?
842

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e