39 router ospf, 40 default-information originate – Accton Technology ES4626 User Manual
Page 463

463
tag
external identification number of the external route, ranging
between 0~4294967295, defaulted at 0
Command Mode: OSPF mode
Usage Guide:
Learn and introduce other routing protocol into OSPF area to generate
AS-external_LSAs
Example:
Switch#config terminal
Switch(config)#router ospf
Switch(config-router)#redistribute bgp metric 12
13.6.3.39 router ospf
Command: [no] router ospf
Function:
This command is for relating the OSPF process and a specific VPN. All
configuration commands will be related to this VPN after the configuration succeeded.
The “[no] router ospf
routing/forwarding instance related OSPF instances.
Parameter:
specifies the id of the OSPF process to be created.
specifies the name of VPN routing/forwarding instance
Command Mode:
Global mode
Usage Guide:
This command is only used for PE router. A VPN routing/forwarding
instance should be generated with ip vrf command before using this command, then with
this command you can relate OSPF instances to this VPN routing/forwarding instance
Example:
Switch# config terminal
Switch(config)# router ospf 100 VRF1
Switch(config-router)#network 10.1.1.0/24 area 0
13.6.3.40 default-information originate
Command: default-information originate
[always|METRIC|METRICTYPE|ROUTEMAP]
no default-information originate
Function:
This command create a default external route to OSPF route area; the “no
default-information originate
” closes this feature
Parameter: always:
Whether default route exist in the software or not, the default route
is always advertised.
METRIC = metric <value>:
METRIC = metric <value>: Set the metric value for
creating default route, <value> ranges between 0~16777214 , default metric value is 0
METRICTYPE = metric-type {1|2}
set the OSPF external link type of default route.
1 Set the OSPF external type 1 metric value
2 Set the OSPF external type 2 metric value