![Huawei Quidway S8500 Series Command Manual Download Page 761](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479761.webp)
Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-23
Parameter
ip-address
: Network address advertised by BGP in dotted decimal format.
address-mask
: Mask of the network address.
policy-name
: Name of the routing policy applied to the advertised route.
Description
Use the
network
command to configure the network route advertised to the outside by
local BGP.
Use the
undo network
command to cancel the configuration.
By default, local BGP does not advertise any route to the outside.
Example
# Configure local router to advertise the routing with the destination network segment
10.0.0.0/16.
[Quidway-bgp-af-vpn-instance] network 10.0.0.1 255.255.0.0
2.1.26 ospf
Syntax
ospf process-id
[
router-id router-id-number
] [
vpn-instance vpn-instance-name
]
undo ospf process-id
View
System view
Parameter
process-id
: OSPF Process ID. The default process ID is 1.
router-id-number
: Router ID for an OSPF process. It is optional.
vpn-instance-name
: VPN instance bound to an OSPF process.
Description
Use the
ospf
command to enable an OSPF process.
Use the
undo ospf
command to disable an OSPF process.
After enabling an OSPF process, you can perform the configuration related to OSPF in
the OSPF protocol view.
By default, OSPF protocol is not used in the system.
VRP supports multiple OSPF processes, so you can specify different process IDs to
enable multiple OSPF processes on a router.