Management Interface Configuration

This section describes the initial configuration of the Catalyst 355O switch. For example, assigning the switch an IP address and default gateway.

Configuring the Management Interface

3 550> enable

/

3550# config t

/

3550(config)# interface vlan 1

/

3550(config-if)# ip add 10.2.2.2 255.255.255.0

3550(config-if)# exit

3550(config)# ip default-gateway 10.1.1.1

3550(config)# end

1

3550#

© 2OO2, Cisco System

Console Connection Cat 3550

s. Inc. All rights reserved. Cisco CCIE Prep v1.0—Module 5-B

Before you can configure the switch, you need connectivity to it via the console port. Make sure the terminal connected to the console port is configured as follows: 9600 baud, 8 data bits, no parity, and 1 stop bit.

When the switch boots, its management interface's address is set to 0.0.0.0 (the default on a new switch or after the configuration is cleared). Upon bootup, the switch attempts to obtain an IP address using Dynamic Host Configuration Protocol (DHCP). If required, a Cisco router running the DHCP service could support this.

On the Catalyst 3550, VLAN1 is reserved for the management interface. The following table outlines the steps to manually assign an IP address to the management interface of the Catalyst 3550.

Table 4-1: Manually Assign an IP Address

Readers' Questions

  • Pirkka
    Which interface allows remote management of a layer 2 switch?
    7 months ago
  • Most layer 2 switches support some form of remote management, usually through a telnet or SSH interface. Some switches also support web-based management interfaces, which may include features such as out-of-band management.
    • Athanaric
      What is the purpose of assigning an ip address to the vlan1 interface on a cisco layer 2 switch?
      7 months ago
    • The purpose of assigning an IP address to the VLAN1 interface on a Cisco Layer 2 switch is to enable communication and the management of the switch via the IP network. The IP address assigned to the VLAN1 interface allows you to remotely access and configure the switch from any other device on the same IP network.
      • frank eisenhower
        How to set the default gateway on a cisco switch?
        8 months ago
      • To set the default gateway on a Cisco switch, use the following commands:
        1. Enable privileged mode.> enable
        2. Enter the global configuration mode.> configure
        3. Set the default gateway.> ip default-gateway <gateway_IP_address>
        4. Save the changes.> write memory

        Command

        Purpose

        3550(config)# interface vlan 1

        Enter interface configuration mode for VLAN1.

        3550(config-if)#ip address ip-address subnet-mask

        Enter the IP address and subnet mask.

        3550(config)# ip default-gateway ip-address

        Enter the IP address of the next-hop router that should be used when traffic is destined for a host that is not on the same VLAN. Once the default gateway is configured, the switch has connectivity to the remote networks with which a host needs to communicate.

        Note If your switch is configured to route IP, it does not need to have a default gateway set.

        This chapter describes how to use the VLAN Trunking Protocol (VTP) and the VLAN database for creating and managing VLANs.

        Continue reading here: VTP Overview

        Was this article helpful?

        0 0