
8.2 Configuring the Format of BGP 4-Byte AS Numbers
You can change the format of Border Gateway Protocol (BGP) 4-byte autonomous system (AS)
numbers to your desired format.
Applicable Environment
By default, a BGP 4-byte AS number is displayed in dotted notation. To use integral 4-byte AS
numbers, perform this configuration task to display 4-byte AS numbers as integers.
NOTICE
Changing the format of 4-byte AS numbers will affect matching results of AS_Path regular
expressions and extended community attribute filters. Therefore, if the system is using an
AS_Path regular expression or an extended community attribute filter as an import or export
policy, you must reconfigure an AS_Path regular expression using the
ip as-path-filter
command or an extended community attribute filter using the
ip extcommunity-filter
command
after changing the format of 4-byte AS numbers. This reconfiguration ensures that routes match
the import or export policy.
l
If integral 4-byte AS numbers are configured, you must change 4-byte AS numbers in
AS_Path regular expressions and extended community attribute filters to integral 4-byte
AS numbers.
l
If 4-byte AS numbers in dotted notation are configured, you must change 4-byte AS
numbers in AS_Path regular expressions and extended community attribute filters to 4-byte
AS numbers in dotted notation.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
as-notation plain
BGP 4-byte AS numbers are configured to display in integers.
NOTE
After you run the
as-notation plain
command, BGP 4-byte AS numbers are displayed in integers in display
commands but are still displayed in dotted notation in the configuration file.
----End
Checking the Configurations
After configuring the format of BGP 4-byte AS numbers, perform the following operations to
check the configuration:
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
754