Description
Use the network command to inject a network to the local BGP routing table.
Use the undo network command to remove a network from the BGP routing table.
By default, no network route is injected.
Note that:
The network route to be injected must exist in the local IP routing table, and using a routing policy
makes route management more flexible.
The ORIGIN attribute of the network route injected with the network command is IGP.
Examples
# 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, advertise 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
network short-cut (BGP/BGP-VPN instance view)
Syntax
network ip-address [ mask | mask-length ] short-cut
undo network ip-address [ mask | mask-length ] short-cut
View
BGP view/BGP-VPN instance view
Default Level
2: System level
Parameters
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.
Description
Use the network short-cut command to configure an eBGP route as a shortcut route.
Use the undo network short-cut command to restore the default.
By default, a received eBGP route has a priority of 255.
The network short-cut command allows you configure an eBGP route as a shortcut route that has the
same priority as a local route and thus has greater likehood to become the optimal route.
1-38
Need help?
Do you have a question about the S7906E and is the answer not in the manual?
Questions and answers