Annoying ethernet command
I really hate on a switch the way i have to complete the command ethern otherwise the cli is confused with etherchannel. As i annoys me, i wanted to use alias to get past this but it doesn't work, strange. I'm not really a fan of using aliases but in this case it could have made my life easier.
CPE1#sh int e?
EsconPhy Ethernet etherchannel
CPE1#sh ip int e ?
<0-15> EsconPhy interface number
<0-15> Ethernet interface number
CPE1#sh alias
Exec mode aliases:
h help
lo logout
p ping
r resume
s show
u undebug
un undebug
w where
e ethernet
et Ethernet
CPE1#sh runn | i alias
alias exec e ethernet
alias exec et Ethernet
CPE1#sh ip int e 0/0
Ethernet0/0 is administratively down, line protocol is down
Internet protocol processing disabled
CPE1#sh ip int et 0/0
Ethernet0/0 is administratively down, line protocol is down
Internet protocol processing disabled
CPE1#
CPE1#sh int e 0/0
% Ambiguous command: "sh int e 0/0"
CPE1#sh int et 0/0
% Ambiguous command: "sh int et 0/0"
CPE1#sh int ethernet 0/0
Ethernet0/0 is administratively down, line protocol is down (disabled)
Hardware is Ethernet, address is aaaa.bbbb.cccc (bia aabb.cc00.0500)
Internet address will be negotiated using DHCP
MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is unknown
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:18:00, output 00:18:50, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
11061 packets input, 920026 bytes, 0 no buffer
Received 11056 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
993 packets output, 245825 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
CPE1#