Global commands

vprn

Syntax

vprn service-id [customer customer-id] [create]

no vprn service-id

Context

config>service

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates or edits a Virtual Private Routed Network (VPRN) service instance.

If the service-id does not exist, a context for the service is created. If the service-id exists, the context for editing the service is entered.

VPRN services allow the creation of customer-facing IP interfaces in the same routing instance used for service network core routing connectivity. VPRN services require that the IP addressing scheme used by the subscriber must be unique between it and other addressing schemes used by the provider and potentially the entire Internet.

IP interfaces defined within the context of an VPRN service ID must have a SAP created as the access point to the subscriber network.

When a service is created, the customer keyword and customer-id must be specified and associate the service with a customer. The customer-id must already exist, having been created using the customer command in the service context. When a service is created with a customer association, it is not possible to edit the customer association. The service must be deleted and recreated with a new customer association.

When a service is created, the use of the customer customer-id is optional to navigate into the service configuration context. If attempting to edit a service with the incorrect customer-id results in an error.

Multiple VPRN services are created to separate customer-owned IP interfaces. More than one VPRN service can be created for a single customer ID. More than one IP interface can be created within a single VPRN service ID. All IP interfaces created within an VPRN service ID belongs to the same customer.

The no form of this command deletes the VPRN service instance with the specified service-id. The service cannot be deleted until all the IP interfaces and all routing protocol configurations defined within the service ID have been shutdown and deleted.

Parameters

service-id

Specifies the service ID number identifying the service in the service domain. This ID must be unique to this service and may not be used for any other service of any type. The service-id must be the same number used for every 7210 SAS on which this service is defined.

Values

service-id: 1 to 2147483648 svc-name: 64 characters maximum

customer customer-id

Specifies an existing customer ID number to be associated with the service. This parameter is required on service creation and optional for service editing or deleting.

Values

1 to 2147483647

create

Mandatory keyword for creating a VPRN service.

allow-export-bgp-vpn

Syntax

[no] allow-export-bgp-vpn

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command causes the vrf-export and vrf-target commands to include BGP-VPN routes installed in the VPRN route table. These routes are usually not readvertisable as VPN-IP routes because of split-horizon.

When a BGP-VPN route is reexported, the route distinguisher and label values are rewritten according to the configuration of the reexporting VPRN.

Note:
  • This command requires the vrpn context to be shut down and restarted for changes to take effect.

  • This command can only be configured with VPRN loopback interfaces.

Caution: Before enabling the allow-export-bgp-vpn command, ensure that the routing updates do not loop back to the source. Failure to do so may cause the routes to become unstable.

The no form of this command reverts to the default value.

Default

no allow-export-bgp-vpn

auto-bind-tunnel

Syntax

auto-bind-tunnel

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context configure automatic binding of a VPRN service using tunnels to MP-BGP peers.

Users must configure the resolution option to enable auto-bind resolution to tunnels in TTM. If the resolution option is explicitly set to disabled, the auto-binding to tunnel is removed.

If the resolution is set to any, any supported tunnel type within the VPRN context is selected following the TTM preference. If one or more explicit tunnel types are specified using the resolution-filter option, only these tunnel types are selected again following the TTM preference.

The following tunnel types are supported in a VPRN context in order of preference: RSVP and LDP. The BGP tunnel type is not explicitly configured and is therefore implicit. It is always preferred over any other tunnel type enabled in the auto-bind-tunnel context.

The ldp value instructs BGP to search for an LDP LSP with a FEC prefix corresponding to the address of the BGP next hop.

The rsvp value instructs BGP to search for the best metric RSVP LSP to the address of the BGP next hop. This address can correspond to the system interface or to another loopback used by the BGP instance on the remote node. The LSP metric is provided by MPLS in the tunnel table. In the case of multiple RSVP LSPs with the same lowest metric, BGP selects the LSP with the lowest tunnel ID.

Users must set the resolution to filter to activate the list of tunnel-types configured under the resolution-filter.

When an explicit SDP to a BGP next-hop is configured in a VPRN service ( using the configure>service>vprn>spoke-sdp command), it overrides the auto-bind-tunnel selection for that BGP next hop only. There is no support for reverting automatically to the auto-bind-tunnel selection if the explicit SDP goes down. The user must delete the explicit spoke-SDP in the VPRN service context to resume using theauto-bind-tunnel selection for the BGP next hop.

resolution

Syntax

resolution {any | filter | disabled}

Context

config>service>vprn>auto-bind-tunnel

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the resolution mode in the automatic binding of a VPRN service to tunnels to MP-BGP peers.

Parameters

any

Keyword that enables the binding to any supported tunnel type within the VPRN context following TTM preference.

filter

Keyword that enables the binding to the subset of tunnel types configured under resolution-filter.

disabled

Keyword that disables the automatic binding of a VPRN service to tunnels to MP-BGP peers.

resolution-filter

Syntax

resolution-filter

Context

config>service>vprn>auto-bind-tunnel

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the subset of tunnel types that can be used in the resolution of VPRN prefixes within the automatic binding of VPRN service to tunnels to MP-BGP peers.

The following tunnel types are supported in a VPRN context in order of preference: RSVP and LDP. The BGP tunnel type is not explicitly configured and is therefore implicit. It is always preferred over any other tunnel type enabled in the auto-bind-tunnel context.

Parameters

ldp

Keyword that selects the LDP tunnel type.

rsvp

Keyword that selects the RSVP-TE tunnel type.

autonomous-system

Syntax

autonomous-system as-number

no autonomous-system

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command defines the autonomous system (AS) to be used by this VPN routing or forwarding (VRF).

The no form of this command removes the defined AS from this VPRN context.

Default

no autonomous-system

Parameters

as-number

Specifies the ASN for the VPRN service.

Values

1 to 4294967295

enable-bgp-vpn-backup

Syntax

enable-bgp-vpn-backup [ipv4] [ipv6]

no enable-bgp-vpn-backup

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables only imported BGP-VPN routes from the remote PE to be considered when selecting the primary and backup paths. This command is required to support fast failover of ingress traffic from one remote PE to another remote PE.

Note: 7210 SAS devices do not consider multiple paths learned from CE BGP peers when selecting primary and backup path to reach the CE.

Default

no enable-bgp-vpn-backup

Parameters

ipv4

Keyword that allows BGP-VPN routes to be used as backup paths for IPv4 prefixes.

ipv6

Keyword that allows BGP-VPN routes to be used as backup paths for IPv6 prefixes.

grt-lookup

Syntax

grt-lookup

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context configure GRT leaking commands. If all the supporting commands in the context are removed, this command is also removed.

source

Syntax

[no] source ip-address

Context

config>service>vprn>igmp>ssm-translate

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the source IP address for the group range. Whenever a (*,G) report is received in the range specified by grp-range start and end parameters, it is translated to an (S,G) report with the value of this object as the source address.

Parameters

ip-address

Specifies the IP address for sending data.

maximum-ipv6-routes

Syntax

maximum-ipv6-routes number [log-only] [threshold percent]

no maximum-ipv6-routes

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the maximum number of remote IPv6 routes that can be held within a VPN routing/forwarding (VRF) context. Local, host, static, and aggregate routes are not counted.

The VPRN service ID must be in a shutdown state before maximum-ipv6-routes command parameters can be modified.

If the log-only parameter is not specified and the maximum-routes value is set below the existing number of routes in a VRF, the offending RIP peer (if applicable) is brought down (but the VPRN instance remains up). BGP peering remains up, but the exceeding BGP routes are not added to the VRF.

The maximum route threshold can dynamically change to increase the number of supported routes even when the maximum has already been reached. Protocols resubmit the routes that were initially rejected.

The no form of this command disables any limit on the number of routes within a VRF context. Issue the no form of this command only when the VPRN instance is shut down.

Default

0 or disabled

Parameters

number

Specifies the maximum number of routes to be held in a VRF context.

Values

1 to 2147483647

log-only

Keyword to specify that if the maximum limit is reached, only log the event. This keyword does not disable the learning of new routes.

threshold percent

Specifies the percentage at which a warning log message and SNMP trap should be set. There are two warnings, the first is a mid-level warning at the threshold value set, and the second is a high-level warning at a level between the maximum number of routes and the mid-level rate ([mid+max] / 2).

Values

0 to 100

maximum-routes

Syntax

maximum-routes number [log-only] [threshold percent]

no maximum-routes

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the maximum number of remote routes that can be held within a VPN routing/forwarding (VRF) context. Local, host, static, and aggregate routes are not counted.

The VPRN service ID must be in a shutdown state before maximum-routes command parameters can be modified.

If the log-only parameter is not specified and the maximum-routes value is set below the existing number of routes in a VRF, the offending RIP peer (if applicable) is brought down (but the VPRN instance remains up). BGP peering will remain up but the exceeding BGP routes will not be added to the VRF.

The maximum route threshold can dynamically change to increase the number of supported routes even when the maximum has already been reached. Protocols resubmit the routes that were initially rejected.

The no form of this command disables any limit on the number of routes within a VRF context. Issue the no form of this command only when the VPRN instance is shut down.

Default

0 or disabled

Parameters

number

Specifies the maximum number of routes to be held in a VRF context.

Values

1 to 2147483647

log-only

Keyword to specify that if the maximum limit is reached, only log the event. This keyword does not disable the learning of new routes.

threshold percent

Specifies the percentage at which a warning log message and SNMP trap should be set. There are two warnings, the first is a mid-level warning at the threshold value set and the second is a high-level warning at level between the maximum number of routes and the mid-level rate ([mid+max] / 2).

Values

0 to 100

route-distinguisher

Syntax

route-distinguisher [rd]

no route-distinguisher

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command sets the identifier attached to routes to which the VPN belongs. Each routing instance must have a unique (within the carrier domain) route distinguisher associated with it. A route distinguisher must be defined for a VPRN to be operationally active.

Default

no route-distinguisher

Parameters

ip-address:number

Specifies the IP address in dotted-decimal notation. The assigned number must not be greater than 65535.

asn:number

Specifies the ASN as a 2-byte value less than or equal to 65535. The assigned number can be any 32-bit unsigned integer value.

rd

Specifies the route distinguisher value.

Values

ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val

where:

  • ip-addr — IP address in the form a.b.c.d.
  • comm-val — 0 to 65535
  • 2byte-asnumber — 1 to 65535
  • ext-comm-val — 0 to 4294967295
  • 4byte-asnumber — 0 to 4294967295

router-id

Syntax

router-id ip-address

no router-id

Context

config>service>vprn

config>service>vprn>ospf

config>service>vprn>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command sets the router ID for a specific VPRN context.

If neither the router ID nor system interface are defined, the router ID from the base router context is inherited.

The no form of this command removes the router ID definition from the specified VPRN context.

Default

no router-id

Parameters

ip-address

Specifies the IP address in dotted-decimal notation.

service-name

Syntax

service-name service-name

no service-name

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures an optional service name, up to 64 characters, which adds a name identifier to a specified service. The service name can be used for reference in configuration and show commands. This helps the service provider or administrator to identify and manage services within the 7210 SAS platforms.

All services are required to assign a service ID to initially create a service. However, either the service ID or the service name can be used to identify and reference a specified service when it is initially created.

Parameters

service-name

Specifies a unique service name to identify the service. Service names may not begin with an integer (0 to 9).

sgt-qos

Syntax

sgt-qos

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context configure DSCP or dot1p re-marking for select self-generated traffic.

application

Syntax

application dscp-app-name dscp {dscp-value | dscp-name}

application dot1p-app-name dot1p dot1p-priority

no application {dscp-app-name | dot1p-app-name}

Context

config>service>vprn>sgt-qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures DSCP or dot1p re-marking for self-generated application traffic. When an application is configured using this command, the specified DSCP name/value is used for all packets generated by this application within the router instance in which it is configured. The instances can be base router, VPRN service, or management.

The values configured in this command do the following:

  • set the DSCP bits in the IP packet

  • map to the FC

  • based on this FC, the egress QoS policy sets the Ethernet 802.1p and MPLS EXP bits. This includes ARP and IS-IS packets that, because of their nature, do not carry DSCP bits.

  • DSCP value in the egress IP header is as configured in this command

Only one DSCP name/value can be configured per application. If multiple entries are configured, the subsequent entry overrides the previously configured entry.

The no form of this command reverts to the default value.

Parameters

dscp-app-name

Specifies the DSCP application name.

Values

bgp, icmp, igmp, ndis, ospf, pim, ssh, telnet, traceroute, vrrp, arp

dscp-value

Specifies a value when this packet egresses. The respective egress policy should provide the mapping for the DSCP value to either LSP-EXP bits or IEEE 802.1p (dot1p) bits, otherwise the default mapping applies.

Values

0 to 63

dscp-name

Specifies the DSCP name.

Values

none, be, ef, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cp9, cs1, cs2, cs3, cs4, cs5, nc1, nc2, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cp11, cp13, cp15, cp17, cp19, cp21, cp23, cp25, cp27, cp29, cp31, cp33, cp35, cp37, cp39, cp41, cp42, cp43, cp44, cp45, cp47, cp49, cp50, cp51, cp52, cp53, cp54, cp55, cp57, cp58, cp59, cp60, cp61, cp62, cp63

dot1p-priority

Specifies the dot1p priority.

Values

none, or 0 to 7

dot1p-app-name

Specifies the dot1p application name.

Values

The following values apply to the 7210 SAS-R6 and 7210 SAS-R12:

arp, isis

dscp

Syntax

dscp dscp-name fc fc-name

no dscp dscp-name

Context

config>service>vprn>sgt-qos

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates a mapping between the DSCP of the self-generated traffic and the forwarding class.

Self-generated traffic for configured applications that matches the specified DSCP are assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all 64 DSCPs to a forwarding class.

All DSCP names that define a DSCP value must be explicitly defined.

The no form of this command removes the DSCP-to-forwarding class association.

Parameters

dscp-name

Specifies the name of the DSCP to be associated with the forwarding class. A DSCP can only be specified by its name and only an existing DSCP can be specified. The software provides names for the well known code points.

Values

be, ef, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cp9, cs1, cs2, cs3, cs4, cs5, nc1, nc2, af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cp11, cp13, cp15, cp17, cp19, cp21, cp23, cp25, cp27, cp29, cp31, cp33, cp35, cp37, cp39, cp41, cp42, cp43, cp44, cp45, cp47, cp49, cp50, cp51, cp52, cp53, cp54, cp55, cp57, cp58, cp59, cp60, cp61, cp62, cp63

fc fc-name

Specifies the forwarding class name. Applications and protocols that are configured using the dscp command use the configured IP DSCP value.

Values

be, l2, af, l1, h2, ef, h1, nc

snmp-community

Syntax

snmp-community community-name [version SNMP-version]

no snmp-community [community-name]

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command sets the SNMP community name to be used with the associated VPRN instance.

If an SNMP community name is not specified, SNMP access is not allowed.

The no form of this command removes the SNMP community name from the specified VPRN context.

Parameters

community-name

Specifies one or more SNMP community names.

version SNMP-version

Specifies the SNMP version.

Values

v1, v2c, both

source-address

Syntax

source-address

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context specify the source address and application that should be used in all unsolicited packets.

application

Syntax

application app [ip-int-name | ip-address]

no application app

Context

config>service>vprn>source-address

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the source address and application.

Parameters

app

Specifies the application name.

Values

telnet, ssh, traceroute, ping

ip-int-name | ip-address

Specifies the name of the IP interface or IP address. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

static-route

Syntax

[no] static-route {ip-prefix/prefix-length | ip-prefix netmask} [preference preference] [metric metric] [tag tag] [enable | disable] {next-hop ip-int-name | ip-address | ipsec-tunnel ipsec-tunnel-name} [bfd-enable | {cpe-check cpe-ip-address [interval seconds] [drop-count count] [log]}]

[no] static-route {ip-prefix/prefix-length | ip-prefix netmask} [preference preference] [metric metric] [tag tag] [enable | disable] indirect ip-address [cpe-check cpe-ip-address [interval seconds] [drop-count count] [log]]

[no] static-route {ip-prefix/prefix-length | ip-prefix netmask} [preference preference] [metric metric] [tag tag] [enable | disable] black-hole

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates static route entries within the associated router instance. When configuring a static route, the next-hop, indirect, or black-hole parameters must be configured.

The no form of this command deletes the static route entry. If a static route needs to be removed when multiple static routes exist to the same destination, as many parameters as are required to uniquely identify the static route must be entered.

If a CPE connectivity check target address is already being used as the target address in a different static route, the cpe-check parameters must match. If they do not, the new configuration command are rejected.

If a static-route command is issued with no cpe-check target but the destination prefix/netmask and next-hop matches a static route that did have an associated cpe-check, the cpe-check test is removed from the associated static route.

Parameters

ip-prefix

Specifies the destination address of the aggregate route in dotted-decimal notation.

Values

ipv4-prefix:

a.b.c.d (host bits must be 0)

ipv4-prefix-length:

0 to 32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x: [0 to FFFF]H

d: [0 to 255]D

ipv6-prefix-length:

0 to 128

netmask

Specifies the subnet mask in dotted-decimal notation.

Values

a.b.c.d (network bits all 1 and host bits all 0)

ip-int-name

Specifies the name of the IP interface. Interface names must be unique within the group of defined IP interfaces for config router interface and config service ies interface commands. An interface name cannot be in the form of an IP address. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

ip-address

Specifies the IP address of the IP interface. The ip-addr portion of the address command specifies the IP host address that is used by the IP interface within the subnet. This address must be unique within the subnet and specified in dotted-decimal notation.

Values

ipv4-address a.b.c.d (host bits must be 0)

enable

Keyword to re-enable a disabled static route. Static routes can be administratively enabled or disabled. To enable a static route, it must be uniquely identified by the IP address, mask, and any other parameter that is required to identify the exact static route.

The administrative state is maintained in the configuration file.

Default

enable

disable

Keyword to disable a static route while maintaining the static route in the configuration. Static routes can be administratively enabled or disabled. To enable a static route, it must be uniquely identified by the IP address, mask, and any other parameter that is required to identify the exact static route.

The administrative state is maintained in the configuration file.

Default

enable

interval seconds

Optionally specifies the interval between ICMP pings to the target IP address.

Values

1 to 255 seconds

Default

1 seconds

drop-count count

Optionally specifies the number of consecutive ping-replies that must be missed to declare the CPE down and to de-active the associated static route.

Values

Value range: 1 to 255

Default

3

log

Optional keyword to enable the ability to log transitions between active and in-active based on the CPE connectivity check. Events should be sent to the system log, syslog, and SNMP traps.

next-hop [ip-address | ip-int-name]

Specifies the directly connected next-hop IP address used to reach the destination. If the next hop is over an unnumbered interface, the ip-int-name of the unnumbered interface (on this node) can be configured.

The next-hop keyword and the indirect or black-hole keywords are mutually exclusive. If an identical command is entered (with the exception of either the indirect or black-hole parameters), this static route is replaced with the newly entered command, and unless specified, the respective defaults for preference and metric are applied.

The ip-addr configured here can be either on the network side or the access side on this node. This address must be associated with a network directly connected to a network configured on this node.

ipsec-tunnel ipsec-tunnel-name

Specifies an IPSec tunnel name, up to 32 characters.

indirect ip-address

Specifies that the route is indirect and specifies the next-hop IP address used to reach the destination.

The configured ip-addr is not directly connected to a network configured on this node. The destination can be reachable via multiple paths. The static route remains valid as long as the address configured as the indirect address remains a valid entry in the routing table. Indirect static routes cannot use an ip-prefix/mask to another indirect static route.

The indirect keyword and the next-hop or black-hole keywords are mutually exclusive. If an identical command is entered (with the exception of either the next-hop or black-hole parameters), this static route is replaced with the newly entered command and unless specified the respective defaults for preference and metric are be applied.

The ip-addr can be either on the network or the access side and is at least one hop away from this node.

black-hole

Keyword to specify a blackhole route, meaning that if the destination address on a packet matches this static route it is silently discarded.

The black-hole keyword is mutually exclusive with either the next-hop or indirect keywords. If an identical command is entered, with exception of either the next-hop or indirect parameters, the static route is replaced with the new command, and unless specified, the respective defaults for preference and metric are applied.

preference preference

Specifies the preference of this static route (as opposed to the routes from different sources such as BGP or OSPF), expressed as a decimal integer. When modifying the preference value of an existing static route, the metric does not change unless specified.

If multiple routes are learned with an identical preference using the same protocol, the lowest cost route is used. If multiple routes are learned with an identical preference using the same protocol and the costs (metrics) are equal, the decision of which route to use is determined by the configuration of the ecmp command.

Default

5

Values

1 to 255

metric metric

Specifies the cost metric for the static route, expressed as a decimal integer. This value is used when importing this static route into other protocols, such as OSPF. This value is also used to determine the static route to install in the forwarding table. When modifying the metric values of an existing static route, the preference does not change unless specified.

If there are multiple static routes with the same preference but unequal metrics, the lower cost (metric) route is installed. If there are multiple static routes with equal preference and metrics, ECMP rules apply. If there are multiple routes with unequal preferences, the lower preference route is installed.

Default

1

Values

0 to 65535

tag

Keyword to add a 32-bit integer tag to the static route. The tag is used in route policies to control distribution of the route into other protocols.

Values

1 to 4294967295

bfd-enable

Keyword to associate the state of the static route to a BFD session between the local system and the configured next hop. This keyword cannot be configured if the next hop is indirect or a black-hole keyword is specified. See the 7210 SAS-Mxp, R6, R12, S, Sx, T Router Configuration Guide for more information about the protocols and platforms that support BFD.

cpe-check target-ip-address

Specifies the IP address of the target CPE device. ICMP pings are sent to this target IP address. This parameter must be configured to enable the CPE connectivity feature for the associated static route. The target-ip-address cannot be in the same subnet as the static route subnet to avoid possible circular references. This option and BFD support on a specified static route are mutually exclusive.

Default

no cpe-check enabled

vrf-export

Syntax

vrf-export policy-name [policy-name...(up to 15 max)]

no vrf-export

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command specifies the export policies to control routes exported from the local VPN routing/forwarding (VRF) to other VRFs on the same or remote PE routers (via MP-BGP).

The no form of this command removes all route policy names from the export list.

Parameters

policy-name

Specifies the route policy statement name, up to 32 characters.

vrf-import

Syntax

vrf-import policy-name [policy-name...(up to 15 max)]

no vrf-import

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures the import policies to control routes imported to the local VPN routing/forwarding (VRF) from other VRFs on the same or remote PE routers (via MP-BGP). BGP-VPN routes imported using a vrf-import policy use the BGP preference value of 170 when imported from remote PE routers, or retain the protocol preference value of the exported route when imported from other VRFs on the same router, unless the preference is changed by the policy.

The no form of this command removes all route policy names from the import list.

Parameters

policy-name

Specifies the route policy statement name.

vrf-target

Syntax

vrf-target {ext-community | export ext-community | import ext-community}

no vrf-target

Context

config>service>vprn

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command facilitates a simplified method to configure the route target to be added to advertised routes or compared against received routes from other VRFs on the same or remote PE routers (via MP-BGP).

BGP-VPN routes imported with a vrf-target statement use the BGP preference value of 170 when imported from remote PE routers, or retain the protocol preference value of the exported route when imported from other VRFs in the same router.

Specified vrf-import or vrf-export policies override the vrf-target policy.

The no form of this command removes the vrf-target

Default

no vrf-target

Parameters

ext-community

Specifies an extended BGP community in the type:x:y format. The value x can be an integer or IP address. The type can be the target or origin. x and y are 16-bit integers.

Values

ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val

where:

  • ip-addr — IP address in the form a.b.c.d.
  • comm-val — 0 to 65535
  • 2byte-asnumber — 0 to 65535
  • ext-comm-val — 0 to 4294967295
  • 4byte-asnumber — 0 to 4294967295
import ext-community

Specifies communities allowed to be accepted from remote PE neighbors.

export ext-community

Specifies communities allowed to be sent to remote PE neighbors.