Interface - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands

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 enter interface configuration mode for an interface:
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 service port. 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
You can verify your settings by entering the show interfaces and show interfaces vlan vlan-id
privileged EXEC commands.
OL-10102-01
interface {interface-id | vlan number}
no interface {interface-id | vlan number}
Specify the interface type and number.
VLAN number from 1 to 4094 to be used as the management VLAN.
Modification
This command was introduced.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
interface
2-121

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents