Root commands

Note

requires a Product License.

Routing global configuration.

vsr running config# routing

ipv4-access-list

IPv4 access list.

vsr running config# routing ipv4-access-list <string>{1,max}

<string>{1,max}

Access list name.

remark

Access list entry comment.

vsr running config# routing ipv4-access-list <string>{1,max}
vsr running ipv4-access-list <string>{1,max}# remark <string>{1,100}

seq

Specify access list to reject or accept.

vsr running config# routing ipv4-access-list <string>{1,max}
vsr running ipv4-access-list <string>{1,max}# seq <uint16> \
...   permit <permit> exact-match true|false \
...   deny <deny> exact-match true|false

<uint16>

List sequence.

permit

IPv4 access list deny rules.

permit <permit> exact-match true|false
exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

deny

IPv4 access list deny rules.

deny <deny> exact-match true|false
exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

ipv6-access-list

IPv6 access list.

vsr running config# routing ipv6-access-list <string>{1,max}

<string>{1,max}

Access list name.

remark

Access list entry comment.

vsr running config# routing ipv6-access-list <string>{1,max}
vsr running ipv6-access-list <string>{1,max}# remark <string>{1,100}

seq

Specify access list to reject or accept.

vsr running config# routing ipv6-access-list <string>{1,max}
vsr running ipv6-access-list <string>{1,max}# seq <uint16> \
...   permit <permit> exact-match true|false \
...   deny <deny> exact-match true|false

<uint16>

Access list sequence.

permit

IPv6 access list deny rules.

permit <permit> exact-match true|false
exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

deny

IPv6 access list deny rules.

deny <deny> exact-match true|false
exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

logging

Logs configuration.

vsr running config# routing logging

enabled

Enable/Disable routing logs.

vsr running config# routing logging
vsr running logging# enabled true|false
Default value
true

level

Set minimal logging level.

vsr running config# routing logging
vsr running logging# level LEVEL

LEVEL values

Description

emergency

System is unusable.

alert

Action must be taken immediately.

critical

Critical conditions.

error

Error conditions.

warning

Warning conditions.

notice

Normal but significant condition.

info

Informational messages.

debug

Debug-level messages.

Default value
error

mpls

MPLS logging configuration.

vsr running config# routing logging mpls

ldp

Common LDP routers logging configuration.

vsr running config# routing logging mpls ldp
enabled

Enable/disable MPLS LDP logging configuration.

vsr running config# routing logging mpls ldp
vsr running ldp# enabled true|false
Default value
true
discovery-hello

Direction of discovery messages to log.

vsr running config# routing logging mpls ldp
vsr running ldp# discovery-hello DISCOVERY-HELLO

DISCOVERY-HELLO values

Description

send

Log sent messages.

receive

Log received messages.

both

Log all messages.

errors

Log errors.

vsr running config# routing logging mpls ldp
vsr running ldp# errors true|false
Default value
true
events

Log event information.

vsr running config# routing logging mpls ldp
vsr running ldp# events true|false
Default value
false
labels

Log label allocation information.

vsr running config# routing logging mpls ldp
vsr running ldp# labels true|false
Default value
false
zebra

Log zebra information.

vsr running config# routing logging mpls ldp
vsr running ldp# zebra true|false
Default value
false
message

Log LDP message information.

vsr running config# routing logging mpls ldp message
direction

Direction of messages to log.

vsr running config# routing logging mpls ldp message
vsr running message# direction DIRECTION

DIRECTION values

Description

send

Log sent messages.

receive

Log received messages.

both

Log all messages.

Default value
both
detail

Log message including periodic Keep Alives.

vsr running config# routing logging mpls ldp message
vsr running message# detail true|false
Default value
false

base

Base logging configuration.

vsr running config# routing logging base

enabled

Enable/Disable base logs.

vsr running config# routing logging base
vsr running base# enabled true|false
Default value
true

events

Configure event logs.

vsr running config# routing logging base events
enabled

If true, log when an event happens in the routing framework.

vsr running config# routing logging base events
vsr running events# enabled true|false
Default value
true

kernel

Enable/Disable base kernel logs.

vsr running config# routing logging base kernel
enabled

If true, log when messages are sent or received from the kernel.

vsr running config# routing logging base kernel
vsr running kernel# enabled true|false
Default value
true
msgdump-recv

If true, log the content of the messages received from the kernel.

vsr running config# routing logging base kernel
vsr running kernel# msgdump-recv true|false
msgdump-send

If true, log the content of the messages sent to the kernel.

vsr running config# routing logging base kernel
vsr running kernel# msgdump-send true|false

nexthop-tracking

Enable/Disable nexthop tracking logs.

vsr running config# routing logging base nexthop-tracking
enabled

If true, add logs about nexthop tracking.

vsr running config# routing logging base nexthop-tracking
vsr running nexthop-tracking# enabled true|false
Default value
true
details

If true, add detailed logs about nexthop tracking.

vsr running config# routing logging base nexthop-tracking
vsr running nexthop-tracking# details true|false

rib

Enable/Disable rib logs.

vsr running config# routing logging base rib
enabled

If true, add logs about rib.

vsr running config# routing logging base rib
vsr running rib# enabled true|false
Default value
true
details

If true, add detailed logs about rib.

vsr running config# routing logging base rib
vsr running rib# details true|false

tracker

Tracker logging configuration. This is used for the route-map ha-group match.

vsr running config# routing logging base tracker
enabled

If true, log tracker events.

vsr running config# routing logging base tracker
vsr running tracker# enabled true|false
Default value
true

route-map

Route map logging configuration.

vsr running config# routing logging route-map

enabled

If true, log route map events.

vsr running config# routing logging route-map
vsr running route-map# enabled true|false
Default value
true

bgp

Note

requires a Product License.

Common BGP routers logging configuration.

vsr running config# routing logging bgp

enabled

Enable/disable BGP logging configuration.

vsr running config# routing logging bgp
vsr running bgp# enabled true|false
Default value
true

allow-martians

Allow martian next hops.

vsr running config# routing logging bgp
vsr running bgp# allow-martians true|false
Default value
false

as-4bytes

Log AS > 65535 actions.

vsr running config# routing logging bgp
vsr running bgp# as-4bytes true|false
Default value
false

as-4bytes-segment

Log AS > 65535 aspath segment handling.

vsr running config# routing logging bgp
vsr running bgp# as-4bytes-segment true|false
Default value
false

bestpath

Log BGP bestpath info.

vsr running config# routing logging bgp
vsr running bgp# bestpath BESTPATH

BESTPATH values

Description

<ipv4-prefix>

An IPv4 prefix: address and CIDR mask.

<ipv6-prefix>

An IPv6 prefix: address and CIDR mask.

nexthop-tracking

Log BGP nexthop tracking.

vsr running config# routing logging bgp
vsr running bgp# nexthop-tracking true|false
Default value
false

flowspec

Enable flowspec debugging entries.

vsr running config# routing logging bgp
vsr running bgp# flowspec true|false
Default value
false

keepalives

Log keepalive messages to/from a specific neighbor or all.

vsr running config# routing logging bgp
vsr running bgp# keepalives KEEPALIVES

KEEPALIVES values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

all

Log all keepalive messages.

neighbor-events

Log neighbor event messages to/from a specific neighbor or all.

vsr running config# routing logging bgp
vsr running bgp# neighbor-events NEIGHBOR-EVENTS

NEIGHBOR-EVENTS values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

all

Log all neighbor event messages.

update-groups

Log update messages (only when BGP is configured as a server).

vsr running config# routing logging bgp
vsr running bgp# update-groups true|false
Default value
false

zebra

Log zebra/BGP messages for a specific prefix or all.

vsr running config# routing logging bgp
vsr running bgp# zebra ZEBRA

ZEBRA values

Description

<ipv4-prefix>

An IPv4 prefix: address and CIDR mask.

<ipv6-prefix>

An IPv6 prefix: address and CIDR mask.

all

Log all messages between Zebra and BGP.

rpki

Enable RPKI logging.

vsr running config# routing logging bgp
vsr running bgp# rpki true|false
Default value
false

pbr

Log policy base routing info.

vsr running config# routing logging bgp pbr
detail

Log policy base routing info with more details.

vsr running config# routing logging bgp pbr
vsr running pbr# detail true|false
Default value
false

updates

Log inbound and outbound update messages.

vsr running config# routing logging bgp updates
enabled

Enable/Disable log about inbound and outbound update messages.

vsr running config# routing logging bgp updates
vsr running updates# enabled true|false
Default value
true
in

Log inbound update messages from a specific neighbor or all.

vsr running config# routing logging bgp updates
vsr running updates# in IN

IN values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

all

Log inbound update messages from all neighbors.

Default value
all
out

Log outbound update messages from a specific neighbor or all.

vsr running config# routing logging bgp updates
vsr running updates# out OUT

OUT values

Description

<ipv4-address>

An IPv4 address.

<ipv6-address>

An IPv6 address.

all

Log outbound update messages from all neighbors.

Default value
all
prefix

Log update messages to/from a specific network.

vsr running config# routing logging bgp updates
vsr running updates# prefix PREFIX

PREFIX values

Description

<ipv4-prefix>

An IPv4 prefix: address and CIDR mask.

<ipv6-prefix>

An IPv6 prefix: address and CIDR mask.

vpn

Log VPN routes.

vsr running config# routing logging bgp vpn
label

Log VPN label.

vsr running config# routing logging bgp vpn
vsr running vpn# label true|false
Default value
false
leak-vrf

Log leaks.

vsr running config# routing logging bgp vpn
vsr running vpn# leak-vrf LEAK-VRF

LEAK-VRF values

Description

to

Log leak to VRF from VPN.

from

Log leak from VRF to VPN.

both

Log all leaks.

route-map-event

Log VPN route-map updates.

vsr running config# routing logging bgp vpn
vsr running vpn# route-map-event true|false
Default value
false

rip

Note

requires a Product License.

Common RIP routers logging configuration.

vsr running config# routing logging rip

enabled

Enable/disable router logging configuration.

vsr running config# routing logging rip
vsr running rip# enabled true|false
Default value
true

events

Log router events.

vsr running config# routing logging rip
vsr running rip# events true|false
Default value
false

packet

Log router received/send packet info.

vsr running config# routing logging rip
vsr running rip# packet PACKET

PACKET values

Description

receive

Log only received packet info.

send

Log only sent packet info.

both

Log all packet info.

Default value
both

zebra

Log communication between the router and zebra.

vsr running config# routing logging rip
vsr running rip# zebra true|false
Default value
false

ripng

Note

requires a Product License.

Common RIPng routers logging configuration.

vsr running config# routing logging ripng

enabled

Enable/disable router logging configuration.

vsr running config# routing logging ripng
vsr running ripng# enabled true|false
Default value
true

events

Log router events.

vsr running config# routing logging ripng
vsr running ripng# events true|false
Default value
false

packet

Log router received/send packet info.

vsr running config# routing logging ripng
vsr running ripng# packet PACKET

PACKET values

Description

receive

Log only received packet info.

send

Log only sent packet info.

both

Log all packet info.

Default value
both

zebra

Log communication between the router and zebra.

vsr running config# routing logging ripng
vsr running ripng# zebra true|false
Default value
false

ospf

Note

requires a Product License.

Common OSPF routers logging configuration.

vsr running config# routing logging ospf

enabled

Enable/disable OSPF logging configuration.

vsr running config# routing logging ospf
vsr running ospf# enabled true|false
Default value
true

events

Log OSPF event information.

vsr running config# routing logging ospf
vsr running ospf# events true|false
Default value
false

ism

Log OSPF Interface State Machine information.

vsr running config# routing logging ospf
vsr running ospf# ism ISM

ISM values

Description

events

Log ISM Event Information.

status

Log ISM Status Information.

timers

Log ISM Timer Information.

all

Log all ISM Information.

lsa

Log OSPF Link State Advertisement information.

vsr running config# routing logging ospf
vsr running ospf# lsa LSA

LSA values

Description

flooding

Log LSA flooding Information.

generate

Log LSA generate Information.

install

Log LSA install Information.

refresh

Log LSA refresh Information.

all

Log all LSA Information.

nsm

Log OSPF Neighbor State Machine information.

vsr running config# routing logging ospf
vsr running ospf# nsm NSM

NSM values

Description

events

Log NSM Event Information.

status

Log NSM Status Information.

timers

Log NSM Timer Information.

all

Log all NSM Information.

nssa

Log OSPF nssa information.

vsr running config# routing logging ospf
vsr running ospf# nssa true|false
Default value
false

zebra

Log zebra information.

vsr running config# routing logging ospf
vsr running ospf# zebra ZEBRA

ZEBRA values

Description

interface

Log zebra interface information.

redistribute

Log zebra redistribute information.

all

Log zebra interface and redistribute information.

message

Log OSPF message information.

vsr running config# routing logging ospf message <message>

<message> values

Description

dd

Log Database Description messages.

hello

Log Hello messages.

ls-ack

Log Link State Acknowledgment messages.

ls-request

Log Link State Request messages.

ls-update

Log Link State Update messages.

all

Log all messages (whatever its type).

direction

Direction of messages to log.

vsr running config# routing logging ospf message <message>
vsr running message <message># direction DIRECTION

DIRECTION values

Description

send

Log sent messages.

receive

Log received messages.

both

Log all messages.

Default value
both
detail

Log message details.

vsr running config# routing logging ospf message <message>
vsr running message <message># detail true|false
Default value
false

ospf6

Note

requires a Product License.

Common OSPF6 routers logging configuration.

vsr running config# routing logging ospf6

enabled

Enable/Disable OSPF6 logging configuration.

vsr running config# routing logging ospf6
vsr running ospf6# enabled true|false
Default value
true

abr

Log ABR information.

vsr running config# routing logging ospf6
vsr running ospf6# abr true|false
Default value
false

asbr

Log ASBR information.

vsr running config# routing logging ospf6
vsr running ospf6# asbr true|false
Default value
false

events

Log events.

vsr running config# routing logging ospf6
vsr running ospf6# events true|false
Default value
false

flooding

Log flooding information.

vsr running config# routing logging ospf6
vsr running ospf6# flooding true|false
Default value
false

interface

Log interface information.

vsr running config# routing logging ospf6
vsr running ospf6# interface true|false
Default value
false

neighbor

Log neighbor information.

vsr running config# routing logging ospf6
vsr running ospf6# neighbor NEIGHBOR

NEIGHBOR values

Description

events

Log neighbor event information.

state

Log neighbor state information.

all

Log all neighbor information.

route

Log route information.

vsr running config# routing logging ospf6
vsr running ospf6# route ROUTE

ROUTE values

Description

inter-area

Log inter area route calculation.

intra-area

Log intra area route calculation.

memory

Log route memory use..

table

Log route table calculation.

all

Log all route information.

spf

Log SPF calculation.

vsr running config# routing logging ospf6
vsr running ospf6# spf SPF

SPF values

Description

database

Log number of LSAs at SPF calculation time.

process

Log detailed SPF process.

time

Measure time taken by SPF calculation.

all

Log all SPF messages.

zebra

Log messages between OSPF router and zebra.

vsr running config# routing logging ospf6
vsr running ospf6# zebra ZEBRA

ZEBRA values

Description

send

Log messages sent to zebra.

receive

Log messages received from zebra.

both

Log messages to/from zebra.

border-routers

Log border routers information.

vsr running config# routing logging ospf6 border-routers
summary

Log border router information in a specific area.

vsr running config# routing logging ospf6 border-routers
vsr running border-routers# summary true|false
Default value
false
area-id

Log border router information in a specific area.

vsr running config# routing logging ospf6 border-routers
vsr running border-routers# area-id AREA-ID

AREA-ID

An IPv4 address.

router-id

Log information from a specific border router.

vsr running config# routing logging ospf6 border-routers
vsr running border-routers# router-id ROUTER-ID

ROUTER-ID

An IPv4 address.

lsa

Configure Link State Advertisements logging information.

vsr running config# routing logging ospf6
vsr running ospf6# lsa <lsa> level LEVEL

<lsa> values

Description

as-external

Log as-external LSAs.

inter-prefix

Log inter area prefix LSAs.

inter-router

LOG inter router LSAs.

intra-prefix

LOG intra area prefix LSAs.

link

LOG link LSAs.

network

LOG network LSAs.

router

LOG router LSAs.

all

LOG all LSA information.

level

LSA log level.

level LEVEL

LEVEL values

Description

examine

Dump LSAs.

flooding

Log LSA’s internal information.

originate

Log details of LSAs.

all

Log all information about LSAs.

Default value
all

message

Log OSPF message information.

vsr running config# routing logging ospf6
vsr running ospf6# message <message> direction DIRECTION

<message> values

Description

dd

Log Database Description messages.

hello

Log Hello messages.

ls-ack

Log Link State Acknowledgment messages.

ls-request

Log Link State Request messages.

ls-update

Log Link State Update messages.

all

Log all messages.

direction

Direction of messages to log.

direction DIRECTION

DIRECTION values

Description

send

Log sent messages.

receive

Log received messages.

both

Log all messages.

Default value
both

isis

Note

requires a Product License.

Common IS-IS routers logging configuration.

vsr running config# routing logging isis

enabled

Set enabled/disabled IS-IS logging configuration.

vsr running config# routing logging isis
vsr running isis# enabled true|false
Default value
true

adj-packets

Set log IS-IS adj-packets information.

vsr running config# routing logging isis
vsr running isis# adj-packets true|false
Default value
false

bfd

Set log IS-IS bfd information.

vsr running config# routing logging isis
vsr running isis# bfd true|false
Default value
false

events

Set log IS-IS events information.

vsr running config# routing logging isis
vsr running isis# events true|false
Default value
false

flooding

Set log IS-IS flooding information.

vsr running config# routing logging isis
vsr running isis# flooding true|false
Default value
false

ldp-sync

Set log IS-IS ldp-sync information.

vsr running config# routing logging isis
vsr running isis# ldp-sync true|false
Default value
false

lfa

Set log IS-IS lfa information.

vsr running config# routing logging isis
vsr running isis# lfa true|false
Default value
false

lsp-gen

Set log IS-IS lsp-gen information.

vsr running config# routing logging isis
vsr running isis# lsp-gen true|false
Default value
false

lsp-sched

Set log IS-IS lsp-sched information.

vsr running config# routing logging isis
vsr running isis# lsp-sched true|false
Default value
false

packet-dump

Set log IS-IS packet-dump information.

vsr running config# routing logging isis
vsr running isis# packet-dump true|false
Default value
false

route-events

Set log IS-IS route-events information.

vsr running config# routing logging isis
vsr running isis# route-events true|false
Default value
false

snp-packets

Set log IS-IS snp-packets information.

vsr running config# routing logging isis
vsr running isis# snp-packets true|false
Default value
false

spf-events

Set log IS-IS spf-events information.

vsr running config# routing logging isis
vsr running isis# spf-events true|false
Default value
false

sr-events

Set log IS-IS sr-events information.

vsr running config# routing logging isis
vsr running isis# sr-events true|false
Default value
false

tx-queue

Set log IS-IS tx-queue information.

vsr running config# routing logging isis
vsr running isis# tx-queue true|false
Default value
false

update-packets

Set log IS-IS update-packets information.

vsr running config# routing logging isis
vsr running isis# update-packets true|false
Default value
false

traffic-engineering

Traffic engineering configuration node.

vsr running config# routing traffic-engineering

affinity-map

Map an affinity name to an admin-group bit-position.

vsr running config# routing traffic-engineering affinity-map <string>

<string>

The name of the affinity-map.

bit-position (mandatory)

The bit position to set in the admin-group.

vsr running config# routing traffic-engineering affinity-map <string>
vsr running affinity-map <string># bit-position <0-255>

ipv4-prefix-list

IPv4 prefix list.

vsr running config# routing ipv4-prefix-list <string>{1,max}

<string>{1,max}

Prefix list name.

seq

Prefix list sequence.

vsr running config# routing ipv4-prefix-list <string>{1,max}
vsr running ipv4-prefix-list <string>{1,max}# seq <1-4294967295> address ADDRESS \
... policy POLICY ge <0-128> le <0-128>

<1-4294967295>

Sequence number.

address

Prefix to match (any if not set).

address ADDRESS

ADDRESS

An IPv4 prefix: address and CIDR mask.

policy (mandatory)

Prefix list policy.

policy POLICY

POLICY values

Description

deny

Specify packets to reject.

permit

Specify packets to forward.

ge

Minimum prefix length to be matched.

ge <0-128>

le

Maximum prefix length to be matched.

le <0-128>

ipv6-prefix-list

IPv6 prefix list.

vsr running config# routing ipv6-prefix-list <string>{1,max}

<string>{1,max}

Prefix list name.

seq

Prefix list sequence.

vsr running config# routing ipv6-prefix-list <string>{1,max}
vsr running ipv6-prefix-list <string>{1,max}# seq <1-4294967295> address ADDRESS \
... policy POLICY ge <0-128> le <0-128>

<1-4294967295>

Sequence number.

address

Prefix to match (any if not set).

address ADDRESS

ADDRESS

An IPv6 prefix: address and CIDR mask.

policy (mandatory)

Prefix list policy.

policy POLICY

POLICY values

Description

deny

Specify packets to reject.

permit

Specify packets to forward.

ge

Minimum prefix length to be matched.

ge <0-128>

le

Maximum prefix length to be matched.

le <0-128>

route-map

Route map list.

vsr running config# routing route-map <string>{1,max}

<string>{1,max}

Route map name.

seq

Route map sequence.

vsr running config# routing route-map <string>{1,max} seq <1-65535>

<1-65535>

Sequence number.

policy (mandatory)

Matching policy.

vsr running config# routing route-map <string>{1,max} seq <1-65535>
vsr running seq <1-65535># policy POLICY

POLICY values

Description

deny

Route map denies set operations.

permit

Route map permits set operations.

description

Route-map description.

vsr running config# routing route-map <string>{1,max} seq <1-65535>
vsr running seq <1-65535># description <string>

call

Jump to another Route-Map after match+set.

vsr running config# routing route-map <string>{1,max} seq <1-65535>
vsr running seq <1-65535># call <string>{1,max}

on-match

Exit policy on matches.

vsr running config# routing route-map <string>{1,max} seq <1-65535>
vsr running seq <1-65535># on-match ON-MATCH

ON-MATCH values

Description

<1-65535>

No description.

next

Next clause.

match

Match values from routing table.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
as-path

Match BGP AS path list name. The list should be already created through routing:bgp:as-path-access-list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# as-path <string>{1,max}
interface

Match first hop interface of route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# interface INTERFACE

INTERFACE

An interface name.

local-preference

Match local-preference metric value.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# local-preference <uint32>
mac-address

Match MAC Access-list name.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# mac-address <string>{1,max}
metric

Match metric value.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# metric <uint32>
origin

BGP origin code.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# origin ORIGIN

ORIGIN values

Description

egp

Remote EGP.

igp

Local IGP.

incomplete

Unknown heritage.

peer

Match peer address.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# peer PEER

PEER values

Description

local

Static or redistributed routes.

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

<ifname>{1,15}

An interface name.

probability

Match portion of routes defined by percentage value.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# probability <0-100>
source-instance

Match the protocol’s instance number.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# source-instance <uint8>
source-protocol

Match protocol via which the route was learnt.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# source-protocol SOURCE-PROTOCOL

SOURCE-PROTOCOL values

Description

babel

BABEL protocol.

bgp

BGP protocol.

connected

Routes from directly connected peer.

eigrp

EIGRP protocol.

isis

ISIS protocol.

kernel

Routes from kernel.

nhrp

NHRP protocol.

ospf

OSPF protocol.

ospf6

OSPF6 protocol.

pim

PIM protocol.

rip

RIP protocol.

ripng

RIPNG protocol.

sharp

SHARP process.

static

Statically configured routes.

system

Routes from system configuration.

tag

Match tag of route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# tag <uint32>
extcommunity

Match BGP/VPN extended community list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# extcommunity <leafref>
rpki

RPKI specific settings.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# rpki RPKI

RPKI values

Description

valid

Valid prefix.

invalid

Invalid prefix.

notfound

Prerfix not found.

evpn

Ethernet Virtual Private Network.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match evpn
default-route

If true, mark as default EVPN type-5 route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match evpn
vsr running evpn# default-route true|false
route-type

Match route type.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match evpn
vsr running evpn# route-type ROUTE-TYPE

ROUTE-TYPE values

Description

macip

Mac-ip route.

multicast

IMET route.

prefix

Prefix route.

vni

VNI ID.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match evpn
vsr running evpn# vni <1-16777215>
route-distinguisher

Route distinguisher.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match evpn
vsr running evpn# route-distinguisher ROUTE-DISTINGUISHER

ROUTE-DISTINGUISHER values

Description

<uint32:uint16>

Type definition for extended community attributes. Possible formats: <4b AS>:<2b value>, <2b AS>:<4b value> or <4b IPv4>:<2b value> (see RFC4364 section 4.2). <2b AS> or <4b AS> can be expressed in plain, dot and dot+ format.

<1-65535.0-65535:uint16>

Type definition for extended community attributes. Possible formats: <4b AS>:<2b value>, <2b AS>:<4b value> or <4b IPv4>:<2b value> (see RFC4364 section 4.2). <2b AS> or <4b AS> can be expressed in plain, dot and dot+ format.

<uint16:uint32>

Type definition for extended community attributes. Possible formats: <4b AS>:<2b value>, <2b AS>:<4b value> or <4b IPv4>:<2b value> (see RFC4364 section 4.2). <2b AS> or <4b AS> can be expressed in plain, dot and dot+ format.

<0.1-65535:uint32>

Type definition for extended community attributes. Possible formats: <4b AS>:<2b value>, <2b AS>:<4b value> or <4b IPv4>:<2b value> (see RFC4364 section 4.2). <2b AS> or <4b AS> can be expressed in plain, dot and dot+ format.

<ipv4-address:uint16>

Type definition for extended community attributes. Possible formats: <4b AS>:<2b value>, <2b AS>:<4b value> or <4b IPv4>:<2b value> (see RFC4364 section 4.2). <2b AS> or <4b AS> can be expressed in plain, dot and dot+ format.

ip

IP information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip
address

Match address of route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip address
access-list

Matches the specified access list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip address
vsr running address# access-list ACCESS-LIST

ACCESS-LIST values

Description

<1-199|1300-2699>

No description.

<string>{1,max}

No description.

prefix-list

Matches the specified prefix list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip address
vsr running address# prefix-list <string>{1,max}
prefix-len

Matches the specified prefix length.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip address
vsr running address# prefix-len <0-32>
next-hop

Match next-hop address of route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip next-hop
access-list

Matches the specified access list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip next-hop
vsr running next-hop# access-list ACCESS-LIST

ACCESS-LIST values

Description

<1-199|1300-2699>

No description.

<string>{1,max}

No description.

prefix-list

Matches the specified prefix list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip next-hop
vsr running next-hop# prefix-list <string>{1,max}
prefix-len

Matches the specified prefix length.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip next-hop
vsr running next-hop# prefix-len <0-32>
route-source

Match advertising source address of route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip route-source
access-list

Matches the specified access list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip route-source
vsr running route-source# access-list ACCESS-LIST

ACCESS-LIST values

Description

<1-199|1300-2699>

No description.

<string>{1,max}

No description.

prefix-list

Matches the specified prefix list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ip route-source
vsr running route-source# prefix-list <string>{1,max}
ipv6

IPv6 information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ipv6
address

Match IPv6 address of route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ipv6 address
access-list

Matches the specified access list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ipv6 address
vsr running address# access-list <string>{1,max}
prefix-list

Matches the specified prefix list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ipv6 address
vsr running address# prefix-list <string>{1,max}
prefix-len

Matches the specified prefix length.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ipv6 address
vsr running address# prefix-len <0-128>
next-hop

Match IPv6 next-hop address of route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ipv6 next-hop
address

IPv6 address of next hop.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match ipv6 next-hop
vsr running next-hop# address ADDRESS

ADDRESS

An IPv6 address.

community

Match BGP community list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# community id <leafref> exact-match true|false
id (mandatory)

Community-list number or name.

id <leafref>
exact-match

If true, do exact matching of communities.

exact-match true|false
large-community

Match BGP large community list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> match
vsr running match# large-community id <leafref> exact-match true|false
id (mandatory)

Large-community-list number or name.

id <leafref>
exact-match

If true, do exact matching of large communities.

exact-match true|false

set

Set values in destination routing protocol.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
table

Export route to non-main table.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# table <1-4294967295>
atomic-aggregate

Enable or disable BGP atomic aggregate attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# atomic-aggregate true|false
label-index

Label index value.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# label-index <0-1048560>
local-preference

BGP local preference path attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# local-preference <uint32>
metric

Metric value for destination routing protocol. Use +<metric> or -<metric> to increase or decrease the metric.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# metric METRIC

METRIC values

Description

+<metric> or -<metric>

No description.

<metric>

No description.

add-metric

Add metric (deprecated).

add-rtt

Add round trip time.

substract-metric

Subtract metric (deprecated).

substract-rtt

Subtract round trip time.

rtt

Assign round trip time.

metric-type

Type of metric.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# metric-type METRIC-TYPE

METRIC-TYPE values

Description

type-1

OSPF6 external type 1 metric.

type-2

OSPF6 external type 2 metric.

origin

BGP origin code.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# origin ORIGIN

ORIGIN values

Description

egp

Remote EGP.

igp

Local IGP.

incomplete

Unknown heritage.

originator-id

BGP originator ID attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# originator-id ORIGINATOR-ID

ORIGINATOR-ID

An IPv4 address.

src

Src address for route.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# src SRC

SRC values

Description

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

tag

Tag value for routing protocol.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# tag <1-4294967295>
weight

BGP weight for routing table.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# weight <uint32>
comm-list-delete

Set BGP community list (for deletion).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# comm-list-delete <leafref>
extcomm-list-delete

Set BGP extended community list (for deletion).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# extcomm-list-delete <leafref>
large-comm-list-delete

Set BGP large community list (for deletion).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# large-comm-list-delete LARGE-COMM-LIST-DELETE

LARGE-COMM-LIST-DELETE values

Description

<leafref>

No description.

<leafref>

No description.

aggregator

BGP aggregator attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set
vsr running set# aggregator as AS address ADDRESS
as (mandatory)

AS number of BGP aggregator.

as AS

AS values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

address (mandatory)

IP address of aggregator.

address ADDRESS

ADDRESS

An IPv4 address.

as-path

Transform BGP AS-path attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path
exclude (deprecated)

Attention

Deprecated since: 2023-09-01
Obsolete in release: 24q3
Description: Renamed to ignore/asn for allowing to specify an access-list or all.
Replacement: ignore asn

AS numbers to exclude from the as-path.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path
vsr running as-path# exclude EXCLUDE

EXCLUDE values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

ignore

AS numbers to exclude from the as-path.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path ignore
all

Exclude all AS numbers from the as-path.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path ignore
vsr running ignore# all
asn

AS numbers to exclude from the as-path.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path ignore asn <asn>

<asn> values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

access-list

Ignore access list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path ignore access-list <string>

<string>

Access list to exclude from the as-path.

prepend

Prepend to the as-path.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path prepend
last-as

Use the peer’s AS-number; number of times to insert.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path prepend
vsr running prepend# last-as <1-10>
asn

AS number to prepend to the as-path list.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path prepend asn <uint8>

<uint8>

Order of the AS number.

VALUE (mandatory)

AS number.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path prepend asn <uint8>
vsr running asn <uint8># VALUE

VALUE values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

replace

AS numbers to replace from the as-path.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path replace
asn

Replace AS number by another AS number.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path replace asn <asn>

<asn> values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

by

AS number to use as replacement.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path replace asn <asn>
vsr running asn <asn># by BY

BY values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

access-list

Replace access list by another AS number.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path replace access-list <string>

<string>

Access list of the as-path to replace.

by

AS number to use as replacement.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path replace access-list <string>
vsr running access-list <string># by BY

BY values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

any

Replace any AS number.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path replace any
by

AS number to use as replacement.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set as-path replace any
vsr running any# by BY

BY values

Description

<1-4294967295>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

<0-65535.0-65535>

A numeric identifier for an autonomous system (AS). An AS is a single domain, under common administrative control, which forms a unit of routing policy. Autonomous systems can be assigned a 2-byte identifier, or a 4-byte identifier which may have public or private scope. Private ASNs are assigned from dedicated ranges. Public ASNs are assigned from ranges allocated by IANA to the regional internet registries (RIRs).

ip

IP information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ip
next-hop

Next hop address.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ip
vsr running ip# next-hop NEXT-HOP

NEXT-HOP values

Description

<A.B.C.D>

An IPv4 address.

peer-address

Use peer address (for BGP only).

unchanged

Don’t modify existing Next hop address.

ipv4

IPv4 information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv4
vpn

VPN information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv4 vpn
next-hop

VPN next-hop address.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv4 vpn
vsr running vpn# next-hop NEXT-HOP

NEXT-HOP

An IPv4 address.

ipv6

IPv6 information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6
next-hop

IPv6 next hop address.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6 next-hop
global

IPv6 global address.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6 next-hop
vsr running next-hop# global GLOBAL

GLOBAL

An IPv6 address.

local

IPv6 local address.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6 next-hop
vsr running next-hop# local LOCAL

LOCAL

An IPv6 link-local address which is in the range of fe80::/10.

peer-address

If true, use peer address (for BGP only).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6 next-hop
vsr running next-hop# peer-address true|false
prefer-global

If true, prefer global over link-local if both exist.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6 next-hop
vsr running next-hop# prefer-global true|false
vpn

VPN information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6 vpn
next-hop

VPN next-hop address.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set ipv6 vpn
vsr running vpn# next-hop NEXT-HOP

NEXT-HOP

An IPv6 address.

l3vpn

IP information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set l3vpn
next-hop

VPN information.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set l3vpn next-hop
encapsulation

Accept L3VPN traffic over other than LSP encapsulation.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set l3vpn next-hop
vsr running next-hop# encapsulation ENCAPSULATION

ENCAPSULATION

Accept L3VPN traffic over GRE.

community

BGP community attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set community
none

Set community to none.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set community
vsr running community# none
attribute (state only)

BGP community attribute.

vsr> show state routing route-map <string>{1,max} seq <1-65535> set community attribute
replace-by

BGP community attribute(s) that will replace existing one(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set community replace-by
ATTRIBUTE

BGP community attribute(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set community replace-by
vsr running replace-by# ATTRIBUTE

ATTRIBUTE values

Description

local-AS

Local AS.

no-advertise

Do not advertise.

no-export

Do not export.

internet

Internet.

graceful-shutdown

Graceful-shutdown.

accept-own

Accept-own.

route-filter-translated-v4

Route-filter-translated-v4.

route-filter-v4

Route-filter-v4.

route-filter-translated-v6

Route-filter-translated-v6.

route-filter-v6

Route-filter-v6.

llgr-stale

Llgr-stale.

no-llgr

No-llgr.

accept-own-nexthop

Accept-own-nexthop.

blackhole

Blackhole.

no-peer

No-peer.

<string>

Community attribute.

add

BGP community attribute(s) that will be added to existing one(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set community add
ATTRIBUTE

BGP community attribute(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set community add
vsr running add# ATTRIBUTE

ATTRIBUTE values

Description

local-AS

Local AS.

no-advertise

Do not advertise.

no-export

Do not export.

internet

Internet.

graceful-shutdown

Graceful-shutdown.

accept-own

Accept-own.

route-filter-translated-v4

Route-filter-translated-v4.

route-filter-v4

Route-filter-v4.

route-filter-translated-v6

Route-filter-translated-v6.

route-filter-v6

Route-filter-v6.

llgr-stale

Llgr-stale.

no-llgr

No-llgr.

accept-own-nexthop

Accept-own-nexthop.

blackhole

Blackhole.

no-peer

No-peer.

<string>

Community attribute.

large-community

BGP large community attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set large-community
none

Set large community to none.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set large-community
vsr running large-community# none
attribute (state only)

BGP large-community attribute.

vsr> show state routing route-map <string>{1,max} seq <1-65535> set large-community attribute
replace-by

BGP large community attribute(s) that will replace existing one(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set large-community replace-by
ATTRIBUTE

BGP large community attribute(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set large-community replace-by
vsr running replace-by# ATTRIBUTE

ATTRIBUTE

Large community attribute.

add

BGP large community attribute(s) that will be added to existing one(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set large-community add
ATTRIBUTE

BGP large community attribute(s).

vsr running config# routing route-map <string>{1,max} seq <1-65535> set large-community add
vsr running add# ATTRIBUTE

ATTRIBUTE

Large community attribute.

extcommunity

BGP extended community attribute.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set extcommunity
rt

Route Target extended community.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set extcommunity
vsr running extcommunity# rt RT

RT values

Description

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

soo

Site-of-Origin extended community.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set extcommunity
vsr running extcommunity# soo SOO

SOO values

Description

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

color

Color attribute. Apply a segment routing policy to the BGP updates received with this color.

vsr running config# routing route-map <string>{1,max} seq <1-65535> set extcommunity
vsr running extcommunity# color <1-4294967295>

bgp

Note

requires a Product License.

Common BGP routers configuration.

vsr running config# routing bgp

route-map-delay

Time in secs to wait before processing route-map changes.

vsr running config# routing bgp
vsr running bgp# route-map-delay <0-600>
Default value
5

rpki-ssh-key (state only)

Available SSH key pairs.

vsr> show state routing bgp rpki-ssh-key

community-list

Add a community list entry.

vsr running config# routing bgp community-list <community-list>

<community-list> values

Description

<1-99>

List name.

<string>

List name.

policy

Specify communities to reject or accept.

vsr running config# routing bgp community-list <community-list>
vsr running community-list <community-list># policy <uint16> POLICY COMMUNITY

<uint16>

Priority of the policy. Lesser is the value, greater is the priority.

POLICY (mandatory)

Policy to apply to the specified communities.

POLICY

POLICY values

Description

deny

Specified communities will be rejected.

permit

Specified communities will be accepted.

COMMUNITY

Communities on which the policy should be applied.

COMMUNITY

COMMUNITY values

Description

local-AS

Local AS.

no-advertise

Do not advertise.

no-export

Do not export.

internet

Internet.

graceful-shutdown

Graceful-shutdown.

accept-own

Accept-own.

route-filter-translated-v4

Route-filter-translated-v4.

route-filter-v4

Route-filter-v4.

route-filter-translated-v6

Route-filter-translated-v6.

route-filter-v6

Route-filter-v6.

llgr-stale

Llgr-stale.

no-llgr

No-llgr.

accept-own-nexthop

Accept-own-nexthop.

blackhole

Blackhole.

no-peer

No-peer.

<string>

Community attribute.

community-list-expanded

Add an expanded community list entry.

vsr running config# routing bgp community-list-expanded <community-list-expanded>

<community-list-expanded> values

Description

<100-500>

List name.

<string>

List name.

policy

Specify communities to reject or accept.

vsr running config# routing bgp community-list-expanded <community-list-expanded>
vsr running community-list-expanded <community-list-expanded># policy <uint16> \
... POLICY COMMUNITY

<uint16>

Priority of the policy. Lesser is the value, greater is the priority.

POLICY (mandatory)

Policy to apply to the specified communities.

POLICY

POLICY values

Description

deny

Specified communities will be rejected.

permit

Specified communities will be accepted.

COMMUNITY

Communities on which the policy should be applied.

COMMUNITY

COMMUNITY values

Description

local-AS

Local AS.

no-advertise

Do not advertise.

no-export

Do not export.

internet

Internet.

graceful-shutdown

Graceful-shutdown.

accept-own

Accept-own.

route-filter-translated-v4

Route-filter-translated-v4.

route-filter-v4

Route-filter-v4.

route-filter-translated-v6

Route-filter-translated-v6.

route-filter-v6

Route-filter-v6.

llgr-stale

Llgr-stale.

no-llgr

No-llgr.

accept-own-nexthop

Accept-own-nexthop.

blackhole

Blackhole.

no-peer

No-peer.

<string>

Community attribute.

extcommunity-list

Add an extended community list entry.

vsr running config# routing bgp extcommunity-list <extcommunity-list>

<extcommunity-list> values

Description

<1-99>

List name.

<string>

List name.

policy

Specify extended communities to reject or accept.

vsr running config# routing bgp extcommunity-list <extcommunity-list>
vsr running extcommunity-list <extcommunity-list># policy <uint16> POLICY \
... rt RT soo SOO

<uint16>

Priority of the policy. Lesser is the value, greater is the priority.

POLICY (mandatory)

Policy to apply to the specified extcommunities.

POLICY

POLICY values

Description

deny

Specified extcommunities will be reject.

permit

Specified extcommunities will be accept.

rt

Extended community route target to reject.

rt RT

RT values

Description

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

soo

Extended community site of origin to reject.

soo SOO

SOO values

Description

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

<string>

Extended communities or route-target attribute.

extcommunity-list-expanded

Add an expanded extended community list entry.

vsr running config# routing bgp extcommunity-list-expanded <extcommunity-list-expanded>

<extcommunity-list-expanded> values

Description

<100-500>

List name.

<string>

List name.

policy

Specify extended communities to reject or accept.

vsr running config# routing bgp extcommunity-list-expanded <extcommunity-list-expanded>
vsr running extcommunity-list-expanded <extcommunity-list-expanded># policy <uint16> \
... POLICY <string>

<uint16>

Priority of the policy. Lesser is the value, greater is the priority.

POLICY (mandatory)

Policy to apply to the specified extcommunities.

POLICY

POLICY values

Description

deny

Specified extcommunities will be reject.

permit

Specified extcommunities will be accept.

<string>

Communities on which the policy should be applied.

<string>

large-community-list

Add a large community list entry.

vsr running config# routing bgp large-community-list <large-community-list>

<large-community-list> values

Description

<1-99>

List name.

<string>

List name.

policy

Specify large communities to reject or accept.

vsr running config# routing bgp large-community-list <large-community-list>
vsr running large-community-list <large-community-list># policy <uint16> \
... POLICY LARGE-COMMUNITY

<uint16>

Priority of the policy. Lesser is the value, greater is the priority.

POLICY (mandatory)

Policy to apply to the specified large communities.

POLICY

POLICY values

Description

deny

Specified large communities will be rejected.

permit

Specified large communities will be accepted.

LARGE-COMMUNITY

Large communities on which the policy should be applied.

LARGE-COMMUNITY

LARGE-COMMUNITY

Large community attribute.

large-community-list-expanded

Add an expanded large community list entry.

vsr running config# routing bgp large-community-list-expanded <large-community-list-expanded>

<large-community-list-expanded> values

Description

<100-500>

List name.

<string>

List name.

policy

Specify large communities to reject or accept.

vsr running config# routing bgp large-community-list-expanded <large-community-list-expanded>
vsr running large-community-list-expanded <large-community-list-expanded># policy <uint16> \
... POLICY <string>

<uint16>

Priority of the policy. Lesser is the value, greater is the priority.

POLICY (mandatory)

Policy to apply to the specified large communities.

POLICY

POLICY values

Description

deny

Specified large communities will be rejected.

permit

Specified large communities will be accepted.

<string>

Large communities on which the policy should be applied.

<string>

as-path-access-list

BGP autonomous system path filter.

vsr running config# routing bgp as-path-access-list <string>

<string>

Access list name.

policy

Specify AS path access list to reject or accept.

vsr running config# routing bgp as-path-access-list <string>
vsr running as-path-access-list <string># policy <uint16> POLICY <string>

<uint16>

Priority of the policy. Lesser is the value, greater is the priority.

POLICY (mandatory)

Policy to apply to the specified regular expression that match AS paths.

POLICY

POLICY values

Description

deny

Specified access list will be rejected.

permit

Specified access list will be accepted.

<string>

Regular expression to match the BGP AS paths on which the policy should be applied.

<string>

snmp

SNMP configuration for BGP.

vsr running config# routing bgp snmp

trap

Select the BGP SNMP mib to send neigbhors state transition events.

vsr running config# routing bgp snmp
vsr running snmp# trap TRAP

TRAP values

Description

bgp4-mib

Send only SNMP traps for IPv4 neigbhors BackwardTransition and BgpEstablished as defined in RFC4273.

bgp4-v2-mib

Send the SNMP traps for IPv4/IPv6 neigbhors BackwardTransition and peer BgpEstablished events as defined in Draft-IETF-idr-bgp4-mibv2-11.

queue-limit

Change the maximum number of BGP messages that can be stored in the input and outgoing queue size for each peer.

vsr running config# routing bgp queue-limit

input

Maximum number of messages that can be stored for each peer on the input queue.

vsr running config# routing bgp queue-limit
vsr running queue-limit# input <1-4294967295>

output

Maximum number of messages that can be stored for each peer on the output queue.

vsr running config# routing bgp queue-limit
vsr running queue-limit# output <1-4294967295>