Table 5-1 Legacy Commands and Corresponding nwmgr Commands
(continued)
nwmgr Command
Legacy Command
Task
nwmgr -d -A links=all -I 900 -S
apa
lanadmin -X -c 900
Remove all ports from a link
aggregate
nwmgr -d -A links=all -c lan900
landeleteconf -g lan900
Remove all ports from a
failover group
nwmgr -d -A links=1,2 -I 900 -S
apa
lanadmin -X -d 1 2 900
Remove specific ports from a
link aggregate
nwmgr -s -A lb=LB_MAC, gc=900
-I 900 -S apa
lanadmin -X -l LB_MAC 900
lanadmin -X -g 900 900 900
Update the load balancing
algorithm and group
capability for a link aggregate
nwmgr -s -A gc=900,
mode=FEC_AUTO -I 3 -S apa
lanadmin -X -p 3 900 900
lanadmin -X -p 3 FEC_AUTO 900
Update the group capability
and configuration mode for a
port
nwmgr -s -A gc=900 -I 900 -S
apa
lanadmin -X -g 900 900 900
Update the group capability
for a link aggregate
nwmgr -s -A key=900 -A lb=LB_IP
-I 900 -S apa
lanadmin -X -k 900 900 900
lanadmin -X -l LB_IP 900
Update the administrative key
and load balancing for a link
aggregate
nwmgr -s -A key=900 -A
mode=LACP_AUTO -I 4 -S apa
lanadmin -X -k 4 900 900
lanadmin -X -p 4 LACP_AUTO 900
Update the administrative key
and configuration mode for a
port
nwmgr -s -A key=900 -I 4 -S apa
lanadmin -X -k 4 900 900
Update the administrative key
for a port
nwmgr -s -A lb=LB_IP -I 900 -S
apa
lanadmin -X -l LB_IP 900
Update the load balancing
nwmgr -s -A mode=MANUAL -I 5 -S
apa
lanadmin -X -p 5 MANUAL 900
Set the configuration mode on
a port
nwmgr -s -A sys_pri=10 -I 5 -S
apa
lanadmin -X -s 5 10 900
Set the system priority on a
port
nwmgr -A mac -c lan900
lanadmin -a 900
Display the MAC address
nwmgr -A speed -c lan900
lanadmin -s 900
Display the speed
nwmgr -A mtu,mac,speed -c
lan900
nwmgr -A all -c lan900
lanadmin -m -a -s 900
Display the MTU, MAC
address, and speed
nwmgr -A gc -I 5 -S apa
lanadmin -x -g 5 900
Display group capability
nwmgr -A all -c lan900
lanadmin -x -i 900
Display aggregate port status
nwmgr -A key -I 5 -S apa
lanadmin -x -k 5 900
Display administrative key
nwmgr -A lb -c lan900 -S apa
lanadmin -x -l 900
Display load balancing
algorithm
nwmgr -A mode -I 5 -S apa
lanadmin -x -p 5 900
Display port status
nwmgr -A sys_pri -I 5 -S apa
lanadmin -x -s 5 900
Display system priority
nwmgr -A port_pri -I 5 -S apa
lanadmin -x -t 5 900
Display current port priority
nwmgr -v -c lan900
lanadmin -x -v 900
Display aggregate status
nwmgr --diag -A
dest=0xaabbccddeeff -c lan900
linkloop -i 900 0xaabbccddeeff
Check network connectivity
Task comparison with other LAN commands
55