clear tacacs interface
23-12 TACACS+ Configuration
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
ThiscommandallowsyoutoconfigurethesourceIPaddressusedbytheTACACS+application
ontheswitchwhengeneratingpacketsformanagementpurposes.Anyofthemanagement
interfaces,includingVLANroutinginterfaces,canbeconfiguredasthesourceIPaddressusedin
packetsgeneratedbytheTACACS+client.
Aninterface
musthaveanIPaddressassignedtoitbeforeitcanbesetbythiscommand.
Ifnointerfaceisspecified,thentheIPaddressoftheHostinterfacewillbeused.
Ifanon‐loopbackinterfaceisconfiguredwiththiscommand,applicationpacketegressis
restrictedtothatinterfaceif
theservercanbereachedfromthatinterface.Otherwise,thepackets
aretransmittedoverthefirstavailableroute.Packetsfromtheapplicationserverarereceivedon
theconfiguredinterface.
Ifaloopbackinterfaceisconfigured,andtherearemultiplepathstotheapplicationserver,the
outgoinginterface(gateway)isdeterminedbased
onthebestroutelookup.Packetsfromthe
applicationserverarethenreceivedonthesendinginterface.Ifrouteredundancyisrequired,
therefore,aloopbackinterfaceshouldbeconfigured.
Example
ThisexampleconfiguresanIPaddressonVLANinterface100andthensetsthatinterfaceasthe
TACACS+clientsourceIPaddress.
B5(rw)->router(Config-if(Vlan 100))#ip address 192.168.10.1 255.255.255.0
B5(rw)->router(Config-if(Vlan 100))#exit
B5(rw)->router(Config)#exit
B5(rw)->router#exit
B5(rw)->router>exit
B5(rw)->set tacacs interface vlan 100
B5(rw)->show tacacs interface
vlan 100 192.168.10.1
clear tacacs interface
UsethiscommandtocleartheinterfaceusedforthesourceIPaddressoftheTACACS+clientback
tothedefaultoftheHostinterface.
Syntax
clear tacacs interface
Parameters
vlanvlan‐ID SpecifiestheVLANinterfacetobeused.Thevalueofvlan‐IDcanrange
from1to4093.