JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
to default values, please use the no redistribute  command with 
corresponding parameters. 
Syntax 
redistribute  {  connected  |
 
static
  |
  rip | ospf
  process-id
  }  [  metric 
cost 
] 
[ metric-type 
type 
] [ tag 
tag 
]   
no redistribute
 
{
 
connected | static
 |
 rip | ospf
 process-id
 }  [  metric 
cost 
] 
[ metric-type 
type 
] [ tag 
tag 
]     
Parameter 
connected —— Specify the external route type as connected. 
static —— Specify the external route type as static. 
rip —— Specify the external route type as RIP. 
ospf
 process-id 
—— The ospf routing process ID, ranging from 1 to 65535。 
cost 
——  The cost of the external routes, ranging from 1 to 16777214. Its 
default value is defined in the command default-metric. 
type 
—— The type of the external routes, either 1 or 2. The default value is 2. 
tag  —— 
The identifier of the summary route, which can be used by the 
routing strategy to control the advertisement of the routes. It ranges from 0 
to 4294967295 and the default value is 0.
 
Command Mode 
Router Configuration Mode 
Example 
Redistribute the RIP routes from the external and advertise them as type 1 
external routes in the OSPF domain. 
T3700G-52TQ(config)# router ospf 1 
T3700G-52TQ(config-router)# redistribute rip metric-type 1 
46.6  default-metric 
Description 
The  default-metric  command is used to configure the default cost of  the 
redistributing external route. To restore to the default value, please use the 
no default-metric command. 
402