SMCD-LINKGROUP(8)
β¨ NAME β¨
okay so bestie, listen up, because this page is literally two manual pages sharing one vibe π
smcd-linkgroup β prints all the info about SMC-D link groups.
smcr-linkgroup β prints all the info about SMC-R link groups and links.
both of them? on this one page? iconic behavior honestly π
πΈ SYNOPSIS πΈ
smcd [ OPTIONS ] linkgroup { COMMAND | help }
smcd linkgroup [ show ] [ all | LG-ID ]
smcr [ OPTIONS ] linkgroup { COMMAND | help }
smcr linkgroup { show | link-show } [ all | LG-ID ] [ netdev NETDEV ] [
ibdev IBDEV ]
π« DESCRIPTION π«
so the smcd linkgroup command shows you SMC-D link groups and all their little properties. and the smcr linkgroup command shows you SMC-R link groups and links with all their properties. it's giving "tell me everything" and we love that for us π¦
π smcd,smcr linkgroup show
go inspect the link group properties, bestie π
all(this is the default btw) β show all the link groups. every single one. no skips.LG-IDβ show just the link group with the IDLG-ID.netdev NETDEVβ SMC-R only: list the link groups for the specified network device.ibdev IBDEVβ SMC-R only: list the link groups for the specified RoCE device.
π§ smcr linkgroup link-show
SMC-R only: go inspect the link properties β¨
all(default, again, as a treat) β list all links of all link groups.LG-IDβ show the links of the link group with the idLG-ID.netdev NETDEVβ list the links of the link groups for the specified network device.ibdev IBDEVβ list the links of the link groups for the specified RoCE device.
π OUTPUT π
here's what all those little fields actually mean, bestie. read carefully, this is the good part π«Ά
π LG-ID
ID of the link group.
π LG-Role
Role of the link group.
SERVβ the link group has a SERVER role.CLNTβ the link group has a CLIENT role.
π LG-Type
Type of the link group.
NONEβ the link group has the initial type.SINGLEβ the link group has only a single link, i.e. the local and the peer system can offer one device port only for this link group, which means a link outage on either side cannot be recovered.SYMβ the link group has two symmetric links, i.e. the local and the peer system can offer two device ports for this link group, which means a link outage on either side can be recovered.ASYMPβ the link group has asymmetric links, i.e. the peer system can offer one device port only for this link group, which means a link outage on the peer side cannot be recovered.ASYMLβ the link group has asymmetric links, i.e. the local system can offer one device port only for this link group, which means a link outage on the local side cannot be recovered.
π VLAN
The VLAN to which the link group belongs.
π #Conns
Number of connections(sockets) running on the link or link group.
π PNET-ID
PNET ID of the link group. Asterisk "*" means PNET ID is set by the user.
π Net-Dev
Network device name corresponding to the link.
π Link-State
The state of the link.
LINK_UNUSEDβ the link is not in use and in initial state.LINK_INACTIVEβ the link is inactive and will go away.LINK_ACTIVATINGβ the link is being activated with the peer.LINK_ACTIVEβ the link is active and operates on an established link with the peer. Data is being exchanged via RDMA. π₯
π Link-UID
Unique identifier of the link. This identifier consists of link group id and link id.
π Peer-UID
Unique identifier of the link on the peer side. This identifier consists of link group id and link id.
π IB-Dev
Name of the RoCE device used by the link.
π IB-P
Port of the RoCE device used by the link.
π Local-GID
GID of the RoCE port used by the link.
π Peer-GID
GID of the peer RoCE port used by the link.
π EXAMPLES π
copy-paste these, bestie, they just work π
- Show all SMC-D link groups:
# smcd linkgroup show all
- Show all SMC-D link groups with link group id 50:
# smcd linkgroup show 50
- Show all SMC-R links:
# smcr linkgroup link-show all
- Show all SMC-R links with link group ID 40:
# smcr linkgroup link-show 40
- Show all SMC-R links on RoCE device
"mlx4_0":
# smcr linkgroup link-show ibdev mlx4_0
- Show all SMC-R links on network device
"eth0":
# smcr linkgroup link-show netdev eth0
π SEE ALSO π
smcd(8), smcr(8) β go read those too, iykyk π
okay that's the whole page, no cap π this was smc-tools, from June 2020, and the page you just read is SMCD-LINKGROUP(8). slay, you're all caught up. periodt. πβ¨
π¦ where this page comes from
- centos-stream 10: smc-tools 1.8.8-1.el10 Β· EPL-1.0
- centos-stream 9: smc-tools 1.8.8-1.el9 Β· EPL-1.0
- centos-stream 9: smc-tools 1.8.8-1.el9 Β· EPL-1.0
- fedora 43: smc-tools 1.8.5-2.fc43 Β· EPL-1.0
- fedora 43: smc-tools 1.8.5-2.fc43 Β· EPL-1.0
- fedora 44: smc-tools 1.8.6-2.fc44 Β· EPL-1.0
- fedora 44: smc-tools 1.8.6-2.fc44 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- ubuntu jammy: smc-tools 1.7.0-0ubuntu1 Β· EPL-1.0
- ubuntu jammy: smc-tools 1.7.0-0ubuntu1.2 Β· EPL-1.0
- ubuntu noble: smc-tools 1.8.3-0ubuntu1 Β· EPL-1.0
- ubuntu noble: smc-tools 1.8.3-0ubuntu1.1 Β· EPL-1.0
- ubuntu questing: smc-tools 1.8.5-0ubuntu1
- ubuntu resolute: smc-tools 1.8.7-0ubuntu1 Β· EPL-1.0
- ubuntu stonking: smc-tools 1.8.8-0ubuntu1 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms