chassis

Sets the IPv4 or IPv6 address of a device.

Syntax

chassis { virtual-ip IPv4-address | virtual-ipv6 IPv6-address }
no chassis

Command Default

The default is the initial device address.

Parameters

virtual-ip IPv4-address
Sets an IPv4 address in dotted-decimal notation with a CIDR prefix (mask).
virtual-ipv6 IPv6-address
Sets an IPv6 address in colon-separated hexadecimal notation with a CIDR prefix.

Modes

Global configuration mode

Usage Guidelines

This command changes the current IPv4 or IPv6 address.

Use this command to change the IP address to facilitate management, for example, if a device is moved to a different subnet. The IP address of the management platform should be in the same subnet as the devices it manages.

Use the no form of this command to revert to the default address.

Examples

IPv4:

device# configure terminal
device(config)# chassis virtual-ip 10.11.12.13/20

IPv6:

device# configure terminal
device(config)# chassis virtual-ipv6 2001:db8:8086:6502/64