Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-47
Example
# Configure the route filtering policy based on the ip-prefix list.
[3Com -bgp] peer group1 ip-prefix list1 import
5.1.50 peer next-hop-local
Syntax
peer group-name next-hop-local
undo peer group-name next-hop-local
View
BGP view
Parameter
group-name: Specifies the name of the peer group.
Description
Use the peer next-hop-local command to configure the next hop in the route to be
advertised to the peer group as the address of the local router.
Use the undo peer next-hop-local command to cancel the configuration.
Example
# Make BGP take its own address as the next hop when distributing a route to peer
group test.
[3Com -bgp] peer test next-hop-local
5.1.51 peer password
Syntax
peer { group-name | peer-address } password { cipher | simple } password
undo peer { group-name | peer-address } password
View
BGP view, MBGP VPN-instance address family view
Parameter
group-name: Specifies the name of the peer group.
peer-address: Specifies the IP address of the peer, in dotted decimal format.
cipher: Displays the configured password in cipher text.
simple: Displays the configured password in simple text.