New Cisco Switch Commands

Modified on Mon, 10 Nov at 5:36 PM

configure terminal
hostname ciscoswitch1
errdisable recovery cause udld
errdisable recovery cause bpduguard
errdisable recovery cause security-violation
errdisable recovery cause channel-misconfig
errdisable recovery cause pagp-flap
errdisable recovery cause dtp-flap
errdisable recovery cause link-flap
errdisable recovery cause sfp-config-mismatch
errdisable recovery cause gbic-invalid
errdisable recovery cause l2ptguard
errdisable recovery cause psecure-violation
errdisable recovery cause port-mode-failure
errdisable recovery cause dhcp-rate-limit
errdisable recovery cause pppoe-ia-rate-limit
errdisable recovery cause mac-limit
errdisable recovery cause storm-control
errdisable recovery cause inline-power
errdisable recovery cause arp-inspection
errdisable recovery cause link-monitor-failure
errdisable recovery cause oam-remote-failure
errdisable recovery cause loopback
errdisable recovery cause psp
errdisable recovery cause mrp-miscabling
errdisable recovery interval 600
clock timezone EST -5 0
clock summer-time EDT recurring
crypto key generate rsa usage-keys label myKey modulus 2048
ip ssh version 2
username cisco privilege 15 secret newpassword
interface Vlan1
ip address dhcp
no shutdown
ip http server
ip http authentication local
line vty 0 15
 transport input ssh
 login local
ip name-server 8.8.8.8
ip domain lookup
ntp server pool.ntp.org
end
write memory
conf t
crypto key generate rsa usage-keys label myKey modulus 2048
ip ssh version 2
end
wr me

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article