954
PowerConnect B-Series FCX Configuration Guide
53-1002266-01
Configuring OSPF
29
The commands in this example configure some static IP routes, then configure a route map and
use the route map for redistributing static IP routes into OSPF.
The ip route commands configure the static IP routes. The route-map command begins
configuration of a route map called “abc”. The number indicates the route map entry (called the
“instance”) you are configuring. A route map can contain multiple entries. The software compares
packets to the route map entries in ascending numerical order and stops the comparison once a
match is found.
The match command in the route map matches on routes that have 5 for their metric value (cost).
The set command changes the metric in routes that match the route map to 8.
The redistribution static command enables redistribution of static IP routes into OSPF, and uses
route map “abc“ to control the routes that are redistributed. In this example, the route map allows
a static IP route to be redistributed into OSPF only if the route has a metric of 5, and changes the
metric to 8 before placing the route into the OSPF route table.
Syntax: [no] redistribution bgp | connected | rip | static [route-map
<map-name>
]
The bgp | connected | rip | static parameter specifies the route source.
The route-map
<map-name>
parameter specifies the route map name. The following match
parameters are valid for OSPF redistribution:
•
match ip address | next-hop
<ACL-num>
•
match metric
<num>
•
match tag
<tag-value>
The following set parameters are valid for OSPF redistribution:
•
set ip next hop
<ip-addr>
•
set metric [+ | - ]
<num>
| none
•
set metric-type type-1 | type-2
•
set tag
<tag-value>
NOTE
You must configure the route map before you configure a redistribution filter that uses the route
map.
NOTE
When you use a route map for route redistribution, the software disregards the permit or deny action
of the route map.
PowerConnect(config)#ip route 1.1.0.0 255.255.0.0 207.95.7.30
PowerConnect(config)#ip route 1.2.0.0 255.255.0.0 207.95.7.30
PowerConnect(config)#ip route 1.3.0.0 255.255.0.0 207.95.7.30
PowerConnect(config)#ip route 4.1.0.0 255.255.0.0 207.95.6.30
PowerConnect(config)#ip route 4.2.0.0 255.255.0.0 207.95.6.30
PowerConnect(config)#ip route 4.3.0.0 255.255.0.0 207.95.6.30
PowerConnect(config)#ip route 4.4.0.0 255.255.0.0 207.95.6.30 5
PowerConnect(config)#route-map abc permit 1
PowerConnect(config-routemap abc)#match metric 5
PowerConnect(config-routemap abc)#set metric 8
PowerConnect(config-routemap abc)#router ospf
PowerConnect(config-ospf-router)#redistribution static route-map abc
Содержание PowerConnect B-FCXs
Страница 1: ...53 1002266 01 18 March 2011 PowerConnect B Series FCX Configuration Guide ...
Страница 136: ...94 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Viewing information about software licenses 4 ...
Страница 228: ...186 PowerConnect B Series FCX Configuration Guide 53 1002266 01 PowerConnect B Series FCX hitless stacking 5 ...
Страница 229: ...PowerConnect B Series FCX Configuration Guide 187 53 1002266 01 PowerConnect B Series FCX hitless stacking 5 ...
Страница 230: ...188 PowerConnect B Series FCX Configuration Guide 53 1002266 01 PowerConnect B Series FCX hitless stacking 5 ...
Страница 248: ...206 PowerConnect B Series FCX Configuration Guide 53 1002266 01 IPv6 management commands 7 ...
Страница 346: ...304 PowerConnect B Series FCX Configuration Guide 53 1002266 01 802 1s Multiple Spanning Tree Protocol 8 ...
Страница 374: ...332 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Jumbo frame support 9 ...
Страница 424: ...382 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Virtual Switch Redundancy Protocol VSRP 10 ...
Страница 568: ...526 PowerConnect B Series FCX Configuration Guide 53 1002266 01 CLI examples 14 ...
Страница 588: ...546 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Sample application 15 ...
Страница 674: ...632 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Enabling or disabling layer 2 switching 19 ...
Страница 684: ...642 PowerConnect B Series FCX Configuration Guide 53 1002266 01 VLAN based mirroring 20 ...
Страница 724: ...682 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Reading CDP packets 23 ...
Страница 768: ...726 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Clearing cached LLDP neighbor information 24 ...
Страница 930: ...888 PowerConnect B Series FCX Configuration Guide 53 1002266 01 26 ...
Страница 948: ...906 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Configuring MLD snooping 27 ...
Страница 962: ...920 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Displaying CPU utilization statistics 28 ...
Страница 1022: ...980 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Displaying OSPF information 29 ...
Страница 1142: ...1100 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Clearing diagnostic buffers 30 ...
Страница 1258: ...1216 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Using Secure copy with SSH2 33 ...
Страница 1314: ...1272 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Displaying port security information 35 ...
Страница 1348: ...1306 PowerConnect B Series FCX Configuration Guide 53 1002266 01 Example configurations 36 ...
Страница 1406: ...1364 PowerConnect B Series FCX Configuration Guide 53 1002266 01 IP source guard 39 ...
Страница 1422: ...1380 PowerConnect B Series FCX Configuration Guide 53 1002266 01 SNMP v3 Configuration examples 40 ...