Command Manual – IPv6 Routing
H3C S7500E Series Ethernet Switches Chapter 3 IPv6 OSPFv3 Configuration Commands
3-27
bgp4+: Redistributes BGP4+ routes.
allow-ibgp: Allows redistributing IBGP routes.
direct: Redistributes direct routes.
static: Redistributes static routes.
cost value: Cost for redistributed routes, ranging from 1 to 16777214. The default is 1.
type type: Specifies the type for redistributed routes, 1 or 2. It defaults to 2.
route-policy route-policy-name: Specifies to redistribute only the routes that match the
specified route-policy. route-policy-name is a string of up to 19 characters.
Caution:
Using the import-route bgp4+ command redistributes only EBGP routes, while using
the import-route bgp4+ allow-ibgp command redistributes both EBGP and IBGP
routes.
Description
Use the import-route command to redistribute routes.
Use the undo import-route command to disable routes redistribution.
IPv6 OSPFv3 does not redistribute routes from other protocols by default.
Examples
# Configure to redistribute routes from RIPng and specify the type as type 2 and cost as
50.
<Sysname> system-view
[Sysname] ospfv3
[Sysname-ospfv3-1] import-route ripng 10 type 2 cost 50
# Configure OSPFv3 process 100 to redistribute the routes found by OSPFv3 process
160.
<Sysname> system-view
[Sysname] ospfv3 100
[Sysname-ospfv3-100] import-route ospfv3 160
3.1.21 log-peer-change
Syntax
log-peer-change