Command Reference Guide

652 Fabric OS Command Reference
53-1002746-01
portCfg
2
4. Configure the inband management route for the management station.
switch:admin> portcfg mgmtroute ge0 create 192.168.3.0 \
255.255.255.0 192.168.2.250
5. On the Management Station, add route entries to get to the Brocade 7800 external inband
management interfaces.
linux# route add 192.168.1.0 netmask 255.255.255.0 gw 192.168.3.250
linux# route add 192.168.2.0 netmask 255.255.255.0 gw 192.168.3.250
6. Access the 7800 switches through the external inband management interfaces.
linux# telnet 192.168.1.10
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
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
To enable the autonegotiation of 1GbE port:
switch:admin> portcfg autoneg 1/ge2 --enable
Operation Succeeded
switch:admin> portshow autoneg 1/ge2
Auto-Negotiation Configuration:
Port: 1/ge2
Auto-Negotiate: Enabled
SEE ALSO configure, portCfgShow, portCmd, portShow, switchShow