global¶
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>
<string> |
Access list name. |
remark¶
Access list entry comment.
vsr running config# routing ipv4-access-list <string>
vsr running ipv4-access-list <string># remark <string>
seq¶
Specify access list to reject or accept.
vsr running config# routing ipv4-access-list <string>
vsr running ipv4-access-list <string># seq <uint16> \
... permit <permit> exact-match true|false \
... deny <deny> exact-match true|false
<uint16> |
List sequence. |
ipv6-access-list¶
IPv6 access list.
vsr running config# routing ipv6-access-list <string>
<string> |
Access list name. |
remark¶
Access list entry comment.
vsr running config# routing ipv6-access-list <string>
vsr running ipv6-access-list <string># remark <string>
seq¶
Specify access list to reject or accept.
vsr running config# routing ipv6-access-list <string>
vsr running ipv6-access-list <string># seq <uint16> \
... permit <permit> exact-match true|false \
... deny <deny> exact-match true|false
<uint16> |
Access list sequence. |
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 |
Logging level message levels. |
- 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
|
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
|
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
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 |
An IPv4 or 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
|
Description |
---|---|
<ip-address> |
An IPv4 or 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
|
Description |
---|---|
<ip-address> |
An IPv4 or 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
|
Description |
---|---|
<ip-prefix> |
An IPv4 or 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
|
Description |
---|---|
<ip-address> |
An IPv4 or 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
|
Description |
---|---|
<ip-address> |
An IPv4 or 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 |
An IPv4 or 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
|
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
|
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
|
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
|
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
|
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
|
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
|
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>
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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 <uint8>
ipv4-prefix-list¶
IPv4 prefix list.
vsr running config# routing ipv4-prefix-list <string>
<string> |
Prefix list name. |
seq¶
Prefix list sequence.
vsr running config# routing ipv4-prefix-list <string>
vsr running ipv4-prefix-list <string># seq <uint32> address ADDRESS policy POLICY \
... ge <uint8> le <uint8>
<uint32> |
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
|
Description |
---|---|
deny |
Specify packets to reject. |
permit |
Specify packets to forward. |
ipv6-prefix-list¶
IPv6 prefix list.
vsr running config# routing ipv6-prefix-list <string>
<string> |
Prefix list name. |
seq¶
Prefix list sequence.
vsr running config# routing ipv6-prefix-list <string>
vsr running ipv6-prefix-list <string># seq <uint32> address ADDRESS policy POLICY \
... ge <uint8> le <uint8>
<uint32> |
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
|
Description |
---|---|
deny |
Specify packets to reject. |
permit |
Specify packets to forward. |
route-map¶
Route map list.
vsr running config# routing route-map <string>
<string> |
Route map name. |
seq¶
Route map sequence.
vsr running config# routing route-map <string> seq <uint16>
<uint16> |
Sequence number. |
policy (mandatory)¶
Matching policy.
vsr running config# routing route-map <string> seq <uint16>
vsr running seq <uint16># policy POLICY
|
Description |
---|---|
deny |
Route map denies set operations. |
permit |
Route map permits set operations. |
description¶
Route-map description.
vsr running config# routing route-map <string> seq <uint16>
vsr running seq <uint16># description <string>
call¶
Jump to another Route-Map after match+set.
vsr running config# routing route-map <string> seq <uint16>
vsr running seq <uint16># call <string>
on-match¶
Exit policy on matches.
vsr running config# routing route-map <string> seq <uint16>
vsr running seq <uint16># on-match ON-MATCH
|
Description |
---|---|
<uint16> |
No description. |
next |
Next clause. |
match¶
Match values from routing table.
vsr running config# routing route-map <string> seq <uint16> match
as-path¶
Match BGP AS path list.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# as-path <string>
interface¶
Match first hop interface of route.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# interface INTERFACE
INTERFACE |
An interface name. |
local-preference¶
Match local-preference metric value.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# local-preference <uint32>
mac-address¶
Match MAC Access-list name.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# mac-address <string>
metric¶
Match metric value.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# metric <uint32>
origin¶
BGP origin code.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# origin ORIGIN
|
Description |
---|---|
egp |
Remote EGP. |
igp |
Local IGP. |
incomplete |
Unknown heritage. |
peer¶
Match peer address.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# peer PEER
|
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.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# probability <uint8>
source-instance¶
Match the protocol’s instance number.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# source-instance <uint8>
source-protocol¶
Match protocol via which the route was learnt.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# source-protocol SOURCE-PROTOCOL
|
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> seq <uint16> match
vsr running match# tag <uint32>
extcommunity¶
Match BGP/VPN extended community list.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# extcommunity <leafref>
rpki¶
RPKI specific settings.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# rpki RPKI
|
Description |
---|---|
valid |
Valid prefix. |
invalid |
Invalid prefix. |
notfound |
Prerfix not found. |
evpn¶
Ethernet Virtual Private Network.
vsr running config# routing route-map <string> seq <uint16> match evpn
default-route¶
If true, mark as default EVPN type-5 route.
vsr running config# routing route-map <string> seq <uint16> match evpn
vsr running evpn# default-route true|false
route-type¶
Match route type.
vsr running config# routing route-map <string> seq <uint16> match evpn
vsr running evpn# route-type ROUTE-TYPE
|
Description |
---|---|
macip |
Mac-ip route. |
multicast |
IMET route. |
prefix |
Prefix route. |
vni¶
VNI ID.
vsr running config# routing route-map <string> seq <uint16> match evpn
vsr running evpn# vni <uint32>
route-distinguisher¶
Route distinguisher.
vsr running config# routing route-map <string> seq <uint16> match evpn
vsr running evpn# route-distinguisher ROUTE-DISTINGUISHER
ROUTE-DISTINGUISHER |
Type definition for extended community attributes. In the case that common communities are utilised, they are represented as a string of the form: - <4b AS>:<2b value> per RFC4364 section 4.2 - <2b AS>:<4b value> per RFC4364 section 4.2 - <4b IPv4>:<2b value> per RFC4364 section 4.2. |
ip¶
IP information.
vsr running config# routing route-map <string> seq <uint16> match ip
address¶
Match address of route.
vsr running config# routing route-map <string> seq <uint16> match ip address
Matches the specified access list.
vsr running config# routing route-map <string> seq <uint16> match ip address
vsr running address# access-list ACCESS-LIST
|
Description |
---|---|
<uint16> |
No description. |
<string> |
No description. |
Matches the specified prefix list.
vsr running config# routing route-map <string> seq <uint16> match ip address
vsr running address# prefix-list <string>
Matches the specified prefix length.
vsr running config# routing route-map <string> seq <uint16> match ip address
vsr running address# prefix-len <uint8>
next-hop¶
Match next-hop address of route.
vsr running config# routing route-map <string> seq <uint16> match ip next-hop
Matches the specified access list.
vsr running config# routing route-map <string> seq <uint16> match ip next-hop
vsr running next-hop# access-list ACCESS-LIST
|
Description |
---|---|
<uint16> |
No description. |
<string> |
No description. |
Matches the specified prefix list.
vsr running config# routing route-map <string> seq <uint16> match ip next-hop
vsr running next-hop# prefix-list <string>
Matches the specified prefix length.
vsr running config# routing route-map <string> seq <uint16> match ip next-hop
vsr running next-hop# prefix-len <uint8>
route-source¶
Match advertising source address of route.
vsr running config# routing route-map <string> seq <uint16> match ip route-source
Matches the specified access list.
vsr running config# routing route-map <string> seq <uint16> match ip route-source
vsr running route-source# access-list ACCESS-LIST
|
Description |
---|---|
<uint16> |
No description. |
<string> |
No description. |
Matches the specified prefix list.
vsr running config# routing route-map <string> seq <uint16> match ip route-source
vsr running route-source# prefix-list <string>
ipv6¶
IPv6 information.
vsr running config# routing route-map <string> seq <uint16> match ipv6
address¶
Match IPv6 address of route.
vsr running config# routing route-map <string> seq <uint16> match ipv6 address
Matches the specified access list.
vsr running config# routing route-map <string> seq <uint16> match ipv6 address
vsr running address# access-list <string>
Matches the specified prefix list.
vsr running config# routing route-map <string> seq <uint16> match ipv6 address
vsr running address# prefix-list <string>
Matches the specified prefix length.
vsr running config# routing route-map <string> seq <uint16> match ipv6 address
vsr running address# prefix-len <uint8>
next-hop¶
Match IPv6 next-hop address of route.
vsr running config# routing route-map <string> seq <uint16> match ipv6 next-hop
IPv6 address of next hop.
vsr running config# routing route-map <string> seq <uint16> 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> seq <uint16> match
vsr running match# community id <leafref> exact-match true|false
large-community¶
Match BGP large community list.
vsr running config# routing route-map <string> seq <uint16> match
vsr running match# large-community id <leafref> exact-match true|false
set¶
Set values in destination routing protocol.
vsr running config# routing route-map <string> seq <uint16> set
table¶
Export route to non-main table.
vsr running config# routing route-map <string> seq <uint16> set
vsr running set# table <uint32>
atomic-aggregate¶
Enable or disable BGP atomic aggregate attribute.
vsr running config# routing route-map <string> seq <uint16> set
vsr running set# atomic-aggregate true|false
label-index¶
Label index value.
vsr running config# routing route-map <string> seq <uint16> set
vsr running set# label-index <uint32>
local-preference¶
BGP local preference path attribute.
vsr running config# routing route-map <string> seq <uint16> 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> seq <uint16> set
vsr running set# metric METRIC
|
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> seq <uint16> set
vsr running set# metric-type METRIC-TYPE
|
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> seq <uint16> set
vsr running set# origin ORIGIN
|
Description |
---|---|
egp |
Remote EGP. |
igp |
Local IGP. |
incomplete |
Unknown heritage. |
originator-id¶
BGP originator ID attribute.
vsr running config# routing route-map <string> seq <uint16> 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> seq <uint16> set
vsr running set# src SRC
|
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> seq <uint16> set
vsr running set# tag <uint32>
weight¶
BGP weight for routing table.
vsr running config# routing route-map <string> seq <uint16> set
vsr running set# weight <uint32>
comm-list-delete¶
Set BGP community list (for deletion).
vsr running config# routing route-map <string> seq <uint16> set
vsr running set# comm-list-delete <leafref>
large-comm-list-delete¶
Set BGP large community list (for deletion).
vsr running config# routing route-map <string> seq <uint16> set
vsr running set# large-comm-list-delete LARGE-COMM-LIST-DELETE
|
Description |
---|---|
<leafref> |
No description. |
<leafref> |
No description. |
aggregator¶
BGP aggregator attribute.
vsr running config# routing route-map <string> seq <uint16> set
vsr running set# aggregator as <uint32> address ADDRESS
as-path¶
Transform BGP AS-path attribute.
vsr running config# routing route-map <string> seq <uint16> set as-path
exclude¶
AS numbers to exclude from the as-path.
vsr running config# routing route-map <string> seq <uint16> set as-path
vsr running as-path# exclude <uint32>
prepend¶
Prepend to the as-path.
vsr running config# routing route-map <string> seq <uint16> set as-path prepend
Use the peer’s AS-number; number of times to insert.
vsr running config# routing route-map <string> seq <uint16> set as-path prepend
vsr running prepend# last-as <uint8>
AS number to prepend to the as-path list.
vsr running config# routing route-map <string> seq <uint16> set as-path prepend asn <uint8>
<uint8> |
Order of the AS number. |
AS number.
vsr running config# routing route-map <string> seq <uint16> set as-path prepend asn <uint8>
vsr running asn <uint8># <uint32>
ip¶
IP information.
vsr running config# routing route-map <string> seq <uint16> set ip
next-hop¶
Next hop address.
vsr running config# routing route-map <string> seq <uint16> set ip
vsr running ip# next-hop NEXT-HOP
|
Description |
---|---|
<A.B.C.D> |
An IPv4 address. |
peer-address |
Use peer address (for BGP only). |
unchanged |
Don’t modify existing Next hop address. |
ipv6¶
IPv6 information.
vsr running config# routing route-map <string> seq <uint16> set ipv6
next-hop¶
IPv6 next hop address.
vsr running config# routing route-map <string> seq <uint16> set ipv6 next-hop
IPv6 global address.
vsr running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vsr running next-hop# global GLOBAL
GLOBAL |
An IPv6 address. |
IPv6 local address.
vsr running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vsr running next-hop# local LOCAL
LOCAL |
An IPv6 link-local address which is in the range of fe80::/10. |
If true, use peer address (for BGP only).
vsr running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vsr running next-hop# peer-address true|false
If true, prefer global over link-local if both exist.
vsr running config# routing route-map <string> seq <uint16> set ipv6 next-hop
vsr running next-hop# prefer-global true|false
l3vpn¶
IP information.
vsr running config# routing route-map <string> seq <uint16> set l3vpn
next-hop¶
VPN information.
vsr running config# routing route-map <string> seq <uint16> set l3vpn next-hop
Accept L3VPN traffic over other than LSP encapsulation.
vsr running config# routing route-map <string> seq <uint16> 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> seq <uint16> set community
none¶
Set community to none.
vsr running config# routing route-map <string> seq <uint16> set community
vsr running community# none
attribute (deprecated)¶
Attention
replace-by add
BGP community attribute.
vsr running config# routing route-map <string> seq <uint16> set community
vsr running community# attribute ATTRIBUTE
|
Description |
---|---|
<community-list> |
Community attribute. |
additive |
Additive. |
replace-by¶
BGP community attribute(s) that will replace existing one(s).
vsr running config# routing route-map <string> seq <uint16> set community replace-by
BGP community attribute(s).
vsr running config# routing route-map <string> seq <uint16> set community replace-by
vsr running replace-by# ATTRIBUTE
ATTRIBUTE |
Community attribute. |
add¶
BGP community attribute(s) that will be added to existing one(s).
vsr running config# routing route-map <string> seq <uint16> set community add
BGP community attribute(s).
vsr running config# routing route-map <string> seq <uint16> set community add
vsr running add# ATTRIBUTE
ATTRIBUTE |
Community attribute. |
large-community¶
BGP large community attribute.
vsr running config# routing route-map <string> seq <uint16> set large-community
none¶
Set large community to none.
vsr running config# routing route-map <string> seq <uint16> set large-community
vsr running large-community# none
attribute (deprecated)¶
Attention
replace-by add
BGP large-community attribute.
vsr running config# routing route-map <string> seq <uint16> set large-community
vsr running large-community# attribute ATTRIBUTE
|
Description |
---|---|
<large-community-list> |
Large community attribute. |
additive |
Additive. |
replace-by¶
BGP large community attribute(s) that will replace existing one(s).
vsr running config# routing route-map <string> seq <uint16> set large-community replace-by
BGP large community attribute(s).
vsr running config# routing route-map <string> seq <uint16> 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> seq <uint16> set large-community add
BGP large community attribute(s).
vsr running config# routing route-map <string> seq <uint16> set large-community add
vsr running add# ATTRIBUTE
ATTRIBUTE |
Large community attribute. |
extcommunity¶
BGP extended community attribute.
vsr running config# routing route-map <string> seq <uint16> set extcommunity
rt¶
Route Target extended community.
vsr running config# routing route-map <string> seq <uint16> set extcommunity
vsr running extcommunity# rt RT
RT |
Extended communities or route-target attribute. |
soo¶
Site-of-Origin extended community.
vsr running config# routing route-map <string> seq <uint16> set extcommunity
vsr running extcommunity# soo SOO
SOO |
Extended communities or route-target attribute. |
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 <uint16>
- Default value
5
community-list¶
Add a community list entry.
vsr running config# routing bgp community-list <community-list>
|
Description |
---|---|
<uint8> |
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
|
Description |
---|---|
deny |
Specified communities will be rejected. |
permit |
Specified communities will be accepted. |
COMMUNITY¶
Communities on which the policy should be applied.
COMMUNITY
COMMUNITY |
Community attribute. |
community-list-expanded¶
Add an expanded community list entry.
vsr running config# routing bgp community-list-expanded <community-list-expanded>
|
Description |
---|---|
<uint16> |
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
|
Description |
---|---|
deny |
Specified communities will be rejected. |
permit |
Specified communities will be accepted. |
COMMUNITY¶
Communities on which the policy should be applied.
COMMUNITY
COMMUNITY |
Community attribute. |
extcommunity-list¶
Add an extended community list entry.
vsr running config# routing bgp extcommunity-list <extcommunity-list>
|
Description |
---|---|
<uint8> |
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
|
Description |
---|---|
deny |
Specified extcommunities will be reject. |
permit |
Specified extcommunities will be accept. |
rt¶
Extended community route target to reject.
rt RT
RT |
Extended communities or route-target attribute. |
soo¶
Extended community site of origin to reject.
soo SOO
SOO |
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>
|
Description |
---|---|
<uint16> |
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
|
Description |
---|---|
deny |
Specified extcommunities will be reject. |
permit |
Specified extcommunities will be accept. |
large-community-list¶
Add a large community list entry.
vsr running config# routing bgp large-community-list <large-community-list>
|
Description |
---|---|
<uint8> |
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
|
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>
|
Description |
---|---|
<uint16> |
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
|
Description |
---|---|
deny |
Specified large communities will be rejected. |
permit |
Specified large communities will be accepted. |
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
|
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>