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

enable config t hostname S3 enable secret cisco line console 0 password cisco login line vty 0 4 password cisco

enable secret class no ip domain-lookup vlan 99 exit inter vlan 99 ip add 172.17.99.12 255.255.255.0 no shutdown end inter range fa0/1 - 24 switchport access vlan 99 exit ip default-gateway 172.17.99.1 exit show interface vlan 99 config t inter fa0/18 speed 100 duplex full end show inter fa0/18 copy run start show start show mac-address-table show mac-address-table ? show mac-address-table dynamic clear mac-address-table dynamic show mac-address-table show mac-address-table config t mac-address-table static 00d0.9702.1e03 vlan 99 inter fa0/3 exit show mac-address-table config t no mac-address-table static 6cf0.4950.fcab vlan 99 inter fa0/18 exit show mac-address-table config t inter fa0/3

switchport switchport switchport switchport switchport switchport switchport end

port-security port-security mode access port-security port-security port-security port-security

maximum 2 mac-address sticky violation protect

show port-security show run config t inter fa0/6 switchport port-security maximum 1 switchport port-security violation shutdown end show port-security show run show inter fa0/18 config t inter fa0/18 no shutdown exit // configurar vlan config t vlan 99 name management exit vlan 10 name engineering exit vlan 20 name sales exit vlan 30 name administration exit //verificar la config correcta d las vlan show vlan brief inter fa0/6 switchport mode access switchport acces vlan 30 no shutdown inter fa 0/11 switchport mode access switchport acces vlan 10 no shutdown inter fa 0/18 switchport mode access switchport acces vlan 20 no shutdown end copy running-config startup-config

//determina k puertos se agregaron(10 y Faculty/Staff son ejempolos) show vlan id 10 show vlan name Faculty/Staff //asigna la IP de una vlan administrativa config t inter vlan 99 ip add 172.17.99.13 255.255.255.0 no shutdown exit //configura la vlan troncal y nativa config t inter fa0/3 switchport mode trunk switchport trunk native vlan 99 inter fa0/3 switchport mode trunk switchport trunk native vlan 99 // inter fa0/6 switchport port-security switchport port-security switchport port-security inter fa0/11 no shutdown switchport port-security switchport port-security switchport port-security no shutdown inter fa0/18 switchport port-security switchport port-security switchport port-security no shutdown exit

maximum 2 mac-address sticky

maximum 2 mac-address sticky

maximum 2 mac-address sticky

//verifica los enlaces troncales show inter trunk //ping ping 172.17.99.13

show spanning-tree C1(config)#spanning-tree vlan 1 priority 4096 C1(config)#spanning-tree vlan 1 priority 4096 sde el modo Realtime, configure D1, D2, D3 y D4 con una prioridad de 12288. D1(config)#spanning-tree D2(config)#spanning-tree D3(config)#spanning-tree D4(config)#spanning-tree vlan vlan vlan vlan 1 1 1 1 priority priority priority priority 12288 12288 12288 12288

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