F3215-HP Load Balancing Module Network Management Command Reference-6PW101
294
Usage guidelines
After the peer ignore command is executed, the system disables the session with the specified peer or
peer group and clears all the related routing information. For a peer group, all sessions with the peer
group is terminated.
Examples
# In BGP view, disable session establishment with peer 10.10.10.10.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 10.10.10.10 ignore
peer ip-prefix
Use peer ip-prefix to reference an IP prefix list to filter routes received from or advertised to a peer or peer
group.
Use undo peer ip-prefix to remove the configuration.
Syntax
peer { group-name | ip-address } ip-prefix ip-prefix-name { export | import }
undo peer { group-name | ip-address } ip-prefix { export | import }
Default
No IP prefix list based filtering is configured.
Views
BGP view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
ip-prefix-name: Specifies the IP prefix list name, a string of 1 to 19 characters.
export: Applies the filter to routes advertised to the specified peer/peer group.
import: Applies the filter to routes received from the specified peer/peer group.
Examples
# In BGP view, use the IP prefix list list1 to filter routes advertised to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test ip-prefix list1 export
peer keep-all-routes (BGP view)
Use peer keep-all-routes to save all route updates from a peer or peer group, regardless of whether the
routes have passed the configured routing policy.
Use undo peer keep-all-routes to disable this function.