Академический Документы
Профессиональный Документы
Культура Документы
© 2008 Cisco Systems, Inc. All rights reserved. Switching—0-1 © 2008 Cisco Systems, Inc. All rights reserved. Switching—0-2
Catalyst 3560 saves its configurations in two When you erase the startup-config file, the config.text file
separate files: is removed from flash. However, the vlan.dat file
remains.
Switch#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
Config.text [OK]
Erase of nvram: complete
Vlan.dat Switch#
Switch#show flash
Directory of flash:/
2 -rwx 616 Mar 1 1993 00:01:32 +00:00 vlan.dat
4 drwx 192 Mar 1 1993 00:08:17 +00:00 c3550-i5q3l2-mz.121-19.EA1
3 drwx 64 Mar 1 1993 00:00:44 +00:00 crashinfo
85 -rwx 346 Mar 1 1993 01:34:48 +00:00 system_env_vars
90 drwx 192 Mar 1 1993 01:34:48 +00:00 c3550-i5k2l2q3-mz.121-20.EA2
177 -rwx 0 Mar 1 1993 01:34:48 +00:00 env_vars
© 2008 Cisco Systems, Inc. All rights reserved. Switching—0-3 © 2008 Cisco Systems, Inc. All rights reserved. Switching—0-4
To completely re-initialize your 3560 switch and remove all vlan Two configuration modes can be used to configure
configurations, make sure you delete the vlan.dat: VLANs:
© 2008 Cisco Systems, Inc. All rights reserved. Switching—0-5 © 2008 Cisco Systems, Inc. All rights reserved. Switching—0-6
1
Save configurations in VLAN configuration
VLAN database mode
The VLAN database configuration mode is much If you want your VTP and VLAN configuration changes to be
saved, always type “exit” when you exit vlan database
more limited than the Global configuration mode. configuration mode.
© 2008 Cisco Systems, Inc. All rights reserved. Switching—0-7 © 2008 Cisco Systems, Inc. All rights reserved. Switching—0-8
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
Switch(config)#vtp mode ? documentation for configuring VTP/VLAN in config mode.
2
Configure Trunking Verify Trunking
© 2008 Cisco Systems, Inc. All rights reserved. Switching—0-13 © 2008 Cisco Systems, Inc. All rights reserved. Switching—0-14
An 802.1Q configured trunk port can receive both tagged and To assign an IP address to the 3550 for management
untagged frames. The native VLAN is used to forward all purposes:
untagged traffic for the trunk. By default, the native VLAN is
VLAN 1.
© 2008 Cisco Systems, Inc. All rights reserved. Switching—0-15 © 2008 Cisco Systems, Inc. All rights reserved. Switching—0-16
Switch#show ip redirects
Default gateway is 10.1.1.1