beautypg.com

Configuring a priority for ospfv3, Configuring ospfv3 route redistribution – H3C Technologies H3C S7500E Series Switches User Manual

Page 306

background image

9-11

Configuring a Priority for OSPFv3

A router may run multiple routing protocols. The system assigns a priority for each protocol. When

these routing protocols find the same route, the route found by the protocol with the highest priority is

selected.

Follow these steps to configure a priority for OSPFv3:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter OSPFv3 view

ospfv3 [ process-id ]

Configure a priority for

OSPFv3

preference [ ase ]

[ route-policy

route-policy-name ] preference

Optional

By default, the priority of OSPFv3

internal routes is 10, and priority of

OSPFv3 external routes is 150.

Configuring OSPFv3 Route Redistribution

Follow these steps to configure OSPFv3 route redistribution:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter OSPFv3 view

ospfv3 [ process-id ]

Specify a default cost for

redistributed routes

default cost value

Optional

Defaults to 1

Redistribute routes from another

protocol, or another OSPFv3

process

import-route protocol [ process-id |

allow-ibgp ] [ cost value | route-policy

route-policy-name | type type ] *

Required

Not configured by

default

Inject a default route

default-route-advertise [ always | cost cost |

type type | route-policy route-policy-name ] *

Optional

Not injected by

default

Filter redistributed routes

filter-policy { acl6-number | ipv6-prefix

ipv6-prefix-name } export [ isisv6 process-id |

ospfv3 process-id | ripng process-id | bgp4+ |

direct | static ]

Optional

Not configured by

default