3Com 3031 Command Reference Manual page 654

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

654
C
6: R
P
HAPTER
OUTING
peer next-hop-local
ROTOCOL
View
BGP view, VPNv4 view, VPN instance view
Parameter
group-name: Name of peer group.
peer-address: Specifies the IP address of the peer.
prefixname: Name of the specified ip-prefix.
import: Applies the filtering policy on the route received by the specified
peer/peer group.
export: Applies the filtering policy on the route transmitted to the specified
peer/peer group.
Description
Using the peer ip-prefix command, you can configure the route filtering policy of
the peer/peer group based on the ip-prefix. Using the undo peer ip-prefix
command, you can cancel the route filtering policy of the peer/peer group based
on the ip-prefix.
By default, the route filtering policy of the peer/peer group is not specified.
For the related command, see ip ip-prefix.
Example
Configure the route filtering policy of the peer group based on the ip-prefix 1.
[3Com-bgp] peer group1 ip-prefix list1 import
Syntax
peer { group-name } next-hop-local
undo peer { group-name } next-hop-local
View
BGP view
Parameter
group-name: Specifies the name of peer group.
Description
Using the peer next-hop-local command, you can perform the process of the next
hop in the route to be advertised to the peer/peer group and take the address of
itself as the next hop. Using the undo peer next-hop-local command, you can
cancel the existing configuration.
Example
When BGP distributes the route to the peer group "test", it will take its own
address as the next hop.
[3Com-bgp] peer test next-hop-local

Advertisement

Table of Contents
loading

Table of Contents