05-04-2020 12:35 AM
Solved! Go to Solution.
05-04-2020 01:05 AM
Off-topic here (Additional Communities).
You mentioned no switch model you are speaking of.
Read Configuring Port Security
Generally, most commands have "no *" form that revers effect of the command. E.g. if you used "switchport port-security" to enable port security, use "no switchport port-security" to disable it.
05-04-2020 01:23 AM
05-04-2020 01:52 AM
There's no difference between removing command and cancelling effect of the command.
If you remove the command from configuration (using no * form), it's effect is cancelled.
If you wish to cancel an effect, remove (using no * form) the command that causes it.
Assuming you configured "two MAC limit" by command "switchport port-security maximum 2", the "no switchport port-security maximum 2" cancels the configuration you did previously. We can also say It disables the limit you configured previously.
"clear port-security" can be used to remove MAC addresses learned on secured port, not to disable port security you configured nor to remove limit you configured.
all the All configuration and other options appear
Commands doesn't appear or disappear. You can type any command any time you wish. Are you sure you are speaking about a Cisco switch ? You still didn't mentioned the model ...
05-04-2020 01:05 AM
Off-topic here (Additional Communities).
You mentioned no switch model you are speaking of.
Read Configuring Port Security
Generally, most commands have "no *" form that revers effect of the command. E.g. if you used "switchport port-security" to enable port security, use "no switchport port-security" to disable it.
05-04-2020 01:23 AM
05-04-2020 01:52 AM
There's no difference between removing command and cancelling effect of the command.
If you remove the command from configuration (using no * form), it's effect is cancelled.
If you wish to cancel an effect, remove (using no * form) the command that causes it.
Assuming you configured "two MAC limit" by command "switchport port-security maximum 2", the "no switchport port-security maximum 2" cancels the configuration you did previously. We can also say It disables the limit you configured previously.
"clear port-security" can be used to remove MAC addresses learned on secured port, not to disable port security you configured nor to remove limit you configured.
all the All configuration and other options appear
Commands doesn't appear or disappear. You can type any command any time you wish. Are you sure you are speaking about a Cisco switch ? You still didn't mentioned the model ...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide