Cisco 4948 Configuring a Port for Management



Cisco Catalyst 4948 Switch

Configure the interface as a L3 routed interface with an IP address. All interfaces on a Catalyst 4000 switch that runs Cisco IOS Software are L2 by default. Therefore, you need to make any interface that is connected to the rest of the network a L3 routed interface. Issue the “no switchport” command and configure the desired IP address. All interfaces are enabled by default, so you do not need to issue the no shutdown command.

Example of Configuring the interface that connects to the management network:

Switch1 (config)# ip routing
Switch1 (config)# interface gigabitethernet 24
Switch1 (config-if)# no switchport
Switch1 (config-if)# no shutdown
Switch1 (config-if)# ip address 10.0.1.10 255.0.0.0
Switch1 (config-if)# exit

Verify the IP information by using the show ip interface brief and show ip route commands:
Switch1# show ip interface brief

Other option to Configure a Port for Management.
Example uses mgmtVft

Switch(config)# interface gigabitethernet 24
Switch(config-if)# ip vrf forwarding mgmtVrf
Switch(config-if)# ip address 10.0.1.10 255.0.0.0
Switch(config-if)# speed auto
Switch(config-if)# duplex auto

If you want initiate SSH, enter the following command:
Switch# ssh -l username -vrf mgmtVrf 10.0.1.10

Cisco 4948 Configuration Guide

Published by

Ferdy Mañago

Portland, Oregon