Adding an IP address to the management interface of a Cisco switch allows connection over an Ethernet connection to manage the switch configuration.
Firstly, switch to privileged exec mode.
tyrion>en tyrion# |
Then enter the configure terminal command to configure terminal settings.
tyrion#configure terminal |
Now we are configuring settings for vlan 99.
tyrion(config)#interface vlan 99 |
Now enter the appropriate IP address settings.
tyrion(config-if)#ip address 192.168.99.1 255.255.255.0 tyrion(config-if)#no shutdown tyrion(config-if)#end tyrion# |
Then copy the running config to the startup config.
tyrion#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] tyrion# |
Now the management interface has an IP address.