NAME

rmvlan - It remves the vlan from the cluster.


SYNOPSIS

rmvlan vlanid

rmvlan [-h|--help]

rmvlan [-v|--version]


DESCRIPTION

The rmvlan command removes the given vlan ID from the cluster. It removes the vlan id from all the swithces involved, deconfigures the nodes so that vlan adaptor (tag) will be remved, cleans up /etc/hosts, DNS and database tables for the given vlan.


Parameters

vlanid is a unique vlan number.


OPTIONS

-h|--help Display usage message.
-v|--version The Command Version.


RETURN VALUE

0 The command completed successfully.

1 An error has occurred.


EXAMPLES

  1. To remove vlan 3

      rmvlan 3

    If the nodes are KVM guest then the do the following after the vlan is removed: rpower node1,node2 off rmvm node1,node2


FILES

/opt/xcat/bin/rmvlan


SEE ALSO

mkvlan(1), chvlan(1), lsvlan(1)