1252
C
82: IP
6 BGP C
HAPTER
V
Examples
peer ipv6-prefix
Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
After the peer ignore command is executed, the system terminates the active
session(s) with the specified peer or peer group and clears all the related routing
information. For a peer group, this means all the sessions with the peer group will
be tore down.
# Terminate the session with peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 ignore
peer { group-name | ipv4-address | ipv6-address } ipv6-prefix ipv6-prefix-name
{ import | export }
undo peer { group-name | ipv4-address | ipv6-address } ipv6-prefix { import |
export }
IPv6 address family view
group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: IPv4 address of a peer.
ipv6-address: IPv6 address of a peer.
ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters.
import: Applies the filtering policy to routes received from the specified peer/peer
group.
export: Applies the filtering policy to routes advertised to the specified peer/peer
group.
Use the
peer ipv6-prefix
incoming from or outgoing to a peer or peer group.
Use the
undo peer ipv6-prefix
By default, no IPv6 prefix list is specified for filtering.
# Reference the IPv6 prefix list list 1 to filter routes outgoing to peer 1:2::3:4.
<Sysname> system-view
[Sysname] ip ipv6-prefix list1 permit 2002:: 64
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 ipv6-prefix list1 export
command to specify an IPv6 prefix list to filter routes
command to remove the configuration.