Hi,

I now understand the purpose of the "clear ip address [vlan vlan-id] "
command.  If the switch receives its IP address from for example DHCP, and
you clear the IP address by using this command, the DHCP server reassigns
the address. If you use the "no ip address" command, IP connectivity is gone
for sure.

On CatOS you can renew the IP address with "set interface sc0 dhcp release &
renew"

Eric Brouwers


----- Original Message -----
From: "Amazing" 
To: 
Sent: Wednesday, March 19, 2003 1:59 AM
Subject: Re: Removing IP address from CatOS switch [7:65634]


> For IOS devices i have only ever used:
> int vlan1
> no ip address
>
> i dont think it disables the TCP/IP stack (which on most IOS based
switches
> is just there for management) but if you were connected to the switch on
> that IP address, you will lose your connection for sure.  you will need to
> make sure you have console access via a modem or console cable to a PC to
> manage the device.
>
> For CatOS I am not 100% -- there is definitely no "clear interface sc0"
> command.  you may be able to say set interface sc0 0.0.0.0/0.0.0.0
>
>
> ""ericbrouwers""  wrote in message
> news:[EMAIL PROTECTED]
> > Hi,
> >
> > Consider this: suppose that you have configured an inband-management
> > interface
> > of an IOS-based switch
> >
> > Switch(config)#interface vlan 1
> > Switch(config-if)#ip address 172.16.10.2 255.255.255.0
> > Switch(config-if)#no shutdown
> > Switch(config-if)#exit
> > Switch(config)#ip default-gateway 172.16.10.254
> >
> > If you want to remove the IP address you can either do
> > Switch(config)#clear ip address vlan 1
> >  or
> > Switch(config)#interface vlan 1
> > Switch(config-if)#no ip address
> >
> > Some people advise to use the first option, since the latter seems to
> disable
> > the complete TCP/IP stack...
> >
> > I'm having two questions with regard to this:
> >
> > 1. What is your advise?
> >
> > 2. Does the same option exist for CatOS switches, for example something
> like
> > this
> >
> > Switch(enable) clear interface sc0 ipaddress
> >
> > Thanks,
> >
> > Eric




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=65953&t=65634
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to