RE: bring ethernet interface to up/up

From: Aaron <aaron1_at_gvtc.com>
Date: Tue, 20 Mar 2012 22:20:46 -0500

Sorry about the nasty line formatting, hopefully this is better

Aaron

----------------------------------------------

Does that always work? I think it worked in old school platforms...or maybe
on routed interfaces...not sure about L2 switched interfaces though...

In IOS XR I like to use "loopback internal"

Aaron

RP/0/RSP0/CPU0:9k(config-if)#do sh ip ro 1.1.1.1

% Network not in table

RP/0/RSP0/CPU0:9k(config-if)#do show ip int br GigabitEthernet0/0/0/2

Interface IP-Address Status
Protocol
GigabitEthernet0/0/0/2 1.1.1.1 Down Down

RP/0/RSP0/CPU0:9k(config-if)#loopback internal

RP/0/RSP0/CPU0:9k(config-if)#commi

RP/0/RSP0/CPU0:9k(config-if)#do show ip int br GigabitEthernet0/0/0/2

Interface IP-Address Status
Protocol
GigabitEthernet0/0/0/2 1.1.1.1 Up Up

RP/0/RSP0/CPU0:9k(config-if)#do sh ip ro 1.1.1.1

Routing entry for 1.1.1.1/32
  Known via "local", distance 0, metric 0 (connected)
  Installed Mar 21 03:12:35.791 for 00:00:11
  Routing Descriptor Blocks
    directly connected, via GigabitEthernet0/0/0/2
      Route metric is 0
  No advertising protos.
RP/0/RSP0/CPU0:9k(config-if)#
RP/0/RSP0/CPU0:9k(config-if)#no loopback internal

RP/0/RSP0/CPU0:9k(config-if)#commi

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Carlos G Mendioroz
Sent: Tuesday, March 20, 2012 11:14 AM
To: amin
Cc: ccielab_at_groupstudy.com
Subject: Re: bring ethernet interface to up/up

no keepalive ?

amin @ 20/03/2012 12:49 -0300 dixit:
> Hi Experts,
>
> Can I bring interface status an Ethernet up , up , even without a
> cable connected to it?
>
> Regards,
>
> Amin
>
>
> Blogs and organic groups at http://www.ccie.net
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>

--
Carlos G Mendioroz  <tron_at_huapi.ba.ar>  LW7 EQI  Argentina
Blogs and organic groups at http://www.ccie.net
Received on Tue Mar 20 2012 - 22:20:46 ART

This archive was generated by hypermail 2.2.0 : Sun Apr 01 2012 - 07:56:52 ART