[S5700]interface vlanif 1 //进入vlanif虚拟三层接口
[S5700-Vlanif1]display this //查看当前接口下的配置
#
interface Vlanif1
ip address 192.168.100.1 255.255.255
#
[S5700-Vlanif1]undo IP address //删除当前IP地址
[S5700-Vlanif1]display this //再次查看IP地址已被删除
#
interface Vlanif1
#
[S5700-Vlanif1]ip add 192.168.100.2 24 //重新配置IP地址
[S5700-Vlanif1]display this
#
interface Vlanif1
ip address 192.168.100.2 255.255.255.0 //IP地址已修改成功
#