Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

General routing settings

authentication algorithm

This command defines authentication algorithm.

The use of a negative form (no) of the command disables the authentication.

Syntax

authentication algorithm <ALGORITHM>

no authentication algorithm

Parameters

<ALGORITHM> – authentication algorithm:

  • cleartext – password, transmitted in unencrypted form (available only for RIP and OSPF-VLINK);
  • md5 – password is hashed by md5 algorithm.
Required privilege level

10

Command mode

CONFIG-RIP

CONFIG-BGP-FAMILY

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-rip)# authentication algorithm cleartext

authentication key

This command sets a password for authentication with a neighbor.

The use of a negative form (no) of the command removes the password.

Syntax

authentication key ascii-text { <CLEAR-TEXT> | encrypted <ENCRYPTED-TEXT> }

no authentication key

Parameters

<CLEAR-TEXT> – password, set by the string of 8 characters;

<ENCRYPTED-TEXT> – encrypted password of 16 bytes (32 characters) in hexadecimal format (0xYYYY ...) or (YYYY ...).

Required privilege level

10

Command mode

CONFIG-RIP

CONFIG-BGP-FAMILY

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-af)# authentication key ascii-text 123456789
esr(config-bgp-af)# authentication key ascii-text encrypted CDE65039E5591FA3F1

ip path-mtu-discovery

This command enables PMTU search for TCP, SCTP, DCCP.

The use of a negative form (no) of the command sets the default value.

Syntax

ip path-mtu-discovery <ACT>

no ip path-mtu-discovery

Parameters

<ACT> – allocated action:

  • enable – enables PMTU search for TCP, SCTP, DCCP;
  • disable – disables PMTU search for TCP, SCTP, DCCP.
Default value

PMTU search enabled.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ip path-mtu-discovery disable

ip protocols max-routes

This command configures the routing tables capacity.

The use of a negative form (no) of the command sets the default value.

Syntax

ip protocols <PROTOCOL> max-routes <VALUE>

no ip protocols <PROTOCOL> max-routes

Parameters

<PROTOCOL> – protocol type, may take values: rip (in global mode only), ospf, bgp;

<VALUE> – amount of routes in the routing table, takes values in the range of:

  • BGP
    • ESR-1700 [1..5000000];
    • ESR-1000/1200/1500/1510 [1..3000000];
    • ESR-20/21/100/200 [1..1500000],
    • ESR-10/12V/12VF/14VF [1.. 800000].
  • OSPF
    • ESR-1000/1200/1500/1510/1700 [1..500000];
    • ESR-20/21/100/200 [1..300000];
    • ESR-10/12V/12VF/14VF [1..30000].
  • RIP
    • ESR-20/21/100/200/1000/1200/1500/1510/1700 [1..10000];
    • ESR-10/12V/12VF/14VF [1..1000].
Default value for the global mode

BGP

  • ESR-1700 (5000000);
  • ESR-1000/1200/1500/1510 (3000000);
  • ESR-20/21/100/200 (1500000);
  • ESR-10/12V/12VF/14VF (800000).

OSPF

  • ESR-1000/1200/1500/1510/1700 (500000);
  • ESR-20/21/100/200 (300000);
  • ESR-10/12V/12VF/14VF (30000).

RIP

  • ESR-20/21/100/200/1000/1200/1500/1510/1700 (10000);
  • ESR-10/12V/12VF/14VF (1000).
Required privilege level

10

Command mode

CONFIG

CONFIG-VRF

Example
esr(config)# ip protocols ospf max-routes 4400

ip protocols preference

This command configures the priority of routing protocols for the main routing table.

The use of a negative form (no) of the command sets the default value.

Syntax

ip protocols <PROTOCOL> preference <VALUE>

no ip protocols <PROTOCOL> preference

Parameters

<PROTOCOL> – protocol type, may take values: static, rip, ospf, bgp, dhcp, l2tp, pppoe, pptp;

<VALUE> – protocol precedence, takes values in the range of [1..255].

Default value

BGP (170)

OSPF (150)

RIP (100)

DHCP (40)

L2TP (50)

PPPoE (50),

PPTP (50)

Static (1)

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ip protocols ospf preference 44

ip tcp adjust-mss

This command overrides the value of the MSS (Maximum segment size) field in incoming TCP packets.

The use of a negative form (no) of the command disables MSS field value correction.

Syntax

ip tcp adjust-mss <MSS>

no ip tcp adjust-mss

Parameters

<MSS> – MSS value, takes values in the range of [500..1460].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-L2TP

CONFIG-PPPOE

CONFIG-PPTP

CONFIG-LOOPBACK

CONFIG-VTI

CONFIG-LT

Example
esr(config-if-gi)# ip tcp adjust-mss 1400

ipv6 protocols max-routes

This command configures the IPv6 routing tables capacity.

The use of a negative form (no) of the command sets the default value.

Syntax

ipv6 protocols <PROTOCOL> max-routes <VALUE>

no ipv6 protocols <PROTOCOL> max-routes

Parameters

<PROTOCOL> – protocol type, may take values: rip (in global mode only), ospf, bgp;

<VALUE> – amount of routes in the routing table, takes values in the range of:

  • OSPFv3
    • ESR-1000/1200/1500/1510/1700 [1..500000];
    • ESR-20/21/100/200 [1..300000];
    • ESR-10/12V/12VF/14VF [1..30000].
  • IPv6
    • ESR-1000/1200/1500/1510/1700 [1..5000000];
    • ESR-1000/1200/1500/1510 [1..3000000];
    • ESR-10/12V/12VF/14VF/20/21/100/200 [1..1500000].
Default value for the global mode

IPv6 BGP

  • ESR-1700 (5000000),
  • ESR-1000/1200/1500/1510/1700 (3000000),
  • ESR-20/21/100/200 [1..1400000],
  • ESR-10/12V/12VF/14VF [1.. 800000];

OSPFv3 BGP

  • ESR-1000/1200/1500/1510/1700 (500000);
  • ESR-20/21/100/200 (300000);
  • ESR-10/12V/12VF/14VF [1..30000].
Required privilege level

10

Command mode

CONFIG

CONFIG-VRF

Example
esr(config)# ipv6 protocols ospf max-routes 4400

ipv6 router ospf log-adjacency-changes

This command enables the display of information about the status of relations with neighbors for the OSPFv3 routing protocol.

The use of a negative form (no) of the command disables information display.

Syntax

[no] ipv6 router ospf log-adjacency-changes

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 router ospf log-adjacency-changes

ipv6 tcp adjust-mss

This command overrides the value of the MSS (Maximum segment size) field in incoming TCP packets.

The use of a negative form (no) of the command disables MSS field value correction.

Syntax

ipv6 tcp adjust-mss <MSS>

no ipv6 tcp adjust-mss

Parameters

<MSS> – MSS value, takes values in the range of [40..1940].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

Example
esr(config-if-gi)# ipv6 tcp adjust-mss 1400

router ospf log-adjacency-changes

This command enables the display of information about the status of relations with neighbors for the OSPFv2 routing protocol.

The use of a negative form (no) of the command disables information display.

Syntax

[no] router ospf log-adjacency-changes

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# router bgp log-adjacency-changes

show ip protocols

This command displays information about IP routing protocol settings.

Syntax

show ip protocols [ <PROTOCOL> ] [ vrf <VRF> ]

Parameters

<PROTOCOL> – the routing protocol by which information should be displayed:

  • bgp;
  • ospf;
  • rip;
  • static;
  • dhcp;
  • pptp;
  • pppoe;
  • l2tp.

Without specifying the routing protocol, information about all routing protocols configuration is displayed.

<VRF> – VRF instance name, set by the string of up to 31 characters.

Required privilege level

1

Command mode

ROOT

Example
esr# sh ip protocols
BGP:
    Max routes:    --
    Preference:    170
OSPF:
    Max routes:    --
    Preference:    150
RIP:
    Max routes:    --
    Preference:    100
Static:
    Preference:    1

show ip route

This command displays device routing table. If the <SUBNET> parameter is specified, the routes to this subnet are displayed in detail. If the <VRF> parameter is specified, the command displays the routing table of the specified VRF instance.

Syntax

show ip route [ vrf <VRF> ] [ { <SUBNET> [ long-prefix ] | all | summary | <PROTOCOL> } ]

Parameters

<VRF> – VRF name, set by the string of up to 31 characters.

<SUBNET> – destination address, optional parameter, can be specified in the following formats:

  • BBB.CCC.DDD – host IP address, where each part takes values of [0..255].
  • BBB.CCC.DDD/NN – network IP address with prefix mask, where AAA-DDD take values of [0..255] and NN takes values of [1..32];
  • all – displays information about all routes, including inactive ones;
  • long-prefix – displays information about routes to networks that are a given subnet;
  • summary – displays summary statistics of routing protocols;
  • <PROTOCOL> – filter by protocol type (bgp, connected, ospf, rip, static, arp-proxy).
Required privilege level

1

Command mode

ROOT

Example
esr# show ip route
Codes: C – connected, S – static, R – RIP derived,
        O – OSPF derived, IA – OSPF inter area route,
        E1 – OSPF external type 1 route, E2 – OSPF external type 2 route
        B – BGP derived, D – DHCP derived, K – kernel route,
        * – FIB route
C     * 192.168.1.0/24    [0/0]   dev br1                           [direct 01:14:16]
C     * 10.100.100.0/24   [0/0]   dev gi1/0/5                       [direct 01:14:17]
esr# show ip route summary
Direct Connected: 12
Static:           46
RIP:              0
OSPF:             2000
BGP:              100000

show ipv6 protocols

This command displays information about IPv6 routing protocol settings.

Syntax

show ipv6 protocols [ <PROTOCOL> ] [ vrf <VRF> ]

Parameters

<PROTOCOL> – the routing protocol by which information should be displayed:

  • bgp;
  • ospf;
  • static;
  • dhcp;
  • pppoe;
  • pptp;
  • l2tp.

Without specifying the routing protocol, information about all routing protocols configuration is displayed.

<VRF> – VRF instance name, set by the string of up to 31 characters.

Required privilege level

1

Command mode

ROOT

Example
esr# sh ipv6 protocols
BGP:
    Max routes:    --
    Preference:    170
OSPF:
    Max routes:    --
    Preference:    150
Static:
    Preference:    1

show ipv6 route

The command is intended for viewing device routing table. If the <SUBNET> parameter is specified, the routes to this subnet are displayed in detail. If the <VRF> parameter is specified, the command displays the routing table of the specified VRF instance.

Syntax

show ipv6 route [ vrf <VRF> ] [ { <SUBNET> | all | summary | <PROTOCOL> } ]

Parameters

<VRF> – VRF name, set by the string of up to 31 characters.

<SUBNET> – destination address, optional parameter, can be specified in the following formats:

  • X:X:X:X::X – host IPv6 address, where each X part takes values in hexadecimal format [0..FFFF].
  • <IPV6-ADDR/LEN> – IP address and mask of a subnet, defined as X:X:X:X::X/EE where each X part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128];
  • all – displays information about all routes, including inactive ones;
  • summary – displays summary statistics of routing protocols;
  • <PROTOCOL> – filter by protocol type (bgp, connected, ospf, static).
Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 route
 Codes: C – connected, S – static, R – RIP derived,
        O – OSPF derived, IA – OSPF inter area route,
        E1 – OSPF external type 1 route, E2 – OSPF external type 2 route
        B – BGP derived, D – DHCP derived, K – kernel route,
        * – FIB route
S     * ::/0              [1/0]   via fc00::1 on gi1/0/5            [static 03:16:23]
S     * 2001::/120        [1/6]   dev gi1/0/5                       [static 03:16:23]
C     * fc00::/120        [0/0]   dev gi1/0/5                       [direct 03:16:23]
S     * fc00:3::1/128     [1/0]   via fc00::1 on gi1/0/5            [static 03:16:23]
esr# show ipv6 route summary
Direct Connected: 1
Static:           3
RIP:              0
OSPF:             0
BGP:              0

General commands for routes advertising and reception

default-information-originate

This command enables the generation and sending of the default route, if it is registered in the routing table of the FIB, for:

  • NSSA areas (route advertising) as NSSA-LSA;
  • BGR IPv4/IPv6 address family.

The use of a negative form (no) of the command disables the route generation by default.

Syntax

[no] default-information-originate

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-BGP-AF

CONFIG-OSPF-AREA

CONFIG-OSPFV3-AREA

Example
esr(config-ospf-area)# default-information-originate

description

This command changes the description of a configurable list of IP subnets or IPv6 subnets.

The use of a negative form (no) of the command removes a specified description.

Syntax

description <DESCRIPTION>

no description

Parameters

<DESCRIPTION> – IP or IPv6 subnets list description, set by the string of up to 255 characters.

Required privilege level

10

Command mode

CONFIG-PL

CONFIG-IPV6-PL

Example
esr(config-route-map-rule)# description "Drop Local NETs"

ip prefix-list

This command creates IP subnets list that will be used for further filtration of advertised and received IP routes.

The use of a negative form (no) of the command removes prefixes list.

Syntax

[no] ip prefix-list <NAME>

Parameters

<NAME> – name of a subnet list being configured, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ip prefix-list ospf_in

ipv6 prefix-list

This command creates IPv6 subnets list that will be used for further filtration of advertised and received IP routes.

The use of a negative form (no) of the command removes prefixes list.

Syntax

[no] ipv6 prefix-list <NAME>

Parameters

<NAME> – name of a subnet list being configured, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 prefix-list ospfv3_in

network

This command enables specified subnet advertising.

The use of a negative form (no) of the command disables specified subnet advertising.

Syntax

[no] network <ADDR/LEN>

Parameters

<ADDR/LEN> – IP subnet, set in the following format:

  • AAA.BBB.CCC.DDD/EE – network IP address with prefix mask, where AAA-DDD take values of [0..255] and EE takes values of [1..32].
  • X:X:X:X::X/EE – IPv6 address and mask of a subnet, where each X part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128].
Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-OSPF-AREA

CONFIG-RIP

CONFIG-OSPFV3-AREA

Example
esr(config-bgp)# network 192.168.25.0/24

permit/deny

This command allows (permit) or forbids (deny) prefix lists.

Syntax

permit { object-group <OBJ-GROUP-NETWORK-NAME>|<ADDR/LEN>|<IPV6-ADDR/LEN>} [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ] } ]

deny { object-group <OBJ-GROUP-NETWORK-NAME>|<ADDR/LEN >|<IPV6-ADDR/LEN >} [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ] } ]

no {object-group <OBJ-GROUP-NETWORK-NAME>|default-route}

Parameters

<OBJ-GROUP-NETWORK-NAME> – IP/IPv6 addresses profile name, set by the string of up to 31 characters;

<ADDR> – IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

<IPV6-ADDR> – IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF];

<LEN> – prefix length, takes values of [1..32] in prefix IP lists and [1..128] in prefix IPv6 lists;

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-PL

CONFIG-IPV6-PL

Example
esr(config-pl)# permit static ge 24 le 28

prefix-list

This command adds subnet filtering for inbound or outbound updates.

The use of a negative form (no) of the command disables the filtration.

Syntax

prefix-list <PREFIX-LIST-NAME> { in | out }

no prefix-list { in| out }

Parameters

<PREFIX-LIST-NAME> – name of a subnet list being configured, set by the string of up to 31 characters:

in – incoming routes filtration;

out – advertised routes filtration.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

CONFIG-OSPF

CONFIG-RIP

CONFIG-OSPFV3

Example
esr(config-rip)# prefix-list rip_in in

redistribute bgp

This command enables the advertising of BGP autonomous system routes.

The use of a negative form (no) of the command disables the advertising of BGP autonomous system routes.

Syntax

redistribute bgp <AS> [ route-map <NAME> ]

no redistribute bgp <AS>

Parameters

<AS>  – autonomous system number, takes values of [1..4294967295].

<NAME> – name of the route map that will be used for advertised BGP routes filtration and modification, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-OSPF

CONFIG-RIP

CONFIG-OSPFV3

Example
esr(config-bgp)# redistribute bgp 30
esr(config-ospf)# redistribute bgp 35
esr(config-rip)# redistribute bgp 300

redistribute connected

This command enables advertising of directly connected subnets.

The use of a negative form (no) of the command disables advertising of directly connected subnets.

Syntax

redistribute connected [ route-map <NAME> ]

no redistribute connected

Parameters

<NAME> – name of the route map that will be used for filtration and modification of advertised directly connected subnets, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-OSPF

CONFIG-RIP

CONFIG-OSPFV3

Example
esr(config-rip)# redistribute connected

redistribute ospf

This command enables advertising of routes from the OSPF process database according to the selected conditions.

The use of a negative form (no) of the command disables the advertising of routes from the OSPF process database.

Syntax

redistribute ospf <ID> <ROUTE-TYPE> [ route-map <NAME> ]

no redistribute ospf <ID>

Parameters

<ID> – process number, takes values of [1..65535].

<ROUTE-TYPE> – route type:

  • intra-area – OSPF process routes advertising within a zone;
  • inter-area – OSPF process routes advertising between zones;
  • external1 – OSPF format 1 external routes advertising;
  • external2 – OSPF format 2 external routes advertising;

<NAME> – name of the route map that will be used for advertised OSFP routes filtration and modification, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-OSPF

CONFIG-RIP

CONFIG-OSPFV3

Example
esr(config-bgp)# redistribute ospf 10 external2

redistribute rip

This command enables advertising of routes from the RIP route database.

The use of a negative form (no) of the command disables advertising of routes from the RIP route database.

Syntax

redistribute rip [ route-map <NAME> ]

no redistribute rip

Parameters

<NAME> – name of the route map that will be used for advertised RIP routes filtration and modification, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-OSPF

Example
esr(config-bgp)# redistribute rip

redistribute static

This command enables static routes advertising.

The use of a negative form (no) of the command disables static routes advertising.

Syntax

redistribute static [ route-map <NAME> ]

no redistribute static

Parameters

<NAME> – name of the route map that will be used for advertised static routes filtration and modification, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-OSPF

CONFIG-RIP

CONFIG-OSPFV3

Example
esr(config-bgp)# redistribute static

Policy-based routing (PBR)

action

The command specifies the action that should be applied for the route information meeting this requirements. It is used only for filtering routes of dynamic routing protocols and has no effect when configuring PBR.

The use of a negative form (no) of the command sets the default value.

Syntax

action <ACT>

no action

Parameters

<ACT> – allocated action:

  • permit – routing information reception/advertising is permitted;
  • deny – routing information reception/advertising is denied;
Default value

permit

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-acl-rule)# action deny

action set as-path prepend

This command sets BGP AS-Path attribute value that will be added to the beginning of AS-Path list (optionally).

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set as-path prepend <AS-PATH> { track <TRACK-ID> }

no set as-path

Parameters

<AS-PATH> – autonomous systems number list that will be added to the current value in the route. It is defined as AS,AS,AS where each part takes values of [1..4294967295]. You can specify up to 10 autonomous system numbers.

<TRACK-ID> – the tracking identifier of the object, if all the conditions for which the specified action is executed. Changes in the range of [1..60].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set as-path prepend 100,200,300

action set community

This command sets the value of the BGP Community attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set community { <COMMUNITY-LIST> | no-advertise | no-export }

no action set community

Parameters

<COMMUNITY-LIST> – community list, defined as AS:N,AS:N,AS:N, where AS part takes values of [1..65535] and N part takes values of [0..65535]. You can specify up to 64 community;

no-advertise – when specifying a command, routes that are transmitted with this community attribute value should not be advertised to other BGP neighbors;

no-export — when specifying a command, routes that are transmitted with this community attribute value should not be advertised outside the confederation (an autonomous system that is not part of the confederation is considered a confederation). That is, routes are not advertised to eBGP neighbors, but are advertised by external neighbors in the confederation.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set community no-advertise

action set extcommunity

This command sets the value of the BGP ExtCommunity attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set extcommunity <EXTCOMMUNITY-LIST>

no action set extcommunity

Parameters

<EXTCOMMUNITY-LIST> – community list, defined as KIND:AS:N,KIND:AS:N,KIND:AS:N, where

  • KIND – extcommunity type, take RT (Route Target) and RO (Route Origin) values;
  • <AS> – autonomous system number, takes values of [1..4294967295];
  • N – extcommunity number, which defines the traffic routing policy, takes the values [1..65535].

You can specify up to 64 ExtCommunity.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set extcommunity ro:435:6

action set ip bgp-next-hop

This command sets the value of the BGP Next-Hop attribute to be set in the route when BGP is advertised.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set ip bgp-next-hop <ADDR>

no action set ip next-hop

Parameters

<ADDR> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ip bgp-next-hop 10.100.100.1

action set ip next-hop

This command specifies Next-Hop value that will be set in the route received by BGP.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set ip next-hop { <NEXTHOP> | blackhole | unreachable | prohibit }

no action set ip next-hop

Parameters

<NEXTHOP> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

  • blackhole – when specifying the command, the packets to this subnet will be removed by the device without sending notifications to a sender;
  • unreachable – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Host unreachable, code 1);
  • prohibit – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Communication administratively prohibited, code 13).
Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ip next-hop prohibit

action set ip next-hop verify-availability

This command sets Next-Hop for the packets that meet the requirements of the specified ACL.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set ip next-hop verify-availability <NEXTHOP> <METRIC>

no action set ip next-hop verify-availability {<NEXTHOP>| all}

Parameters

<NEXTHOP> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

<METRIC>  – route metric, takes values of [1..255].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ip next-hop verify-availability 1.1.1.1 25

action set ipv6 bgp-next-hop

This command sets the value of the BGP Next-Hop attribute for IPv6 to be set in the route when BGP is advertised.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set ipv6 bgp-next-hop <ADDR>

no action set ipv6 next-hop

Parameters

<IPV6-ADDR> – gateway IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ipv6 bgp-next-hop 2002::765:1

action set ipv6 next-hop

This command specifies Next-Hop value for IPv6 that will be set in the route received by BGP.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set ipv6 next-hop <NEXTHOP>

no action set ipv6 next-hop

Parameters

<IPV6-ADDR> – client IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set ipv6 next-hop 55::205:2

action set local-preference

This command sets the value of the BGP Local Preference attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set local-preference <PREFERENCE>

no action set local-preference

Parameters

<PREFERENCE> – BGP Local Preference attribute value, takes values in the range of [1..2147483647].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set local-preference 120

action set metric bgp

This command sets the value of the BGP MED attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set metric bgp <METRIC> { track <TRACK-ID> }

no action set metric bgp

Parameters

<METRIC> – BGP MED attribute value, takes values in the range of [0..4294967295].

<TRACK-ID> – the tracking identifier of the object, if all the conditions for which the specified action is executed. Changes in the range of [1..60].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set metric bgp 10

action set metric ospf

This command sets the value of the OSPF Metric attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set metric ospf <TYPE> <METRIC>

no action set metric ospf

Parameters

<TYPE> – OSPF Metric attribute type, takes values type-1 and type-2.

<METRIC> – OSPF Metric attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set metric ospf type-1 10

action set metric rip

This command sets the value of the RIP Metric attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set metric rip <METRIC>

no action set metric rip

Parameters

<METRIC> – RIP Metric attribute value, takes values in the range of [0..16].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set metric rip 5

action set origin

This command sets the value of the BGP Origin attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set origin <ORIGIN>

no action set origin

Parameters

<ORIGIN> – value of the BGP Origin attribute, takes the following values:

  • egp – route is learnt by Exterior Gateway Protocol (EGP);
  • igp – route is received inside the initial AS;
  • incomplete – route is learnt in another way.
Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set origin igp

action set tag ospf

This command sets the value of the OSPF Tag attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set tag ospf <TAG>

no action set tag ospf

Parameters

<TAG> – OSPF Tag attribute value, takes values in the range of [0..4294967295].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set tag ospf 20

action set tag rip

This command sets the value of the RIP Tag attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set tag rip <RIP>

no action set tag rip

Parameters

<RIP> – RIP Tag attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set tag rip 20

action set weight bgp

This command sets the value of the BGP weight attribute to be set in the route.

The use of a negative form (no) of the command cancels the assignment.

Syntax

action set weight bgp <WIGHT>

no action set weight bgp

Parameters

<WEIGHT> – value of the BGP weight attribute takes the values [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# action set weight bgp 200

description

This command changes a description of configurable route map rule.

The use of a negative form (no) of the command removes a specified description.

Syntax

description <DESCRIPTION>

no description

Parameters

<DESCRIPTION> – route map rule description, set by the string of up to 255 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# description "Drop Local NETs"

ip policy route-map

This command assigns a routing policy based on access lists (ACL) to interface.

The use of a negative form (no) of the command removes routing policy.

Syntax

ip policy route-map <NAME>

no ip policy route-map

Parameters

<NAME> – configured routing policy name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-CELLULAR-MODEM

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-VTI

Example
esr(config-subif)# route-map drop-local-net in

match as-path

This command sets BGP AS-Path attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match as-path [ begin | end | contain ] <AS-PATH>

no match as-path

Parameters

<AS-PATH> – list of autonomous system numbers, defined as AS,AS,AS, where every part takes values of [1..4294967295]. You can specify up to 10 autonomous system numbers.

Optional parameters with the use of which the partial correspondence of the attribute is specified:

  • begin – attribute value begins with the specified AS numbers list;
  • end – attribute value ends with the specified AS numbers list;
  • contain – attribute value includes the specified AS numbers list.
Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match as-path begin 100,200,300

match community

This command sets BGP Community attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match community <COMMUNITY-LIST>

no match community

Parameters

<COMMUNITY-LIST> – community list, defined as AS:N,AS:,AS, where AS part takes values of [1..65535] and N part takes values of [0..65535]. You can specify up to 64 community.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match community 100:1,200:3,300:65000

match extcommunity

This command sets BGP ExtCommunity attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match extcommunity <EXTCOMMUNITY-LIST>

no match extcommunity

Parameters

<EXTCOMMUNITY-LIST> – extcommunity list, defined as KIND:AS:N, KIND:AS:N, KIND:AS:N, where:

  • KIND – extcommunity type, take RT (Route Target) and RO (Route Origin) values;
  • <AS> – autonomous system number, takes values of [1..4294967295];
  • N – extcommunity number, which defines the traffic routing policy, takes the values [1..65535].

You can specify up to 64 extcommunity.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match extcommunity ro:435:6

match ip access-group

The command sets ACL group for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ip access-group <NAME>

no match ip access-group

Parameters

<NAME> – access control list name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip access-group ACCESS

match ip address

The command sets route addresses for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ip address <ADDR/LEN> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ] }

no match ip address prefix

Parameters

<ADDR> – IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

<LEN> – prefix length, takes values [1..32];

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip address 192.168.0.0/32 ge 16

match ip address object-group

This command sets an IP address profile containing the values of destination subnets in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ip address object-group <OBJ-GROUP- NETWORK -NAME> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ]

no match ip address object-group

Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IP addresses profile that includes destination subnets prefixes, set by the string of up to 31 characters;

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip address object-group local_nets

match ip next-hop

This command sets an IP address profile containing the values of BGP Next-Hop attribute in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ip next-hop object-group <OBJ-GROUP-NETWORK-NAME>

no match ip next-hop

Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IP addresses profile that includes gateway IP address ranges, set by the string of up to 31 characters;

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip next-hop object-group block_nexthop

match ip route-source

This command sets IP addresses profile. Profile contains IP addresses of the router that advertised the route. Used to filter by source IP address when advertising route information.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ip route-source object-group <OBJ-GROUP-NETWORK-NAME>

no match ip route-source

Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IP addresses profile that includes IP address ranges of the route information source, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ip route-source object-group source_routers

match ipv6 address

The command sets IPv6 route addresses for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ipv6 address <IPV6-ADDR/LEN> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ] }

no match ipv6 address prefix

Parameters

<IPV6-ADDR> – IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF];

<LEN> – prefix length, takes values [1..128];

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 address FF02:0:0:0:0:1:FF00::/104

match ipv6 address object-group

This command sets an IPv6 address profile containing the values of destination subnets in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ipv6 address object-group <OBJ-GROUP-NETWORK-NAME> [ { eq <LEN> | le <LEN> | ge <LEN> [ le <LEN> ]

no match ipv6 address object-group

Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IPv6 addresses profile that includes destination subnets prefixes, set by the string of up to 31 characters;

eq – when specifying the command, the prefix length mast match the specified one;

le – when specifying the command, the prefix length mast be less than or match the specified one;

ge – when specifying the command, the prefix length mast be more than or match the specified one.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 address object-group local_nets

match ipv6 next-hop

This command sets an IPv6 address profile containing the values of BGP Next-Hop attribute in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ipv6 next-hop object-group <OBJ-GROUP-NETWORK-NAME>

no match ipv6 next-hop

Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IPv6 addresses profile that includes gateway IPv6 address ranges, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 next-hop object-group block_nexthop

match ipv6 route-source

This command sets IPv6 addresses profile. Profile contains IPv6 addresses of the router that advertised the route. Used to filter by source IPv6 address when advertising route information.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match ipv6 route-source object-group <OBJ-GROUP-NETWORK-NAME>

no match ipv6 route-source

Parameters

<OBJ-GROUP-NETWORK-NAME> – name of the IPv6 addresses profile that includes IPv6 address ranges of the route information source, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match ipv6 route-source object-group source_routers

match metric bgp

This command sets BGP MED attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match metric bgp <METRIC>

no match metric bgp

Parameters

<METRIC> – BGP MED attribute value, takes values in the range of [0..4294967295].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match metric bgp 10

match metric ospf

This command sets OSPF Metric attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match metric ospf <TYPE> <METRIC>

no match metric ospf

Parameters

<TYPE> – OSPF Metric attribute type, takes values type-1 and type-2.

<METRIC> – OSPF Metric attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match metric ospf type-1 10

match metric rip

This command sets RIP Metric attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match metric rip <METRIC>

no match metric rip

Parameters

<METRIC> – RIP Metric attribute value, takes values in the range of [0..16].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match metric rip 5

match tag ospf

This command sets OSPF Tag attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match tag ospf <TAG>

no match tag ospf

Parameters

<TAG> – OSPF Tag attribute value, takes values in the range of [0..4294967295].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match tag ospf 20

match tag rip

This command sets RIP Tag attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match set tag rip <RIP>

no match set tag rip

Parameters

<RIP> – RIP Tag attribute value, takes values in the range of [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match tag rip 20

match weight bgp

This command sets BGP weight attribute value in the route for which the rule should work.

The use of a negative form (no) of the command cancels the assignment.

Syntax

match weight bgp <WEIGHT>

no match weight bgp

Parameters

<WEIGHT> – value of the BGP weight attribute takes the values [0..65535].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP-RULE

Example
esr(config-route-map-rule)# match bgp weight 20

route-map

This command adds filtration and modification of routes in incoming or outgoing directions.

The use of a negative form (no) of the command disables filtration and modification of routes in corresponding direction.

Syntax

route-map <NAME> <DIRECTION>

no route-map <DIRECTION>

Parameters

<NAME> – configured route map name, set by the string of up to 31 characters;

<DIRECTION> – direction:

  • in – filtration and modification of received routes;
  • out – filtration and modification of advertised routes.
Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

CONFIG-OSPF

CONFIG-OSPFV3

CONFIG-RIP

Example
esr(config-bgp-neighbor)# route-map drop-local-net in

route-map

This command creates a route map, which will later be used for filtration and modification of the IP routes that are being advertised and received, and it switches to the settings mode of the route map.

The use of a negative form (no) of the command removes a route map.

Syntax

[no] route-map <NAME>

Parameters

<NAME> – configuring route map name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# route-map drop-local-net
esr(config-route-map)#

rule

This command creates route map rule with specified number and switch to the rule parameters configuration mode. The rules are proceeded by the device in number ascending order.

The use of a negative form of the command (no) removes the rule by number or all rules.

Syntax

[no] rule <ORDER>

Parameters

<ORDER> – rule number, takes values of [1..10000].

Required privilege level

10

Command mode

CONFIG-ROUTE-MAP

Example
esr(config-route-map)# rule 2
esr(config-route-map-rule)#

show ip route-map

command shows route maps.

Syntax

show ip route-map <NAME> [ <ORDER> ]

Parameters

<NAME> – router map name, set by the string of up to 31 characters;

<ORDER>  – rule number, takes values of [1..10000]. When specifying a rule number, only the given rules information will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip route-map drop-local-net
Order:                                      2
Description:                                Drop route to private nets
Matching pattern:
    Access group                                --
    AS path                                     --
    Community                                   --
    Extcommunity                                --
    BGP metric (MED):                           --
    Address (object-group):                     local_net
    Next hop (object-group):                    --
    Route source (object-group):                --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --
Actions:
    Decision:                                   Deny
    Route next hop address:                     --
    Route IPv6 next hop address:                --
    Route next hop:                             --
    AS path (prepand):                          --
    Community:                                  --
    Extcommunity:                               --
    Local preference:                           --
    BGP next hop address:                       --
    BGP IPv6 next hop address:                  --
    BGP metric (MED):                           --
    Origin:                                     --
    RIP metric                                  --
    RIP tag                                     --
    OSPF metric type                            --
    OSPF metric                                 --
    OSPF tag                                    --

Key batch configuration

accept-lifetime

This command defines the period of time during which this key can be used to authenticate received packets.

The use of a negative form (no) of the command sets the default value.

Syntax

accept-lifetime <TIME_B> <DAY_B> <MONTH_B> <YEAR_B> <TIME_E> <DAY_E> <MONTH_E> <YEAR_E>

no accept-lifetime

Parameters

<TIME_B> – set time to start using the key, is given as HH: MM: SS, where:

  • HH – hours, takes the value of [0..23];
  • MM – minutes, takes the value of [0 ..59];
  • SS – seconds, takes the value of [0..59];

<DAY_B> – the day of the month when the key was first used, takes the values [1..31];

<MONTH_B> – the month when the key was first used, takes the values [January/February/March/April/May/June/July/August/September/October/November/December];

<YEAR_B> – the year when the key was first used, takes the values [2001..2037].

<TIME_E> – set time to end using the key, is given as HH: MM: SS, where:

  • HH – hours, takes the value of [0..23];
  • MM – minutes, takes the value of [0 ..59];
  • SS – seconds, takes the value of [0..59];

<DAY_E> – the day of the month when the key is ending, takes the values [1..31];

<MONTH_E> – the month when the key is ending, takes the values [January/February/March/April/May/June/July/August/September/October/November/December];

<YEAR_E> – the year when the key is ending, takes the values [2001..2037].

Default value

The key is valid constantly.

Required privilege level

15

Command mode

CONFIG-KEYCHAIN-KEY

Example
esr(config-keychain-key)# accept-lifetime 16:35:00 10 May 2015 16:35:00 10 June 2021

key

The command adds a key to the key chain and switches to its configuration mode.

The use of a negative form (no) of the command removes a specified key.

Syntax

[no] key <ID>

Parameters

<ID> – key identifier, set in the range of [0..255].

Required privilege level

15

Command mode

CONFIG-KEYCHAIN

Example
esr(config-keychain)# key 25

key-chain

The command adds a key chain to the system and switches to its configuration mode.

The use of a negative form (no) of the command removes a specified list.

Syntax

[no] key-chain <KEYCHAIN>

Parameters

<KEYCHAIN> – key list identifier, set by the string of up to 16 ASCII characters.

Required privilege level

15

Command mode

CONFIG

Example
esr(config)# key-chain lock

key-string

The command sets an authentication password.

The use of a negative form (no) of the command removes the password.

Syntax

key-string ascii-text { <CLEAR-TEXT> | encrypted <ENCRYPTED-TEXT> }

no key-string

Parameters

<CLEAR-TEXT> – password of 8 to 16 bytes;
<ENCRYPTED-TEXT> – encrypted password of 8 to 16 bytes (from 16 to 32 characters) in hexadecimal format (0xYYYY ...) or (YYYY ...).

Required privilege level

15

Command mode

CONFIG-KEYCHAIN-KEY

Example
esr(config-keychain-key)# key-string ascii-text 123456789
esr(config-keychain-key)# key-string ascii-text encrypted CDE65039E5591FA3F1

send-lifetime

This command defines the period of time during which this key can be used to authenticate when sending packets.

The use of a negative form (no) of the command sets the default value.

Syntax

send-lifetime <TIME_B> <DAY_B> <MONTH_B> <YEAR_B> <TIME_E> <DAY_E> <MONTH_E> <YEAR_E>

no send-lifetime

Parameters

<TIME_B> – set time to start using the key, is given as HH: MM: SS, where:

  • HH – hours, takes the value of [0..23];
  • MM – minutes, takes the value of [0 ..59];
  • SS – seconds, takes the value of [0..59];

<DAY_B> – the day of the month when the key was first used, takes the values [1..31];

<MONTH_B> – the month when the key was first used, takes the values [January/February/March/April/May/June/July/August/September/October/November/
December];

<YEAR_B> – the year when the key was first used, takes the values [2001..2037];

<TIME_E> – set time to end using the key, is given as HH: MM: SS, where:

  • HH – hours, takes the value of [0..23];
  • MM – minutes, takes the value of [0 ..59];
  • SS – seconds, takes the value of [0..59];

<DAY_E> – the day of the month when the key is ending, takes the values [1..31];

<MONTH_E> – the month when the key is ending, takes the values [January/February/March/April/May/June/July/August/September/October/November/December];

<YEAR_E> – the year when the key is ending, takes the values [2001..2037].

Default value

The key is valid constantly.

Required privilege level

15

Command mode

CONFIG-KEYCHAIN-KEY

Example
esr(config-keychain-key)# send-lifetime 16:35:00 15 May 2014 16:35:00 21 June 2018

Event tracking object configuration

enable

This command enables Tracking object.

The use of a negative form (no) of the command disables Tracking object.

Syntax

[no] enable

Parameters

The command does not contain parameters.

Default value

Object disabled.

Required privilege level

10

Command mode

CONFIG-TRACKING

Example
esr(config-tracking)# enable

show ipv6 tracking objects

This command displays the current status of the tracking objects for the IPv6 stack.

Syntax

show ipv6 tracking objects [ <ID> ]

Parameters

<ID> – Tracking object number, takes values of [1..60].

Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 tracking objects
Track 1 – INACTIVE
Example 2
esr# show tracking objects 1
Track 1 isn't in active condition                                                       
Track 1:                                                                                
    VRRP 2 condition state MASTER                                                       
Tracked by: 

how tracking objects

This command displays the current status of the tracking objects for the IPv4 stack.

Syntax

show tracking objects [ <ID> ]

Parameters

<ID> – Tracking object number, takes values of [1..60].

Required privilege level

1

Command mode

ROOT

Example 1
esr# show tracking objects
Track 1 – INACTIVE
Example 2
esr# show tracking objects 1
Track 1 isn't in active condition                                                       
Track 1:                                                                                
    VRRP 2 condition state MASTER                                                       
Tracked by:

tracking

This command adds Tracking object to the system and switch to the Tracking object parameters configuration mode. The object defines the events to be monitored. When configured events occur, static routes linked to the object are affected. If all conditions are met, the route is added to the system; otherwise, if at least one condition is not met, the route is removed from the system.

The use of a negative form (no) of the command removes Tracking object from the system.

Syntax

[no] tracking <ID>

Parameters

<ID> – Tracking object number, takes values of [1..60].

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# tracking 20
esr(config-trackin)#

vrrp

This command specifies a rule for keeping track of VRRP process status.

When using 'not' command, the rule will work for all VRRP process statuses except a specified one. The use of a negative form (no) of the command cancels set action.

Syntax

vrrp <VRID> [not] state { master | backup | fault }

no vrrp <VRID>

Parameters

<VRID> – trackable VRRP router identifier, takes values in the range of [1..255].

Required privilege level

10

Command mode

CONFIG-TRACKING

Example
esr(config-tracking)# vrrp 2 state master

BFD configuration

bfd-enable

This command enables BFD protocol on the BGP neighbor being configured.

The use of a negative form (no) of the command disables BFD protocol.

Syntax

[no] bfd-enable

Parameters

The command does not contain parameters.

Default value

Process disabled.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# bfd-enable

ip bfd idle-tx-interval

This command sets the interval after which the BFD message is sent to the neighbor. This parameter is used to reduce the number of generated messages for those cases when the BFD neighbor is not available or the BFD protocol is turned off.

The use of a negative form (no) of the command sets the default value.

Syntax

ip bfd idle-tx-interval <TIMEOUT>

no ip bfd idle-tx-interval

Parameters

<TIMEOUT> – interval after which the BFD packet is sent takes a value in milliseconds in the range:

  • [200..65535] for ESR-1000/1200/1500/1510/1700;
  • [300..65535] for ESR-10/12V/12VF/14VF/20/21/100/200.
Default value

1 second

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

Example
esr(config)# ip bfd idle-tx-interval 4000

ip bfd log-adjacency-changes

This command enables logging of BFD protocol state changes.

The use of a negative form (no) of the command disables logging of BFD protocol state changes.

Syntax

ip bfd log-adjacency-changes

no ip bfd log-neighbor-changes

Parameters

The command does not contain parameters.

Default value

Logging disabled.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ip bfd log-adjacency-changes

ip bfd min-rx-interval

This command sets the minimum interval after which the neighbor should generate BFD message. This parameter is advertising to the neighbor.

The use of a negative form (no) of the command sets the default value.

Syntax

ip bfd min-rx-interval <TIMEOUT>

no ip bfd min-rx-interval

Parameters

<TIMEOUT> – interval after which the BFD message is sent by the neighbor takes a value in milliseconds in the range:

  • [200..65535] for ESR-1000/1200/1500/1510/1700;
  • [300..65535] for ESR-10/12V/12VF/14VF/20/21/100/200.
Default value

300 ms on ESR-10/12V/12VF/14VF/20/21/100/200

200 ms on ESR-1000/1200/1500/1510/1700

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

Example
esr(config)# ip bfd min-rx-interval 1000

ip bfd min-tx-interval

This command sets the minimal interval after which the BFD message is sent to the neighbor. This parameter is used only when the BFD session is active; in other cases, 'ip bfd idle-tx-interval' is used (the command is described in ip bfd idle-tx-interval).

The use of a negative form (no) of the command sets the default value.

Syntax

ip bfd min-tx-interval <TIMEOUT>

no ip bfd min-tx-interval

Parameters

<TIMEOUT> – interval after which the BFD message is sent to the neighbor takes a value in milliseconds in the range:

  • [200..65535] for ESR-1000/1200/1500/1510/1700;
  • [300..65535] for ESR-10/12V/12VF/14VF/20/21/100/200.
Default value

300 ms on ESR-10/12V/12VF/14VF/20/21/100/200

200 ms on ESR-1000/1200/1500/1510/1700

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

Example
esr(config)# ip bfd min-tx-interval 1000

ip bfd multiplier

This command sets the amount of dropped packets, at which the BFD neighbor is considered to be unavailable. The time of detection of unavailability in each direction is calculated from the given number multiplied by the tx/rx interval.

The use of a negative form (no) of the command sets the default value.

Syntax

ip bfd multiplier <COUNT>

no ip multiplier

Parameters

<COUNT> – amount of dropped packets, at which the neighbor is considered to be unavailable, takes values in the range of [1..100].

Default value

5

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

Example
esr(config)# ip bfd multiplier 10

ip bfd neighbor

This command puts BFD mechanism with the specified IP address into operation. Operation of this mechanism is necessary to remove static routes from the routing table when next-hop is not available (the bfd key of the ip route command. See section ip route)

The use of a negative form (no) of the command stops mechanism with the specified IP address operation

Syntax

ip bfd neighbor <ADDR> [ { interface <IF> | tunnel <TUN> } ] [local-address <ADDR> [multihop]] [vrf <VRF>]

no ip bfd neighbor <ADDR> [vrf <VRF>]

Parameters

<ADDR> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

<IF> – an interface or a group of interfaces is specified in the form described in Section Types and naming order of router interfaces;

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels;

<VRF> – VRF name, set by the string of up to 31 characters.

multihop – key for setting TTL=255, for BFD mechanism operation through the routed network.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ip bfd neighbor 192.168.0.2

ip bfd passive

This command switchs BFD session to the passive mode, so that BFD messages will not be sent until the messages from BFD neighbor are received.

The use of a negative form (no) of the command sets the default value.

Syntax

[no] ip bfd passive

Parameters

The command does not contain parameters.

Default value

Active mode.

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

Example
esr(config)# ip bfd passive

ip ospf bfd-enable

This command enables the BFD protocol for the OSPF protocol on the interface.

The use of a negative form (no) of the command disables the BFD protocol for the OSPF protocol on the interface.

Syntax

[no] ip ospf bfd-enable

Parameters

The command does not contain parameters.

Default value

BFD protocol for OSPF protocol disabled.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-LOOPBACK

CONFIG-GRE

CONFIG-IP4IP4

CONFIG-LT

Example
esr(config-if-gi)# ip ospf bfd-enable

ipv6 bfd idle-tx-interval

This command sets the interval after which the IPv6 BFD message is sent to the neighbor. This parameter is used to reduce the number of generated messages for those cases when the IPv6 BFD neighbor is not available or the IPv6 BFD protocol is turned off.

The use of a negative form (no) of the command sets the default value.

Syntax

ipv6 bfd idle-tx-interval <TIMEOUT>

no ipv6 bfd idle-tx-interval

Parameters

<TIMEOUT> – interval after which the IPv6 BFD packet is sent takes a value in milliseconds in the range:

  • [200..65535] for ESR-1000/1200/1500/1510/1700;
  • [300..65535] for ESR-10/12V/12VF/14VF/20/21/100/200.
Default value

1 second

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 bfd idle-tx-interval 4000

ipv6 bfd log-adjacency-changes

This command enables logging of IPv6 BFD protocol state changes.

The use of a negative form (no) of the command disables logging of IPv6 BFD protocol state changes.

Syntax

ipv6 bfd log-adjacency-changes

no ipv6 bfd log-neighbor-changes

Parameters

The command does not contain parameters.

Default value

Logging disabled.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 bfd log-adjacency-changes

ipv6 bfd min-rx-interval

This command sets the minimum interval after which the neighbor should generate IPv6 BFD message. This parameter is advertising to the neighbor.

The use of a negative form (no) of the command sets the default value.

Syntax

ipv6 bfd min-rx-interval <TIMEOUT>

no ipv6 bfd min-rx-interval

Parameters

<TIMEOUT> – interval after which the IPv6 BFD message is sent by the neighbor takes a value in milliseconds in the range:

  • [200..65535] for ESR-1000/1200/1500/1510/1700;
  • [300..65535] for ESR-10/12V/12VF/14VF/20/21/100/200.
Default value

300 ms on ESR-10/12V/12VF/14VF/20/21/100/200

200 ms on ESR-1000/1200/1500/1510/1700

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 bfd min-rx-interval 1000

ipv6 bfd min-tx-interval

This command sets the minimal interval after which the IPv6 BFD message is sent to the neighbor. This parameter is used only when the IPv6 BFD session is active; in other cases, 'ip bfd idle-tx-interval' is used (the command is described in ip bfd idle-tx-interval).

The use of a negative form (no) of the command sets the default value.

Syntax

ipv6 bfd min-tx-interval <TIMEOUT>

no ipv6 bfd min-tx-interval

Parameters

<TIMEOUT> – interval after which the IPv6 BFD message is sent to the neighbor takes a value in milliseconds in the range:

  • [200..65535] for ESR-1000/1200/1500/1510/1700;
  • [300..65535] for ESR-10/12V/12VF/14VF/20/21/100/200.
Default value

300 ms on ESR-10/12V/12VF/14VF/20/21/100/200

200 ms on ESR-1000/1200/1500/1510/1700

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 bfd min-tx-interval 1000

ipv6 bfd multiplier

This command sets the amount of dropped packets, at which the IPv6 BFD neighbor is considered to be unavailable. The time of detection of unavailability in each direction is calculated from the given number multiplied by the tx/rx interval.

The use of a negative form (no) of the command sets the default value.

Syntax

ipv6 bfd multiplier <COUNT>

no ipv6 multiplier

Parameters

<COUNT> – amount of dropped packets, at which the neighbor is considered to be unavailable, takes values in the range of [1..100].

Default value

5

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 bfd multiplier 10

ipv6 bfd neighbor

This command puts BFD mechanism with the specified IPv6 address into operation. Operation of this mechanism is necessary to remove static routes from the routing table when next-hop is not available (the bfd key of the ipv6 route command. See section key-chain ipv6 route).

The use of a negative form (no) of the command stops mechanism with the specified IPv6 address operation

Syntax

ipv6 bfd neighbor <IPV6-ADDR> [ interface <IF> ] [local-address <IPV6-ADDR> [multihop]] [vrf <VRF>]

no ipv6 bfd neighbor <IPV6-ADDR> [vrf <VRF>]

Parameters

<IPV6-ADDR> – client IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF];

<IF> – an interface or a group of interfaces is specified in the form described in Section Types and naming order of router interfaces;

<VRF> – VRF name, set by the string of up to 31 characters.

multihop – key for setting TTL=255, for BFD mechanism operation through the routed network.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 bfd neighbor FF02:0:0:0:0:1:FF00::/104

ipv6 bfd passive

This command switchs IPv6 BFD session to the passive mode, so that IPv6 BFD messages will not be sent until the messages from IPv6 BFD neighbor are received.

The use of a negative form (no) of the command sets the default value.

Syntax

[no] ipv6 bfd passive

Parameters

The command does not contain parameters.

Default value

Active mode.

Required privilege level

10

Command mode

CONFIG

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

Example
esr(config)# ipv6 bfd passive

ipv6 ospf bfd-enable

This command enables the BFD protocol for the OSPFv3 protocol on the interface.

The use of a negative form (no) of the command disables the BFD protocol for the OSPFv3 protocol on the interface.

Syntax

[no] ipv6 ospf bfd-enable

Parameters

The command does not contain parameters.

Default value

BFD protocol for OSPF protocol disabled.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf bfd-enable

show ip bfd

This command displays information about the BFD protocol parameters or specific interfaces when using a filter.

Syntax

show ip bfd [ interface [ <IF> | <TUN> ]

Parameters

<IF> – an interface or a group of interfaces is specified in the form described in Section Types and naming order of router interfaces.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip bfd
Minimum RX interval: 200 ms
Minimum TX interval: 200 ms
Idle TX interval:    1000 ms
Multiplier:          5 packets
Passive:             No
esr# show ip bfd interface gi1/0/1
Minimum RX interval: 200 ms
Minimum TX interval: 200 ms
Idle TX interval:    1000 ms
Multiplier:          10 packets
Passive:             Yes

show ipv6 bfd

This command displays information about the IPv6 BFD protocol parameters or specific interfaces when using a filter.

Syntax

show ipv6 bfd [ interface [ <IF> ] ]

Parameters

<IF> – an interface or a group of interfaces is specified in the form described in Section Types and naming order of router interfaces.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.

Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 bfd
Minimum RX interval: 200 ms
Minimum TX interval: 200 ms
Idle TX interval:    1000 ms
Multiplier:          5 packets
Passive:             No
esr# show ipv6 bfd interface gi1/0/1
Minimum RX interval: 200 ms
Minimum TX interval: 200 ms
Idle TX interval:    1000 ms
Multiplier:          10 packets
Passive:             Yes

IPv4/IPv6 static routes configuration

ip route

This command creates a static IP route to the specified subnet.

The use of a negative form (no) of the command removes a specified route.

Syntax

ip route [ vrf <VRF> ] <SUBNET> { <NEXTHOP> [ resolve ] | interface <IF> | tunnel <TUN> | wan load-balance rule <RULE> | blackhole | unreachable | prohibit } [ <METRIC> ] [ track <TRACK-ID> ] [ bfd ] [ name <NAME>]

no ip route [ vrf <VRF> ] <SUBNET> [ <METRIC> ]

Parameters

<VRF> – VRF name, set by the string of up to 31 characters.

<SUBNET> – destination address, can be specified in the following formats:

  • AAA.BBB.CCC.DDD – host IP address, where each part takes values of [0..255].
  • AAA.BBB.CCC.DDD/NN – network IP address with prefix mask, where AAA-DDD take values of [0..255] and NN takes values of [1..32].

<NEXTHOP> – gateway IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

resolve – when specifying this parameter, gateway IP address will be recursively calculated through the routing table. If the recursive calculation fails to find a gateway from a directly connected subnet, then this route will not be installed into the system.

<IF> – an IP interface name specified in the form described in Section Types and naming order of router interfaces.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.

<RULE> – wan rule number, set in the range of [1..50].

blackhole – when specifying the command, the packets to this subnet will be removed by the device without sending notifications to a sender;

unreachable – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Host unreachable, code 1);

prohibit – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Communication administratively prohibited, code 13);

If 0.0.0.0/0 is specified as the subnet, then the default route will be set.

<METRIC> – route metric, takes values of [0..255].

<TRACK-ID> – Tracking object identifier. If the router is bound to the Tracking object, it will appear in the system only after meeting all requirements specified in the object.

<NAME> – name (description) of the route, text variable up to 31 characters long.

bfd – when specifying this key, the removal of static route in case of next-hop unavailability is activated. For operation of this mechanism, the BFD mechanism must be running with the IP address of the next-hop (see section ip bfd neighbor).

next-hop check using bfd protocol. If next-hop is unavailable, the route is deleted.

Required privilege level

10

Command mode

CONFIG

Example 1

Set the route to the subnet 192.165.3.0/24 with metric 6 through the gateway 192.165.56.65:

esr(config)# ip route 192.165.3.0/24 192.165.56.65 6
Example 2

Set the route to the subnet 192.165.3.0/24 with metric 6 through the GigabitEthernet 1/0/5 interface:

esr(config)# ip route 192.165.3.0/24 interface gigabitethernet 1/0/5 6
Example 3

Set the route to the subnet 192.165.3.0/24 through the tunnel interface vti 1:

esr(config)# ip route 192.165.3.0/24 interface vti 1

key-chain ipv6 route

This command creates a static IPv6 route to the specified subnet.

The use of a negative form (no) of the command removes a specified route.

Syntax

ipv6 route [ vrf <VRF> ] <SUBNET> { <NEXTHOP> [ resolve ] | interface <IF> | wan load-balance rule <RULE> | blackhole | unreachable | prohibit } [ <METRIC> ] [bfd] [ name <NAME>]

no ipv6 route [ vrf <VRF> ] <SUBNET> [ <METRIC> ]

Parameters

<VRF> – VRF name, set by the string of up to 31 characters.

<SUBNET> – destination address, can be specified in the following formats:

  • The addresses are defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].
  • <IPV6-ADDR/LEN> – IP address and mask of a subnet, defined as X:X:X:X::X/EE where each X part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128].

<IPV6-ADDR> – client IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

resolve – when specifying this parameter, gateway IPv6 address will be recursively calculated through the routing table. If the recursive calculation fails to find a gateway from a directly connected subnet, then this route will not be installed into the system.

<IF> – an IP interface name specified in the form described in Section Types and naming order of router interfaces.

blackhole – when specifying the command, the packets to this subnet will be removed by the device without sending notifications to a sender.

unreachable – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Host unreachable, code 1).

prohibit – when specifying the command, the packets to this subnet will be removed by the device, a sender will receive in response ICMP Destination unreachable (Communication administratively prohibited, code 13).

If ::/0 is specified as the subnet, then the default route will be set.

<METRIC>  – route metric, takes values of [0..255].

<NAME> – name (description) of the route, text variable up to 31 characters long.

bfd - when specifying this key, the next-hop check is activated using the bfd protocol. If next-hop is unavailable, the route is deleted.

Required privilege level

10

Command mode

CONFIG

Example 1

Set the route to the subnet 2001:/120 with metric 6 through the gateway fc00::1:

esr(config)# ipv6 route 2001::/120 fc00::1 6
Example 2

Set the route to the subnet 2001::/120 with metric 6 through the GigabitEthernet 1/0/5 interface:

esr(config)# ipv6 route 2001::/120 interface gigabitethernet 1/0/5  6
Example 3

Set the route to the subnet 2001::/120 through the tunnel interface vti 1:

esr(config)# ipv6 route 2001::/120 interface vti 1

BGP protocol configuration

address-family

This command defines the type of configured routing information and the transition to this configuration mode.

The use of a negative form (no) of the command removes the identifier.

Syntax

[no] address-family { ipv4 | ipv6 } [ vrf <VRF> ]

Parameters

ipv4 – IPv4 family;

ipv6 – IPv6 family;

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

Required privilege level

10

Command mode

CONFIG-BGP

Example
esr(config-bgp)# address-family ipv4 vrf OFFICE

allow-local-as

This command enables the mode in which the reception of routes in the BGP attribute, AS Path of which includes the numbers of process autonomous system, is allowed.

The use of a negative form (no) of the command disables this feature.

Syntax

allow-local-as <NUMBER>

no allow-local-as

Parameters

<NUMBER> – threshold amount of instances of autonomous system number in the AS Path attribute at which the route will be accepted, the range of acceptable values [1..10].

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# allow-local-as

clear ip bgp

This command resets all or a specific BGP process.

Syntax

clear ip bgp [vrf <VRF>] [ <AS> | neighbor <ADDR>]

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

<ADDR> – neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

Required privilege level

10

Command mode

ROOT

Example
esr# clear ip bgp
esr# clear ip bgp 1000

clear ipv6 bgp

This command resets all or a specific BGP process.

Syntax

clear ipv6 bgp [vrf <VRF>] [ <AS> | neighbor <IPV6-ADDR>]

Parameters

<AS> – autonomous system number, takes values of [1..4294967295];

<IPV6-ADDR> – client IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

Required privilege level

10

Command mode

ROOT

Example
esr# clear ipv6 bgp
esr# clear ipv6 bgp 1000

cluster-id

This command sets the Route-Reflector identifier of the cluster to which the router BGP process belongs.

The use of a negative form (no) of the command removes the identifier.

Syntax

cluster-id <ID>

no cluster-id

Parameters

<ID> – Route-Reflector cluster identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

Example
esr(config-bgp-af)# cluster-id 1.1.1.1

default-originate

This command sets the mode in which the default route is always sent to the BGP neighbor in the update along with other routes.

The use of a negative form (no) of the command disables this feature.

Syntax

[no] default-originate

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# default-originate

description

This command defines neighbor description.

The use of a negative form (no) of the command removes description.

Syntax

description <DESCRIPTION>

no description

Parameters

<DESCRIPTION> – neighbor description, set by the string of up to 255 characters.

Required privilege level

10

Command mode

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# description "ISP_RTK"

ebgp-multihop

This command allows connections to neighbors that are located not in directly connected subnets.

The use of a negative form (no) of the command disables this feature.

Syntax

[no] ebgp-multihop <NUM>

Parameters

<NUM> – maximum amount of hops when installing EBGP (used for TTL).

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# ebgp-multihop

enable

This command enables the BGP process, the neighborhood.

The use of a negative form (no) of the command disables BGP process, the neighborhood.

Syntax

[no] enable

Parameters

The command does not contain parameters.

Default value

Process disabled.

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example 1. Enable BGP process.
esr(config-bgp-af)# enable
Example 2. Disable the BGP neighborhood
esr(config-bgp-neighbor)# enable

flow-spec enable

This command sets the mode of broadcasting of flow-spec information when working with a BGP neighbor or a group of BGP neighbors.

The use of a negative form (no) of the command sets the default value.

Syntax

[no] flow-spec enable

Parameters

None.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-group)# flow-spec enable

ipv6 router bgp log-neighbor-changes

This command enables logging of IPv6 BGP neighbors state changes.

The use of a negative form (no) of the command disables logging of IPv6 BGP neighbors state changes.

Syntax

[no] ipv6 router bgp log-neighbor-changes

Parameters

The command does not contain parameters.

Default value

Logging disabled.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 router bgp log-neighbor-changes

ipv6 router bgp maximum-paths

This command enables ECMP and defines the maximum amount of equal routes to a destination point.

The use of a negative form (no) of the command disables ECMP.

Syntax

ipv6 router bgp maximum-paths <VALUE>

no ipv6 router bgp maximum-paths

Parameters

<VALUE> – amount of valid equal IPv6 routes to the target, takes the values of [1..16].

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 router bgp maximum-paths 14

neighbor

This command adds BGP neighbor and switchs to the BGP process parameters configuration mode. The use of a negative form (no) of the command removes neighbor router parameters from configuration.

Syntax

[no] neighbor {<ADDR> |<IPV6-ADDR>}

Parameters

<ADDR> – neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

<IPV6-ADDR> – client IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

Example
esr(config-bgp-af)# neighbor 192.168.0.2
esr(config-bgp-neighbor)#

next-hop-self

This command sets the mode in which all updates are sent to BGP neighbor with the IP address of a local router outgoing interface as the next-hop.

The use of a negative form (no) of the command disables this feature.

Syntax

[no] next-hop-self

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# next-hop-self

peer-group

This command creates a group of BGP neighbors with the specified name and switches to the configuration mode of the group parameters.

The use of a negative form (no) of the command removes BGP group with the specified name.

Syntax

[no] peer-group <NAME>

Parameters

<NAME> – group name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

Example
esr(config-bgp-af)# peer-group list1

peer-group

This command applies the settings described in the specified BGP group to the BGP group or BGP neighbor.

The use of a negative form (no) of the command cancels applying of the settings described in the specified BGP group

Syntax

[no] peer-group <NAME>

Parameters

<NAME> – group name, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-af)# peer-group list1

preference

This command defines the precedence of the routes received from a neighbor.

The use of a negative form (no) of the command sets the default value.

Syntax

preference <VALUE>

no preference

Parameters

<VALUE> – neighbor routes precedence, takes values in the range of [1..255].

Default value

170

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# preference 30

remote-as

This command sets the number of BGP neighbor autonomous system.

The use of a negative form (no) of the command removes a number of autonomous system.

Syntax

remote-as <AS>

no remote-as

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# remote-as 20

remove-private-as

This command sets the mode in which private numbers of autonomous systems are removed from the AS Path routes BGP attribute before sending an update (in accordance with RFC 6996).

The use of a negative form (no) of the command disables this feature.

Syntax

[no] remove-private-as <ACTION>

Parameters

<ACTION> – an action indicating which private AS should be removed or replaced. One of the following:

  • all – remove all private AS inclusions from the original AS path;
  • nearest – delete all private AS to the last (right) public AS in the original AS path;
  • replace – replace all private AS with the AS number during which this command is processed.
Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# remove-private-as

router bgp

This command adds BGP process to the system and switchs to the BGP process parameters configuration mode.

The use of a negative form (no) of the command removes a BGP process from the system.

Syntax

[no] router bgp <AS>

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# router bgp 1000
esr(config-bgp)#

Добавлен BGP-процесс с автономной системой 1000.

router bgp log-neighbor-changes

This command enables logging of BGP neighbors state changes.

The use of a negative form (no) of the command disables logging of BGP neighbors state changes.

Syntax

[no] router bgp log-neighbor-changes

Parameters

The command does not contain parameters.

Default value

Logging disabled.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# router bgp log-neighbor-changes

router bgp maximum-paths

This command enables ECMP and defines the maximum amount of equal routes to a destination point.

The use of a negative form (no) of the command disables ECMP.

Syntax

router bgp maximum-paths <VALUE>

no router bgp maximum-paths

Parameters

<VALUE> – amount of valid equal routes to the target, takes the values of [1..16].

Default value

ECMP disabled.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# router bgp maximum-paths 14

route-reflector-client

This command specifies BGP neighbor as a Route-Reflector client.

The use of a negative form (no) of the command disables this feature.

Syntax

[no] route-reflector-client

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# route-reflector-client

router-id

This command sets router identifier.

The use of a negative form (no) of the command removes the identifier.

Syntax

router-id <ID>

no router-id

Parameters

<ID> – router identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

Example
esr(config-bgp-af)# router-id 1.1.1.1

show ip bgp

This command displays the BGP routing table or detailed information about a specific route when using filters.

Syntax

show ip bgp [<AS> [vrf <VRF> [<ADDR> |<ADDR/LEN>]] |<ADDR> |<ADDR/LEN>] [flow-spec]

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

<ADDR> – destination IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

<ADDR/LEN> – IP subnet, defined as AAA.BBB.CCC.DDD/EE where each part AAA-DDD takes values of [0..255] and EE takes values of [1..32].

flow-spec – output flow-spec information from all BGP neighbors.

Required privilege level

1

Command mode

ROOT

Example 1
esr# show ip bgp
Terra# show ip bgp
Status codes: u – unicast, b – broadcast, m – multicast a – anycast
              * – valid, > – best
Origin codes: i – IGP, e – EGP, ? – incomplete
     Network              Next Hop             Metric  LocPrf  Path
*> u 10.0.10.0/24         10.115.0.1                   100      i
*> u 0.0.0.0/0            10.115.0.1                   100      i
*  u 14.0.10.0/24         10.115.0.1                   100      i
Example 2
Sword# show ip bgp 75.0.0.0
75.0.0.0/24        via 115.0.0.40 on gi1/0/14        [bgp20 2000-01-15] (AS90?)
    Administrative Distance: 68
    Type:                    unicast
    Origin:                  Incomplete
    AS PATH:                 1 30 70 90
    Next Hop:                115.0.0.40
    MED:                     0
    Local Preference:        100
    Community:               (1:555)
    Valid, Best

show ip bgp summary

This command displays information about the status of connections with BGP neighbors.

Syntax

show ip bgp <AS> [ vrf <VRF> ] summary

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip bgp show ip bgp 65054 summary
Mon March 06 08:42:22 2017
  BGP router identifier 10.0.0.1, local AS number 65054
  BGP activity 635190/1270406 prefixes
  Neighbor                 AS              MsgRcvd      MsgSent      Up/Down     St/PfxRcd
  ----------------------   -------------   ----------   ----------   ----------   -------
  95.156.65.5              12389           366960       2260         16:38:50     635189
  100.100.100.1            65535           0            0            911:24:27    Connect
  123.1.1.200              5448            14224        3673129      207:25:28    0
  192.168.16.3             65530           1003         1145         16:38:48     1
  192.168.16.4             65529           0            0            16:38:56     Connect
  192.168.16.100           48858           0            0            911:24:27    Connect
  192.168.16.147           65111           17           120065       00:12:13     0
  192.168.17.18            21127           0            0            16:38:56     Connect
  192.168.17.114           200             0            0            16:38:56     Connect
  192.168.17.155           65500           0            0            16:38:56     Connect
  192.168.25.124           59831           0            0            16:38:56     Active
  200.0.0.1                65200           0            0            16:38:29     IdleAS4

show ip bgp neighbors

This command displays information about all or specified BGP neighbor.

Syntax

show ip bgp <AS> neighbors [ vrf <VRF> ] [ <ADDR> [ routes | advertise-routes ] ]

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

<ADDR> – neighbor’s IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

routes – when specifying a command, route information received from a neighbor is displayed.

advertise-routes – when you specify a command, it displays routing information advertised to a neighbor.

Required privilege level

1

Command mode

ROOT

Example 1
esr# show ip bgp 20 neighbors
BGP neighbor is 10.115.0.1
    BGP state:        Established
    Neighbor address: 10.115.0.1
    Neighbor AS:      20
    Neighbor ID:      115.0.0.1
    Neighbor caps:    refresh restart-aware AS4
    Session:          internal multihop AS4
    Source address:   10.115.0.2
    Hold timer:       137/180
    Keepalive timer:  10/60
   Incoming prefix-list: from_ISP
    Outgoing prefix-list: to_ISP
    Incoming route-map:   comingS
    Outgoing route-map:   AS_prepend
    Uptime:               12 s
    BFD address:          192.168.1.2
    BFD state:            Up
    BFD interval:         3.000 s
    BFD timeout:          15.000 s
Example 2
esr# show ip bgp 20 neighbors 10.115.0.1 routes
Status codes: u – unicast, b – broadcast, m – multicast a – anycast
              * – valid, > – best
Origin codes: i – IGP, e – EGP, ? – incomplete
     Network              Next Hop             Metric  LocPrf  Path
*> u 10.0.10.0/24         10.115.0.1                   100      i
*> u 0.0.0.0/0            10.115.0.1                   100      i
*  u 14.0.10.0/24         10.115.0.1                   100      i
Example 3
esr# show ip bgp 20 neighbors 115.0.0.40 advertise-routes
Status codes: u – unicast, b – broadcast, m – multicast a – anycast
              * – valid, > – best
Origin codes: i – IGP, e – EGP, ? - incomplete
     Network              Next Hop             Metric  LocPrf  Path
*> u 1.1.1.0/24           115.0.0.1            215     100     20 i
*> u 1.1.0.0/24           115.0.0.1            215     100     20 i
*> u 2.2.2.0/24           115.0.0.1            215     100     20 i

show ipv6 bgp

This command displays the BGP routing table or detailed information about a specific route when using filters.

Syntax

show ipv6 bgp [<AS> [vrf <VRF> [<IPV6-ADDR> |<IPV6-ADDR/LEN>] |<IPV6-ADDR> |<IPV6-ADDR/LEN>] [flow-spec]

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

<IPV6-ADDR> – destination IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

<IPV6-ADDR/LEN> – a subnet, defined as X:X:X:X::X/EE where each part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128].

flow-spec – output flow-spec information from all BGP neighbors.

Required privilege level

1

Command mode

ROOT

Example 1
esr#  show ipv6 bgp 20
Status codes: u - unicast, b - broadcast, m - multicast a - anycast
              * - valid, > - best
Origin codes: i - IGP, e - EGP, ? - incomplete
     Network              Next Hop             Metric  LocPrf  Path
*> u 222::/120            44:44:44::44         0       100     1    ?
*> u 40::75:0/120         44:44:44::44         0       100     1    ?
*> u 40::77:0/120         44:44:44::44         0       100     1    ?
*  u 2002::7300:0/120     44:44:44::44         0       100     1    ?
Example 2
Sword# show ipv6 bgp 20 202::7300:0/120
202::7300:0/120    via 2002::7300:a on gi1/0/14      [bgp20 14:43:48] (AS1000e)
    Administrative Distance: 170
    Type:                    unicast
    Origin:                  EGP
    AS PATH:                 1000
    Next Hop:                2002::7300:a (fe80::6666:b3ff:fe06:cb18)
    MED:                     0
    Local Preference:        188
    Valid, Best

show ipv6 bgp summary

This command displays information about the status of connections with BGP neighbors.

Syntax

show ipv6 bgp <AS> [ vrf <VRF> ] summary

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

Required privilege level

1

Command mode

ROOT

Example
esr# sh ipv6 bgp 1 summary
Tue May 10 19:12:12 2011
  BGP router identifier 0.0.0.1, local AS number 1
  BGP activity 0/0 prefixes
  Neighbor         AS              MsgRcvd      MsgSent     Up/Down      St/PfxRcd
  ---------------  -------------   ----------   ---------  ----------   -----------
  2a14::2          10001               3           3        00:00:48        0

show ipv6 bgp neighbors

This command displays information about all or specified BGP neighbor.

Syntax

show ipv6 bgp <AS> [ vrf<VRF> ] neighbors [ <IPV6-ADDR> [ routes | advertise-routes ] ]

Parameters

<AS> – autonomous system number, takes values of [1..4294967295].

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

<IPV6-ADDR> – neighbor’s IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

routes – when specifying a command, route information received from a neighbor is displayed.

advertise-routes – when you specify a command, it displays routing information advertised to a neighbor.

Required privilege level

1

Command mode

ROOT

Example 1
esr# show ipv6 bgp 20 neighbors
BGP neighbor is 2002::7300:c
    BGP state:        Established
    Neighbor address: 2002::7300:c
    Neighbor AS:      1
    Neighbor ID:      77.0.0.1
    Neighbor caps:    refresh
    Session:          external
    Source address:   2002::7300:1
    Hold timer:       127/154
    Keepalive timer:  1/34
BGP neighbor is 2002::7300:a
    BGP state:        Established
    Neighbor address: 2002::7300:a
    Neighbor AS:      1000
    Neighbor ID:      10.10.10.10
    Neighbor caps:    refresh AS4
    Session:          external AS4
    Source address:   2002::7300:1
    Hold timer:       157/180
    Keepalive timer:  32/60
Example 2
esr# show ipv6 bgp 20 neighbors 2002::7300:a routes
Status codes: u - unicast, b - broadcast, m - multicast a - anycast
              * - valid, > - best
Origin codes: i - IGP, e - EGP, ? - incomplete
     Network              Next Hop             Metric  LocPrf  Path
*  u 2002::7300:0/120     2002::7300:a         0       188     1000 e
*> u 220::7300:0/120      2002::7300:a         0       188     1000 e
*> u 22::7300:0/120       2002::7300:a         0       188     1000 e
*> u 2002::40:0/120       2002::7300:a         0       188     1000 e
Example 3
esr#  show ipv6 bgp 20 neighbors 2002::7300:a advertise-routes
Status codes: u - unicast, b - broadcast, m - multicast a - anycast
              * - valid, > - best
Origin codes: i - IGP, e - EGP, ? - incomplete
     Network              Next Hop             Metric  LocPrf  Path
*> u 77::77:0/120         2002::7300:1                 100     20   i
*> u 33::33:0/120         2002::7300:1                 100     20   i
*> u 44::44:44/128        2002::7300:1                 100     20   i
*> u 222::/120            44:44:44::44         0       100     20 1 ?
*> u 40::75:0/120         44:44:44::44         0       100     20 1 ?

timers error-wait

This command sets the minimum and maximum delay time during which it is forbidden to establish a connection, in order to protect against frequent disconnections.

The use of a negative form (no) of the command sets the default value.

Syntax

timers error-wait <TIME1> <TIME2>

no timers error-wait

Parameters

<TIME1> – time in seconds, takes values of [1..65535]:

<TIME2> – time in seconds, takes values of [1..65535].

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Default value

60 and 300 seconds

Example
esr(config-bgp-af)# timers error-wait 90 450

timers holdtime

This command sets time interval after which the opposing party is considered to be unavailable. The timer starts after establishing a neighborhood relationship and starts counting from 0. The timer is reset when each reply to a keepalive message from the opposite side is received. It is recommended to set the timer value to 3 * keepalive.

The use of a negative form (no) of the command sets the default value.

Syntax

timers holdtime <TIME>

no timers holdtime

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Default value

180 seconds

Example
esr(config-bgp-af)# timers holdtime 360

timers keepalive

This command sets the time interval after which the connection with the opposing party will be checked.

The use of a negative form (no) of the command sets the default value.

Syntax

timers keepalive <TIME>

no timers keepalive

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Required privilege level

10

Command mode

CONFIG-BGP-FAMILY

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Default value

60 seconds

Example
esr(config-bgp-af)# timers keepalive 120

update-source

This command defines the IP/IPv6 address of the router that will be used as the source IP/IPv6 address in BGP routing information updates sent.

The use of a negative form (no) of the command removes a specified source IP/IPv6 address.

Syntax

update-source { <ADDR> | <IPV6-ADDR> }

no source-address

Parameters

<ADDR> – source IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255];

<IPV6-ADDR> – source IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF].

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# update-source 10.100.100.2

weight

This command sets the weight of routes received from a given BGP neighbor or group of BGP neighbors.

The use of a negative form (no) of the command sets the default value.

Syntax

weight <WEIGHT>

no weight

Parameters

<WEIGHT> – the value of the route weight, takes the values [0..65535].

Default value

0

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-NEIGHBOR

Example
esr(config-bgp-neighbor)# weight 200

RIP configuration

authentication key-chain

The command specifies a list of passwords for authentication via md5 hash algorithm.

The use of a negative form (no) of the command removes a bind to the password list.

Syntax

authentication key-chain <KEYCHAIN>

no authentication key-chain

Parameters

<KEYCHAIN> – key list identifier, set by the string of up to 16 characters.

Required privilege level

10

Command mode

CONFIG-RIP

Example
esr(config-rip)# authentication key-chain lock

clear ip rip

This command deletes the contents of the RIP route database.

Syntax

clear ip rip

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

ROOT

Example
esr# clear ip rip

enable

This command enables RIP.

The use of a negative form (no) of the command disables RIP.

Syntax

[no] enable

Parameters

The command does not contain parameters.

Default value

Protocol disabled.

Required privilege level

10

Command mode

CONFIG-RIP

Example
esr(config-rip)# enable

ip rip metric

This command sets the metric value on the interface.

The use of a negative form (no) of the command sets the default metric value.

Syntax

ip rip metric <VALUE>

no ip rip metric

Parameters

<VALUE> – metric value, defines in values [1..15].

Default value

5

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

CONFIG-LT

Example
esr(config-if-gi)# ip rip metric 11

ip rip mode

This command sets the route advertising mode.

The use of a negative form (no) of the command sets the default value.

Syntax

ip rip mode <MODE>

no ip rip mode

Parameters

<MODE> – route advertising mode:

  • multicast – routes are advertised in multicast mode;
  • broadcast – routes are advertised in broadcast mode;
  • unicast – routes are advertised in unicast mode to neighbors configured using the ip rip neighbor <ADDR> command.
Default value

multicast

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

CONFIG-LT

Example
esr(config-if-gi)# ip rip mode broadcast 

ip rip neighbor

This command statically sets the IP address of the neighbor to establish a relationship in unicast advertising routes mode.

The use of a negative form (no) of the command removes a statically specified neighbor address.

Syntax

[no] ip rip neighbor <ADDR>

Parameters

<ADDR> – IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

CONFIG-LT

Example
esr(config-if-gi)# ip rip neighbor 10.100.100.5

ip rip summary-address

This command enables subnetting.

The use of a negative form (no) of the command disables subnetting.

Syntax

[no] ip rip summary-address <ADDR/LEN>

Parameters

<ADDR/LEN> – IP subnet, defined as AAA.BBB.CCC.DDD/EE where each part AAA-DDD takes values of [0..255] and EE takes values of [1..32].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-GRE

CONFIG-IP4IP4

CONFIG-LT

Example
esr(config-if-gi)# ip rip summary-address 10.200.200.0/24

passive-interface

This command disables route advertising by the interface.

The use of a negative form (no) of the command restores route advertising.

Syntax

[no] passive-interface { <IF> | <TUN> }

Parameters

<IF> – an interface, specified in the form described in Section Types and naming order of router interfaces.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.

Required privilege level

10

Command mode

CONFIG-RIP

Example
esr(config-rip)# passive-interface gigabitethernet 1/0/15

router rip

The command performs the switch to RIP process parameters configuration mode.

The use of a negative form (no) of the command sets the default RIP process parameters values.

Syntax

[no] router rip

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# router rip
esr(config-rip)#

show ip rip

This command displays the RIP routing table.

Syntax

show ip rip

Parameters

The command does not contain parameters.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip rip Sword# sho ip rip
10.10.0.1/32    via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
10.1.90.0/24    via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)
192.168.16.0/24 via 115.0.0.10 on gi1/0/15 [rip 21:31:17] * (100/6)

timers flush

This command sets the time interval after which the route will be deleted. When setting the value, consider the following rule: 'timers invalid + 60'.

The use of a negative form (no) of the command sets the default value.

Syntax

timers flush <TIME>

no timers flush

Parameters

<TIME> – time in seconds, takes values of [12..65535].

Default value

240 seconds

Required privilege level

10

Command mode

CONFIG-RIP

Example
esr(config-rip)# timers flush 300

timers invalid

This command defines the time interval of the route entry correctness without updating. Upon expiration, without receiving the update, the route is marked as not available.

The use of a negative form (no) of the command sets the default value.

Syntax

timers invalid <TIME>

no timers invalid

Parameters

<TIME> – time in seconds, takes values of [12..65535].

Default value

180 seconds

Required privilege level

10

Command mode

CONFIG-RIP

Example

esr(config-rip)# timers invalid 240

timers update

This command sets the time interval after which the advertising is provided

The use of a negative form (no) of the command sets the default value.

Syntax

timers update <TIME>

no timers update

Parameters

<TIME> – time in seconds, takes values of [12..65535].

Default value

180 seconds

Required privilege level

10

Command mode

CONFIG-RIP

Example
esr(config-rip)# timers update 25

OSPF configuration

area

This command sets area identifier.

The use of a negative form (no) of the command removes created area.

Syntax

[no] area <AREA_ID>

Parameters

<AREA_ID> – area identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-OSPF

Example
esr(config-ospf)# area 11.11.11.51

area-type

This command defines area type.

The use of a negative form (no) of the command sets area type as default.

Syntax

[no] area-type <TYPE> [ no-summary ]

Parameters

<TYPE> – area type:

  • stub – sets stub value (stub area);

no-summary – the command in conjunction with the 'stub' parameter forms the 'totally stubby' area (only the default route is used to transfer information outside the area).

  • nssa – sets nssa value (NSSA area);

no-summary – the command in conjunction with the 'nssa' parameter forms the 'totally nssa' area (automatically generates the default route as interareal).

Required privilege level

10

Command mode

CONFIG-OSPF-AREA

Example
esr(config-ospf-area)# area-type stub

authentication algorithm

This command defines authentication algorithm.

The use of a negative form (no) of the command disables the authentication.

Syntax

authentication algorithm <ALGORITHM>

no authentication algorithm

Parameters

<ALGORITHM> – authentication algorithm:

  • cleartext – password, transmitted in unencrypted form (available only for RIP and OSPF-VLINK);
  • md5 – password is hashed by md5 algorithm.
Required privilege level

15

Command mode

CONFIG-OSPF-VLINK

Example
esr(config-rip)# authentication algorithm cleartext

authentication key

This command sets a password for authentication with a neighbor.

The use of a negative form (no) of the command removes the password.

Syntax

authentication key ascii-text { <CLEAR-TEXT> | encrypted <ENCRYPTED-TEXT> }

no authentication key

Parameters

<CLEAR-TEXT> – password, set by the string of 8 characters;

<ENCRYPTED-TEXT> – encrypted password of 16 bytes (32 characters) in hexadecimal format (0xYYYY ...) or (YYYY ...).

Required privilege level

15

Command mode

CONFIG-OSPF-VLINK

Example
esr(config-ospf-vlink)# authentication key ascii-text 123456789
esr(config-ospf-vlink)# authentication key ascii-text encrypted CDE65039E5591FA3F1

authentication key-chain

The command specifies a list of passwords for authentication via md5 hash algorithm with neighbor.

The use of a negative form (no) of the command removes a bind to the password list.

Syntax

authentication key chain <KEYCHAIN>

no authentication key-chain

Parameters

<KEYCHAIN> – key list identifier, set by the string of up to 16 characters.

Required privilege level

15

Command mode

CONFIG-OSPF-VLINK

Example
esr(config-ospf-vlink)# authentication key chain key2

clear ip ospf

This command resets all or a specific OSPF process.

Syntax

clear ip ospf [ <ID> ] [ vrf <VRF> ]

Parameters

<ID> – process number, takes values of [1..65535].

<VRF> – VRF instance name, set by the string of up to 31 characters, for which all or one specified OSPF process will be reset.

Required privilege level

10

Command mode

ROOT

Example
esr# clear ip ospf
esr# clear ip ospf 1000

compatible rfc1583

This command enables RFC 1583 compatibility.

The use of a negative form (no) of the command disables RFC 1583 compatibility.

Syntax

[no] compatible rfc1583

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-OSPF

Example
esr(config-ospf)# compatible rfc1583

dead-interval

The command specifies the time interval in seconds after which the neighbor will be considered unavailable. This interval should be a multiple of the hello interval’ value. As a rule, the 'dead-interval' is equal to 4 intervals of sending hello-packets, that is, 40 seconds.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

dead-interval <TIME>

no dead-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

40 seconds

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

Example
esr(config-ospf-vlink)# dead-interval 60

enable

This command enables OSPF process, area, virtual connection.

The use of a negative form (no) of the command disables OSPF process, zone, virtual connection.

Syntax

[no] enable

Parameters

The command does not contain parameters.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG-OSPF

CONFIG-OSPF-AREA

CONFIG-OSPF-VLINK

Example 1

Enable of OSPF 300 process

esr(config-ospf)# enable
Example 2

Area activation

esr(config-ospf-area)# enable
Example 3

Virtual connection activation

esr(config-ospf-vlink)# enable

hello-interval

The command specifies the time interval in seconds after which the router sends next hello packet.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

hello-interval <TIME>

no hello-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

10 seconds

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

Example
esr(config-ospf-vlink)# hello-interval 8

ip ospf

This command enables routing by OSPF protocol on the interface.

The use of a negative form (no) of the command disables routing by OSPF protocol on the interface.

Syntax

[no] ip ospf

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf

ip ospf area

This command adds a bind of interface to a specified OSPF process area.

The use of a negative form (no) of the command removes a bind of interface to a specified OSPF process area.

Syntax

ip ospf area <AREA_ID>

no ip ospf area

Parameters

<AREA_ID> – area identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-ip4ip4)# ip ospf area 1.1.1.1

ip ospf authentication algorithm

This command defines authentication algorithm.

The use of a negative form (no) of the command disables the authentication.

Syntax

ip ospf authentication algorithm <ALGORITHM>

no ip ospf authentication algorithm

Parameters

<ALGORITHM> – authentication algorithm:

  • cleartext – password, transmitted in clear text;
  • md5 – password is hashed by md5 algorithm.
Required privilege level

15

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf authentication algorithm cleartext

ip ospf authentication key

This command sets a password for authentication with a neighbor when sending a password in clear text.

The use of a negative form (no) of the command removes the password.

Syntax

ip ospf authentication key ascii-text { <CLEAR-TEXT> | encrypted <ENCRYPTED-TEXT> }

no ip ospf authentication key

Parameters

<CLEAR-TEXT> – password, set by the string of 8 characters;

<ENCRYPTED-TEXT> – encrypted password of 8 bytes (16 characters) in hexadecimal format (0xYYYY ...) or (YYYY ...).

Required privilege level

15

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf authentication key ascii-text 123456789
esr(config-if-gi)# ip ospf authentication key ascii-text encrypted CDE65039E5591FA3F1

ip ospf authentication key-chain

The command specifies a list of passwords for authentication via md5 hash algorithm with neighbor.

The use of a negative form (no) of the command removes a bind to the password list.

Syntax

ip ospf authentication key-chain <KEYCHAIN>

no ip ospf authentication key-chain

Parameters

<KEYCHAIN> – key list identifier, set by the string of up to 16 characters.

Required privilege level

15

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf authentication key-chain lock

ip ospf cost

This command sets the metric value on the interface or tunnel.

The use of a negative form (no) of the command sets the default metric value.

Syntax

ip ospf cost <VALUE>

no ip ospf cost

Parameters

<VALUE> – metric size, takes values of [0..32767].

Default value

150

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf cost 11

ip ospf dead-interval

The command specifies the time interval in seconds after which the neighbor will be considered unavailable. This interval should be a multiple of the ‘hello interval’ value. As a rule, the dead-interval is equal to 4 intervals of sending hello-packets, that is, 40 seconds.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ip ospf dead-interval <TIME>

no ip ospf dead-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

40 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf dead-interval 60

ip ospf hello-interval

The command specifies the time interval in seconds after which the router sends next hello packet.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ip ospf hello-interval <TIME>

no ip ospf hello-interval

Parameters

<TIME> – time in seconds, takes values of [1..255].

Default value

10 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf hello-interval 8

ip ospf instance

This command adds a bind of interface to a specified OSPF process.

The use of a negative form (no) of the command removes a bind of interface to a specified OSPF process.

Syntax

ip ospf instance <ID>

no ip ospf instance

Parameters

<ID> – process number, takes values of [1..65535].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-ip4ip4)# ip ospf instance 300

ip ospf mtu-ignore

This command enables the mode in which the OSPF process will ignore the MTU interface value in incoming Database Description packets.

The use of a negative form (no) of the command disables MTU interface ignorance mode.

Syntax

[no] ip ospf mtu-ignore

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf mtu-ignore

ip ospf neighbor

This command statically sets the IP address of the neighbor to establish a relationship in NMBA and P2MP (Point-to-MultiPoint) networks. The use of a negative form (no) of the command removes a statically specified neighbor address.

Syntax

[no] ip ospf neighbor <IP> [ eligible ]

Parameters

<IP> – neighbor IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

eligible – optional parameter, allows the device to take part in DR selection process in NMBA networks. The priority of the interface must be greater than zero, the command for changing the priority is described in section ip ospf priority.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf neighbor 10.0.0.2

ip ospf network

This command defines network type.

The use of a negative form (no) of the command sets the default value.

Syntax

ip ospf network <TYPE>

no ip ospf network

Parameters

<TYPE> – network type:

  • broadcast – broadcast connection type;
  • non-broadcast – NBMA connection type;
  • point-to-multipoint – point-to-multipoint connection type;
  • point-to-multipoint non-broadcast – point-to-multipoint NBMA connection type;
  • point-to-point – point-to-point connection type.
Default value

broadcast

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf network point-to-point

ip ospf poll-interval

This command sets the time interval during which the NBMA interface waits before sending a HELLO packet to the neighbor, even if the neighbor is inactive.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ip ospf poll-interval <TIME>

no ip ospf poll-interval

Parameters

<TIME> – time in seconds, takes values of [1..255].

Default value

120 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf poll-interval 60

ip ospf priority

This command sets the priority of the router, which is used to select DR and BDR.

The use of a negative form (no) of the command sets the default value.

Syntax

ip ospf priority <VALUE>

no ip ospf priority

Parameters

<VALUE> – interface priority, takes values of [0..255].

Default value

120

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf priority 200

ip ospf retransmit-interval

This command sets the time interval in seconds after which the router will re-send a packet to which it has not received receiption confirmation (for example, Database Description packet or Link State Request packets).

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ip ospf retransmit-interval <TIME>

no ip ospf retransmit-interval

Parameters

<TIME> – time in seconds, takes values of [2..65535].

Default value

5 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)#ip ospf restransmit-interval 4

ip ospf wait-interval

The command defines the time interval in seconds after which the router selects DR in the network.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ip ospf wait-interval <TIME>

no ip ospf wait-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

40 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ip ospf  wait-interval 60

preference

This command defines OSPF process routes priority.

The use of a negative form (no) of the command sets the default value.

Syntax

preference <VALUE>

no preference

Parameters

<VALUE> – OSPF process routes precedence, takes values in the range of [1..255].

Default value

10

Required privilege level

10

Command mode

CONFIG-OSPF

Example
esr(config-ospf)# preference 30

retransmit-interval

This command sets the time interval in seconds after which the router will re-send a packet to which it has not received receiption confirmation (for example, Database Description packet or Link State Request packets).

The use of a negative form (no) of the command sets the default time interval value.

Syntax

retransmit-interval <TIME>

no retransmit-interval

Parameters

<TIME> – time in seconds, takes values of [2..65535].

Default value

5 seconds

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

Example
esr(config-ospf-vlink)# restransmit-interval 4

router ospf

This command adds OSPF process to the system and switchs to the OSPF process parameters configuration mode.

The use of a negative form (no) of the command removes a OSPF process from the system.

Syntax

[no] router ospf <ID> [vrf <VRF>]

Parameters

<ID>  – stand alone system number, takes values of [1..65535];

<VRF> – VRF instance name, set by the string of up to 31 characters, within which the routing protocol will operate.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# router ospf 300
esr(config-ospf)#

router-id

This command sets router identifier.

The use of a negative form (no) of the command removes the identifier.

Syntax

router-id <ID>

no router-id

Parameters

<ID> – router identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-OSPF

Example
esr(config-ospf)# router-id 1.1.1.1

show ip ospf

This command displays the OSPF routing table if no argument is specified. When specifying a process, displays the interface configuration information for the process.

Syntax

show ip ospf [ <ID> ] [ vrf <VRF> ]

Parameters

<ID> – process number, takes values of [1..65535];

<VRF> – VRF instance name, set by the string of up to 31 characters, for which the OSPF routing table will be displayed.

Required privilege level

1

Command mode

ROOT

Example

Routing table displaying.

esr# show ip ospf
O       2.2.2.0/24         [150/10] dev gi1/0/1                       [ospf2 19:40:31]  (2.2.2.2)

show ip ospf database

This command displays the OSPF data table.

Syntax

show ip ospf <ID> [ vrf <VRF> ] database

Parameters

<ID> – OSPF process number, takes values of [1..65535];

<VRF> – VRF instance name for OSPF process, set by the string of up to 31 characters, within which the data table will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip ospf 111 dababase
Global
 Type   LS ID           Router           Age  Sequence  Checksum
 0005  10.166.11.12    10.1.0.1         1020  80000013    01b7
 0005  0.0.0.0         10.166.11.1       245  80000010    aa48
 0005  10.62.19.128    10.166.11.1       725  8000000e    6d2b
 0005  10.62.20.0      10.166.11.1       731  8000000d    69af
 0005  10.62.20.128    10.166.11.1       244  80000010    5e37
 0005  10.62.21.128    10.166.11.1       244  80000010    5341
 0005  10.166.11.0     10.166.11.1       245  80000010    cc6d
 0005  10.166.11.12    10.166.11.1       245  80000010    54d9
Area 0.0.11.1
 Type   LS ID           Router           Age  Sequence  Checksum
 0001  10.1.0.1        10.1.0.1         1015  80000067    989e
 0001  10.166.11.1     10.166.11.1      1021  80000018    8d96
 0002  10.166.11.14    10.166.11.1      1021  80000001    68a5

show ip ospf interface

This command displays OSPF interface information.

Syntax

show ip ospf interface [  vrf <VRF> ] [ <IF> | <TUN> ]

Parameters

<IF> – an interface or a group of interfaces is specified in the form described in Section Types and naming order of router interfaces.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.

<VRF> – VRF instance name for OSPF process, set by the string of up to 31 characters, within which the information about OSPF interface will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip ospf interface gi1/0/1
Interface:                    gigabitethernet 1/0/1
Internet Address:             25.25.0.1/24
Router ID:                    6.0.0.1
Network Type:                 broadcast
Area:                         0.0.0.0 (0)
Interface has:                no authentication
Transmit:                     1
State:                        dr
Priority:                     128
Cost:                         10
ECMP weight:                  1
Hello timer:                  10
Wait timer:                   40
Dead timer:                   40
Retransmit timer:             5
Designed router (ID):         6.0.0.1
Designed router (IP):         25.25.0.1
Backup designed router (ID):  6.0.0.3
Backup designed router (IP):  25.25.0.3
Neighbor Count:               0
Adjacent neighbor count:      0

show ip ospf neighbors

This command displays information about all the neighbors or neighbors of a specific OSPF process.

Syntax                                                                                                                                                                                                  

show ip ospf [ <ID> [ vrf <VRF> ] ] neighbors

show ip ospf neighbors[ <ID> [ vrf <VRF> ] ]

Parameters

<ID> – OSPF process number, takes values of [1..65535];

<VRF> – VRF instance name for OSPF process, set by the string of up to 31 characters, within which the information about neighbors will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip ospf neighbors
Router ID      	Pri	     State     	DTime	Interface  Router IP
160.0.0.2      	  0	    full/ptp  	00:53	vlink0     160.0.0.2
95.0.0.1       	  1	    full/dr   	00:31	gi1_15     115.0.0.10
10.100.100.2   	128	    full/ptp  	00:37	gre_25     25.25.0.2
153.0.0.1      	  1	    full/bdr  	00:30	po1        1.1.0.2
10.100.100.2   	128	    2way/other	00:34	gi1_14.25  14.25.0.2
24.24.24.24    	 15	    full/bdr  	00:32	te1_1      24.0.0.2

This command displays information about virtual connections.

Syntax

show ip ospf <ID> [ vrf <VRF> ] virtual-links

Parameters

<ID> – OSPF process number, takes values of [1..65535];

<VRF> – VRF instance name for OSPF process, set by the string of up to 31 characters, within which the information about virtual connections will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ip ospf 10 virtual-links
Virtual Link to router 160.0.0.2 is ptp
Peer IP: 160.0.0.2
Transit area: 1.1.1.1
Interface has no authentication
Timer intervals configured Hello 10, Dead 60, Retransmit 5, Wait 60
Adjacency State full

summary-address

This command enables subnets summation or hiding.

The use of a negative form (no) of the command disables subnets summation or hiding.

Syntax

[no] summary-address <ADDR/LEN> { advertise | not-advertise }

Parameters

<ADDR/LEN> – IP subnet, defined as AAA.BBB.CCC.DDD/EE where each part AAA-DDD takes values of [0..255] and EE takes values of [1..32];

advertise – if a command is specified, instead of the specified subnets, the total subnet will be advertised;

not-advertise – if you specify a subnet command, subnets included in the specified subnet will not be advertised.

Required privilege level

10

Command mode

CONFIG-OSPF-AREA

Example
esr(config-ospf-area)# summary-address 192.168.16.0/24

This command establishes a virtual connection between the main and remote areas, that have several areas in between.

The use of a negative form (no) of the command removes a specified virtual connection.

Syntax

[no] virtual-link <ID>

Parameters

<ID> – router identifier with which virtual connection is establishing, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-OSPF-AREA

Example
esr(config-ospf-area)# virtual-link 160.0.0.2

OSPFv3 configuration

area

This command sets area identifier.

The use of a negative form (no) of the command removes created area.

Syntax

[no] area <AREA_ID>

Parameters

<AREA_ID> – area identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-OSPFV3

Example
esr(config-ipv6-ospf)# area 11.11.11.51

area-type

This command defines area type.

The use of a negative form (no) of the command sets area type as default.

Syntax

[no] area-type <TYPE> [ no-summary ]

Parameters

<TYPE> – area type:

  • stub – sets stub value (stub area);

no-summary – the command in conjunction with the 'stub' parameter forms the 'totally stubby' area (only the default route is used to transfer information outside the area);

  • nssa – sets nssa value (NSSA area).

no-summary – the command in conjunction with the 'nssa' parameter forms the 'totally nssa' area (automatically generates the default route as interareal).

Required privilege level

10

Command mode

CONFIG-OSPFV3-AREA

Example
esr(config-ipv6-ospf-area)# area-type stub

clear ipv6 ospf

This command resets all or a specific OSPFv3 process.

Syntax

clear ipv6 ospf [ <ID> ] [ vrf <VRF> ]

Parameters

<ID> – process number, takes values of [1..65535];

<VRF> – VRF instance name, set by the string of up to 31 characters, for which all or one specified OSPFv3 process will be reset.

Required privilege level

10

Command mode

ROOT

Example
esr# clear ipv6 ospf
esr# clear ipv6 ospf 1000

compatible rfc1583

This command enables RFC 1583 compatibility.

The use of a negative form (no) of the command disables RFC 1583 compatibility.

Syntax

[no] compatible rfc1583

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-OSPFV3

Example
esr(config-ipv6-ospf)# compatible rfc1583

dead-interval

The command sets the time interval in seconds after which the neighbor will be considered unactive. This interval should be a multiple of the 'hello-interval'. As a rule, the 'dead-interval' is equal to 4 intervals of sending hello-packets, that is, 40 seconds.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

dead-interval <TIME>

no dead-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

40 seconds

Required privilege level

10

Command mode

CONFIG-OSPFV3-VLINK

Example
esr(config-ipv6-ospf-vlink)# dead-interval 60

enable

This command enables OSPFv3 process, area, virtual connection.

The use of a negative form (no) of the command disables OSPFv3 process, zone, virtual connection.

Syntax

[no] enable

Parameters

The command does not contain parameters.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG-OSPFV3

CONFIG-OSPFV3-AREA

CONFIG-OSPFV3-VLINK

Example 1

Enable of OSPF 300 process

esr(config-ipv6-ospf)# enable
Example 2

Area activation

esr(config-ipv6-ospf-area)# enable
Example 3

Virtual connection activation

esr(config-ipv6-ospf-vlink)# enable

hello-interval

The command specifies the time interval in seconds after which the router sends next hello packet.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

hello-interval <TIME>

no hello-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

10 seconds

Required privilege level

10

Command mode

CONFIG-OSPFV3-VLINK

Example
esr(config-ipv6-ospf-vlink)# hello-interval 8

ipv6 ospf

This command enables routing by OSPFv3 protocol on the interface.

The use of a negative form (no) of the command disables routing by OSPFv3 protocol on the interface.

Syntax

[no] ipv6 ospf

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf

ipv6 ospf area

This command adds a bind of interface to a specified OSPFv3 process area.

The use of a negative form (no) of the command removes a bind of interface to a specified OSPFv3 process area.

Syntax

ipv6 ospf area <AREA_ID>

no ipv6 ospf area

Parameters

<AREA_ID> – area identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-ip4ip4)# ipv6 ospf area 1.1.1.1

ipv6 ospf cost

This command sets the metric value on the interface or tunnel.

The use of a negative form (no) of the command sets the default metric value.

Syntax

ipv6 ospf cost <VALUE>

no ipv6 ospf cost

Parameters

<VALUE> – metric size, takes values of [0..32767].

Default value

150

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf cost 11

ipv6 ospf dead-interval

The command specifies the time interval in seconds after which the neighbor will be considered unavailable. This interval should be a multiple of the ‘hello interval’ value. As a rule, the dead-interval is equal to 4 intervals of sending hello-packets, that is, 40 seconds.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ipv6 ospf dead-interval <TIME>

no ipv6 ospf dead-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

40 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf dead-interval 60

ipv6 ospf hello-interval

The command specifies the time interval in seconds after which the router sends next hello packet.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ipv6 ospf hello-interval <TIME>

no ipv6 ospf hello-interval

Parameters

<TIME> – time in seconds, takes values of [1..255].

Default value

10 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf hello-interval 8

ipv6 ospf instance

This command adds a bind of interface to a specified OSPFv3 process.

The use of a negative form (no) of the command removes a bind of interface to a specified OSPFv3 process.

Syntax

ipv6 ospf instance <ID>

no ipv6 ospf instance

Parameters

<ID> – process number, takes values of [1..65535].

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-ip4ip4)# ipv6 ospf instance 300

ipv6 ospf mtu-ignore

This command enables the mode in which the OSPFv3 process will ignore the MTU interface value in incoming Database Description packets.

The use of a negative form (no) of the command disables MTU interface ignorance mode.

Syntax

[no] ipv6 ospf mtu-ignore

Parameters

The command does not contain parameters.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf mtu-ignore

ipv6 ospf neighbor

This command statically sets the IPv6 address of the neighbor to establish a relationship in NMBA and P2MP (Point-to-MultiPoint) networks. The use of a negative form (no) of the command removes a statically specified neighbor address.

Syntax

[no] ipv6 ospf neighbor <IPV6-ADDR> [ eligible ]

Parameters

<IPV6-ADDR> – neighbor’s IPv6 address, defined as X:X:X:X::X where each part takes values in hexadecimal format [0..FFFF];

eligible – optional parameter, allows the device to take part in DR selection process in NMBA networks. The priority of the interface must be greater than zero, the command for changing the priority is described in section ip ospf priority.

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf neighbor fc00::2

ipv6 ospf network

This command defines network type.

The use of a negative form (no) of the command sets the default value.

Syntax

ipv6 ospf network <TYPE>

no ipv6 ospf network

Parameters

<TYPE> – network type:

  • broadcast – broadcast connection type;
  • non-broadcast – NBMA connection type;
  • point-to-multipoint – point-to-multipoint connection type;
  • point-to-multipoint non-broadcast – point-to-multipoint NBMA connection type;
  • point-to-point – point-to-point connection type.
Default value

broadcast

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf network point-to-point

ipv6 ospf poll-interval

This command sets the time interval during which the NBMA interface waits before sending a HELLO packet to the neighbor, even if the neighbor is inactive.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ipv6 ospf poll-interval <TIME>

no ipv6 ospf poll-interval

Parameters

<TIME> – time in seconds, takes values of [1..255].

Default value

120 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf poll-interval 60

ipv6 ospf priority

This command sets the priority of the router, which is used to select DR and BDR.

The use of a negative form (no) of the command sets the default value.

Syntax

ipv6 ospf priority <VALUE>

no ipv6 ospf priority

Parameters

<VALUE> – interface priority, takes values of [0..255].

Default value

120

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf priority 300

ipv6 ospf retransmit-interval

This command sets the time interval in seconds after which the router will re-send a packet to which it has not received receiption confirmation (for example, Database Description packet or Link State Request packets).

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ipv6 ospf retransmit-interval <TIME>

no ipv6 ospf retransmit-interval

Parameters

<TIME> – time in seconds, takes values of [2..65535].

Default value

5 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)#ipv6 ospf restransmit-interval 4

ipv6 ospf wait-interval

The command defines the time interval in seconds after which the router selects DR in the network.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

ipv6 ospf wait-interval <TIME>

no ipv6 ospf wait-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

40 seconds

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-LOOPBACK

CONFIG-LT

Example
esr(config-if-gi)# ipv6 ospf  wait-interval 60

ipv6 router ospf

This command adds OSPFv3 process to the system and switchs to the OSPFv3 process parameters configuration mode.

The use of a negative form (no) of the command removes OSPFv3 process from the system.

Syntax

[no] ipv6 router ospf <ID> [vrf <VRF>]

Parameters

<ID>  – autonomous system number, takes values of [1..65535].

<VRF> – VRF instance name for OSPFv3 process, set by the string of up to 31 characters.

Required privilege level

10

Command mode

CONFIG

Example
esr(config)# ipv6 router ospf 300
esr(config-ipv6-ospf)#

preference

This command defines OSPFv3 process routes priority.

The use of a negative form (no) of the command sets the default value.

Syntax

preference <VALUE>

no preference

Parameters

<VALUE> – OSPFv3 process routes precedence, takes values in the range of [1..255].

Default value

10

Required privilege level

10

Command mode

CONFIG-OSPFV3

Example
esr(config-ipv6-ospf)# preference 30

retransmit-interval

This command sets the time interval in seconds after which the router will re-send a packet to which it has not received receiption confirmation (for example, Database Description packet or Link State Request packets).

The use of a negative form (no) of the command sets the default time interval value.

Syntax

retransmit-interval <TIME>

no retransmit-interval

Parameters

<TIME> – time in seconds, takes values of [2..65535].

Default value

5 seconds

Required privilege level

10

Command mode

CONFIG-OSPFV3-VLINK

Example
esr(config-ipv6-ospf-vlink)# restransmit-interval 4

router-id

The command sets router ID.

The use of a negative form (no) of the command removes the identifier.

Syntax

router-id <ID>

no router-id

Parameters

<ID> – router identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-OSPFV3

Example
esr(config-ipv6-ospf)# router-id 1.1.1.1

show ipv6 ospf

This command displays the OSPFv3 routing table if no argument is specified. When specifying a process, displays the interface configuration information for the process.

Syntax

show ipv6 ospf [ <ID> ] [ vrf <VRF> ]

Parameters

<ID> – process number, takes values of [1..65535].

<VRF> – VRF instance name, set by the string of up to 31 characters, for which the OSPFv3 routing table will be displayed.

Required privilege level

1

Command mode

ROOT

Example

Routing table displaying.

esr# show ipv6 ospf
O       fc00::/120         [150/10] dev gi1/0/5              [ospf2 19:39:18]  (2.2.2.2)

show ipv6 ospf database

This command displays the OSPFv3 data table.

Syntax

show ipv6 ospf <ID> [vrf <VRF>] database

Parameters

<ID> – process number, takes values of [1..65535];

<VRF> – VRF instance name for OSPFv3 process, set by the string of up to 31 characters, within which the data table will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 ospf 111 dababase
Global
 Type   LS ID           Router           Age  Sequence  Checksum
 0005  10.166.11.12    10.1.0.1         1020  80000013    01b7
 0005  0.0.0.0         10.166.11.1       245  80000010    aa48
 0005  10.62.19.128    10.166.11.1       725  8000000e    6d2b
 0005  10.62.20.0      10.166.11.1       731  8000000d    69af
 0005  10.62.20.128    10.166.11.1       244  80000010    5e37
 0005  10.62.21.128    10.166.11.1       244  80000010    5341
 0005  10.166.11.0     10.166.11.1       245  80000010    cc6d
 0005  10.166.11.12    10.166.11.1       245  80000010    54d9
Area 0.0.11.1
 Type   LS ID           Router           Age  Sequence  Checksum
 0001  10.1.0.1        10.1.0.1         1015  80000067    989e
 0001  10.166.11.1     10.166.11.1      1021  80000018    8d96
 0002  10.166.11.14    10.166.11.1      1021  80000001    68a5

show ipv6 ospf interface

This command displays information about the interfaces on which OSPFv3 protocol is enabled.

Syntax

show ipv6 ospf interface [ vrf <VRF> ] [ <IF> ]

Parameters

<ID> – process number, takes values of [1..65535];

<VRF> – VRF instance name for OSPFv3 process, set by the string of up to 31 characters, within which the information about OSPFv3 interface will be displayed.

<IF> – an interface or a group of interfaces is specified in the form described in Section Types and naming order of router interfaces;

Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 ospf interface gigabitethernet 1/0/14
esr# Interface:                    gigabitethernet 1/0/14
Internet Address:             IID 0
Router ID:                    88.88.88.88
Network Type:                 broadcast
Area:                         0.0.0.0 (0)
Transmit:                     1
State:                        backup
Priority:                     128
Cost:                         10
ECMP weight:                  1
Hello timer:                  10
Wait timer:                   40
Dead timer:                   40
Retransmit timer:             5
Designed router (ID):         77.0.0.1
Designed router (IP):         fe80::c602:46ff:feed:0
Backup designed router (ID):  88.88.88.88
Backup designed router (IP):  fe80::1:2ff:fe03:463
Neighbor Count:               1
Adjacent neighbor count:      1
Adjacent with neighbor:    77.0.0.1 (dr)

show ipv6 ospf neighbors

This command displays information about all the neighbors or neighbors of a specific OSPFv3 process.

Syntax

show ipv6 ospf [<ID> [vrf <VRF>]] neighbors

Parameters

<ID> – process number, takes values of [1..65535], optional parameter.

<VRF> – VRF instance name for OSPFv3 process, set by the string of up to 31 characters, within which the information about neighbors will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 ospf neighbor
Router ID          Pri      State      DTime   Interface  Router IP
77.0.0.1             1     full/dr     00:32   gi1_14     fe80::c602:46ff:feed:0
33.33.33.33        128     full/bdr    00:35   gi1_18     fe80::20:3ff:fea0:498

This command displays information about virtual connections.

Syntax

show ipv6 ospf <ID> [vrf <VRF>] virtual-links

Parameters

<ID> – process number, takes values of [1..65535];

<VRF> – VRF instance name for OSPFv3 process, set by the string of up to 31 characters, within which the information about virtual connections will be displayed.

Required privilege level

1

Command mode

ROOT

Example
esr# show ipv6 ospf 10 virtual-links
Virtual Link to router 160.0.0.2 is ptp
Peer IP: fe80::20:3ff:fea0:498
Transit area: 1.1.1.1
Interface has no authentication
Timer intervals configured: Hello 10, Dead 60, Retransmit 5, Wait 60
Adjacency State full

summary-address

This command enables subnets summation or hiding.

The use of a negative form (no) of the command disables subnets summation or hiding.

Syntax

[no] summary-address <IPV6-ADDR/LEN> { advertise | not-advertise }

Parameters

<IPV6-ADDR/LEN> – IPv6 address and mask of a subnet, defined as X:X:X:X::X/EE where each X part takes values in hexadecimal format [0..FFFF] and EE takes values of [1..128];

advertise – if a command is specified, instead of the subnets included in specified subnet, the total subnet will be advertised;

not-advertise – subnets included in the specified subnet will not be advertised.

Required privilege level

10

Command mode

CONFIG-OSPFV3-AREA

Example
esr(config-ipv6-ospf-area)# summary-address 2002:30::0/90

virtual-link

This command establishes a virtual connection between the main and remote areas, that have between them several areas.

The use of a negative form (no) of the command removes a specified virtual connection.

Syntax

[no] virtual-link <ID>

Parameters

<ID> – router identifier with which virtual connection is establishing, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

Required privilege level

10

Command mode

CONFIG-OSPFV3-AREA

Example
esr(config-ipv6-ospf-area)# virtual-link 160.0.0.2

wait-interval

The command defines the time interval in seconds after which the router selects DR in the network.

The use of a negative form (no) of the command sets the default time interval value.

Syntax

wait-interval <TIME>

no wait-interval

Parameters

<TIME> – time in seconds, takes values of [1..65535].

Default value

40 seconds

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

CONFIG-IPV6-OSPF-VLINK

Example
esr(config-if-gi)# ipv6 ospf  wait-interval 60
  • Нет меток