+ Reply to Thread
Results 1 to 12 of 12
  1. Junior Member
    Join Date
    Sep 2012
    Posts
    11
    #1

    Default interface range not validated - command rejected

    Hi

    I am very new in CCNA study and I am trying to master Cisco IOS cmds. I am using cisco packet tracer. I am trying to up interfaces 2/0 - 2/3 all together but it doesnt work as below -

    -------------------------------------------------------

    Router#show ip interface brief
    Interface IP-Address OK? Method Status Protocol

    FastEthernet0/0 unassigned YES unset administratively down down

    FastEthernet0/1 unassigned YES unset administratively down down

    FastEthernet0/2/0 unassigned YES unset administratively down down

    FastEthernet0/2/1 unassigned YES unset administratively down down

    FastEthernet0/2/2 unassigned YES unset administratively down down

    FastEthernet0/2/3 unassigned YES unset administratively down down

    Vlan1 192.168.1.1 YES manual administratively down down
    Router#confi
    Router#configure t
    Router#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#interface range fastEthernet 2/0 - 3
    interface range not validated - command rejected
    Router(config)#

    ------------------------------------------------------

    1. How to do no shutdown of interfaces 2/0 - 2/3 all together? Thanks in advance.
    Reply With Quote Quote  

  2. SS -->
  3. Senior Member
    Join Date
    Jun 2012
    Location
    England
    Posts
    356

    Certifications
    CCNP, CCNA Security, ITIL Foundation (2011)
    #2
    Example
    FastEthernet0/1/0 unassigned YES unset administratively down down
    FastEthernet0/1/1 unassigned YES unset administratively down down
    FastEthernet0/1/2 unassigned YES unset administratively down down
    FastEthernet0/1/3 unassigned YES unset administratively down down
    interface range fastEthernet 0/1/0 - fa 0/1/3
    no shutdown

    You're missing out a 0 in your syntax. FastEthernet 0/2/0, FastEthernet 0/2/1
    But when doing the range command you're just doing 2/0 not 0/2/0, try that.
    Reply With Quote Quote  

  4. Junior Member
    Join Date
    Sep 2012
    Posts
    11
    #3
    Hi

    I am trying this on a 2811 router and the output is as below -

    Router#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#interface range fastEthernet 0/2/0 - 0/2/3
    ^
    % Invalid input detected at '^' marker.


    I have also configured a vlan for 0/2/0 - 0/2/3 as below -

    Router#en
    Router#sh vlan

    VLAN Name Status Ports
    ---- -------------------------------- --------- -------------------------------
    1 default active Fa0/2/0, Fa0/2/1, Fa0/2/2, Fa0/2/3
    1002 fddi-default act/unsup
    1003 token-ring-default act/unsup
    1004 fddinet-default act/unsup
    1005 trnet-default act/unsup

    VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
    ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
    1 enet 100001 1500 - - - - - 0 0
    1002 fddi 101002 1500 - - - - - 0 0
    1003 tr 101003 1500 - - - - - 0 0
    1004 fdnet 101004 1500 - - - ieee - 0 0
    1005 trnet 101005 1500 - - - ibm - 0 0

    Remote SPAN VLANs
    ------------------------------------------------------------------------------


    Primary Secondary Type Ports
    ------- --------- ----------------- ------------------------------------------
    Router#

    Configuring vlan1 on switch port 0/2/0 - 0/2/3 can have any influence that may restrict from executing the interface range cmd in the above mentioned ports?
    Last edited by Oulkarnain; 10-14-2012 at 11:47 AM. Reason: edit
    Reply With Quote Quote  

  5. Junior Member
    Join Date
    Sep 2012
    Posts
    11
    #4
    Hi Again

    Please note the ^ sign is just under 0/2/3 of interface range fastEthernet 0/2/0 - 0/2/3.
    Reply With Quote Quote  

  6. Junior Member Musixa's Avatar
    Join Date
    Oct 2012
    Location
    Philippines
    Posts
    10

    Certifications
    CCNA
    #5
    Quote Originally Posted by Oulkarnain View Post
    Hi

    I am trying this on a 2811 router and the output is as below -

    Router#configure terminal
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#interface range fastEthernet 0/2/0 - 0/2/3
    ^
    % Invalid input detected at '^' marker.


    I have also configured a vlan for 0/2/0 - 0/2/3 as below -

    Router#en
    Router#sh vlan

    VLAN Name Status Ports
    ---- -------------------------------- --------- -------------------------------
    1 default active Fa0/2/0, Fa0/2/1, Fa0/2/2, Fa0/2/3
    1002 fddi-default act/unsup
    1003 token-ring-default act/unsup
    1004 fddinet-default act/unsup
    1005 trnet-default act/unsup

    VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
    ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
    1 enet 100001 1500 - - - - - 0 0
    1002 fddi 101002 1500 - - - - - 0 0
    1003 tr 101003 1500 - - - - - 0 0
    1004 fdnet 101004 1500 - - - ieee - 0 0
    1005 trnet 101005 1500 - - - ibm - 0 0

    Remote SPAN VLANs
    ------------------------------------------------------------------------------


    Primary Secondary Type Ports
    ------- --------- ----------------- ------------------------------------------
    Router#

    Configuring vlan1 on switch port 0/2/0 - 0/2/3 can have any influence that may restrict from executing the interface range cmd in the above mentioned ports?
    Hi Oulkarnain, I think the problem is the syntax of your command "Router(config)#interface range fastEthernet 0/2/0 - 0/2/3". It should be "Router(config)#interface range fastEthernet 0/2/0 - 3".When using the interface range command, you should not include the full serial port number in the last range. Include only the last number of the serial port number.

    "Configuring vlan1 on switch port 0/2/0 - 0/2/3 can have any influence that may restrict from executing the interface range cmd in the above mentioned ports? "

    It will not influence it. Vlan 1 is created by default.

    I hope this helps, goodluck!
    Reply With Quote Quote  

  7. Junior Member
    Join Date
    Sep 2012
    Posts
    11
    #6
    Thanks, it worked
    Reply With Quote Quote  

  8. Junior Member Registered Member
    Join Date
    Feb 2017
    Posts
    2
    #7

    Default Interface range not validated - command regected

    does this go for GigabitEthernet also?
    Reply With Quote Quote  

  9. Junior Member Registered Member
    Join Date
    Feb 2017
    Posts
    2
    #8
    this is what i tried

    interface range g1/1 - 2
    Reply With Quote Quote  

  10. Senior Member Danielh22185's Avatar
    Join Date
    Apr 2012
    Location
    DFW Area
    Posts
    1,156

    Certifications
    CCNP R&S, CCNA, CCENT
    #9
    Context help is your friend
    Currently Studying: IE Stuff...kinda...for now...
    My ultimate career goal: To climb to the top of the computer network industry food chain.
    "Winning means you're willing to go longer, work harder, and give more than anyone else." - Vince Lombardi
    Reply With Quote Quote  

  11. Senior Member dontstop's Avatar
    Join Date
    Dec 2011
    Posts
    513

    Certifications
    CCENT, CCNA:R&S, BIT
    #10
    The following are all valid! As long as you have the listed interfaces these will work.

    Code:
    int range g0/1 - 5
    int range f0/1 - 5,g0/1 - 3
    int range f0/1,g0/1
    Quote Originally Posted by TBAM327 View Post
    does this go for GigabitEthernet also?
    As long as you have Gigabit Ethernet interface it will work.
    Last edited by dontstop; 02-14-2017 at 09:13 PM.
    Reply With Quote Quote  

  12. Junior Member Registered Member
    Join Date
    Apr 2017
    Posts
    2
    #11

    Default Question Solved (For Me)

    OK - Here is what worked for me in PT.
    I was getting the same error from PT. It was a syntax error on my part (ugh). So, I ran the sh run to see how the spacing looks.

    sw(config)#int range fastEthernet 0/0 - fastEthernet 0/12
    interface range not validated - command rejected
    sw(config)#int
    sw(config)#interface fa 0/0 <----------------------------- I can't even get into an interface
    %Invalid interface type and number
    sw(config)#do sh run

    !
    interface FastEthernet0/1
    !
    interface FastEthernet0/2
    !
    interface FastEthernet0/3 <---------------------- did a copy
    !

    sw(config)#int FastEthernet0/1
    sw(config-if)#exi <------------------------------ OK, not I can actually get an interface
    sw(config)#int raFastEthernet0/1
    sw(config)#int ra FastEthernet0/1 - 12
    sw(config-if-range)#sw acc vlan 10 <------------------ Working
    sw(config-if-range)#do sh vlan br
    Reply With Quote Quote  

  13. Junior Member Registered Member
    Join Date
    Apr 2017
    Posts
    2
    #12
    Meant to say in the above post sw(config-if)#exi <------------------------------ OK, now I can actually get an interface
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks