Interface - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

interface

interface
Use the interface global configuration command to configure an interface type, create a switch virtual
interface to be used as the management VLAN interface, and to enter interface configuration mode.
Syntax Description
interface-id
vlan number
Defaults
The default management VLAN interface is VLAN 1.
Command Modes
Global configuration
Command History
Release
12.0(5.2)WC(1)
Usage Guidelines
When creating a management VLAN interface, a space between vlan and number is accepted.
Only one management VLAN interface can be active.
You cannot delete the management VLAN 1 interface.
You can use the no shutdown interface configuration command to shut down the active management
VLAN interface and to enable a new one.
You can configure the management VLAN interface on static-access and trunk ports.
Examples
This example shows how to enable the switch to configure interface 2:
Switch(config)# interface fastethernet0/2
Switch(config-if)#
This example shows how to change the management VLAN from the default management VLAN to
VLAN 3. This series of commands should only be entered from the console. If these commands are
entered through a Telnet session, the shutdown command disconnects the session, and there is no way
to use IP to access the system.
Switch# configure terminal
Switch(config)# interface vlan 3
Switch(config-if)# ip address 172.20.128.176 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# exit
Catalyst 2950 Desktop Switch Command Reference
2-64
interface {interface-id | vlan number}
no interface {interface-id | vlan number}
Specify the interface type (Fast Ethernet or Gigabit Ethernet) and number.
VLAN number from 1 to 4094 when the enhanced software image (EI) is
installed and 1 to 1001 when the standard software image (SI) is installed
to be used as the management VLAN. Do not enter leading zeroes.
Modification
This command was first introduced.
Chapter 2
Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents