[j-nsp] ipv6 routing

Ramesh Karki rameshkarki at gmail.com
Mon Apr 5 03:31:46 EDT 2010


Hi Nilesh,

Herewith, I have attached the output file. please go through the file.

thank you,
Ramesh

On Mon, Apr 5, 2010 at 12:23 PM, Nilesh Khambal <nkhambal at juniper.net>wrote:

> Ramesh,
>
> Do you see cisco neighbor in "show ipv6 neighbors"?
>
> Thanks,
> Nilesh
>
> On 4/4/10 11:32 PM, "Ramesh Karki" <rameshkarki at gmail.com> wrote:
>
> > Hi Antonio,
> >
> > yes, interface ge-0/0/0 is only configure for ospf3 and interface
> fe-0/1/0
> > is configued for dual-stack.
> >
> > Here, I have listed the required configuation as you have asked.
> >
> > scenario
> >  Cisco-rtr ------------------  ge-0/0/0 (M10i) fe-0/1/0 -----------------
> > Cisco-rtr
> >                      ospf3                               dual-stack
> >             ospf2 and ospf3
> >
> > M10i config
> >
> > show configuration protocols ospf
> > preference 110;
> > area 0.0.0.10 {
> >     interface lo0.0 {
> >         passive;
> >     }
> >     interface fe-0/1/0.0;
> >     interface fxp0.0 {
> >         disable;
> >     }
> >     interface fe-0/1/1.0 {
> >         passive;
> >     }
> >     interface fe-0/1/2.0 {
> >         passive;
> >     }
> >     interface fe-0/3/0.0 {
> >         passive;
> >     }
> > }
> >
> >
> > show configuration protocols ospf3
> > preference 110;
> > area 0.0.0.10 {
> >     interface ge-0/0/0.0;
> >     interface lo0.0 {
> >         passive;
> >     }
> >     interface fe-0/3/1.0 {
> >         passive;
> >     }
> >     interface fe-0/1/0.0;
> >
> >
> >
> > show ospf interface
> > Interface           State   Area            DR ID           BDR ID
> >  Nbrs
> > fe-0/1/0.0          BDR     0.0.0.10          x.x.192.4        x.x.192.1
> >   1
> > fe-0/1/1.0          DRother 0.0.0.10        0.0.0.0         0.0.0.0
> >    0
> > fe-0/1/2.0          DRother 0.0.0.10        0.0.0.0         0.0.0.0
> >    0
> > fe-0/3/0.0          DRother 0.0.0.10        0.0.0.0         0.0.0.0
> >    0
> > lo0.0               DRother 0.0.0.10        0.0.0.0         0.0.0.0
> >    0
> >
> >
> >
> >
> > show ospf3 interface
> > OSPF instance is not running
> >
> >
> > The neighbor cisco devices, one connected to m10i fe-0/1/0 and another
> cisco
> > device connected to M10i ge-0/0/0
> >
> > cisco config output connected to M10i fe-0/1/0
> >
> > #sh run | be ^ipv6 router ospf
> > ipv6 router ospf 1
> >  router-id x.x.192.4
> >  log-adjacency-changes
> >  passive-interface default
> >  no passive-interface FastEthernet0/0
> >
> >
> > #sh run int fa0/0
> > Building configuration...
> >
> > Current configuration : 284 bytes
> > !
> > interface FastEthernet0/0
> >  description ***  ***
> >  ip address x.x.193.4 255.255.255.240
> >  no keepalive
> >  duplex full
> >  ipv6 address abcd:3800:2:1::2/126
> >  ipv6 enable
> >  ipv6 ospf 1 area 10
> >  no cdp enable
> >  no clns route-cache
> > end
> >
> > #sh ipv6 ospf int
> > FastEthernet0/0 is up, line protocol is up
> >   Link Local Address FE80::20C:31FF:FE95:A400, Interface ID 3
> >   Area 10, Process ID 1, Instance ID 0, Router ID x.x.192.4
> >   Network Type BROADCAST, Cost: 1
> >   Transmit Delay is 1 sec, State DR, Priority 1
> >   Designated Router (ID) x.x.192.4, local address
> FE80::20C:31FF:FE95:A400
> >   No backup designated router on this network
> >   Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
> >     Hello due in 00:00:00
> >   Index 1/1/2, flood queue length 0
> >   Next 0x0(0)/0x0(0)/0x0(0)
> >   Last flood scan length is 0, maximum is 0
> >   Last flood scan time is 0 msec, maximum is 0 msec
> >   Neighbor Count is 0, Adjacent neighbor count is 0
> >   Suppress hello for 0 neighbor(s)
> > Loopback6 is up, line protocol is up
> >   Link Local Address FE80::20C:31FF:FE95:A400, Interface ID 15
> >   Area 10, Process ID 1, Instance ID 0, Router ID x.x.192.4
> >   Network Type LOOPBACK, Cost: 1
> >   Loopback interface is treated as a stub Host
> >
> >
> > cisco config output connected to M10i ge-0/0/0
> >
> > #sh run int fa0/0
> > Building configuration...
> >
> > Current configuration : 258 bytes
> > !
> > interface FastEthernet0/0
> >  description ***  ***
> >  ip address x.x.193.72 255.255.255.192
> >  ip route-cache flow
> >  duplex auto
> >  speed auto
> >  ipv6 address abcd:3800:1:1::2/64
> >  ipv6 enable
> >  ipv6 ospf 1 area 10
> >  no cdp enable
> > end
> >
> >
> > #sh run | be ^ipv6 router ospf
> > ipv6 router ospf 1
> >  router-id x.x.192.2
> >  log-adjacency-changes
> >  passive-interface default
> >  no passive-interface FastEthernet0/0
> >
> >
> >
> > #sh ipv6 int fa0/0
> > FastEthernet0/0 is up, line protocol is up
> >   IPv6 is enabled, link-local address is FE80::218:73FF:FE46:1232
> >   Description: ***  ***
> >   Global unicast address(es):
> >     abcd:3800:1:1::2, subnet is abcd:3800:1:1::/64
> >   Joined group address(es):
> >     FF02::1
> >     FF02::2
> >     FF02::5
> >     FF02::6
> >     FF02::1:FF00:2
> >     FF02::1:FF46:1232
> >   MTU is 1500 bytes
> >   ICMP error messages limited to one every 100 milliseconds
> >   ICMP redirects are enabled
> >   ND DAD is enabled, number of DAD attempts: 1
> >   ND reachable time is 30000 milliseconds
> >   ND advertised reachable time is 0 milliseconds
> >   ND advertised retransmit interval is 0 milliseconds
> >   ND router advertisements are sent every 200 seconds
> >   ND router advertisements live for 1800 seconds
> >   Hosts use stateless autoconfig for addresses.
> >
> >
> > Have a query that is, why even the static route didn't worked on the box?
> >
> > Thank you,
> > Ramesh
> >
> >
> > On Sun, Apr 4, 2010 at 6:56 PM, Antonio Querubin <tony at lava.net> wrote:
> >
> >> On Sun, 4 Apr 2010, Ramesh Karki wrote:
> >>
> >>  As I have already mentioned, the same interface fe-0/1/0 has been
> >>> configured
> >>> to run both ospf and ospf3 and there is no any issue on ospf v4 from
> the
> >>> beginning.
> >>>
> >>>  show ospf interface fe-0/1/0.0
> >>>>
> >>> Interface           State   Area            DR ID           BDR ID
> >>> Nbrs
> >>> fe-0/1/0.0          BDR     0.0.0.10         x.x.192.4    x.x.192.1
> >>> 1
> >>>
> >>> but the same interface configured for ospf3 outcome is unexpected.
> >>>
> >>>  show ospf3 interface fe-0/1/0.0
> >>>>
> >>>  OSPF instance is not running
> >>>
> >>
> >> Reviewing what you've posted so far I only see a partial ospf3 config
> for
> >> ge-0/0/0.0
> >>
> >> Could you please post the complete output of:
> >>
> >> show configuration protocols ospf
> >> show configuration protocols ospf3
> >> show ospf interface
> >> show ospf3 interface
> >>
> >> Then for your dual-stack interfaces which should be running ospf and
> ospf3
> >> do:
> >>
> >> show configuration interfaces
> >>
> >> On your ciscos which have a working ospf3 config do
> >>
> >> show running-config | begin ipv6 router ospf
> >> show ipv6 ospf interface
> >>
> >> show running-config interface <each dual-stack interface that faces a
> >> juniper>
> >>
> >>
> >> Antonio Querubin
> >> 808-545-5282 x3003
> >> e-mail/xmpp:  tony at lava.net
> >>
> > _______________________________________________
> > juniper-nsp mailing list juniper-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/juniper-nsp
>
>
-------------- next part --------------

1, turn on ospf3 traceoptions with flag all details and Deactivate and activate ospf3 configuration and capture output of "show log log-ospf3".

-show log log-ospf3
error: could not resolve file: log-ospf3


-run show configuration protocols ospf3
traceoptions {
    file log-ospf3 size 5m;
    flag all;
}
preference 110;
area 0.0.0.10 {
    interface ge-0/0/0.0;
    interface lo0.0 {
        passive;
    }
    interface fe-0/3/1.0 {
        passive;
    }
    interface fe-0/1/0.0;
}






2,
-show ospf3 interface extensive
-show ospf3 neighbor details
  "OSPF instance is not running"

3,
-show interfaces fe-0/1/0 extensive

Physical interface: fe-0/1/0, Enabled, Physical link is Up
  Interface index: 129, SNMP ifIndex: 123, Generation: 152
  Description: Connected to Beetle for iBGP peering
  Link-level type: Ethernet, MTU: 1514, Link-mode: Full-duplex, Speed: 100mbps, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
  Flow control: Enabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  CoS queues     : 4 supported, 4 maximum usable queues
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: 00:17:cb:77:00:1f, Hardware address: 00:17:cb:77:00:1f
  Last flapped   : 2010-03-15 11:23:26 NPT (3w0d 01:22 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :          15178288924                37296 bps
   Output bytes  :           8070399467               445688 bps
   Input  packets:             36784001                   47 pps
   Output packets:             22469942                   58 pps
   IPv6 transit statistics:
    Input  bytes  :                   0
    Output bytes  :                   0
    Input  packets:                   0
    Output packets:                   0
  Input errors:
    Errors: 35391, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 181893, L3 incompletes: 35391, L2 channel errors: 0, L2 mismatch timeouts: 0,
    FIFO errors: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 1, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0, FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0
  Egress queues: 4 supported, 4 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0 best-effort             22217431             22217431                    0
    1 expedited-fo                   0                    0                    0
    2 assured-forw                   0                    0                    0
    3 network-cont              252510               252510                    0
  Active alarms  : None
  Active defects : None
  MAC statistics:                      Receive         Transmit
    Total octets                   15870756710       8478382315
    Total packets                     37001282         22469939
    Unicast packets                   36778074         21930733
    Broadcast packets                        0           328787
    Multicast packets                   223208           210418
    CRC/Align errors                         0                0
    FIFO errors                              0                0
    MAC control frames                       0                0
    MAC pause frames                         0                0
    Oversized frames                         0
    Jabber frames                            0
    Fragment frames                          0
    VLAN tagged frames                       0
    Code violations                          0
  Filter statistics:
    Input packet count                37001283
    Input packet rejects                     0
    Input DA rejects                    217283
    Input SA rejects                         0
    Output packet count                                22469939
    Output packet pad count                                   0
    Output packet error count                                 0
    CAM destination filters: 7, CAM source filters: 0
  Autonegotiation information:
    Negotiation status: Complete
    Link partner:
        Link mode: Full-duplex, Flow control: None, Remote fault: OK
  Packet Forwarding Engine configuration:
    Destination slot: 0
    Direction : Output
    CoS transmit queue               Bandwidth               Buffer Priority   Limit
                              %            bps     %           usec
    0 best-effort            95       95000000    95              0      low    none
    3 network-control         5        5000000     5              0      low    none

  Logical interface fe-0/1/0.0 (Index 69) (SNMP ifIndex 127) (Generation 157)
    Flags: SNMP-Traps Encapsulation: ENET2
    Traffic statistics:
     Input  bytes  :          15178288924
     Output bytes  :           8070399467
     Input  packets:             36784001
     Output packets:             22469942
     IPv6 transit statistics:
      Input  bytes  :                   0
      Output bytes  :                   0
      Input  packets:                   0
      Output packets:                   0
    Local statistics:
     Input  bytes  :             21964426
     Output bytes  :             39656497
     Input  packets:               323818
     Output packets:               671972
    Transit statistics:
     Input  bytes  :          15156324498                37296 bps
     Output bytes  :           8030742970               445688 bps
     Input  packets:             36460183                   47 pps
     Output packets:             21797970                   58 pps
     IPv6 transit statistics:
      Input  bytes  :                   0
      Output bytes  :                   0
      Input  packets:                   0
      Output packets:                   0
    Protocol inet, MTU: 1500, Generation: 166, Route table: 0
      Flags: None
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: x.x.193.0/28, Local: x.x.193.1, Broadcast: x.x.193.15, Generation: 197
    Protocol inet6, MTU: 1500, Generation: 179, Route table: 0
      Flags: None
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: abcd:3800:2:1::/126, Local: abcd:3800:2:1::1, Broadcast: Unspecified, Generation: 231
      Addresses, Flags: Is-Preferred
        Destination: fe80::/64, Local: fe80::217:cbff:fe77:1f, Broadcast: Unspecified, Generation: 229


4,
-show ipv6 neighbors
IPv6 Address                 Linklayer Address  State       Exp Rtr Interface
abcd:3800:1:1::2             00:18:73:46:12:32  stale       578 yes ge-0/0/0.0
abcd:3800:2:1::2             00:0c:31:95:a4:00  stale       925 yes fe-0/1/0.0
fe80::202:17ff:fed8:4c00     00:02:17:d8:4c:00  stale       442 yes ge-0/0/0.0
fe80::20c:31ff:fe95:a400     00:0c:31:95:a4:00  stale       57  yes fe-0/1/0.0
fe80::218:73ff:fe46:1232     00:18:73:46:12:32  stale       746 yes ge-0/0/0.0


More information about the juniper-nsp mailing list