Вы находитесь на странице: 1из 3

Eliminar el archivo de información de la base de datos de la VLAN.

Switch#delete flash:vlan.dat
Switch#erase startup-config

1.Config por switch


enable
configure terminal
hostname S3
enable secret class
no ip domain-lookup
line console 0
password cisco
login
line vty 0 15
password cisco
login
end

2.Config por switch vtp


vtp mode server
vtp domain Lab2.com
vtp password cisco
end
vtp mode client
vtp domain Lab2.com
vtp password cisco
end

3.COnfig por switch trunk


interface range fa0/1-4
switchport mode trunk
switchport trunk native vlan 82
no shutdown
S1(config-if-range)#end
4.COnfig switch server vlans
vlan 80
name v80
exit
vlan 81
name V81
exit
vlan 82
name administracion
exit
vlan 30
name guest
exit

5.COnfig por switch interfaz administracion


interface vlan82
ip address 10.1.1.13 255.255.255.0
no shutdown

6.Asignar puertos vlan por switch


interface range fa0/5-10
switchport access vlan 30
interface range fa0/11-17
switchport access vlan 10
interface range fa0/18-24
switchport access vlan 20
end
copy running-config startup-config

COnfig STP
S1#show spanning-tree
S1#show spanning-tree vlan 99 priority?

7.seguridad interfaces
S1# configure terminal
S1(config)#interface fastethernet 0/18
S1(config-if)#switchport port-security
S1(config-if)#switchport mode access
S1(config-if)#switchport port-security
S1(config-if)#switchport port-security maximum 2
S1(config-if)#switchport port-security mac-address sticky
S1(config-if)#switchport port-security violation protect
S1(config-if)#exit
S1(config-if)#switchport port-security maximum 1
S1(config-if)#switchport port-security violation shutdown

Router config
8.Configuracion basica e interfaces
interface fastethernet 0/1
no shutdown
interface fastethernet 0/1.1
encapsulation dot1q 1
ip address 172.17.1.1 255.255.255.0
interface fastethernet 0/1.80
encapsulation dot1q 80
ip address 10.1.80.1 255.255.255.0
interface fastethernet 0/1.81
encapsulation dot1q 81
ip address 10.1.81.1 255.255.255.0
interface fastethernet 0/1.30
encapsulation dot1q 30
ip address 172.17.30.1 255.255.255.0
interface fastethernet 0/1.82
encapsulation dot1q 82 native
ip address 10.1.1.1 255.255.255.0

OSPF

Interface Gigabit Ethernet 0/0 ip address 10.1.1.1 255.255.255.0


Interface Serial 3/0 ip address 10.2.1.1 255.255.255.0
router(config)# router ospf 1
router(config-router)# network 10.1.1.1 0.0.0.255 area 0
router(config-router)# network 10.2.1.1 0.0.0.255 area 0
router ospf 1
redistribute eigrp 1 metric 100 subnets

Eigrp
router eigrp 1
redistribute ospf 100 100000 1 255 1 1500

Вам также может понравиться