Creating port-channels between Core – Edge … I had this blog post in my drafts section for a week, and then Scott Lowe – bless his cotton socks – beat me to it with a typically well-written post on ostensibly the same topic. So I’ll point you to his post, because it gets the idea across in a coherent fashion. I’ll make an effort, however, to get some more interesting switch config articles about before the Christmas break.
Tag Archives: copy run start
My SAN-OS skills are wack
I was making some port-channels between one of our MDS 9513 director switches and a 9124e edge and managed to add the interfaces to the wrong port-channel. Here’re the basic steps on the 9124e end that I took to rectify the issue. I’ve created a pdf file which, while inconvenient, solves the problems related to both my wordpress skills and the age of the theme I use. That is, a 4 page doc was going to look pretty ugly if I tried to insert it in-line. I apologise in advance for the inconvenience you will no doubt experience.
Cisco MDS 9XXX Basics – Part 3
Once you’ve setup the basic config of your switches, it’s important to backup your configs somewhere not on the switch. There’s nothing worse than not having a backup of your current configs and having to start from scratch. Especially if you’ve just done 20+ zones the hard way. Not that I would know what that feels like.
The first thing to do is create a backup job that copies the running config to the startup config, and then copies the startup config to a tftp host.
conf t
scheduler enable
scheduler job name backup_config
copy running-config startup-config
copy startup-config tftp://tftphost/backup/insertswitchname_cfg_$(TIMESTAMP).txt
end
Once you’ve done that, check your handiwork to make sure you’ve not made any embarassing typos.
show scheduler job name backup_config
Now you probably want to schedule your backup job to run at some kind of frequency.
conf t
scheduler schedule name nightly_6pm
time daily 18:00
job name backup_config
end
Check your schedule is good with this command:
show scheduler schedule
Happy? Good, me too. Because I’ve already backed up my configs. And so should you.
copy running-config startup-config
Oh wait, I created a job but put some garbage in it and didn’t realise until I saved everything. No problem, Cisco likes to use no for when you want to get rid of things. So to delete the job you just created …
conf t
no scheduler job name backup_config
end
As I’ve said before, my knowledge of Cisco SAN-OS and NX-OS commands is rudimentary at best, but I found these ones useful.
Cisco MDS 9XXX Basics – Part 2
Setting up ntp on your shiny, new Cisco MDS 9XXX switch is fairly simple. And important. Time man, it’s really important.
From a terminal session, issue the following commands:
conf t
ntp server 192.168.0.23 prefer
ntp server 192.168.0.45
end
copy running-config startup-config
And that’s it …