3com S7906E Guide De Référence

Page de 2327
 
1-25 
Examples 
# Filter received routes using the IPv6 prefix list abc.  
<Sysname> system-view 
[Sysname] ip ipv6-prefix abc permit 2002:1:: 64 
[Sysname] ospfv3 1 
[Sysname-ospfv3-1] filter-policy ipv6-prefix abc import 
import-route (OSPFv3 view) 
Syntax 
import-route isisv6 process-id | ospfv3 process-id | ripng process-id | bgp4+ allow-ibgp ] | direct 
| static } [ cost value type type | route-policy route-policy-name ] * 
undo import-route { isisv6 process-id ospfv3 process-id | ripng process-id | bgp4+ direct | static 
import-route  protocol  [  process-id  |  allow-ibgp ] [ cost  cost  |  type  type | route-policy 
route-policy-name ] * 
undo import-route protocol process-id 
View 
OSPFv3 view 
Default Level 
2: System level 
Parameters 
protocol: Redistributes routes from a specified routing protocol, which can be bgp4+directisisv6
ospf v3ripng, or static.  
process-id: Process ID of the routing protocol, in the range 1 to 65536. It defaults to 1. This argument 
takes effect only when the protocol is isisv6ospfv3, or ripng 
allow-ibgp: Allows redistributing iBGP routes. This keyword takes effect only the protocol is bgp4+.  
cost cost: Specifies a 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 1 to 19 characters. 
 
 
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.