Chapter4ServiceConguration
ParameterDescription
<A.B.C.D><A.B.C.D>IPaddressandmask
<A.B.C.D>Gateway
Guidelines
Thiscommandwithoutparametersdeletesallstaticrouteentries,butdoesnotdelete
direct-connectroutes.
Example
Thefollowingexampledeletesallstaticroutes:
zte(cfg-router)#cleariproute
Thefollowingexampledeletesthestaticroutetothenetwork192.168.1.0/24withthe
gatewayof192.168.1.12:
zte(cfg-router)#cleariproute192.168.1.0/24192.168.1.12
4.17.14clearipport
Purpose
Thiscommanddeletescongurationsofalayer-3port.
CommandMode
Layer-3congurationmode
Syntax
clearipport<0-63>[dhcp|ipaddress|mac|vlan]
Parameters
ParameterDescription
<0-63>Numberofalayer-3port.
dhcpDeletestheDHCPaddresscongurationofalayer-3port.
ipaddressDeletestheIPaddresscongurationofalayer-3port.
macDeletestheMACaddresscongurationofalayer-3port.
vlanDeletestheVLANcongurationofalayer-3port.
Guidelines
Todeletecongurationsofalayer-3port,disabletheportrst.Thiscommandwill
recoverthedefaultcongurationsoftheport(IPaddress:0.0.0.0,MACaddress:
00.00.00.00.00.00,bindingVALN:VALN0).
4-365
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential