Switch 7700 Command reference Guide, v2.0

Table Of Contents
220 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
Example
When BGP distributes the routes to the peer group “test”, it will take its own
address as the next hop.
[SW7700-bgp]peer test next-hop-local
peer public-as-only Syntax
peer { group_name | peer_address } public-as-only
undo peer { group_name | peer_address } public-as-only
View
BGP view
Parameter
group_name: Name of a peer group.
ip_address: IP address of a peer.
Description
Use the peer public-as-only command to configure not to carry the AS
number when transmitting BGP update packets.
Use the undo peer public-as-only command to configure to carry the AS
number when transmitting BGP update packets.
By default, private AS number is carried when transmitting BGP update packets.
Generally, BGP transmits BGP update packets with the AS number (either public
AS number or private AS number). To enable some outbound routers to ignore the
AS number when transmitting update packets, you can configure not to carry the
AS number when transmitting BGP update packets.
Example
Configure not to carry the private AS number when transmitting BGP update
packets to the peer named test.
[SW7700-bgp]neighbor test public-as-only
peer reflect-client Syntax
peer { group_name | peer_address } reflect-client
undo peer { group_name | peer_address } reflect-client
View
BGP view
Parameter
group_name: Name of peer group.
peer_address: IP address of the peer.