Import-Route (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

Parameters
Description
Examples

import-route (BGP/BGP-VPN instance view)

Syntax
View
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
external: Creates an EBGP peer group, which can be the group of another sub AS
in a confederation.
internal: Creates an IBGP peer group; not supported in BGP-VPN instance view.
Use the
command to create a peer group.
group
Use the
command to delete a peer group.
undo group
An IBGP peer group is created if neither internal nor external is specified.
# In BGP view, create an EBGP peer group test with AS number 200, and add
EBGP peers 10.1.1.1 and 10.1.2.1 into the group.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] peer 10.1.1.1 group test
[Sysname-bgp] peer 10.1.2.1 group test
# In BGP-VPN instance view, create an EBGP peer group test with AS number 200,
and add EBGP peers 10.1.1.1 and 10.1.2.1 into the group (the VPN has been
created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] group test external
[Sysname-bgp-vpn1] peer test as-number 200
[Sysname-bgp-vpn1] peer 10.1.1.1 group test
[Sysname-bgp-vpn1] peer 10.1.2.1 group test
import-route protocol [ process-id [ med med-value | route-policy
route-policy-name ] * ]
undo import-route protocol [ process-id ]
BGP view/BGP-VPN instance view
protocol: Redistributes routes from the specified routing protocol, which can be
direct, isis, ospf, rip, or static at present.
process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only
when the protocol is isis, ospf, or rip.
med-value: Specifies the MED value to be applied to redistributed routes, ranging
from 0 to 4294967295. If the argument is not specified, the cost of the
redistributed route is used as its MED in the BGP routing domain.
981

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