Sie sind auf Seite 1von 2

enable

configure terminal

hostname S

no ip domain look up
enable secret class
line console 0
password cisco
login
exit
line vty 0 15
password cisco
login
exit

Para S2 y S3:

interface fa0/6
switchport mode access
no shutdown
interface fa0/11
switchport mode access
no shutdown
interface fa0/18
switchport mode access
no shutdown
exit

S1: vtp mode server


S2: vtp mode client
S3: vtp mode transparent

poner a S1S2S3
vtp domain Lab4
vtp password cisco
end

Enlace troncal:
S1:
interface fa0/1
switchport mode trunk
switchport trunk native vlan 99
no shutdown
interface fa0/2
switchport mode trunk
switchport trunk native vlan 99
no shutdown
end
S2:
interface fa0/1
switchport mode trunk
switchport trunk native vlan 99
no shutdown
end
S3:
interface fa0/2
switchport mode trunk
switchport trunk native vlan 99
no shutdown
end

Para S2 y S3:
interface fa0/6
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
interface fa0/11
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
interface fa0/18
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
end

S1:
vlan 99
name management
exit
vlan 10
name faculty/staff
exit
vlan 20
name students
exit
vlan 30
name guest
exit

S3:
vlan 99
name management
exit
vlan 10
name faculty/staff
exit
vlan 20
name students
exit
vlan 30
name guest
exit

S2 y S3:
interface range fa0/6 - fa0/10
switchport access vlan 30
interface range fa0/11 - fa0/17
switchport access vlan 10
interface range fa0/18 - fa0/24
switchport access vlan 20
end

copy running-config startup-config

Das könnte Ihnen auch gefallen