Brocade Fabric OS Command Reference - Supporting Fabric OS v7.0.1 (53-1002447-01, March 2012)

Fabric OS Command Reference 623
53-1001764-01
portCfg
2
To create inband management interfaces for two Brocade 7800 switches on different subnets connected
by two routers:
1. Configure the inband management interfaces on the first switch.
switch:admin> portcfg mgmtif ge0 create 192.168.1.10 255.255.255.0
2. 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.1.250
3. Configure the inband management interfaces on the second switch.
switch:admin> portcfg mgmtif ge0 create 192.168.2.20 255.255.255.0
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