R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

267
[Sysname] bgp 100
[Sysname-bgp] peer test default-route-advertise
# In BGP-VPN instance view, advertise a default route to peer group test. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test default-route-advertise
peer description (BGP/BGP-VPN instance view)
Use peer description to configure the description information for a peer/peer group.
Use undo peer description to remove the description information for a peer/peer group.
Syntax
peer { group-name | ip-address } description description-text
undo peer { group-name | ip-address } description
Default
No description information is configured for a peer/peer group.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
description-text: Specifies the description information for the peer/peer group, a string of 1 to 79
characters.
Usage guidelines
Create a peer/peer group before configuring a description for it.
Examples
# In BGP view, configure the description information for the peer group test as ISP1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test description ISP1
# In BGP-VPN instance view, configure the description information for the peer group test as ISP1. (The
VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test description ISP1
Related commands
display bgp peer