meta data for this page
  •  

WS-C4948-10GE-S

This switch has dedicated mgmt ethernet port.

The dedicated management port cannot route traffic to network ports. It is exclusively for management.

The management port operates in a separate routing domain called mgmtVrf

enable
configure terminal

Switch(config)# interface fa1
Switch(config-if)# vrf forwarding mgmtVrf
Switch(config-if)# ip address <ip_address> <subnet_mask>
Switch(config-if)# no shutdown
Switch(config-if)# exit
Switch(config)# ip default-gateway <gateway_ip>
# OR if the above doesn't work for management VRF:
Switch(config)# ip route vrf mgmtVrf 0.0.0.0 0.0.0.0 <gateway_ip>
copy running-config startup-config

ping vrf mgmtVrf 192.168.64.100

All IP configuration should use mgmtVrf to work:

interface Vlan28
description Management_Interface
ip address <IP> <MASK>
no shutdown
end