H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples

Routing Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 1 Routing Overview
1-14
X. Configuring OSPF to Redistribute Routes
Table 1-30 Configure OSPF to redistribute routes
Operation Command Remarks
Enter system view
system-view
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
Configure OSPF to
redistribute routes from
another protocol
import-route protocol
[ process-id | allow-ibgp ]
[ cost value | type value |
tag value | route-policy
route-policy-name ]*
Required
By default, OSPF does
not import the routing
information of other
protocols.
Configure OSPF to filter
outgoing routes
filter-policy { acl-number
| ip-prefix
ip-prefix-name } export
[ protocol ]
Optional
By default, OSPF does
not filter advertised
routes.
Enable OSPF to import
the default route
default-route-advertise
[ always | cost value |
type type-value |
route-policy
route-policy-name ]*
Optional
By default, OSPF does
not import the default
route.
Configure the default
parameters for
redistributed routes,
including cost, interval,
limit, .tag, and type
default { cost value |
interval seconds | limit
routes | tag tag | type
type } *
Optional
These parameters
respectively default to:
z Cost: 1
z Interval: 1 (second)
z Limit: 1000
z Tag: 1
z Type: 2
XI. Configuring OSPF Timers
Table 1-31 Configure OSPF timers
Operation Command Remarks
Enter system view
system-view
Enter interface view
interface interface-type
interface-number