HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference
391
To apply a new policy to outbound BGP sessions, execute this command with the export keyword. The
router uses the new policy to filter routing information and sends the routing information that passes the
filtering to the BGP peers.
To apply a new policy to inbound sessions, execute this command with the import keyword. The router
advertises a route-refresh message to the peer and the peer resends its routing information to the router.
After receiving the routing information, the router uses the new policy to filter the routing information.
This command requires that both the local router and the peer support route refresh.
If the peer keep-all-routes command is configured, the refresh bgp ipv4 unicast import command does
not take effect.
The command with the unicast keyword has the same effect as that without the unicast keyword.
Examples
# Manually soft-reset all BGP sessions for the IPv4 unicast address family.
<Sysname> refresh bgp ipv4 all
Related commands
• peer capability-advertise route-refresh
• peer keep-all-routes
refresh bgp ipv6 unicast
Use refresh bgp ipv6 unicast to manually soft-reset BGP sessions for the IPv6 unicast address family.
Syntax
refresh bgp { ipv6-address | all | external | group group-name | internal } { export | import } ipv6
[ unicast ] [ vpn-instance vpn-instance-name ]
refresh bgp ip-address { export | import } ipv6 [ unicast ]
Views
User view
Predefined user roles
network-admin
Parameters
ipv6-address: Soft-resets the BGP session to the specified peer. The ipv6-address argument refers to the
IPv6 address of a peer.
ip-address: Soft-resets the BGP session to the specified peer. The ip-address argument refers to the IP
address of a peer.
all: Soft-resets all BGP sessions.
external: Soft-resets all EBGP sessions.
group group-name: Soft-resets the BGP sessions to the peers of the specified peer group. The group-name
argument refers to the name of a peer group, a case-sensitive string of 1 to 47 characters.
internal: Soft-resets all IBGP sessions.
export: Performs outbound soft-reset (filters routes advertised to the specified peer or peer group by using
the new configuration).