17 redistribute, 18 router-id – Accton Technology ES4626 User Manual
Page 499
499
Example:
Switch#config terminal
Switch(config)#router ipv6 ospf
Switch(config-router)#passive-interface vlan1
13.7.3.17 redistribute
Command: [no]redistribute {kernel |connected| static| rip| isis| bgp} [metric<value>]
[metric-type {1|2}][route-map
Function:
Introduce route learnt from other routing protocols into OSPF
Parameter: kernel
Introduct from kernel route
connected Introduce from direct route
static
Introduce from static route
rip
Introduce from the RIP route
isis
Introduce from ISIS route
bgp
Introduce from BGP route
metric <value>
is the introduced metric value, ranging between 0-16777214
metric-type {1|2}
is the metric value type of the introduced external route, which
can be 1 or 2, and it is 2 by default
route-map
targets to the probe of the route map for introducing route
Command Mode: OSPFv3 protocol mode
Usage Guide:
Learn and introduce other routing protocol into OSPF area to generate
AS-external_LSAs
Example:
Switch#config terminal
Switch(config)#router ipv6 ospf
Switch(config-router)#redistribute bgp metric 12 metric-type 1
13.7.3.18 router-id
Command: router-id
no router-id
Function:
Configure router ID for ospfv3 process. The “no router-id”restores ID to
0.0.0.0
Parameter:
is the router ID shown in IPv4 format
Default:
0.0.0.0 by default
Usage Guide:
If the router-id is 0.0.0.0, the ospfv3 process can not be normally
enabled. It is required to configure a router-id for ospfv3
Command Mode:
OSPFv3 protocol mode
Example:
Switch#config terminal
Switch(config)#router ipv6 ospf
Switch(config-router)#router-id 192.168.2.1