lsvlan - It lists the existing vlans for the cluster.
lsvlan
lsvlan [vlanid]
lsvlan [-h|--help]
lsvlan [-v|--version]
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.
vlanid is a unique vlan number. If it is omitted, all vlans will be listed.
0 The command completed successfully.
1 An error has occurred.
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
lsvlan 3
Output 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
/opt/xcat/bin/lsvlan