R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
254
Examples
# In BGP view, specify subnet 25.1.1.0/24 and the peer group in for BGP dynamic peers.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group in internal
[Sysname-bgp] listen-range 25.1.1.0 24 group in
# In BGP-VPN instance view, specify subnet 26.1.1.0/24 and the peer group test for BGP dynamic peers.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] group test external
[Sysname-bgp-ipv4-vpn1] peer test as-number 500
[Sysname-bgp-ipv4-vpn1] listen-range 26.1.1.0 24 group test
log-peer-change
Use log-peer-change to enable the global BGP logging on peers going up and down.
Use undo log-peer-change to disable the function.
Syntax
log-peer-change
undo log-peer-change
Default
The function is enabled.
Views
BGP view
Default command level
2: System level
Examples
# Enable BGP logging on peers going up and down.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] log-peer-change
network (BGP/BGP-VPN instance view)
Use network to inject a network to the local BGP routing table.
Use undo network to remove the configuration.
Syntax
network ip-address [ mask | mask-length ] [ route-policy route-policy-name ]
undo network ip-address [ mask | mask-length ]










