
BigIron RX Series Configuration Guide
1217
53-1002253-01
Configuring OSPFv3
48
The level-1 | level-1-2 | level-2 keywords (for IPv6 IS-IS only) allow you to specify that the Brocade
device redistributes level-1 routes only, level-2 routes only, or both level-1 and level-2 routes.
The metric <
number
> parameter specifies the metric used for the redistributed route. If a value is
not specified for this option, and the value for the default-metric command is set to 0, its default
metric, then routes redistributed from the various routing protocols will have the metric value of the
protocol from which they are redistributed. For information about the default-metric command,
refer to
“Modifying default metric for routes redistributed into OSPF version 3”
on page 1218
The metric-type <
type
> parameter specifies an OSPF metric type for the redistributed route. You
can specify external type 1 or external type 2. If a value is not specified for this option, the Brocade
device uses the value specified by the metric-type command. For information about modifying the
default metric type using the metric-type command, refer to
“Modifying default metric for routes
redistributed into OSPF version 3”
on page 1218
For example, to configure a route map and use it for redistribution of routes into OSPFv3, enter
commands such as the following.
BigIron RX(config)# ipv6 route 2001:1::/32 4823:eoff:343e::23
BigIron RX(config)# ipv6 route 2001:2::/32 4823:eoff:343e::23
BigIron RX(config)# ipv6 route 2001:3::/32 4823:eoff:343e::23 metric 5
BigIron RX(config)# route-map abc permit 1
BigIron RX(config-routemap abc)# match metric 5
BigIron RX(config-routemap abc)# set metric 8
BigIron RX(config-routemap abc)# ipv6 router ospf
BigIron RX(config-ospf6-router)# redistribute static route-map abc
The commands in this example configure some static IPv6 routes and a route map, and use the
route map for redistributing the static IPv6 routes into OSPFv3.
The ipv6 route commands configure the static IPv6 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 redistribute command configures the redistribution of static IPv6 routes into OSPFv3, and uses
route map “abc“ to control the routes that are redistributed. In this example, the route map allows a
static IPv6 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 redistribution table.
Syntax: [no] redistribute bgp | connected | isis | rip | static [route-map <
map-name
>]
The bgp | connected | isis | rip | static keywords specify the route source.
The route-map <
map-name
> parameter specifies the route map name. The following match
parameters are valid for OSPFv3 redistribution:
•
match ip address | next-hop <
acl-number
>
•
match metric <
number
>
•
match tag <
tag-value
>
The following set parameters are valid for OSPF redistribution:
•
set ip next hop <
ipv4-address
>
•
set metric [+ | - ] <
number
> | none
Содержание BigIron RX Series
Страница 100: ...24 BigIron RX Series Configuration Guide 53 1002253 01 Logging on through the Web Management Interface 2 ...
Страница 192: ...116 BigIron RX Series Configuration Guide 53 1002253 01 Configuring authentication method lists 4 ...
Страница 228: ...152 BigIron RX Series Configuration Guide 53 1002253 01 Enabling WAN PHY mode support 6 ...
Страница 312: ...236 BigIron RX Series Configuration Guide 53 1002253 01 Displaying IP information 7 ...
Страница 356: ...280 BigIron RX Series Configuration Guide 53 1002253 01 Resetting LLDP statistics 9 ...
Страница 402: ...326 BigIron RX Series Configuration Guide 53 1002253 01 Transparent firewall mode 11 ...
Страница 432: ...356 BigIron RX Series Configuration Guide 53 1002253 01 SuperSpan 12 ...
Страница 500: ...424 BigIron RX Series Configuration Guide 53 1002253 01 MRP CLI example 14 ...
Страница 580: ...504 BigIron RX Series Configuration Guide 53 1002253 01 Configuring multicast traffic engineering 18 ...
Страница 591: ...BigIron RX Series Configuration Guide 515 53 1002253 01 Displaying traffic reduction 19 ...
Страница 592: ...516 BigIron RX Series Configuration Guide 53 1002253 01 Displaying traffic reduction 19 ...
Страница 598: ...522 BigIron RX Series Configuration Guide 53 1002253 01 Viewing Layer 2 ACLs 20 ...
Страница 656: ...580 BigIron RX Series Configuration Guide 53 1002253 01 Trunk formation 22 ...
Страница 754: ...678 BigIron RX Series Configuration Guide 53 1002253 01 Displaying RIP filters 24 ...
Страница 814: ...738 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPF information 25 ...
Страница 932: ...856 BigIron RX Series Configuration Guide 53 1002253 01 Generalized TTL security mechanism support 26 ...
Страница 980: ...904 BigIron RX Series Configuration Guide 53 1002253 01 Clearing IS IS information 28 ...
Страница 1000: ...924 BigIron RX Series Configuration Guide 53 1002253 01 Using secure copy 30 ...
Страница 1088: ...1012 BigIron RX Series Configuration Guide 53 1002253 01 IP source guard 35 ...
Страница 1108: ...1032 BigIron RX Series Configuration Guide 53 1002253 01 Reading CDP packets 37 ...
Страница 1126: ...1050 BigIron RX Series Configuration Guide 53 1002253 01 Clearing sFlow statistics 39 ...
Страница 1140: ...1064 BigIron RX Series Configuration Guide 53 1002253 01 802 1s Multiple Spanning Tree Protocol 40 ...
Страница 1324: ...1248 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPFv3 information 48 ...
Страница 1363: ...BigIron RX Series Configuration Guide 1287 53 1002253 01 Continuous System Monitor 51 ...
Страница 1364: ...1288 BigIron RX Series Configuration Guide 53 1002253 01 Continuous System Monitor 51 ...
Страница 1404: ...1328 BigIron RX Series Configuration Guide 53 1002253 01 Commands That Require a Reload D ...
Страница 1458: ...1382 BigIron RX Series Configuration Guide 53 1002253 01 VSRP E ...