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

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

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

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

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.

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