how to disable management interface.

hi,

does anybody know to disable the management interface ?

"b interface mgmt disable " disables the interface temporarily but it doesn’t persist across reboots…

I saw somewhere it was possible in SCCP, but I don’t know the right commands to use there to disable the mgmt interface.

your help is highly appreciated.

If you disable the mgmt interface and then save the change using b base save, it should persist through reboots.

The SCCP trick you referred to could be:

1. ssh to sccp

ssh sccp

2. back up rc.network file

cp -p /etc/rc.network /etc/rc.network.orig

3. back up nvfiles.manifest file

cp -p /etc/nvfiles.manifest /etc/nvfiles.manifest.orig

4. Add rc.network to nvfiles.manifest

echo “/etc/rc.network” >> /etc/nvfiles.manifest

5. Disable eth0

echo “ifconfig eth0 down” >> /etc/rc.network

6. Initialize the change

/etc/rc.network

Making this change on the SCCP won’t change the b interface mgmt output to show disabled--though using b interface mgmt disable will.

Aaron

what about adding “b interface mgmt disable” in /etc/rc.local, eg.

cat “b interface mgmt disable” >> /etc/rc.local

if you use rc.local then restart network services mgmt interface will goes up but if you set in to rc.networks it will see down command

zafer

Does disabling the management interface kill lights out access to the sccp?

hi all,

To disable the management port so that it persists arcoss reboots,

you just need to execute command

b base save

after executing

b interface mgmt disable

I tried that and it worked fine.

so correct command order :

b interface mgmt

b base save

I have tried to modify /etc/rc.network in sccp, but it doesn’t work properly.

I don’t know why but mgmt port will be re-enabled after reboot.

Thank you,