3Com Switch 8800 Advanced Software V5 Configuration Guide

328 CHAPTER 30: OSPF CONFIGURATION
Configuring OSPF
Inbound Route Filtering
To configure OSPF to filter received routes, use the following commands:
n
Since OSPF is a link state-based internal gateway protocol, routing information is
contained in LSAs. However, OSPF cannot filter LSAs. Using the filter-policy
import command is to filter routes computed by OSPF, and only routes not
filtered are added into the routing table.
Configuring ABR Type3
LSA Filtering
To configure type 3 LSA filtering on an ABR, use the following commands:
Configuring the OSPF
Link Cost of an Interface
To configure the link cost for an interface, use the following commands:
To configure a bandwidth reference value, use the following commands:
To do... Use the command... Remarks
Enter system view system-view -
Enter OSPF view ospf [ process-id | router-id
router-id | vpn-instance
instance-name ]*
Required
Configure to filter received
routes
filter-policy { acl-number |
ip-prefix ip-prefix-name |
gateway ip-prefix-name }
import
Required
Not configured by default
To do... Use the command... Remarks
Enter system view System-view -
Enter OSPF view ospf [ process-id | router-id
router-id | vpn-instance
instance-name ] *
-
Enter area view area area-id -
Configure ABR Type3 LSA
filtering
filter { acl-number | ip-prefix
ip-prefix-name } { import |
export }
Required
Not configured by default
To do... Use the command... Remarks
Enter system view system-view -
Enter interface view interface interface-type
interface-number
-
Configure the cost value of
the interface
ospf cost value Optional
By default, an interface
computes its cost according to
the baud rate
The cost value defaults to 1 for
VLAN interfaces
To do... Use the command... Remarks
Enter system view system-view -
Enter OSPF view ospf [ process-id | router-id
router-id | vpn-instance
instance-name ]*
-