Network - HP 5920 Series Command Reference Manual

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

Advertisement

device. The output rules of the logs (whether to output the logs and where to output) are determined by
the information center configuration. For more information about information center configuration, see
Network Management and Monitoring Configuration Guide.
If you disable the logging of BGP session state changes, BGP does not generate logs for session
establishments and disconnections.
Examples
# Enable the logging of session state changes globally.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] log-peer-change
Related commands
display bgp peer

network

Use network to inject a network to the BGP routing table.
Use undo network to remove the configuration.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view:
network ip-address [ mask | mask-length ] [ route-policy route-policy-name ]
undo network ip-address [ mask | mask-length ]
In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view:
network ipv6-address prefix-length [ route-policy route-policy-name ]
undo network ipv6-address prefix-length
Default
BGP does not advertise any local network.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast
address family view, BGP-VPN IPv6 unicast address family view
Predefined user roles
network-admin
Parameters
ip-address: Specifies an IPv4 network address. If the mask or mask-length is not specified, natural mask
is used.
mask: Specifies a mask in dotted decimal notation.
mask-length: Specifies a mask length in the range of 0 to 32.
ipv6-address: Specifies an IPv6 network address.
prefix-length: Specifies a prefix length in the range of 0 to 128.
336

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents