Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 IPv6 BGP Configuration Commands
5-37
ipv6-address
: IPv6 address of a peer.
acl6-number
: IPv6 ACL number, in the range 2000 to 3999.
import
: Applies the filter-policy to routes received from the peer/peer group.
export
: Applies the filter-policy to routes advertised to the peer/peer group.
Description
Use the
peer filter-policy
command to configure an ACL-based filter policy for a peer
or peer group.
Use the
undo peer filter-policy
command to remove the configuration.
By default, no ACL-based filter policy is configured for a peer or peer group.
Examples
# Apply the ACL6 2000 to filter routes advertised to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] rule permit source 2001:1:: 64
[Sysname-acl6-basic-2000] quit
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 filter-policy 2000 export
5.1.43 peer group
Syntax
peer ipv6-address
group
ipv6-group-name
[
as-number
as-number
]
undo peer
ipv6-address group
ipv6-group-name
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-number
: Specifies the AS number of the peer/peer group, in the range 1 to 65535.
Description
Use the
peer
group
command to add a peer to a configured peer group.
Use the
undo peer
group
command to delete a specified peer from a peer group.
By default, the peer does not belong to any peer group.