<S5700>sys //進入系統模式 [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地址已修改成功 #
<S5700>sys //進入系統模式 [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地址已修改成功 #