3Com Switch 8800 Advanced Software V5 Configuration Guide

252 CHAPTER 25: ROUTING POLICY CONFIGURATION
Routing Policy
Configuration
Examples
Applying Routing Policy
When Redistributing
IPv4 Routes
Network Requirements
Switch B exchanges routing information with Switch A via OSPF, with Switch C
via IS-IS.
On Switch B, configure route redistribution from IS-IS to OSPF and apply a
routing policy to set attributes of redistributed routes, setting the cost of route
172.17.1.0/24 to 100, tag of route 172.17.2.0/24 to 20.
Network diagram
Figure 70 Network diagram for routing policy application to route redistribution
Configuration procedure
1 Specify IP addresses for interfaces (omitted).
2 Configure IS-IS
# Configure Switch C.
<SwitchC> system-view
[SwitchC] isis
[SwitchC-isis-1] is-level level-2
[SwitchC-isis-1] network-entity 10.0000.0000.0001.00
[SwitchC-isis-1] quit
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] isis enable
[SwitchC-Vlan-interface200] quit
[SwitchC] interface vlan-interface 201
[SwitchC-Vlan-interface201] isis enable
[SwitchC-Vlan-interface201] quit
Clear IPv4 prefix list statistics reset ip ip-prefix [ ip-prefix-name ] Available in user view
Clear IPv6 prefix statistics reset ip ipv6-prefix [
ipv6-prefix-name ]
To do... Use the command... Remarks
Vlan-int100
192.168.1 .1/24
Vlan-int100
192.168.1.2/24
Vlan-int200
192.168.2.2/24
Vlan-int200
192.168.2.1/24
Vlan-int201
172.17.1.1/24
Vlan-int202
172.17.2 .1/24
Vlan-int203
172.17.3.1/24
Switch A
Switch B
Switch C
OSPF
IS-IS