Options

Redistribute static... in ospf

chapapachapapa Member Posts: 40 ■■□□□□□□□□
Hi, I have external routes to my ASBR router these are
172.33.0.0/24
172.33.1.0/24
172.33.2.0/24
172.33.3.0/24

My command line is this
router ospf 1
redistribute static metric-type 2 metric 200
% Only classful networks will be redistributed

what is the problem with that line? I can't redistribute my external routes to the internal network?

Comments

  • Options
    lrblrb Member Posts: 526
    Add the subnets keyword on the end of the redistribute command.

    Example output after this command is run:

    R1#show ip ospf database

    OSPF Router with ID (1.1.1.1) (Process ID 1)

    <snip>

    Type-5 AS External Link States

    Link ID ADV Router Age Seq# Checksum Tag
    172.33.0.0 1.1.1.1 26 0x80000001 0x007757 0
    172.33.1.0 1.1.1.1 26 0x80000001 0x006C61 0
    172.33.2.0 1.1.1.1 26 0x80000001 0x00616B 0
    172.33.3.0 1.1.1.1 26 0x80000001 0x005675 0
  • Options
    chapapachapapa Member Posts: 40 ■■□□□□□□□□
Sign In or Register to comment.