Ip As-Path - H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Default level
2: System level
Parameters
value: Specifies a tag from 0 to 4294967295.
Description
Use the if-match tag command to match routing information having the specified tag.
Use the undo if-match tag command to remove the match criterion.
The match criterion is not configured by default.
Examples
# Configure node 10 in permit mode of routing policy policy1 to permit RIP, OSPF and IS-IS routing
information with a tag of 8.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8

ip as-path

Syntax
ip as-path as-path-number { deny | permit } regular-expression
undo ip as-path as-path-number
View
System view
Default level
2: System level
Parameters
as-path-number: AS-PATH list number, in the range of 1 to 256.
deny: Specifies the match mode for the AS-PATH list as deny.
permit: Specifies the match mode for the AS-PATH list as permit.
regular-expression: AS-PATH regular expression, a string of 1 to 50 characters.
BGP routing updates contain the AS path attribute field that identifies the autonomous systems through
which the routing information has passed. An AS-PATH regular expression, for example, ^200. *100$,
matches the AS path attribute that starts with AS200 and ends with AS100. For the meanings of special
characters used in regular expressions, see the Fundamentals Configuration Guide.
Description
Use the ip as-path command to create an AS-PATH list.
Use the undo ip as-path command to remove an AS-PATH list.
No AS-PATH list is created by default.
Examples
# Create AS-PATH list 1, permitting routing information whose AS_PATH attribute starts with 10.
<Sysname> system-view
440

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

S5800 series

Table of Contents