config static
Description: Configure redistribute static routes.
config redistribute
config static
set status [enable | disable]
set metric-type [1 | 2]
set metric [0 – 16777214]
set routemap <name1>
unset
show
end
show
end
show
end
Sample command:
FX201E5919000057 (ospf) # show
config router ospf
set status disable
set router-id 0.0.0.0
config area
edit 192.168.200.24
next
end
config network
edit 1
set prefix 192.168.200.0/24
set area 192.168.200.24
next
end
config ospf-interface
edit 1
set status enable
set interface lan
set mtu-ignore enable
set cost 3400
next
end
config redistribute
config connected
set status disable
set metric-type 2
set metric 10
set routemap
end
config static
set status disable
set metric-type 2
set metric 10
set routemap
end
end
end
| Parameter | Description | Type | Size | Default | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| status | Status of the OSPF configuration. | option | - | disable | ||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||
| router-id | Router ID. | IPv4 address | - | 0.0.0.0 | ||||||||||||||||||||||||||
| config area | OSPF area configuration. | IPv4 address | - | none | ||||||||||||||||||||||||||
| config network | OSPF network configuration. | option | - | none | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
| config ospf-interface | OSPF interface configuration. | option | - | none | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
| config redistribute | Redistribute configuration. | option | - | none | ||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||