EasyManuals Logo

Huawei S6700 Series Configuration Guide

Huawei S6700 Series
664 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #402 background imageLoading...
Page #402 background image
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.
----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 Run the display bgp paths [ as-regular-expression ] command to check information about
AS_Path attributes of routes.
l 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.
l Run the display bgp routing-table regular-expression as-regular-expression command
to check information about routes matching a specified regular expression.
l Run the display bgp routing-table [ network [ { mask | mask-length } [ longer-
prefixes ] ] ] command to check routing information in a BGP routing table.
----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.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 7 BGP Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
383

Table of Contents

Other manuals for Huawei S6700 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Huawei S6700 Series and is the answer not in the manual?

Huawei S6700 Series Specifications

General IconGeneral
BrandHuawei
ModelS6700 Series
CategorySwitch
LanguageEnglish

Related product manuals