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

CONFIG-OSPFV3

Example 1
esr(config-ospf)# area 11.11.11.51
CODE
Example 2
esr(config-ipv6-ospf)# area 11.11.11.51
CODE

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

CONFIG-OSPFV3-AREA

Example 1
esr(config-ospf-area)# area-type stub
CODE
Example 2
esr(config-ipv6-ospf-area)# area-type nssa
CODE

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
CODE

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
CODE

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
CODE

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

CONFIG-OSPFV3

Example
esr(config-ospf)# compatible rfc1583
CODE

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

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

CONFIG-OSPFV3-VLINK

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

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

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

CONFIG-OSPFV3-VLINK

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

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

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-E1

CONFIG-MULTILINK

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

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

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

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
CODE

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

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
CODE

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

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
CODE

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

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
CODE

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

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
CODE

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

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-SERIAL

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
CODE

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

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-SERIAL

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
CODE

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

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
CODE

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

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
CODE

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

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
CODE

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

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
CODE

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

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-SERIAL

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
CODE

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

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
CODE

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

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-SERIAL

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
CODE

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

Required privilege level

10

Command mode

CONFIG-GI

CONFIG-TE

CONFIG-SUBIF

CONFIG-QINQ-IF

CONFIG-SERIAL

CONFIG-PORT-CHANNEL

CONFIG-BRIDGE

CONFIG-IP4IP4

CONFIG-GRE

CONFIG-LOOPBACK

CONFIG-LT

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

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
CODE

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
CODE

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 value, defines in values [1..65535].

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
CODE

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

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
CODE

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

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
CODE

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
CODE

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
CODE

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
CODE

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
 

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

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
CODE

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
CODE

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

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
CODE

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
CODE

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)#
CODE

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
CODE

preference

This command defines OSPF/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> – OSPF process routes precedence, takes values in the range of [1..255].

Default value

10

Required privilege level

10

Command mode

CONFIG-OSPF

CONFIG-OSPFV3

Example 1
esr(config-ospf)# preference 30
CODE
Example 2
esr(config-ipv6-ospf)# preference 30
CODE

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

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

CONFIG-OSPFV3-VLINK

Example
esr(config-ospf-vlink)# restransmit-interval 4
CODE

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)#
CODE

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.

Default value

Disabled.

Required privilege level

10

Command mode

CONFIG

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

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

CONFIG-OSPFV3

Example
esr(config-ospf)# router-id 1.1.1.1
CODE

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

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
CODE

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
CODE

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
CODE

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
CODE

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

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
CODE

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

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
CODE

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
CODE

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
summary-address { <ADDR/LEN> | <IPV6-ADDR/LEN> } { advertise | not-advertise }
no 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];

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

CONFIG-OSPFV3-AREA

Example
esr(config-ospf-area)# summary-address 192.168.16.0/24
CODE

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

CONFIG-OSPFV3-AREA

Example
esr(config-ospf-area)# virtual-link 160.0.0.2
CODE

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

Required privilege level

10

Command mode

CONFIG-OSPF-VLINK

CONFIG-OSPFV3-VLINK

Example
esr(config-ospf-vlink)# ospf wait-interval 60
CODE