EasyManua.ls Logo

H3C S7500E Series - Page 631

H3C S7500E Series
1565 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
Loading...
Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches Chapter 5 IPv6 BGP Configuration Commands
5-31
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test as-number 200
5.1.35 peer as-path-acl
Syntax
peer { ipv6-group-name | ipv6-address } as-path-acl as-path-acl-number { import |
export }
undo peer { ipv6-group-name | ipv6-address } as-path-acl as-path-acl-number
{ import | export }
View
IPv6 address family view
Parameters
ipv6-group-name: Name of an IPv6 peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
as-path-acl-number: Number of an AS path ACL, in the range 1 to 256.
import: Filters incoming routes.
export: Filters outgoing routes.
Description
Use the peer as-path-acl command to specify an AS path ACL to filter routes incoming
from or outgoing to a peer/peer group.
Use the undo peer as-path-acl command to remove the configuration.
By default, no AS path list is specified for filtering.
Examples
# Specify the AS path ACL 3 to filter routes outgoing to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] ip as-path-acl 3 permit ^200
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-path-acl 3 export

Table of Contents

Other manuals for H3C S7500E Series

Related product manuals