Checking The Configuration; Configuring Bgp To Advertise Routes - Huawei S6700 Series Configuration Manual

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
----End

7.4.8 Checking the Configuration

After BGP route attributes are configured, you can view information about these route attributes.
Prerequisites
The BGP route attribute configuration is complete.
Procedure
l
l
l
l
----End

7.5 Configuring BGP to Advertise Routes

BGP is used to transmit routing information. BGP advertises only the wanted routes after filtering
routes to be advertised, and modifies route attributes to direct network traffic.
Issue 01 (2012-03-15)
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
4.
Run:
peer { ipv4-address | group-name } public-as-only
The AS_Path attribute is configured to carry only public AS numbers.
An AS number ranges from 1 to 4294967295. A public AS number ranges from 1 to
64511, and from 65536 (1.0 in the x.y format) to 4294967295 (65535.65535 in the
x.y format). A private AS number ranges from 64512 to 65534. The AS number 65535
is reserved for particular use.
The peer public-as-only command can be used only on EBGP peers.
Run the display bgp paths [ as-regular-expression ] command to check information about
AS_Path attributes of routes.
Run the display bgp routing-table different-origin-as command to check information
about routes that have the same destination address but different source AS numbers.
Run the display bgp routing-table regular-expression as-regular-expression command
to check information about routes matching a specified regular expression.
Run the display bgp routing-table [ network [ { mask | mask-length } [ longer-
prefixes ] ] ] command to check routing information in a BGP routing table.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
383

Advertisement

Table of Contents
loading

Table of Contents