cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337
Views
0
Helpful
1
Replies

How to know in what interface I'm on?

bellocarico
Level 1
Level 1

Is there any way to know in which interface I am?

e.g.

Router>ena

Router#conf t

Router(config)#int ser 0/2

Router(config-if)#

Now, let's say I'm a dumb (because I am) and I don't remember in which interface I've switched to.

Is there any way at all to query the IOS to know this info?

I know I can type again:

int ser 0/2

(suppose I want to go there)

but my it's a theoretical question

Thanks to read

1 Reply 1

johansens
Level 4
Level 4

As far as I know.. no it's not possible.. the only thing I can think of is using the history-function with the "up" key or Ctrl-P (previous) to scroll through your commands and finding the 'first' (which is the last) switch to interface mode..

If it can be done however, I would also like to know. :D

Did it help?