Which three configurations are required on the switch




















Populares em System Software. Alexandru Rasvan. Shridhar Bassapur. Birhanu Girmay. Firstface Lastbook. Vu Duc Truong. Fight For Right. Ravi Priya. Uma Shanker. Wayne Schulz. Dusan Andrejevic. Yayang Saputra. Sumit Patil. Julio Paucar. Enter the global configuration mode. Open Configuration Window. Give the switch a name according to the Addressing Table. Prevent unwanted DNS lookups. Enter local passwords. Use class as the privileged EXEC password and cisco as the password for console access.

Enter a login MOTD banner to warn about unauthorized access. Save the configuration. Display the current configuration. Display the IOS version and other useful switch information. Display the status of the connected interfaces on the switch. Close Configuration Window. Configure switch S2. Record the interface status for the following interfaces. VLAN 1 blank blank blank blank. Cisco Public Page 2 of 3 www. From a PC, ping S1 and S2.

The pings should be successful. Reflection Question Why some FastEthernet ports on the switches are up and others are down? What could prevent a ping from being sent between the PCs?

Type your answers here. End of Document. Cisco Public Page 3 of 3 www. Buka menu navigasi. Tutup saran Cari Cari. Pengaturan Pengguna. Before you configure the switch IP address and default gateway, obtain the following information, as appropriate:. Configure this interface when assigning an IP address, subnet mask, and VLAN to the in-band management interface on the switch.

Configure this interface when assigning an IP address and subnet mask to the out-of-band management Ethernet interface on the switch.

Configure this interface when setting up a point-to-point SLIP connection between a terminal and the switch. Table shows the default IP address and default gateway configuration. Before you can Telnet to the switch or use Simple Network Management Protocol SNMP to manage the switch, you must assign an IP address to either the in-band sc0 logical interface or the management Ethernet me1 interface.

You can specify the subnet mask netmask using the number of subnet bits or using the subnet mask in dotted decimal format. To set the IP address and VLAN membership of the in-band sc0 management interface, perform this task in privileged mode:. Assign an IP address, subnet mask or number of subnet bits , and optional broadcast address to the in-band sc0 interface. This example shows how to assign an IP address, specify the number of subnet bits, and specify the VLAN assignment for the in-band sc0 interface:.

This example shows how to specify the VLAN assignment, assign an IP address, specify the subnet mask in dotted decimal format, and verify the configuration:. Before you can Telnet to the switch or use SNMP to manage the switch, you must assign an IP address to either the in-band sc0 logical interface or the management Ethernet me1 interface.

To set the management Ethernet me1 interface IP address, perform this task in privileged mode:. Assign an IP address and subnet mask to the management Ethernet me1 interface. This example shows how to assign an IP address and subnet mask to the management Ethernet me1 interface and how to verify the interface configuration:. The supervisor engine sends IP packets that are destined for other IP subnets to the default gateway typically, a router interface in the same network or subnet as the switch IP address.

The switch does not use the IP routing table to forward traffic from connected devices; the switch forwards only IP traffic that is generated by the switch for example, Telnet, TFTP, and ping.

Note In some cases, you might want to configure static IP routes in addition to default gateways. For information on configuring static routes, see the "Configuring Static Routes" section on page You can define up to three default IP gateways.

Use the primary keyword to make a gateway the primary gateway. Figure 1. Unless you configure a timeout, the DHCP-based autoconfiguration with a saved configuration feature tries indefinitely to download an IP address.

The auto-install process stops if a configuration file cannot be downloaded or it the configuration file is corrupted. The configuration file that is downloaded from TFTP is merged with the existing configuration in the running configuration but is not saved in the NVRAM unless you enter the write memory or copy running-configuration startup-configuration privileged EXEC command.

Note that if the downloaded configuration is saved to the startup configuration, the feature is not triggered during subsequent system restarts. If you want the switch to receive IP address information, you must configure the DHCP server with these lease options: IP address of the client required Subnet mask of the client required DNS server IP address optional Router IP address default gateway address to be used by the switch required If you want the switch to receive the configuration file from a TFTP server, you must configure the DHCP server with these lease options: TFTP server name required Boot filename the name of the configuration file that the client needs recommended Hostname optional Depending on the settings of the DHCP server, the switch can receive IP address information, the configuration file, or both.

If you do not configure the DHCP server with the lease options described previously, it replies to client requests with only those parameters that are configured. If the IP address and the subnet mask are not in the reply, the switch is not configured.

Unavailability of other lease options does not affect autoconfiguration. The switch can act as a DHCP server. The files can include these files: The configuration file named in the DHCP reply the actual switch configuration file. The network-confg or the cisconet. The router-confg or the ciscortr. How to Obtain Configuration Files Depending on the availability of the IP address and the configuration filename in the DHCP reserved lease, the switch obtains its configuration information in these ways: The IP address and the configuration filename is reserved for the switch and provided in the DHCP reply one-file read method.

The switch sends a unicast message to the TFTP server to retrieve the named configuration file from the base directory of the server and upon receipt, it completes its boot up process. The switch sends a broadcast message to a TFTP server to retrieve the named configuration file from the base directory of the server, and upon receipt, it completes its boot up process.

The configuration filename is not provided two-file read method. The switch sends a unicast message to the TFTP server to retrieve the network-confg or cisconet. If the network-confg file cannot be read, the switch reads the cisconet. The default configuration file contains the hostnames-to-IP-address mapping for the switch. The switch fills its host table with the information in the file and obtains its hostname. If the hostname is not found in the file, the switch uses the hostname in the DHCP reply.

If the hostname is not specified in the DHCP reply, the switch uses the default Switch as its hostname. After obtaining its hostname from the default configuration file or the DHCP reply, the switch reads the configuration file that has the same name as its hostname hostname -confg or hostname.

If the cisconet. If the switch cannot read the network-confg, cisconet. If the switch cannot read the router-confg file, it reads the ciscortr. How to Control Environment Variables With a normally operating switch , you enter the boot loader mode only through the console connection configured for bps. Common Environment Variables This table describes the function of the most common environment variables.

The package provisioning file, also referred to as the packages. When booting in installed mode, the package provisioning file specified in the boot command is used to determine which packages to activate. For example boot flash:packages. When booting in bundle mode, the package provisioning file contained in the booted bundle is used to activate the packages included in the bundle.

For example, boot flash:image. Make sure the environment variables in this table are configured. Note We recommend that you do not modify this variable. Scheduled Reload of the Software Image You can schedule a reload of the software image to occur on the switch at a later time for example, late at night or during the weekend when the switch is used less , or you can synchronize a reload network-wide for example, to perform a software upgrade on all switch s in the network.

Note A scheduled reload must take place within approximately 24 days. You have these reload options: Reload of the software to take affect in the specified minutes or hours and minutes. The reload must take place within approximately 24 hours. Reload of the software to take place at the specified time using a hour clock. If you specify the month and day, the reload is scheduled to take place at the specified time and date.

If you do not specify the month and day, the reload takes place at the specified time on the current day if the specified time is later than the current time or on the next day if the specified time is earlier than the current time. Specifying schedules the reload for midnight. Manually Assigning IP Information to Multiple SVIs This task describes how to manually assign IP information to multiple switched virtual interfaces SVIs : Note If the switch is running the IP services feature set, you can also manually assign IP information to a port if you first put the port into Layer 3 mode by using the no switchport interface configuration command.

Modifying the Switch Startup Configuration. Before You Begin Use a standalone switch for this task. Manually Booting the Switch By default, the switch automatically boots up; however, you can configure it to manually boot up. Booting the Switch in Installed Mode.

Configuring a Scheduled Software Image Reload Before You Begin This task describes how to configure your switch to reload the software image at a later time. Monitoring Switch Setup Configuration. Current configuration: bytes! Displaying Software Install: Examples. This example displays software bootup in install mode: switch: boot flash:packages. Compiled Sun Nov by gereddy License level to iosd is ipservices.

Reading full image into memory File "sda9:crecovery. Syncing device Emergency Install successful Rebooting Restarting system. Switch configure terminal Switch config ip dhcp pool pool1 Switch dhcp-config network Scheduling Software Image Reload: Examples This example shows how to reload the software on the switch on the current day at p.

Technical Assistance Description Link The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.

Access to most tools on the Cisco Support website requires a Cisco. If the data bits option is set to 8, set the parity option to none. Auto install and smart install functionality is not supported in bundle boot mode. No IP address or subnet mask are defined. The factory-assigned default hostname is Switch. You have 5 seconds to issue the break command. Specifies the MAC address of the switch. Specifies the IP address and the subnet mask for the associated IP subnet of the switch.

Specifies the IP address and subnet mask of the default gateway. A scheduled reload must take place within approximately 24 days. Step 1.

Step 2. Step 3.



0コメント

  • 1000 / 1000