Beruflich Dokumente
Kultur Dokumente
Switch(config)#hostname ALSwitch ALSwitch(config)#enable password class ALSwitch(config)#enable secret class ALSwitch(config)#line console 0 ALSwitch(config-line)#login % Login disabled on line 0, until 'password' is set ALSwitch(config-line)#password cisco ALSwitch(config-line)#line vty 04 ALSwitch(config-line)#password cisco ALSwitch(config-line)#exit ALSwitch(config)#interface vlan2 ALSwitch(config-if)#ip address 192.168.1.2 255.255.255.0 ALSwitch(config-if)#no shutdown ALSwitch(config-if)#exit ALSwitch(config)#interface fastethernet 0/1 ALSwitch(config-if)#switchport access vlan 2 ALSwitch(config-if)#exit ALSwitch(config)#interface fastethernet 0/4 ALSwitch(config-if)#switchport access vlan 2 ALSwitch(config-if)#exit ALSwitch(config)#interface fastethernet 0/1 ALSwitch(config-if)#switchport access vlan 2 ALSwitch(config-if)#exit
ALSwitch(config)#exit %SYS-5-CONFIG_I: Configured from console by console ALSwitch#copy run star Destination filename [startup-config]? Building configuration... [OK] ALSwitch# ALSwitch#
ALSwitch#config t Enter configuration commands, one per line. End with CNTL/Z. ALSwitch(config)#interface fastethernet 0/1 ALSwitch(config-if)#switchport port-security mac-address 000C.85C2.1BBB Port-security not enabled on interface FastEthernet0/1. ALSwitch(config-if)#switchport mode access ALSwitch(config-if)#switchport port-security ALSwitch(config-if)#switchport port-security mac-address sticky ALSwitch(config-if)#exit ALSwitch(config)#interface fastethernet 0/4 ALSwitch(config-if)#switchport port-security mac-address 0040.0B99.D25A Port-security not enabled on interface FastEthernet0/4. ALSwitch(config-if)#switchport mode access ALSwitch(config-if)#switchport port-security
ALSwitch(config-if)#switchport port-security mac-address sticky ALSwitch(config-if)#exit ALSwitch(config)#exit %SYS-5-CONFIG_I: Configured from console by console ALSwitch#copy run star
PASO 4.PC-CHIVA PC>ipconfig /all Physical Address................: 0001.C9EE.A066 IP Address......................: 192.168.1.3 Subnet Mask.....................: 255.255.255.0 Default Gateway.................: 192.168.1.1 DNS Servers.....................: 0.0.0.0 PC-ELA PC>ipconfig /all Physical Address................: 00D0.D363.C765 IP Address......................: 192.168.1.4 Subnet Mask.....................: 255.255.255.0 Default Gateway.................: 192.168.1.1 DNS Servers.....................: 0.0.0.0
Password:
Type
Ports
---- -----------
-------- -----
Fa0/1 Fa0/4
PASO 6.ALSwitch#mac-address-table Translating "mac-address-table"...domain server (255.255.255.255) % Unknown command or computer name, or unable to find computer address
PASO 7.-
Type
Ports
-------- -----
Fa0/1 Fa0/4
Paso 9.ALSwitch(config)#interface fastethernet 0/1 ALSwitch(config-if)#switchport port-security ALSwitch(config-if)#switchport port-security ? mac-address Secure mac address maximum Max secure addresses
ALSwitch(config-if)#interface fastethernet 0/4 ALSwitch(config-if)#switchport port-security ? mac-address Secure mac address maximum Max secure addresses
10.-