beautypg.com

Redistribute (ospf) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 649

background image

Network OS Command Reference

611

53-1003115-01

redistribute (OSPF)

2

redistribute (OSPF)

Configures the device to redistribute OSPF routes.

Synopsis

redistribute ospf {match [external1 | external2 | internal]} [metric num] | route-map string

no redistribute ospf {match [external1 | external2 | internal]} [metric num] | route-map string

Operands

match

Selects the type of route to be redistributed.

external1

Redistributes OSPF external type 1 routes.

external2

Redistributes OSPF external type 2 routes.

internal

Redistributes OSPF internal routes.

num

A value that assigns the metric.The range is from 0 through 4294967297.

string

Specifies a route map to be consulted before an OSPF route is added to the
BGP4 routing table.

Defaults

Internal OSPF routes are distributed. No value is assigned for num.

Command Modes

BGP address-family IPv4 unicast configuration mode

Description

Use this command to redistribute OSPF external type 1, external type 2, or internal routes.

Usage Guidelines

Use the redistribute ospf command to redistribute all OSPF routes. Use the no form of the
command to restore the defaults.

Examples

switch(config)# rbridge-id 10

switch(config-rbridge-id-10)# router bgp

switch(config-bgp-router)# address-family ipv4 unicast

switch(config-bgp-ipv4u)# redistribute ospf match external1 metric 200

See Also

default-metric (OSPF)