cisco
CISCO – Show command from global configuration
Do you know that you can do all show command from cisco IOS global configuration mode (or for example from interface configuration mode) without exit from it?
Try with the “do” command before the command that you want execute (see below):
router.test(config-if)#
router.test(config-if)#do show run interface vlan 4
Building configuration…
!
interface Vlan4
description ‘Private network” ip address 192.168.1.2 255.255.255.0
ip flow ingress
standby 4 ip 192.168.1.1
standby 4 priority 110
standby 4 preempt
end
router.test(config-if)#
Networksoul Team
CISCO – Connecting a New Switch to the Network
When connecting a new switch to your network you can accidentally change your current VLAN database if the new switch has a higher VLAN Trunking Protocol (VTP) revision number. To avoid this, you must clear the VTP revision number on the new switch. The easiest way is to delete the vlan database in flash memory e reload the switch. This sets the VTP revision number to 0 and you can connect the switch to the network without any problem.
Example:
cisco.switch#show vtp status
VTP Version : 2
Configuration Revision : 17
Maximum VLANs supported locally : 254
Number of existing VLANs : 10
VTP Operating Mode : Server
VTP Domain Name : doamin.com
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0×01 0x1F 0×11 0x2B 0xF4 0×36 0x3E 0×41
Configuration last modified by 10.x.y.z at 5-4-07 08:39:05
cisco.switch#
cisco.switch#dir
Directory of flash:/
17 -rwx 109 Dec 04 2002 13:28:36 info.ver
3 -rwx 94680 Jul 18 2000 03:47:40 c3500XL-diag-mz-120.5.2-XU
4 drwx 704 Dec 04 2002 13:28:36 html
6 -rwx 109 Dec 04 2002 13:26:23 info
112 -rwx 1839 Apr 06 1993 09:14:55 config,text
20 -rwx 6091 Oct 23 2008 18:23:56 config.text
19 -rwx 312 Mar 01 1993 01:02:10 env_vars
7 -rwx 1799001 Dec 04 2002 13:27:30 c3500xl-c3h2s-mz.120-5.WC5a.bin
18 -rwx 876 May 04 2007 10:39:05 vlan.dat
3612672 bytes total (287232 bytes free)
cisco.switch#delete vlan.dat
Delete filename [vlan.dat]?
Delete flash:vlan.dat? [confirm]
cisco.switch#reload
Job finished!
Categories
- Arduino (2)
- AskoziaPBX (6)
- cisco (1)
- Debian Lenny (6)
- general (1)
- Home server (6)
- Linux (6)
- m0n0wall (1)
- switching (1)
- voice (1)
- Voyage Linux (6)
