Você está na página 1de 5

ERASING STARTUP

Enable Del vlan.dat Erase startup-config Check vlan deleted show vlan Reload

Disable all ports to begin with


Conf terminal Int range fa0/1 24 Shutdown

configure password for console and vty on all switches


enable conf t hostname whatever you want it to be enable secret class no ip domain-lookup ip default-gateway *.*.*.* what ever the i.p is line console 0 password cisco login line vty 0 15 password cisco login end copy running-config startup-config

Re-enable the active user ports on the switch in access mode


Config terminal Int range fa0/*, fa0/* etc switchport mode access (switchport access is the command for when a client of somesort is connected to the switch port. No shutdown

Configure VTP
conf t vtp mode server vtp domain *** vtp password cisco end conf t vtp mode client vtp domain *** vtp password cisco end

Configure trunking ports and designate the native vlan for the trunks
Conf t Int range fa0/1 5 (or whatever the range is) Switchport mode trunk Switchport trunk native vlan 99 No shutdown End DO THIS ON ALL SWITCHES

On the main switch create vlans


Conf t vlan 10* name whatever exit vlan 20* name whatever end verify vlans created show vlan brief

Configure the management console on each switch.


Enable Conf t Int vlan1* (* what ever the management vlan is) ip address 172.17.10.1 255.255.255.0 ( remember each switch has a diffrnet i.p address for the management console) No shutdown End

Assign switch ports to vlans on the primary switch


conf t int range fa0/6 10 ( or whatever the range may be) switchport access vlan 30 ( or whatever the vlan will be) int range fa0/11 17 switchport access vlan 10 in range fa0/18 24 switchport access vlan 20 end

copy running-config startup-config

Configure the router


erase nvram reload save = no

Basic config on router


enable conf t hostname whatever you want it to be enable secret class no ip domain-lookup ip default-gateway *.*.*.* what ever the i.p is line console 0 password cisco login line vty 0 15 password cisco login end copy running-config startup-config

Enable subinterfaces on the router


Enable Conf t Int fastethernet 0/1 no shutdown

int fastethernet 0/1.1 encapsulation dot 1q 1 ip address 172.17.1.1 255.255.255.0 (whatever i.p is for vlan 1) int fastethernet 0/1.10 encapsulation dot1q 10 ip address 172.17.10.1 255.255.255.0 int fastethernet 0/1.99 encapsulation dot1q 99 native ip address 172.17.99.1 255.255.255.0

show ip interface brief

If there is anything attached to the router configure the lan int on the router
Conf t Int fastethernet 0/0 Ip address 172.17.50.1 255.255.255.0 ( whatever i.p is) Description (whatever it is No shutdown End

Show ip route test pinging between vlans

Show spanning-tree Debug spanning-tree events Show run

Você também pode gostar