Log-Peer-Change - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Parameters
vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
After you create a BGP peer in BGP-VPN instance view, the BGP routes learned from the peer are added
into the routing table of the specified VPN instance.
This command and all commands in BGP-VPN instance view are usually executed on provider edge (PE)
or Multi-VPN-Instance CE (MCE) devices to add routes learned from different sites into different VPN
instances.
Before you execute this command, use the ip vpn-instance command to create the VPN instance in
system view, and use the route-distinguisher command to configure a route distinguisher (RD) for the
VPN instance.
Examples
# Create a BGP-VPN instance and enter its view.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 100:1
[Sysname-vpn-instance-vpn1] quit
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1]
Related commands
ip vpn-instance (system-view) (MPLS Command Reference)
route-distinguisher (MPLS Command Reference)

log-peer-change

Use log-peer-change to enable the logging of BGP session state changes.
Use undo log-peer-change to disable the function.
Syntax
log-peer-change
undo log-peer-change
Default
Logging of BGP session state changes is enabled.
Views
BGP view
Predefined user roles
network-admin
Usage guidelines
After you execute the log-peer-change command, BGP logs session establishment and disconnection
events. To view the log information, use the display bgp peer ipv4 unicast log-info command or the
display bgp peer ipv6 unicast log-info command. The logs are sent to the information center of the
335

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents