R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
439
Examples
# Soft-reset all inbound BGP sessions for the IPv4 unicast address family.
<Sysname> refresh bgp all import ipv4
# Soft-reset all inbound BGP sessions for the IPv6 unicast address family.
<Sysname> refresh bgp all import ipv6
# Soft-reset all outbound BGP sessions for the IPv4 multicast address family.
<Sysname> refresh bgp all export ipv4 multicast
# Soft-reset all outbound BGP sessions for the IPv6 multicast address family.
<Sysname> refresh bgp all export ipv6 multicast
Related commands
• peer capability-advertise route-refresh
• peer keep-all-routes
reset bgp
Use reset bgp to reset BGP sessions for the specified address family.
Syntax
reset bgp { as-number | ip-address | all | external | group group-name | internal } ipv4 { mdt |
multicast | [ unicast ] [ vpn-instance vpn-instance-name ] }
reset bgp { as-number | ipv6-address | all | external | group group-name | internal } ipv6 { multicast
| [ unicast ] [ vpn-instance vpn-instance-name ] }
reset bgp ip-address ipv6 [ unicast ]
reset bgp { as-number | ip-address | all | external | group group-name | internal } vpnv4
[ vpn-instance vpn-instance-name ]
reset bgp { as-number | ip-address | all | external | group group-name | internal } vpnv6
reset bgp { as-number | ip-addr
ess | all | external | group group-name | internal } l2vpn
Views
User view
Predefined user roles
network-admin
Parameters
as-number: Resets BGP sessions to peers in the AS specified by its number in the range of 1 to
4294967295.
ip-address: Resets the BGP session to the specified peer.
all: Resets all BGP sessions.
external: Resets all EBGP sessions.
group group-name: Resets the BGP sessions to the peers in the peer group specified by its name, a
case-sensitive string of 1 to 47 characters.
internal: Resets all IBGP sessions.
ipv4: Resets BGP sessions for IPv4 address family.