Configure the IP address of the switch as Test telnet connectivity from the Remote Laptop using the telnet client. The password must be md5 encrypted. Configure password encryption on the switch using the global configuration command.
Password encryption is an important setting for securing switch credentials as defaut behavior is saving clear-text passwords in the running-config. This enables the switch to redirect traffic to other networks.
Vlan1 interface allows us to connect with the switch remotely via telnet, we can use the telnet client to remotely manage and configure the switch. If we mistype a command then the Cisco device will try to resolve the name to the IP address. This makes Cisco devices freeze for about 60 seconds as it resolves IP addresses in the background.
Prerequisite — Switch Functions A switch is a layer 2 device used to forward packet from one device to another within the network. It forwards the packet through one of its ports on the basis of destination MAC address and the entry in the MAC table. Following basic commands are used to configure a new switch : 1.
Changing the hostname of a switch to GfgSwitch : It is used to set the name of the device. To add a banner message : It provides a short message to the user who wants to access the switch. GfgSwitch config interface vlan1 GfgSwitch config-if ip address To set the current clock time : This is set the current time stored in the switch.
Issue one of the following commands to examine the contents of the flash directory. Switch show flash :. Switch dir flash:.
Files have a file extension, such as. Directories do not have a file extension. What is the file name of the Cisco IOS image? In Part 2, you will configure basic settings for the switch and PC. Unauthorized access is strictly prohibited. The default configuration on the switch is to have the management of the switch controlled through VLAN 1.
For management purposes, use VLAN First, create the new VLAN 99 on the switch. Next, set the IP address of the switch to Use the IPv6 addresses listed in the Addressing Table. S1 configure terminal. S1 config vlan S1 config-vlan exit. S1 config interface vlan S1 config-if ip address S1 config-if ipv6 address fe link-local. S1 config-if no shutdown. S1 config-if exit. Notice that the VLAN 99 interface is in the down state even though you entered the no shutdown command. The interface is currently down because no switch ports are assigned to VLAN S1 config-if-range switchport access vlan S1 conf ig-if-range exit.
S 1 config. T o establish connectivity between the host and the switch, the ports used by the host must be in the same VLAN as the switch.
S1 show vlan brief. S1 config ip default-gateway S1 config line con 0. S1 config-line logging synchronous. S1 config-line password cisco. S1 config-line login. S1 config-line exit. S1 config line vty 0
0コメント