global

Routing global configuration.

vrouter running config# routing

ipv4-access-list

IPv4 access list.

vrouter running config# routing ipv4-access-list <string>

remark

Access list entry comment.

vrouter running config# routing ipv4-access-list <string>
vrouter running ipv4-access-list <string># remark <string>

name (state only)

Access list name.

vrouter> show state routing ipv4-access-list <string> name

seq

Specify access list to reject or accept.

vrouter running config# routing ipv4-access-list <string>
vrouter running ipv4-access-list <string># seq <uint16> \
...   permit <permit> exact-match true|false \
...   deny <deny> exact-match true|false

num (state only)

List sequence.

vrouter> show state routing ipv4-access-list <string> seq <uint16> num

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
address (state only)

Prefix to match.

vrouter> show state routing ipv4-access-list <string> seq <uint16> permit <permit> address

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
address (state only)

Prefix to match.

vrouter> show state routing ipv4-access-list <string> seq <uint16> deny <deny> address

deny

IPv4 access list deny rules.

vrouter running config# routing ipv4-access-list <string>
vrouter running ipv4-access-list <string># deny <deny> exact-match true|false
<deny> values Description
<A.B.C.D/M> An IPv4 prefix: address and CIDR mask.
any Any prefix.

exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

address (state only)

Prefix to match.

vrouter> show state routing ipv4-access-list <string> deny <deny> address

permit

IPv4 access list permit rules.

vrouter running config# routing ipv4-access-list <string>
vrouter running ipv4-access-list <string># permit <permit> exact-match true|false
<permit> values Description
<A.B.C.D/M> An IPv4 prefix: address and CIDR mask.
any Any prefix.

exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

address (state only)

Prefix to match.

vrouter> show state routing ipv4-access-list <string> permit <permit> address

ipv6-access-list

IPv6 access list.

vrouter running config# routing ipv6-access-list <string>

remark

Access list entry comment.

vrouter running config# routing ipv6-access-list <string>
vrouter running ipv6-access-list <string># remark <string>

name (state only)

Access list name.

vrouter> show state routing ipv6-access-list <string> name

seq

Specify access list to reject or accept.

vrouter running config# routing ipv6-access-list <string>
vrouter running ipv6-access-list <string># seq <uint16> \
...   permit <permit> exact-match true|false \
...   deny <deny> exact-match true|false

num (state only)

Access list sequence.

vrouter> show state routing ipv6-access-list <string> seq <uint16> num

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
address (state only)

Prefix to match.

vrouter> show state routing ipv6-access-list <string> seq <uint16> permit <permit> address

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
address (state only)

Prefix to match.

vrouter> show state routing ipv6-access-list <string> seq <uint16> deny <deny> address

deny

IPv6 access list deny rules.

vrouter running config# routing ipv6-access-list <string>
vrouter running ipv6-access-list <string># deny <deny> exact-match true|false
<deny> values Description
<X:X::X:X/M> An IPv6 prefix: address and CIDR mask.
any Any prefix.

exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

address (state only)

Prefix to match.

vrouter> show state routing ipv6-access-list <string> deny <deny> address

permit

IPv6 access list permit rules.

vrouter running config# routing ipv6-access-list <string>
vrouter running ipv6-access-list <string># permit <permit> exact-match true|false
<permit> values Description
<X:X::X:X/M> An IPv6 prefix: address and CIDR mask.
any Any prefix.

exact-match

Enable or disable exact match of the prefixes.

exact-match true|false

address (state only)

Prefix to match.

vrouter> show state routing ipv6-access-list <string> permit <permit> address

logging

Logs configuration.

vrouter running config# routing logging

enabled

Enable/Disable routing logs.

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

level

Set minimal logging level.

vrouter running config# routing logging
vrouter 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.

vrouter running config# routing logging mpls

ldp

Common LDP routers logging configuration.

vrouter running config# routing logging mpls ldp
enabled

Enable/disable MPLS LDP logging configuration.

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

Direction of discovery messages to log.

vrouter running config# routing logging mpls ldp
vrouter 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.

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

Log event information.

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

Log label allocation information.

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

Log zebra information.

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

Log LDP message information.

vrouter running config# routing logging mpls ldp message
direction

Direction of messages to log.

vrouter running config# routing logging mpls ldp message
vrouter 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.

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

bgp

Common BGP routers logging configuration.

vrouter running config# routing logging bgp

enabled

Enable/disable BGP logging configuration.

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

allow-martians

Allow martian next hops.

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

as-4bytes

Log AS > 65535 actions.

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

as-4bytes-segment

Log AS > 65535 aspath segment handling.

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

bestpath

Log BGP bestpath info.

vrouter running config# routing logging bgp
vrouter running bgp# bestpath BESTPATH
BESTPATH values Description
<A.B.C.D/M> An IPv4 prefix: address and CIDR mask.
<X:X::X:X/M> An IPv6 prefix: address and CIDR mask.

flowspec

Enable flowspec debugging entries.

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

keepalives

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

vrouter running config# routing logging bgp
vrouter running bgp# keepalives KEEPALIVES
KEEPALIVES values Description
<A.B.C.D> An IPv4 address.
<X:X::X:X> An IPv6 address.
all Log all keepalive messages.

neighbor-events

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

vrouter running config# routing logging bgp
vrouter running bgp# neighbor-events NEIGHBOR-EVENTS
NEIGHBOR-EVENTS values Description
<A.B.C.D> An IPv4 address.
<X:X::X:X> An IPv6 address.
all Log all neighbor event messages.

update-groups

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

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

zebra

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

vrouter running config# routing logging bgp
vrouter running bgp# zebra ZEBRA
ZEBRA values Description
<A.B.C.D/M> An IPv4 prefix: address and CIDR mask.
<X:X::X:X/M> An IPv6 prefix: address and CIDR mask.
all Log all messages between Zebra and BGP.

pbr

Log policy base routing info.

vrouter running config# routing logging bgp pbr
detail

Log policy base routing info with more details.

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

updates

Log inbound and outbound update messages.

vrouter running config# routing logging bgp updates
enabled

Enable/Disable log about inbound and outbound update messages.

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

Log inbound update messages from a specific neighbor or all.

vrouter running config# routing logging bgp updates
vrouter running updates# in IN
IN values Description
<A.B.C.D> An IPv4 address.
<X:X::X:X> 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.

vrouter running config# routing logging bgp updates
vrouter running updates# out OUT
OUT values Description
<A.B.C.D> An IPv4 address.
<X:X::X:X> An IPv6 address.
all Log outbound update messages from all neighbors.
Default value
all
prefix

Log update messages to/from a specific network.

vrouter running config# routing logging bgp updates
vrouter running updates# prefix PREFIX
PREFIX values Description
<A.B.C.D/M> An IPv4 prefix: address and CIDR mask.
<X:X::X:X/M> An IPv6 prefix: address and CIDR mask.

vpn

Log VPN routes.

vrouter running config# routing logging bgp vpn
label

Log VPN label.

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

Log leaks.

vrouter running config# routing logging bgp vpn
vrouter 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.

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

rip

Common RIP routers logging configuration.

vrouter running config# routing logging rip

enabled

Enable/disable router logging configuration.

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

events

Log router events.

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

packet

Log router received/send packet info.

vrouter running config# routing logging rip
vrouter 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.

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

ripng

Common RIPng routers logging configuration.

vrouter running config# routing logging ripng

enabled

Enable/disable router logging configuration.

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

events

Log router events.

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

packet

Log router received/send packet info.

vrouter running config# routing logging ripng
vrouter 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.

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

ospf

Common OSPF routers logging configuration.

vrouter running config# routing logging ospf

enabled

Enable/disable OSPF logging configuration.

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

events

Log OSPF event information.

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

ism

Log OSPF Interface State Machine information.

vrouter running config# routing logging ospf
vrouter 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.

vrouter running config# routing logging ospf
vrouter 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.

vrouter running config# routing logging ospf
vrouter 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.

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

zebra

Log zebra information.

vrouter running config# routing logging ospf
vrouter 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.

vrouter 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.

vrouter running config# routing logging ospf message <message>
vrouter 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.

vrouter running config# routing logging ospf message <message>
vrouter running message <message># detail true|false
Default value
false
message-type (state only)

Message type to log.

vrouter> show state routing logging ospf message <message> message-type

ospf6

Common OSPF6 routers logging configuration.

vrouter running config# routing logging ospf6

enabled

Enable/Disable OSPF6 logging configuration.

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

abr

Log ABR information.

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

asbr

Log ASBR information.

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

events

Log events.

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

flooding

Log flooding information.

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

interface

Log interface information.

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

neighbor

Log neighbor information.

vrouter running config# routing logging ospf6
vrouter 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.

vrouter running config# routing logging ospf6
vrouter 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.

vrouter running config# routing logging ospf6
vrouter 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.

vrouter running config# routing logging ospf6
vrouter 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.

vrouter running config# routing logging ospf6 border-routers
summary

Log border router information in a specific area.

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

Log border router information in a specific area.

vrouter running config# routing logging ospf6 border-routers
vrouter running border-routers# area-id AREA-ID
AREA-ID An IPv4 address.
router-id

Log information from a specific border router.

vrouter running config# routing logging ospf6 border-routers
vrouter running border-routers# router-id ROUTER-ID
ROUTER-ID An IPv4 address.

lsa

Configure Link State Advertisements logging information.

vrouter running config# routing logging ospf6
vrouter 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
lsa (state only)

LSA feature to log.

vrouter> show state routing logging ospf6 lsa <lsa> lsa

message

Log OSPF message information.

vrouter running config# routing logging ospf6
vrouter 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
message-type (state only)

Message type to log.

vrouter> show state routing logging ospf6 message <message> message-type

ipv4-prefix-list

IPv4 prefix list.

vrouter running config# routing ipv4-prefix-list <string>

name (state only)

Prefix list name.

vrouter> show state routing ipv4-prefix-list <string> name

seq

Prefix list sequence.

vrouter running config# routing ipv4-prefix-list <string>
vrouter running ipv4-prefix-list <string># seq <uint32> address ADDRESS policy POLICY \
... ge <uint8> le <uint8>

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 <uint8>

le

Maximum prefix length to be matched.

le <uint8>

num (state only)

Sequence number.

vrouter> show state routing ipv4-prefix-list <string> seq <uint32> num

ipv6-prefix-list

IPv6 prefix list.

vrouter running config# routing ipv6-prefix-list <string>

name (state only)

Prefix list name.

vrouter> show state routing ipv6-prefix-list <string> name

seq

Prefix list sequence.

vrouter running config# routing ipv6-prefix-list <string>
vrouter running ipv6-prefix-list <string># seq <uint32> address ADDRESS policy POLICY \
... ge <uint8> le <uint8>

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 <uint8>

le

Maximum prefix length to be matched.

le <uint8>

num (state only)

Sequence number.

vrouter> show state routing ipv6-prefix-list <string> seq <uint32> num

route-map

Route map list.

vrouter running config# routing route-map <string>

name (state only)

Route map name.

vrouter> show state routing route-map <string> name

seq

Route map sequence.

vrouter running config# routing route-map <string> seq <uint16>

policy (mandatory)

Matching policy.

vrouter running config# routing route-map <string> seq <uint16>
vrouter running seq <uint16># policy POLICY
POLICY values Description
deny Route map denies set operations.
permit Route map permits set operations.

call

Jump to another Route-Map after match+set.

vrouter running config# routing route-map <string> seq <uint16>
vrouter running seq <uint16># call <string>

on-match

Exit policy on matches.

vrouter running config# routing route-map <string> seq <uint16>
vrouter running seq <uint16># on-match ON-MATCH
ON-MATCH values Description
<uint16> No description.
next Next clause.

num (state only)

Sequence number.

vrouter> show state routing route-map <string> seq <uint16> num

match

Match values from routing table.

vrouter running config# routing route-map <string> seq <uint16> match
as-path

Match BGP AS path list.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# as-path <string>
interface

Match first hop interface of route.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# interface INTERFACE
INTERFACE An interface name.
local-preference

Match local-preference metric value.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# local-preference <uint32>
mac-address

Match MAC Access-list name.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# mac-address <string>
metric

Match metric value.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# metric <uint32>
origin

BGP origin code.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# origin ORIGIN
ORIGIN values Description
egp Remote EGP.
igp Local IGP.
incomplete Unknown heritage.
peer

Match peer address.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter 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> An interface name.
probability

Match portion of routes defined by percentage value.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# probability <uint8>
source-instance

Match the protocol’s instance number.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# source-instance <uint8>
source-protocol

Match protocol via which the route was learnt.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter 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.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# tag <uint32>
extcommunity

Match BGP/VPN extended community list.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter running match# extcommunity <leafref>
evpn

Ethernet Virtual Private Network.

vrouter running config# routing route-map <string> seq <uint16> match evpn
default-route

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

vrouter running config# routing route-map <string> seq <uint16> match evpn
vrouter running evpn# default-route true|false
route-type

Match route type.

vrouter running config# routing route-map <string> seq <uint16> match evpn
vrouter running evpn# route-type ROUTE-TYPE
ROUTE-TYPE values Description
macip Mac-ip route.
multicast IMET route.
prefix Prefix route.
vni

VNI ID.

vrouter running config# routing route-map <string> seq <uint16> match evpn
vrouter running evpn# vni <uint32>
ip

IP information.

vrouter running config# routing route-map <string> seq <uint16> match ip
address

Match address of route.

vrouter running config# routing route-map <string> seq <uint16> match ip address
access-list

Matches the specified access list.

vrouter running config# routing route-map <string> seq <uint16> match ip address
vrouter running address# access-list ACCESS-LIST
ACCESS-LIST values Description
<uint16> No description.
<string> No description.
prefix-list

Matches the specified prefix list.

vrouter running config# routing route-map <string> seq <uint16> match ip address
vrouter running address# prefix-list <string>
prefix-len

Matches the specified prefix length.

vrouter running config# routing route-map <string> seq <uint16> match ip address
vrouter running address# prefix-len <uint8>
next-hop

Match next-hop address of route.

vrouter running config# routing route-map <string> seq <uint16> match ip next-hop
access-list

Matches the specified access list.

vrouter running config# routing route-map <string> seq <uint16> match ip next-hop
vrouter running next-hop# access-list ACCESS-LIST
ACCESS-LIST values Description
<uint16> No description.
<string> No description.
prefix-list

Matches the specified prefix list.

vrouter running config# routing route-map <string> seq <uint16> match ip next-hop
vrouter running next-hop# prefix-list <string>
prefix-len

Matches the specified prefix length.

vrouter running config# routing route-map <string> seq <uint16> match ip next-hop
vrouter running next-hop# prefix-len <uint8>
route-source

Match advertising source address of route.

vrouter running config# routing route-map <string> seq <uint16> match ip route-source
access-list

Matches the specified access list.

vrouter running config# routing route-map <string> seq <uint16> match ip route-source
vrouter running route-source# access-list ACCESS-LIST
ACCESS-LIST values Description
<uint16> No description.
<string> No description.
prefix-list

Matches the specified prefix list.

vrouter running config# routing route-map <string> seq <uint16> match ip route-source
vrouter running route-source# prefix-list <string>
ipv6

IPv6 information.

vrouter running config# routing route-map <string> seq <uint16> match ipv6
address

Match IPv6 address of route.

vrouter running config# routing route-map <string> seq <uint16> match ipv6 address
access-list

Matches the specified access list.

vrouter running config# routing route-map <string> seq <uint16> match ipv6 address
vrouter running address# access-list <string>
prefix-list

Matches the specified prefix list.

vrouter running config# routing route-map <string> seq <uint16> match ipv6 address
vrouter running address# prefix-list <string>
prefix-len

Matches the specified prefix length.

vrouter running config# routing route-map <string> seq <uint16> match ipv6 address
vrouter running address# prefix-len <uint8>
next-hop

Match IPv6 next-hop address of route.

vrouter running config# routing route-map <string> seq <uint16> match ipv6 next-hop
address

IPv6 address of next hop.

vrouter running config# routing route-map <string> seq <uint16> match ipv6 next-hop
vrouter running next-hop# address ADDRESS
ADDRESS An IPv6 address.
community

Match BGP community list.

vrouter running config# routing route-map <string> seq <uint16> match
vrouter 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

set

Set values in destination routing protocol.

vrouter running config# routing route-map <string> seq <uint16> set
atomic-aggregate

Enable or disable BGP atomic aggregate attribute.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# atomic-aggregate true|false
label-index

Label index value.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# label-index <uint32>
local-preference

BGP local preference path attribute.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# local-preference <uint32>
metric

Metric value for destination routing protocol.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# metric METRIC
METRIC values Description
<uint32> No description.
add-metric Add metric.
add-rtt Add round trip time.
substract-metric Subtract metric.
substract-rtt Subtract round trip time.
rtt Assign round trip time.
metric-type

Type of metric.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter 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.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# origin ORIGIN
ORIGIN values Description
egp Remote EGP.
igp Local IGP.
incomplete Unknown heritage.
originator-id

BGP originator ID attribute.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# originator-id ORIGINATOR-ID
ORIGINATOR-ID An IPv4 address.
src

Src address for route.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter 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.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# tag <uint32>
weight

BGP weight for routing table.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# weight <uint32>
comm-list-delete

Set BGP community list (for deletion).

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# comm-list-delete <leafref>
aggregator

BGP aggregator attribute.

vrouter running config# routing route-map <string> seq <uint16> set
vrouter running set# aggregator as <uint32> address ADDRESS
as (mandatory)

AS number of BGP aggregator.

as <uint32>
address (mandatory)

IP address of aggregator.

address ADDRESS
ADDRESS An IPv4 address.
as-path

Transform BGP AS-path attribute.

vrouter running config# routing route-map <string> seq <uint16> set as-path
exclude

AS numbers to exclude from the as-path.

vrouter running config# routing route-map <string> seq <uint16> set as-path
vrouter running as-path# exclude <uint32>
prepend

Prepend to the as-path.

vrouter running config# routing route-map <string> seq <uint16> set as-path prepend
as-number

AS numbers to prepend to the as-path.

vrouter running config# routing route-map <string> seq <uint16> set as-path prepend
vrouter running prepend# as-number <uint32>
last-as

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

vrouter running config# routing route-map <string> seq <uint16> set as-path prepend
vrouter running prepend# last-as <uint8>
asn

AS number to prepend to the as-path.

vrouter running config# routing route-map <string> seq <uint16> set as-path prepend asn <uint8>
<uint32> (mandatory)

AS number.

vrouter running config# routing route-map <string> seq <uint16> set as-path prepend asn <uint8>
vrouter running asn <uint8># <uint32>
id (state only)

Priority of the AS number. High number means lower priority.

vrouter> show state routing route-map <string> seq <uint16> set as-path prepend asn <uint8> id
ip

IP information.

vrouter running config# routing route-map <string> seq <uint16> set ip
next-hop

Next hop address.

vrouter running config# routing route-map <string> seq <uint16> set ip
vrouter 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.

vrouter running config# routing route-map <string> seq <uint16> set ipv4
vpn

VPN information.

vrouter running config# routing route-map <string> seq <uint16> set ipv4 vpn
next-hop

VPN next-hop address.

vrouter running config# routing route-map <string> seq <uint16> set ipv4 vpn
vrouter running vpn# next-hop NEXT-HOP
NEXT-HOP An IPv4 address.
ipv6

IPv6 information.

vrouter running config# routing route-map <string> seq <uint16> set ipv6
next-hop

IPv6 next hop address.

vrouter running config# routing route-map <string> seq <uint16> set ipv6 next-hop
global

IPv6 global address.

vrouter running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vrouter running next-hop# global GLOBAL
GLOBAL An IPv6 address.
local

IPv6 local address.

vrouter running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vrouter running next-hop# local LOCAL
LOCAL An IPv6 address.
peer-address

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

vrouter running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vrouter running next-hop# peer-address true|false
prefer-global

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

vrouter running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vrouter running next-hop# prefer-global true|false
vpn

VPN information.

vrouter running config# routing route-map <string> seq <uint16> set ipv6 vpn
next-hop

VPN next-hop address.

vrouter running config# routing route-map <string> seq <uint16> set ipv6 vpn
vrouter running vpn# next-hop NEXT-HOP
NEXT-HOP An IPv6 address.
community

BGP community attribute.

vrouter running config# routing route-map <string> seq <uint16> set community
attribute

BGP community attribute.

vrouter running config# routing route-map <string> seq <uint16> set community
vrouter running community# attribute ATTRIBUTE
ATTRIBUTE values Description
local-AS Local AS.
no-advertise Do not advertise.
no-export Do not export.
internet Internet.
additive Additive.
<string> Community attribute.
extcommunity

BGP extended community attribute.

vrouter running config# routing route-map <string> seq <uint16> set extcommunity
rt

Route Target extended community.

vrouter running config# routing route-map <string> seq <uint16> set extcommunity
vrouter 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.

vrouter running config# routing route-map <string> seq <uint16> set extcommunity
vrouter 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.

bgp

Common BGP routers configuration.

vrouter running config# routing bgp

route-map-delay

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

vrouter running config# routing bgp
vrouter running bgp# route-map-delay <uint16>
Default value
5

ipv4-community-list

Add a community list entry.

vrouter running config# routing bgp ipv4-community-list <ipv4-community-list>
<ipv4-community-list> values Description
<uint8> No description.
<string> No description.

deny

Specify communities to reject.

vrouter running config# routing bgp ipv4-community-list <ipv4-community-list>
vrouter running ipv4-community-list <ipv4-community-list># deny DENY
DENY values Description
local-AS Local AS.
no-advertise Do not advertise.
no-export Do not export.
internet Internet.
additive Additive.
<string> Community attribute.

permit

Specify communities to accept.

vrouter running config# routing bgp ipv4-community-list <ipv4-community-list>
vrouter running ipv4-community-list <ipv4-community-list># permit PERMIT
PERMIT values Description
local-AS Local AS.
no-advertise Do not advertise.
no-export Do not export.
internet Internet.
additive Additive.
<string> Community attribute.

name (state only)

List name.

vrouter> show state routing bgp ipv4-community-list <ipv4-community-list> name

community-list

Add a community list entry.

vrouter running config# routing bgp community-list <community-list>
<community-list> values Description
<uint8> No description.
<string> No description.

name (state only)

List name.

vrouter> show state routing bgp community-list <community-list> name

policy

Specify communities to reject or accept.

vrouter running config# routing bgp community-list <community-list>
vrouter running community-list <community-list># policy <uint16> POLICY COMMUNITY
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.
additive Additive.
<string> Community attribute.
priority (state only)

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

vrouter> show state routing bgp community-list <community-list> policy <uint16> priority

ipv4-extcommunity-list

Add an extended community list entry.

vrouter running config# routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list>
<ipv4-extcommunity-list> values Description
<uint8> No description.
<string> No description.

name (state only)

List name.

vrouter> show state routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list> name

deny

Specify extended communities to reject.

vrouter running config# routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list> deny
rt

Extended community route target to reject.

vrouter running config# routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list> deny
vrouter running deny# 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.

vrouter running config# routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list> deny
vrouter running deny# 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.

permit

Specify extended communities to accept.

vrouter running config# routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list> permit
rt

Extended community route target to accept.

vrouter running config# routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list> permit
vrouter running permit# 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 accept.

vrouter running config# routing bgp ipv4-extcommunity-list <ipv4-extcommunity-list> permit
vrouter running permit# 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

Add an extended community list entry.

vrouter running config# routing bgp extcommunity-list <extcommunity-list>
<extcommunity-list> values Description
<uint8> No description.
<string> No description.

name (state only)

List name.

vrouter> show state routing bgp extcommunity-list <extcommunity-list> name

policy

Specify extended communities to reject or accept.

vrouter running config# routing bgp extcommunity-list <extcommunity-list>
vrouter running extcommunity-list <extcommunity-list># policy <uint16> POLICY \
... rt RT soo SOO
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.
priority (state only)

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

vrouter> show state routing bgp extcommunity-list <extcommunity-list> policy <uint16> priority

ipv4-as-path-access-list

BGP autonomous system path filter.

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

deny

Specify a regular expression that match AS paths to reject.

vrouter running config# routing bgp ipv4-as-path-access-list <string>
vrouter running ipv4-as-path-access-list <string># deny <string>

permit

Specify a regular expression that match AS paths to accept.

vrouter running config# routing bgp ipv4-as-path-access-list <string>
vrouter running ipv4-as-path-access-list <string># permit <string>

name (state only)

Access list name.

vrouter> show state routing bgp ipv4-as-path-access-list <string> name

as-path-access-list

BGP autonomous system path filter.

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

name (state only)

Access list name.

vrouter> show state routing bgp as-path-access-list <string> name

policy

Specify AS path access list to reject or accept.

vrouter running config# routing bgp as-path-access-list <string>
vrouter running as-path-access-list <string># policy <uint16> POLICY <string>
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>
priority (state only)

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

vrouter> show state routing bgp as-path-access-list <string> policy <uint16> priority