How do I fix this interface FastEthernet1/0/1 in my configs on my 3750v2's

Joined
May 22, 2010
Messages
2,079
How do I fix the following errors in the output after entering the configuration from a config file for my Cisco 3750v2's:

% Invalid input detected at '^' marker.

ALS2(config)#$
ALS2(config)#interface FastEthern
% Incomplete command.

ALS2(config)#$t0/41
interface FastEthernet0/41
^
% Invalid input detected at '^' marker.

ALS2(config)#!
ALS2(config)#$
ALS2(config)#$t0/45
interface FastEthernet0/45
^
% Invalid input detected at '^' marker.

ALS2(config)#$
ALS2(config)#$rnet0/4
interface GigabitEthernet0/4
^
% Invalid input detected at '^' marker.

ALS2(config)#$
ALS2(config)#$99.104 255.255.255.0
iness 10.1.99.104 255.255.255.0
^
% Invalid input detected at '^' marker.


The following is the output of the show run command on ALS2, but how do I get rid of this 1/0/1 in similar output like this interface FastEthernet1/0/1 on all four swithes because I'm getting interface FastEthernet2/0/1, interface FastEthernet3/0/1, and interface FastEthernet4/0/1 on the other three switches.

ALS2#sh run
Building configuration...

Current configuration : 3974 bytes
!
! Last configuration change at 00:21:23 UTC Mon Mar 1 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ALS2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
switch 1 provision ws-c3750v2-48ps
system mtu routing 1500
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3473039232
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3473039232
revocation-check none
rsakeypair TP-self-signed-3473039232
!
!
crypto pki certificate chain TP-self-signed-3473039232
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33343733 30333932 3332301E 170D3933 30333031 30303231
31385A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 34373330
33393233 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100DAF2 EA0AE87A 8CC09D36 6C4080C8 EB83984A FDFA714A 997EC221 5529204D
421CC906 9CF43CDD 9AB9587E 0B3598D8 80A21930 7029772C D710E34A 2BB07610
074E4E6F 991F8555 8BEAF01F DB00B033 0BDB06C8 2C6B3BDF 1A6F2CCA B331FB4D
2014D714 430FD494 210C179F C3082E63 FE2A3CAE 7FB84867 3BCC5DAB 773916E1
B4190203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 1433A4EA 73616A80 06D1A72E F3AE46C1 222B3115 06301D06
03551D0E 04160414 33A4EA73 616A8006 D1A72EF3 AE46C122 2B311506 300D0609
2A864886 F70D0101 05050003 8181003D 85B1FC4C E4C3136C 095B8BE1 1F7C4519
C0C4D9F6 788FBE71 51E70345 684F7EDB 27DC3EE1 F5A33C43 D444A4F3 7B67D126
906EE8F1 F702C355 AE7DE0EA 11F5EC13 CD98873D BC345B9D BA193A50 893FAD81
2B070E93 23A37F5A 5EF55378 2665F41D 3BD4A5C1 8E1BCD22 7081D68D 9C9DB8F7
0663921B 71E3C618 88BA0EE4 7D0C84
quit
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet1/0/1
!
interface FastEthernet1/0/2
!
interface FastEthernet1/0/3
!
interface FastEthernet1/0/4
!
interface FastEthernet1/0/5
!
interface FastEthernet1/0/6
!
interface FastEthernet1/0/7
!
interface FastEthernet1/0/8
!
interface FastEthernet1/0/9
!
interface FastEthernet1/0/10
!
interface FastEthernet1/0/11
!
interface FastEthernet1/0/12
!
interface FastEthernet1/0/13
!
interface FastEthernet1/0/14
!
interface FastEthernet1/0/15
!
interface FastEthernet1/0/16
!
interface FastEthernet1/0/17
!
interface FastEthernet1/0/18
!
interface FastEthernet1/0/19
!
interface FastEthernet1/0/20
!
interface FastEthernet1/0/21
!
interface FastEthernet1/0/22
!
interface FastEthernet1/0/23
!
interface FastEthernet1/0/24
!
interface FastEthernet1/0/25
!
interface FastEthernet1/0/26
!
interface FastEthernet1/0/27
!
interface FastEthernet1/0/28
!
interface FastEthernet1/0/29
!
interface FastEthernet1/0/30
!
interface FastEthernet1/0/31
!
interface FastEthernet1/0/32
!
interface FastEthernet1/0/33
!
interface FastEthernet1/0/34
!
interface FastEthernet1/0/35
!
interface FastEthernet1/0/36
!
interface FastEthernet1/0/37
!
interface FastEthernet1/0/38
!
interface FastEthernet1/0/39
!
interface FastEthernet1/0/40
!
interface FastEthernet1/0/41
!
interface FastEthernet1/0/42
!
interface FastEthernet1/0/43
!
interface FastEthernet1/0/44
!
interface FastEthernet1/0/45
!
interface FastEthernet1/0/46
!
interface FastEthernet1/0/47
!
interface FastEthernet1/0/48
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface Vlan1
no ip address
!
interface Vlan99
ip address 10.1.99.104 255.255.255.0
!
interface Vlan120
ip address 10.1.120.2 255.255.255.0
!
ip default-gateway 10.1.120.1
ip http server
ip http secure-server
!
!
!
!
!
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end
 
It looks like someone copied the config over from a different model switch. Anyway, just save the running config again (copy run start) and it will go away.
 
Misread your post. Is this supposed to be a stack? Are you using stack cables? How is this wired up?
 
The format is jacked up like the above poster said. Copying from a previous config has it messed up.
 
Also, if you are copying a config through the console connection, a large config file will overflow the buffers. If this happens, you will see messed up errors like that above exactly.

Copy and paste 2 pages at a time, should copy in without issue.
 
Also, if you are copying a config through the console connection, a large config file will overflow the buffers. If this happens, you will see messed up errors like that above exactly.

Copy and paste 2 pages at a time, should copy in without issue.

Thanks I didn't know this could be a problem, but how do I copy 2 pages at a time from a text file that doesn't seperate config files into pages.
 
It looks like someone copied the config over from a different model switch. Anyway, just save the running config again (copy run start) and it will go away.

Yes I copied the configs over from a different model switch, which was from a 3560v2 to a 3750v2. How is that a problem though because their both pretty much running 15.0(2)SE4 or 7 and the configs from the 3560v2 are most likely using legacy commands, since it was using 15.0(2)SE4. However, the difference between 15.0(2)SE4 on the 3560v2 and 15.0(2)SE7 on the 3750v2 shouldn't matter much unless I had started with 15.0(2)SE7 on the 3750v2 and was moving to the 3560v2 with 15.0(2)SE4 because the 3560v2 would be more likely to have to use legacy commands when stepping down from a 3750v2.
 
Yes I copied the configs over from a different model switch, which was from a 3560v2 to a 3750v2. How is that a problem though because their both pretty much running 15.0(2)SE4 or 7 and the configs from the 3560v2 are most likely using legacy commands, since it was using 15.0(2)SE4. However, the difference between 15.0(2)SE4 on the 3560v2 and 15.0(2)SE7 on the 3750v2 shouldn't matter much unless I had started with 15.0(2)SE7 on the 3750v2 and was moving to the 3560v2 with 15.0(2)SE4 because the 3560v2 would be more likely to have to use legacy commands when stepping down from a 3750v2.
It's not just up to the OS. Different switch models number their interfaces differently. I.e. fa1/0 vs fa1/0/1. Therefore, your config will be different because the interface numbering is different.

As for my stack question, I meant are you using stacking cables on the back if the switches or are they running as standalone switches with just a power cords and Ethernet cables connected to each one?
You can read more about switch stack cabling here.

If your switches are not stacked but your interfaces numbers on one switch is 1/0/X and 2/0/X on another, then it means that they used to be a part of a switch stack. You'll have to erase the configuration and start from scratch (without getting messy with trying to undo it).

On your config: you have the VLANs configured but none of the interfaces are assigned to VLANs, so they'll default to VLAN 1. So it's basically behaving like an unmanaged switch right now. Also, you don't have any DHCP configured.
 
Okay, so your saying I need to fix the time and date. How do I do that though?
I recommend you read this first.

If you still have questions, you want to watch CCNA videos or buy a book. Cisco has a steep learning curve and requires more time to learn this stuff.
 
Thanks I didn't know this could be a problem, but how do I copy 2 pages at a time from a text file that doesn't seperate config files into pages.
TO copy a page at a time, open in notepad (or favorite text editor), select the start of the first line, then hold shift and PageDown. That will select a full page. PgDn twice and you have two pages selected and can copy in. Once copied, start at the next line after the selected lines.
 
Good tip DermicSavage, will keep that in mind. To set the time and date you can use the clock set command. Type clock set ? to see the format it wants you to use. Might be better off just looking at the config file or a working switch and manually setting up the new switch to match the settings you need, looks like the interface names are not the same and that's what is messing you up. I am not sure if or what command to use to rename the interfaces though (only just started the class this week where I'm learning to configure IOS/cisco stuff).

YouTube has a ton of videos on networking and working with IOS. Check out this channel for some tutorial videos: https://www.youtube.com/channel/UCwjafl4RJa6st6caneVWHkQ
 
The errors are because you're trying to enter an interface thats not correct... your 'show inventory' will show that you have a sub slot 1 for that module and so therefore your interfaces are fa1/0/1-48 with your 4 gig trunking ports. Different models/designs will have different interface numbers based on its module slots etc. If you're looking to make general config changes to all 48 ports at once, you'll find the 'interface range fa1/0/1-48' command helpful.
 
Also, if you are copying a config through the console connection, a large config file will overflow the buffers. If this happens, you will see messed up errors like that above exactly.

Copy and paste 2 pages at a time, should copy in without issue.

I think this was my problem because the configs seem to be fine even though I didn't exactly do this though to fix the problem consider I still tried to copy it all in at one and then recopy and paste from the point it messed up and over flowed the buffers.
 
TO copy a page at a time, open in notepad (or favorite text editor), select the start of the first line, then hold shift and PageDown. That will select a full page. PgDn twice and you have two pages selected and can copy in. Once copied, start at the next line after the selected lines.

Thanks. This would have helped if I would have tried this before I fixed it another way, which was not the right way. However, I fixed it though.
 
Yeah, Cisco's can be picky on how quick you past stuff via console. I usually do it in chunks less than a page.
 
Back
Top