lsvlan.1
NAME
lsvlan - It lists the existing vlans for the cluster.
SYNOPSIS
lsvlan
lsvlan [vlanid]
lsvlan [-h | --help]
lsvlan [-v | --version]
DESCRIPTION
The lsvlan command lists all the vlans for the cluster. If vlanid is specifined it will list more details about this vlan including the nodes in the vlan.
PARAMETERS
vlanid is a unique vlan number. If it is omitted, all vlans will be listed.
OPTIONS
-h|--help Display usage message.
-v|--version Command Version.
RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
EXAMPLES
To list all the vlans in the cluster
lsvlan
Output is similar to:
vlan 3: subnet 10.3.0.0 netmask 255.255.0.0 vlan 4: subnet 10.4.0.0 netmask 255.255.0.0
To list the details for vlan3
lsvlan 3Output is similar to:
vlan 3 subnet 10.3.0.0 netmask 255.255.0.0 hostname ip address node vm host v3n1 10.3.0.1 c68m4hsp06 v3n2 10.3.0.2 x3455n01 v3n3 10.3.0.3 x3650n01 v3n4 10.3.0.4 x3650n01kvm1 x3650n01 v3n5 10.3.0.5 x3650n01kvm2 x3650n01
FILES
/opt/xcat/bin/lsvlan
SEE ALSO
mkvlan(1)|mkvlan.1, rmvlan(1)|rmvlan.1, chvlan(1)|chvlan.1