IOS interface names
George sent me a question that surfaced age-old memories:
I saw the Serial 0/1/0 interface in one of your articles. I understand the Serial 0/1 command as accessing the sub interface of Serial 0 with the 1st interface. But I have never seen the 2nd 0 being used. What is the 2nd "0", and how is it to be used?
In the ancient times when the high-end router was an AGS+, the interface names were kept simple (for example, Serial0). When the Cisco 7000 was introduced with online insertion and removal (OIR) capability, router's life became more complex, as its actual hardware (and thus the interface names) might change while it's running.
To work around this problem, the interface names changed with Cisco 7000 (and broke quite a few of our scripts). Every interface name on that router had two parts: the slot number and the port-in-slot number. Later the same convention was adopted for most modular routers (it doesn’t make sense to have all your interfaces renumbered if you exchange a 2-port WAN card with a 4-port WAN card) and with the addition of WIC (Wan Interface Card) adapters which are effectively module-on-a-module, we’ve got the third layer of interface hierarchy. The Serial2/1/0 interface is thus port#0 on WIC#1 on NM#2.
There are (at least) two other special characters in the interface names:
- Dot (.) indicates a subinterface. Serial0/1/0.101 is subinterface 101 on WAN interface Serial0/1/0.
- Colon (:) indicates a channel or channel group on a channelized interface (BRI, E1, T1 …).
If you’re aware of any other interface name format, please take your time to write a comment.
This article is part of You've asked for it series.
Channelized STM-1 (SMI) Port adapter, 1 port
Se1/0.1/1/2/2:3
These are some of the strangest interface identifiers i've seen
So, you would see something like "voice-port 3:D"
TwinGig converters play a funny game. My TwinGig-capable Sup 6-E in slot 3 uses the follwing names to describe its pair of tengig interfaces:
Te3/1
Te3/2
Gi3/3
Gi3/4
Gi3/5
Gi3/6
The four Gigabit ports are the ones I would have if twingig converters were installed. They're not. Config elements for all 6 interfaces persist in the configuration, regardless of what hardware is installed.
This seems to indicate the intention to prevent multiple types of interface (gig and tengig) from landing on the same interface numbers, otherwise the gigabit ports would be numbered from 1 and not from 3.
But the 2621 router flies in the face of that thinking. It's got s0/0, s0/1, fa0/0 and fa0/1.
Frankly, I prefer the Sup 6-E logic
Se1/0.1/1/2/2:3
Is Port 0 of card 1 (as per the article), with JKLM 1122 (google KLM numbering) channel 3 (i.e. the 3rd 64Kb channel of the specified 2Mb circuit of the STM1.)
There are 12 X2 interfaces, which gives a possible 24 Twingig interfaces.
Gi0/1
Gi0/2
..
Gi0/23
Gi0/24
Te0/1
Te0/2
..
Te0/11
Te0/12