Removing A Subinterface Associated With A Specific Ib Partition - Cisco GEM318P User Manual

Host drivers for linux
Table of Contents

Advertisement

Subinterfaces
Verify that you see the ib0.8002 output.
Step 6
Configure the new interface just as you would the parent interface. (See the
IPoIB for Default IB Partition" section on page
The following example shows how to configure the new interface:
host1# ifconfig ib0.8002 192.168.12.1 netmask 255.255.255.0

Removing a Subinterface Associated with a Specific IB Partition

To remove a subinterface, perform the following steps:
Take the subinterface offline. You cannot remove a subinterface until you bring it down.
Step 1
The following example shows how to take the subinterface offline:
host1# ifconfig ib0.8002 down
Remove the value of the partition key to the file as root user.
Step 2
The following example shows how to remove the partition 80:02 from the primary interface ib0:
host1# /usr/local/topspin/sbin/ipoibcfg del ib0 80:02
(Optional) Verify that the subinterface no longer appears in the interface list by entering the ifconfig -a
Step 3
command.
The following example shows how to verify that the subinterface no longer appears in the interface list:
host1# ifconfig -a
eth0
ib0
ib0.8002
Cisco SFS InfiniBand Host Drivers User Guide for Linux
3-4
NOARP
MTU:1480
Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b)
TX bytes:0 (0.0 b)
Link encap:Ethernet
HWaddr 00:30:48:20:D5:D1
inet addr:172.29.237.206
inet6 addr: fe80::230:48ff:fe20:d5d1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST
RX packets:9091465 errors:0 dropped:0 overruns:0 frame:0
TX packets:505050 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1517373743 (1.4 GiB)
Base address:0x3040 Memory:dd420000-dd440000
Link encap:Ethernet
HWaddr F8:79:D1:23:9A:2B
inet addr:192.168.0.1 Bcast:192.168.0.255
inet6 addr: fe80::9879:d1ff:fe20:f4e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:9 overruns:0 carrier:0
collisions:0 txqueuelen:1024
RX bytes:0 (0.0 b)
TX bytes:0 (0.0 b)
Link encap:Ethernet
HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST
MTU:2044
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
3-2.)
Bcast:172.29.239.255
Mask:255.255.252.0
MTU:1500
Metric:1
TX bytes:39074067 (37.2 MiB)
Mask:255.255.255.0
MTU:2044
Metric:1
Metric:1
Chapter 3
IP over IB Protocol
"Manually Configuring
OL-12309-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

St373307lcSfs infiniband

Table of Contents