cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
280
Views
0
Helpful
9
Replies

cisco 1900 IP address add in Configuring Interface Card and Module

sujeetprajapati
Level 1
Level 1

Dear Team Facing the Issue in cisco router when ip add in interface found the Issue % IP addresses may not be configured on L2 links

Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES unset administratively down down
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 unassigned YES unset administratively down down
GigabitEthernet0/1/0 unassigned YES unset down down
GigabitEthernet0/1/1 unassigned YES unset down down
GigabitEthernet0/1/2 unassigned YES unset down down
GigabitEthernet0/1/3 unassigned YES unset down down
Vlan1 unassigned YES unset down down
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#itn
Router(config)#itngi
Router(config)#int
Router(config)#do show vlan-switch

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/1/0, Gi0/1/1, Gi0/1/2
Gi0/1/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 - - - - - 1002 1003
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
Router(config)#int gi0/1/0
Router(config-if)#ip add 192.168.15.2 255.255.255.0

% IP addresses may not be configured on L2 links.

9 Replies 9

marce1000
Hall of Fame
Hall of Fame

 

  - Try the "no switchport" command first on the interface ,

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Already used this command but still not working there

Please see this 

Router(config)#interface gigabitEthernet 0/1/0
Router(config-if)#no swi
Router(config-if)#no switchport
% Incomplete command.

Router(config-if)#

sujeetprajapati
Level 1
Level 1

This is Device# PID SN
-------------------------------------------------
*0 CISCO1905/K9 FGL212092XS

 

Router# show vlan-switch

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/1/0, Gi0/1/1, Gi0/1/2
Gi0/1/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 - - - - - 1002 1003
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0,

kindly Suggest 

 

 @sujeetprajapati - For a router ; you need to  create a VLAN, assign an ip address to it , and then put your interface in that VLAN

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Hi Marce1000

as Instruction after that put the command , but still not ping to my pc 

my pc ip address 192.168.119.6

Router#show ip int b
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES unset administratively down down
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 unassigned YES unset administratively down down
GigabitEthernet0/1/0 unassigned YES unset down down
GigabitEthernet0/1/1 unassigned YES unset down down
GigabitEthernet0/1/2 unassigned YES unset down down
GigabitEthernet0/1/3 unassigned YES unset up up
Vlan1 unassigned YES manual down down
Vlan10 192.168.119.1 YES manual up up
Router#show vl
Router#show vlan?
vlan-range vlan-switch vlans

Router#show vlans

No Virtual LANs configured.

Router#show vlan-s
Router#show vlan-switch

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/1/0, Gi0/1/1, Gi0/1/2
10 VLAN0010 active Gi0/1/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 - - - - - 1002 1003
10 enet 100010 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
Router#
Router#ping 192.168.119.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.119.6, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
Router#

yet not resolved 

If the port is layer2, and PC connected, check do you see MAC address on the port for the troubleshoot. also check IP arp table.

from PC are you able to ping the Gateway ?

check PC has any firewalls ? (disable and test it)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

@balaji.bandi  I am already check also this firewall but still not ping to gateway

Router#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.119.1 - 0027.e3d3.32a0 ARPA Vlan10
Internet 192.168.119.6 1 b07b.251d.56a5 ARPA Vlan10
Router#

 

any other 

we can see the IP arp that means good from network side and also you see mac address.

now from PC are you able to ping local IP that is 192.168.119.6 - yes ?

can you post ipconfig from PC ?

from router are you able to ping 192.168.119.1 ? (self ping ?)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

 

 @sujeetprajapati   >...as Instruction after that put the command 
                          Which command , please show me what you configured ?

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
Review Cisco Networking for a $25 gift card