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 CONFIG-RIP and CONFIG_OSPF-VLINK modes);
  • md5 – password is hashed by md5 algorithm.
Required privilege level

10

Command mode

CONFIG-RIP

CONFIG-BGP

CONFIG-BGP-VRF

CONFIG-BGP-GROUP

CONFIG-BGP-VRF-GROUP

CONFIG-BGP-NEIGHBOR

CONFIG-BGP-VRF-NEIGHBOR

CONFIG-OSPF-VLINK

Example
esr(config-rip)# authentication algorithm cleartext
CODE

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 to 16 characters.

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

Required privilege level

10

Command mode

CONFIG-RIP

CONFIG-BGP

CONFIG-BGP-VRF

CONFIG-BGP-GROUP

CONFIG-BGP-VRF-GROUP

CONFIG-BGP-NEIGHBOR

CONFIG-BGP-VRF-NEIGHBOR

CONFIG-OSPF-VLINK

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

enable

This command enables the configurable routing protocol, area, virtual connection, neighborhood.

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

Syntax
[no] enable
Parameters

The command does not contain parameters.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG-RIP

CONFIG-RIPNG

CONFIG-OSPF

CONFIG-OSPF-AREA

CONFIG-OSPF-VLINK

CONFIG-OSPFV3

CONFIG-OSPFV3-AREA

CONFIG-OSPFV3-VLINK

CONFIG-ISIS

CONFIG-BGP

CONFIG-BGP-VRF

CONFIG-BGP-NEIGHBOR

CONFIG-BGP-VRF-NEIGHBOR

CONFIG-BGP-NEIGHBOR-FAMILY

CONFIG-BGP-VRF-NEIGHBOR-FAMILY

Example 1
esr(config-rip)# enable
CODE
Example 2
esr(config-ospf)# enable
CODE
Example 3
 esr(config-isis)# enable 
CODE
Example 4
esr(config-bgp-neighbor)# enable
CODE

graceful-restart

This command enables the mechanism to maintain an active neighborhood state with route information preserved at the time the routing protocol is restarted.

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

Syntax
[no] graceful-restart
Parameters

The command does not contain parameters

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-VRF-GROUP

CONFIG-BGP-NEIGHBOR

CONFIG-BGP-VRF-NEIGHBOR

CONFIG-OSPF

CONFIG-OSPFV3

Example
esr(config-bgp-neighbor)# graceful-restart
CODE

graceful-restart timeout

This command sets the time interval during which to maintain the active state of the neighborhood at the time of the routing protocol restart. When the time interval expires, the opposite side is considered unavailable. Used in conjunction with the graceful-restart command.

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

Syntax
graceful-restart timeout <TIME>
no graceful-restart timeout
Parameters

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

Default value

120

Required privilege level

10

Command mode

CONFIG-BGP-GROUP

CONFIG-BGP-VRF-GROUP

CONFIG-BGP-NEIGHBOR

CONFIG-BGP-VRF-NEIGHBOR

CONFIG-OSPF

CONFIG-OSPFV3

Example
esr(config-bgp-neighbor)# graceful-restart timeout 60
CODE

ip path-mtu-discovery

This command enables/disables 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
CODE

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 following values: rip (only in global mode), ospf, isis, bgp;

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

  • BGP
    • ESR-1000/1200/1500/1511/1700/3100 [1..5000000];
    • ESR-20/21/100/200 [1..2500000],
    • ESR-10/12V/12VF/14VF [1.. 1000000].
  • OSPF and IS-IS
    • ESR-1000/1200/1500/1511/1700/3100 [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/1511/1700/3100 [1..10000];
    • ESR-10/12V/12VF/14VF [1..1000].
Default value for the global mode

BGP

  • ESR-1000/1200/1500/1511/1700/3100 (5000000);
  • ESR-20/21/100/200 (2500000);
  • ESR-10/12V/12VF/14VF (1000000).

OSPF and IS-IS

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

RIP

  • ESR-20/21/100/200/1000/1200/1500/1511/1700/3100 (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
CODE

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, isis, bgp, dhcp, l2tp, pppoe, pptp;

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

Default value

BGP (170)

IS-IS (160)

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
CODE

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 following values: rip (only in global mode), ospf, isis, bgp;

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

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

OSPFv3

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

IPv6 BGP

  • ESR-1700/3100 (5000000),
  • ESR-1000/1200/1500/1511/1700/3100 (5000000),
  • ESR-20/21/100/200 [1..2500000],
  • ESR-10/12V/12VF/14VF [1.. 100000];
Required privilege level

10

Command mode

CONFIG

CONFIG-VRF

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

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
CODE

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;
  • isis;
  • 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
CODE

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 | arp-proxy | <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 those not selected for FIB;
  • long-prefix – displays information about routes to networks that are a given subnet;
  • summary – displays summary statistics of routing protocols;
  • arp-proxy – displays information about configured arp-nat-proxy pools on interfaces and tunnels;
  • <PROTOCOL> – filter by protocol type (bgp, connected, ospf , isis, rip, static).
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
CODE

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;
  • isis;
  • 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
CODE

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 , isis, 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
CODE