To determine the interface index (IfIndex), you can calculate it, or use the CLI command provided in this section.
As a result of channelization support, the ifIndex of each channelization–capable port increases by 4. The number is reserved for the 3 sub-ports when channelization is enabled.
For switches that do not include channelization-capable ports, use the following equation to determine the IfIndex of a port:
(192 x slot number) + (port number – 1)
For example, the interface index of port 1/50 is 241.
The VSP 4450 Series and XA1400 Series use one slot.
For switches that include channelization-capable ports, use the following equations to determine the IfIndex of a port:
If the port does not support channelization, use (64 x slot number) +128 + (port number -1).
If the port supports channelization, use the following equations:
for the port in question: (64 x slot number) +128
for subsequent ports: (64 x slot number) +128 + ((port number -1) *4)
This equation reserves space for the creation of the 3 sub-ports on the previous port, if or when you enable channelization.
The slot numbers are 1-2 for the VSP 4900 Series.
The slot numbers are 1-2 for the VSP 7200 Series.
The slot number is 1 for the VSP 7400 Series.
The slot numbers are 1-2 for the VSP 8200 Series.
The slot numbers are 1-4 for VSP 8400 Series.
To determine the port interface index through the CLI, use the following command:
show interfaces gigabitEthernet
The following example shows an output for this command:
Switch:1(config)#show interfaces gigabitEthernet ========================================================================================== Port Interface ========================================================================================== PORT LINK PORT PHYSICAL STATUS NUM INDEX DESCRIPTION TRAP LOCK MTU ADDRESS ADMIN OPERATE ------------------------------------------------------------------------------------------ 1/1/1 192 40GbCR4BoC-Channel true false 1950 00:c0:ff:8b:50:00 up up 1/1/2 193 40GbCR4BoC-Channel true false 1950 00:c0:ff:8b:50:01 down down 1/1/3 194 40GbCR4BoC-Channel true false 1950 00:c0:ff:8b:50:02 down down 1/1/4 195 40GbCR4BoC-Channel true false 1950 00:c0:ff:8b:50:03 down down 1/2 196 100GbNone true false 1950 00:c0:ff:8b:50:04 down down 1/3 200 100GbNone true false 1950 00:c0:ff:8b:50:08 down down 1/4 204 100GbNone true false 1950 00:c0:ff:8b:50:0c down down 1/5 208 100GbNone true false 1950 00:c0:ff:8b:50:10 down down 1/6 212 100GbNone true false 1950 00:c0:ff:8b:50:14 down down 1/7 216 100GbNone true false 1950 00:c0:ff:8b:50:18 down down 1/8 220 100GbNone true false 1950 00:c0:ff:8b:50:1c down down 1/9 224 100GbNone true false 1950 00:c0:ff:8b:50:20 down down 1/10 228 100GbNone true false 1950 00:c0:ff:8b:50:24 down down 1/11 232 100GbNone true false 1950 00:c0:ff:8b:50:28 down down 1/12/1 236 100GbNone-Channel true false 1950 00:c0:ff:8b:50:2c down down 1/12/2 237 100GbNone-Channel true false 1950 00:c0:ff:8b:50:2d down down 1/12/3 238 100GbNone-Channel true false 1950 00:c0:ff:8b:50:2e down down 1/12/4 239 100GbNone-Channel true false 1950 00:c0:ff:8b:50:2f down down 1/13 240 100GbNone true false 1950 00:c0:ff:8b:50:30 down down 1/14 244 100GbNone true false 1950 00:c0:ff:8b:50:34 down down 1/15 248 100GbNone true false 1950 00:c0:ff:8b:50:38 down down 1/16 252 100GbNone true false 1950 00:c0:ff:8b:50:3c down down 1/17 256 100GbNone true false 1950 00:c0:ff:8b:50:40 down down 1/18 260 100GbNone true false 1950 00:c0:ff:8b:50:44 down down 1/19 264 100GbNone true false 1950 00:c0:ff:8b:50:48 down down 1/20 268 100GbNone true false 1950 00:c0:ff:8b:50:4c down down 1/21 272 100GbNone true false 1950 00:c0:ff:8b:50:50 down down 1/22 276 100GbNone true false 1950 00:c0:ff:8b:50:54 down down 1/23 280 100GbNone true false 1950 00:c0:ff:8b:50:58 down down 1/24 284 100GbNone true false 1950 00:c0:ff:8b:50:5c down down 1/25 288 100GbCR4 true false 1950 00:c0:ff:8b:50:60 down down 1/26 292 100GbCR4 true false 1950 00:c0:ff:8b:50:64 down down 1/27 296 100GbNone true false 1950 00:c0:ff:8b:50:68 down down 1/28 300 100GbNone true false 1950 00:c0:ff:8b:50:6c down down 1/29 301 100GbNone true false 1950 00:c0:ff:8b:50:6d down down 1/30 305 100GbNone true false 1950 00:c0:ff:8b:50:71 down down 1/31 309 100GbNone true false 1950 00:c0:ff:8b:50:75 down down 1/32 313 100GbNone true false 1950 00:c0:ff:8b:50:79 down down 1/s1 320 10GbInsight true false 1950 00:c0:ff:8b:50:7d down down 1/s2 321 10GbInsight true false 1950 00:c0:ff:8b:50:7e down down
Note
1/s1 and 1/s2 are ports used by Extreme Integrated Application Hosting (IAH) virtual machines only.