config router ospf
Configure OSPF.
config router ospf
Description: Configure OSPF.
set abr-type [cisco|ibm|...]
set auto-cost-ref-bandwidth {integer}
set distance-external {integer}
set distance-inter-area {integer}
set distance-intra-area {integer}
set database-overflow [enable|disable]
set database-overflow-max-lsas {integer}
set database-overflow-time-to-recover {integer}
set default-information-originate [enable|always|...]
set default-information-metric {integer}
set default-information-metric-type [1|2]
set default-information-route-map {string}
set default-metric {integer}
set distance {integer}
set rfc1583-compatible [enable|disable]
set router-id {ipv4-address-any}
set spf-timers {user}
set bfd [enable|disable]
set log-neighbour-changes [enable|disable]
set distribute-list-in {string}
set distribute-route-map-in {string}
set restart-mode [none|lls|...]
set restart-period {integer}
config area
Description: OSPF area configuration.
edit <id>
set shortcut [disable|enable|...]
set authentication [none|text|...]
set default-cost {integer}
set nssa-translator-role [candidate|never|...]
set stub-type [no-summary|summary]
set type [regular|nssa|...]
set nssa-default-information-originate [enable|always|...]
set nssa-default-information-originate-metric {integer}
set nssa-default-information-originate-metric-type [1|2]
set nssa-redistribution [enable|disable]
set comments {var-string}
config range
Description: OSPF area range configuration.
edit <id>
set prefix {ipv4-classnet-any}
set advertise [disable|enable]
set substitute {ipv4-classnet-any}
set substitute-status [enable|disable]
next
end
config virtual-link
Description: OSPF virtual link configuration.
edit <name>
set authentication [none|text|...]
set authentication-key {password}
set keychain {string}
set dead-interval {integer}
set hello-interval {integer}
set retransmit-interval {integer}
set transmit-delay {integer}
set peer {ipv4-address-any}
config md5-keys
Description: MD5 key.
edit <id>
set key-string {password}
next
end
next
end
config filter-list
Description: OSPF area filter-list configuration.
edit <id>
set list {string}
set direction [in|out]
next
end
next
end
config ospf-interface
Description: OSPF interface configuration.
edit <name>
set comments {var-string}
set interface {string}
set ip {ipv4-address}
set authentication [none|text|...]
set authentication-key {password}
set keychain {string}
set prefix-length {integer}
set retransmit-interval {integer}
set transmit-delay {integer}
set cost {integer}
set priority {integer}
set dead-interval {integer}
set hello-interval {integer}
set hello-multiplier {integer}
set database-filter-out [enable|disable]
set mtu {integer}
set mtu-ignore [enable|disable]
set network-type [broadcast|non-broadcast|...]
set bfd [global|enable|...]
set status [disable|enable]
set resync-timeout {integer}
config md5-keys
Description: MD5 key.
edit <id>
set key-string {password}
next
end
next
end
config network
Description: OSPF network configuration.
edit <id>
set prefix {ipv4-classnet}
set area {ipv4-address-any}
set comments {var-string}
next
end
config neighbor
Description: OSPF neighbor configuration are used when OSPF runs on non-broadcast media
edit <id>
set ip {ipv4-address}
set poll-interval {integer}
set cost {integer}
set priority {integer}
next
end
set passive-interface <name1>, <name2>, ...
config summary-address
Description: IP address summary configuration.
edit <id>
set prefix {ipv4-classnet}
set tag {integer}
set advertise [disable|enable]
next
end
config distribute-list
Description: Distribute list configuration.
edit <id>
set access-list {string}
set protocol [connected|static|...]
next
end
config redistribute
Description: Redistribute configuration.
edit <name>
set status [enable|disable]
set metric {integer}
set routemap {string}
set metric-type [1|2]
set tag {integer}
next
end
end
config router ospf
Parameter |
Description |
Type |
Size |
Default |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
abr-type |
Area border router type. |
option |
- |
standard |
||||||||||
|
|
|||||||||||||
auto-cost-ref-bandwidth |
Reference bandwidth in terms of megabits per second. |
integer |
Minimum value: 1 Maximum value: 1000000 |
1000 |
||||||||||
distance-external |
Administrative external distance. |
integer |
Minimum value: 1 Maximum value: 255 |
110 |
||||||||||
distance-inter-area |
Administrative inter-area distance. |
integer |
Minimum value: 1 Maximum value: 255 |
110 |
||||||||||
distance-intra-area |
Administrative intra-area distance. |
integer |
Minimum value: 1 Maximum value: 255 |
110 |
||||||||||
database-overflow |
Enable/disable database overflow. |
option |
- |
disable |
||||||||||
|
|
|||||||||||||
database-overflow-max-lsas |
Database overflow maximum LSAs. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
10000 |
||||||||||
database-overflow-time-to-recover |
Database overflow time to recover (sec). |
integer |
Minimum value: 0 Maximum value: 65535 |
300 |
||||||||||
default-information-originate |
Enable/disable generation of default route. |
option |
- |
disable |
||||||||||
|
|
|||||||||||||
default-information-metric |
Default information metric. |
integer |
Minimum value: 1 Maximum value: 16777214 |
10 |
||||||||||
default-information-metric-type |
Default information metric type. |
option |
- |
2 |
||||||||||
|
|
|||||||||||||
default-information-route-map |
Default information route map. |
string |
Maximum length: 35 |
|
||||||||||
default-metric |
Default metric of redistribute routes. |
integer |
Minimum value: 1 Maximum value: 16777214 |
10 |
||||||||||
distance |
Distance of the route. |
integer |
Minimum value: 1 Maximum value: 255 |
110 |
||||||||||
rfc1583-compatible |
Enable/disable RFC1583 compatibility. |
option |
- |
disable |
||||||||||
|
|
|||||||||||||
router-id |
Router ID. |
ipv4-address-any |
Not Specified |
0.0.0.0 |
||||||||||
spf-timers |
SPF calculation frequency. |
user |
Not Specified |
|
||||||||||
bfd |
Bidirectional Forwarding Detection (BFD). |
option |
- |
disable |
||||||||||
|
|
|||||||||||||
log-neighbour-changes |
Enable logging of OSPF neighbour's changes |
option |
- |
enable |
||||||||||
|
|
|||||||||||||
distribute-list-in |
Filter incoming routes. |
string |
Maximum length: 35 |
|
||||||||||
distribute-route-map-in |
Filter incoming external routes by route-map. |
string |
Maximum length: 35 |
|
||||||||||
restart-mode |
OSPF restart mode (graceful or LLS). |
option |
- |
none |
||||||||||
|
|
|||||||||||||
restart-period |
Graceful restart period. |
integer |
Minimum value: 1 Maximum value: 3600 |
120 |
||||||||||
passive-interface |
Passive interface configuration. Passive interface name. |
string |
Maximum length: 79 |
|
config area
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
shortcut |
Enable/disable shortcut option. |
option |
- |
disable |
||||||||
|
|
|||||||||||
authentication |
Authentication type. |
option |
- |
none |
||||||||
|
|
|||||||||||
default-cost |
Summary default cost of stub or NSSA area. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
10 |
||||||||
nssa-translator-role |
NSSA translator role type. |
option |
- |
candidate |
||||||||
|
|
|||||||||||
stub-type |
Stub summary setting. |
option |
- |
summary |
||||||||
|
|
|||||||||||
type |
Area type setting. |
option |
- |
regular |
||||||||
|
|
|||||||||||
nssa-default-information-originate |
Redistribute, advertise, or do not originate Type-7 default route into NSSA area. |
option |
- |
disable |
||||||||
|
|
|||||||||||
nssa-default-information-originate-metric |
OSPF default metric. |
integer |
Minimum value: 0 Maximum value: 16777214 |
10 |
||||||||
nssa-default-information-originate-metric-type |
OSPF metric type for default routes. |
option |
- |
2 |
||||||||
|
|
|||||||||||
nssa-redistribution |
Enable/disable redistribute into NSSA area. |
option |
- |
enable |
||||||||
|
|
|||||||||||
comments |
Comment. |
var-string |
Maximum length: 255 |
|
config range
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
prefix |
Prefix. |
ipv4-classnet-any |
Not Specified |
0.0.0.0 0.0.0.0 |
||||||
advertise |
Enable/disable advertise status. |
option |
- |
enable |
||||||
|
|
|||||||||
substitute |
Substitute prefix. |
ipv4-classnet-any |
Not Specified |
0.0.0.0 0.0.0.0 |
||||||
substitute-status |
Enable/disable substitute status. |
option |
- |
disable |
||||||
|
|
config virtual-link
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
authentication |
Authentication type. |
option |
- |
none |
||||||||
|
|
|||||||||||
authentication-key |
Authentication key. |
password |
Not Specified |
|
||||||||
keychain |
Message-digest key-chain name. |
string |
Maximum length: 35 |
|
||||||||
dead-interval |
Dead interval. |
integer |
Minimum value: 1 Maximum value: 65535 |
40 |
||||||||
hello-interval |
Hello interval. |
integer |
Minimum value: 1 Maximum value: 65535 |
10 |
||||||||
retransmit-interval |
Retransmit interval. |
integer |
Minimum value: 1 Maximum value: 65535 |
5 |
||||||||
transmit-delay |
Transmit delay. |
integer |
Minimum value: 1 Maximum value: 65535 |
1 |
||||||||
peer |
Peer IP. |
ipv4-address-any |
Not Specified |
0.0.0.0 |
config md5-keys
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
key-string |
Password for the key. |
password |
Not Specified |
|
config md5-keys
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
key-string |
Password for the key. |
password |
Not Specified |
|
config filter-list
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
list |
Access-list or prefix-list name. |
string |
Maximum length: 35 |
|
||||||
direction |
Direction. |
option |
- |
out |
||||||
|
|
config ospf-interface
Parameter |
Description |
Type |
Size |
Default |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
comments |
Comment. |
var-string |
Maximum length: 255 |
|
||||||||||||
interface |
Configuration interface name. |
string |
Maximum length: 15 |
|
||||||||||||
ip |
IP address. |
ipv4-address |
Not Specified |
0.0.0.0 |
||||||||||||
authentication |
Authentication type. |
option |
- |
none |
||||||||||||
|
|
|||||||||||||||
authentication-key |
Authentication key. |
password |
Not Specified |
|
||||||||||||
keychain |
Message-digest key-chain name. |
string |
Maximum length: 35 |
|
||||||||||||
prefix-length |
Prefix length. |
integer |
Minimum value: 0 Maximum value: 32 |
0 |
||||||||||||
retransmit-interval |
Retransmit interval. |
integer |
Minimum value: 1 Maximum value: 65535 |
5 |
||||||||||||
transmit-delay |
Transmit delay. |
integer |
Minimum value: 1 Maximum value: 65535 |
1 |
||||||||||||
cost |
Cost of the interface, value range from 0 to 65535, 0 means auto-cost. |
integer |
Minimum value: 0 Maximum value: 65535 |
0 |
||||||||||||
priority |
Priority. |
integer |
Minimum value: 0 Maximum value: 255 |
1 |
||||||||||||
dead-interval |
Dead interval. |
integer |
Minimum value: 0 Maximum value: 65535 |
0 |
||||||||||||
hello-interval |
Hello interval. |
integer |
Minimum value: 0 Maximum value: 65535 |
0 |
||||||||||||
hello-multiplier |
Number of hello packets within dead interval. |
integer |
Minimum value: 3 Maximum value: 10 |
0 |
||||||||||||
database-filter-out |
Enable/disable control of flooding out LSAs. |
option |
- |
disable |
||||||||||||
|
|
|||||||||||||||
mtu |
MTU for database description packets. |
integer |
Minimum value: 576 Maximum value: 65535 |
0 |
||||||||||||
mtu-ignore |
Enable/disable ignore MTU. |
option |
- |
disable |
||||||||||||
|
|
|||||||||||||||
network-type |
Network type. |
option |
- |
broadcast |
||||||||||||
|
|
|||||||||||||||
bfd |
Bidirectional Forwarding Detection (BFD). |
option |
- |
global |
||||||||||||
|
|
|||||||||||||||
status |
Enable/disable status. |
option |
- |
enable |
||||||||||||
|
|
|||||||||||||||
resync-timeout |
Graceful restart neighbor resynchronization timeout. |
integer |
Minimum value: 1 Maximum value: 3600 |
40 |
config md5-keys
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
key-string |
Password for the key. |
password |
Not Specified |
|
config md5-keys
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
key-string |
Password for the key. |
password |
Not Specified |
|
config network
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
prefix |
Prefix. |
ipv4-classnet |
Not Specified |
0.0.0.0 0.0.0.0 |
area |
Attach the network to area. |
ipv4-address-any |
Not Specified |
0.0.0.0 |
comments |
Comment. |
var-string |
Maximum length: 255 |
|
config neighbor
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
ip |
Interface IP address of the neighbor. |
ipv4-address |
Not Specified |
0.0.0.0 |
poll-interval |
Poll interval time in seconds. |
integer |
Minimum value: 1 Maximum value: 65535 |
10 |
cost |
Cost of the interface, value range from 0 to 65535, 0 means auto-cost. |
integer |
Minimum value: 0 Maximum value: 65535 |
0 |
priority |
Priority. |
integer |
Minimum value: 0 Maximum value: 255 |
1 |
config summary-address
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
prefix |
Prefix. |
ipv4-classnet |
Not Specified |
0.0.0.0 0.0.0.0 |
||||||
tag |
Tag value. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |
||||||
advertise |
Enable/disable advertise status. |
option |
- |
enable |
||||||
|
|
config distribute-list
Parameter |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
access-list |
Access list name. |
string |
Maximum length: 35 |
|
||||||||
protocol |
Protocol type. |
option |
- |
connected |
||||||||
|
|
config redistribute
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
status |
status |
option |
- |
disable |
||||||
|
|
|||||||||
metric |
Redistribute metric setting. |
integer |
Minimum value: 0 Maximum value: 16777214 |
0 |
||||||
routemap |
Route map name. |
string |
Maximum length: 35 |
|
||||||
metric-type |
Metric type. |
option |
- |
2 |
||||||
|
|
|||||||||
tag |
Tag value. |
integer |
Minimum value: 0 Maximum value: 4294967295 |
0 |