Reference Guide
Brocade Fabric OS Command Reference 633
53-1004112-02
portCfg
To create a LAG:
switch:admin> portcfg lag lag0 --create
Operation Succeeded
To add ports to a LAG and verify the configuration:
switch:admin> portcfg lag lag0 --add ge2-ge4,ge7
Operation Succeeded
switch:admin> portshow lag
LAG Name State Port Count Member Ports
------------------------------------------------
lag0 Online 4 GE2,GE3,GE4,GE7
------------------------------------------------
To remove a port from a LAG:
switch:admin> portcfg lag lag0 --remove ge7
Operation Succeeded
To create a TCL:
switch:admin> portcfg tcl hostAtoB create --admin enable \
--target 24 --src-addr 10.0.0.0/8 --priority 10
Operation Succeeded
To delete an inband management interface:
switch:admin> portcfg mgmtif ge0
delete 192.168.3.10 255.255.255.0
To delete a management route:
switch:admin> portcfg mgmtroute ge0 delete 192.168.3.0 255.255.255.0 192.168.2.250
To disable and re-enable an inband management interface:
switch:admin> portcfg mgmtif ge0 disable
switch:admin> portcfg mgmtif ge0 enable.
To configure a VLAN tag for an inband management port:
switch:admin> portcfg vlantag 10/xge0 add 172.16.30.40 30 0 --mgmt
Operation Succeeded
To configure VLAN tags for all ports on a switch:
switch:admin> portshow vlantag all
Port: 10/xge0
Interface Address VlanId L2CoS Flags
Destination Address
------------------------------------------------------------------
172.16.30.80 30 0 Perm
172.16.50.80
172.16.30.40 30 0 Perm Net Mgmt
0.0.0.0