Network (Bgp/Bgp-Vpn Instance View) - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

network (BGP/BGP-VPN instance view)

Syntax
View
Parameters
Description
Examples
network ip-address [ mask | mask-length ] [ short-cut | route-policy
route-policy-name ]
undo network ip-address [ mask | mask-length ] [ short-cut ]
BGP view/BGP-VPN instance view
ip-address: Destination IP address.
mask: Mask of the network address, in dotted decimal notation.
mask-length: Mask length, in the range 0 to 32.
short-cut: Specifies the route to use the local preference. If the route is an EBGP
route whose preference is higher than the local one, using this keyword can
configure the EBGP route to use the local preference, so the route is hard to
become the optimal route.
route-policy-name: Routing policy applied to the route. The name is a string of 1
to 19 characters.
Use the
command to inject a network to the local BGP routing table.
network
Use the
undo network
By default, no network route is injected.
Note that:
The network route must be in the local IP routing table, and using a routing
policy makes route management more flexible.
The route injected to the BGP routing table using the network command has
the ORIGIN attribute as IGP.
# In BGP view, inject the network segment 10.0.0.0/16.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] network 10.0.0.0 255.255.0.0
# In BGP-VPN instance view, inject the network segment 10.0.0.0/16 (the VPN has
been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] network 10.0.0.0 255.255.0.0
command to remove a network from the routing table.
983

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents