Huawei S6700 Series Configuration Manual page 578

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
Context
Do as follows on the switch configured with an MBGP peer:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bgp as-number
The BGP view is displayed.
Step 3 Run:
ipv4-family multicast
The BGP-IPv4 multicast address family view is displayed.
Step 4 Run:
network ipv4-address [ mask | mask-length ] [ route-policy route-policy-name ]
The routes of the local network segment are advertised.
The parameters of the command are explained as follows:
l ipv4-address [ mask-length | mask ]: specifies the routes to be advertised. If the network mask
l route-policy route-policy-name: specifies the name of the routing policy that controls the
The network command is used to advertise the exactly-matched routes. To be specific, the
command can be used to advertise the routes only with the exactly-matched address prefix and
mask. If the mask is not designated, the routes are exactly matched based on the natural network
segment.
Step 5 Run:
import-route protocol [ process-id ] [ med med | route-policy route-policy-name ]
The routes of other protocols are imported to MBGP.
The parameters of the command are explained as follows:
l protocol [ process-id ]: specifies the routing protocol and the process ID of the routing
l med med: specifies the MED value assigned to an imported route.
l route-policy route-policy-name: specifies the route filtering policy. Only the route that
Issue 01 (2012-03-15)
NOTE
MBGP routes are originated from the following:
l Routes statically imported by using the network command.
l Routes imported by using the import-route command.
Users can import at least one type of local routes as required.
is not specified, routes will be exactly matched against the natural network mask.
routes to be advertised.
protocol from which routes are imported. The routing protocol contains direct, unr, rip,
isis and ospf. When the routing protocol is isis, ospf or rip, the process ID must be specified.
passes the filtering of the policy is imported.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 MBGP Configuration
*
559

Advertisement

Table of Contents
loading

Table of Contents