084f2db8c6 For demonstration purpose I will use Packet Tracer network simulator software. For example to view details about FastEthernet 0/1, use show interface fastethernet 0/1. show ip interface brief. Switch name can be set from global configuration mode. Switch automatically adjust duplex mode depending upon remote device. Passwords are used to restrict physical access to switch. Possible interface status. switch#clear mac address-table . We can list all available commands, if we don't know the initials of our command.
Switch(config)#username [Username] password[test123] Or Switch(config)#username [Username] secret[test123] . Switch allows us to set IP address on interface level. Two commands are available for it. Switch uses this table to make forward decision. Switch>enable Switch#configure terminal Switch(config)#interface vlan1 Switch(config-if)#ip address 172.16.10.2 255.255.255.0 Switch(config-if)#exit Switch(config)#ip default-gateway 172.16.10.1 . Command syntax help. show vlan command will display the VLANs. Cisco switch supports console line for local login and VTYs for remote login. up and up :- Interface is operational.up and down :- Its data link layer problem.down and down :- Its physical layer problem.Administratively down and down :- Interface is disabled with shutdown command. Make sure you don't run following commands in production environment unless you understand their effect clearly.
Estfali replied
453 weeks ago