Author Topic: Disable and Enable interface  (Read 72248 times)

chenoi

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Disable and Enable interface
« on: May 28, 2008, 04:20:17 am »
Hai...iam newbie in juniper, i know how to disable interface but unfortunately couldn't find enable command to enable back the interface...

one more thing..which is the best practice deactivate or disable?

TQ in advance  :-)

kshymkiw

  • Full Member
  • ***
  • Posts: 134
  • Karma: +0/-0
    • View Profile
Re: Disable and Enable interface
« Reply #1 on: May 28, 2008, 05:41:03 am »
To disable:

set interfaces <interface> disable

To enable:

delete interface <interface> disable

chenoi

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Disable and Enable interface
« Reply #2 on: May 28, 2008, 08:23:31 pm »
thanks .. does the 'delete' command will delete the interface that i have setting before or it will only delete the disable function. what i mean .. do i need to configure or set back the interface from first step?

TQ

kshymkiw

  • Full Member
  • ***
  • Posts: 134
  • Karma: +0/-0
    • View Profile
Re: Disable and Enable interface
« Reply #3 on: May 29, 2008, 05:48:35 am »
It will only delete the function you tell it to delete.  So as long as you specify the "disable" function it will delete only that function.  If you don't specify delete, it will delete the whole interface config.

chenoi

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: Disable and Enable interface
« Reply #4 on: May 29, 2008, 07:31:00 am »
thanks...appreciated ur help

kshymkiw

  • Full Member
  • ***
  • Posts: 134
  • Karma: +0/-0
    • View Profile
Re: Disable and Enable interface
« Reply #5 on: May 29, 2008, 07:35:48 am »
Sure thing.