3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 5 BGP Configuration Commands
5-41
ip-prefix-name
: Name of the specified
ip-prefix
, containing 1 to 19 characters.
Description
Use the
peer ip-prefix
import
command to configure the route filtering policy of
routes received by the peer/peer group based on the ip-prefix.
Use the
undo peer ip-prefix
import
command to 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.
Related command:
ip ip-prefix, peer ip-prefix export.
Example
# Configure the route filtering policy of the peer group based on the ip-prefix 1.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] bgp 100
[3Com-bgp] peer group1 ip-prefix list1 import
5.1.46 peer next-hop-local
Syntax
peer
group-name
next-hop-local
undo peer
group-name
next-hop-local
View
BGP view
Parameter
group-name
: Name of the peer group, containing 1 to 47 characters.
Description
Use the
peer next-hop-local
command to configure the peer group to take its own
address as the next hop when routes are advertised to the peer group..
Use the
undo peer next-hop-local
command to cancel the existing configuration.
Example
# When BGP distributes the routes to the peer group “test”, it will take its own address
as the next hop.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] bgp 100
[3Com-bgp] peer test next-hop-local