Cisco IOS port configuration?

Is there a difference between using the disable option and the 'no' option. Example:

spanning-tree portfast disable

no spanning-tree portfast

Is there a difference between those 2 commands?

2 Answers

Relevance
  • 1 decade ago
    Favourite answer

    Yes there is a difference, however, it is very slight and subtle - the end result is the same, Portfast no longer runs on that port.

    Spanning-tree portfast disable is an EXPLICIT command and will show up in a "show run" or "show start" command.

    No spanning-tree portfast is an IMPLICIT command and will therefore NOT show up in the same output.

    Hope that helps.

  • 1 decade ago

    i am not sure about spanning-tree portfast disable command

    but "no spanning-tree portfast "command you can use if you have use "spanning-tree portfast" already.

Still have questions? Get answers by asking now.