Link to home
Start Free TrialLog in
Avatar of Keith Bui
Keith Bui

asked on

Cisco router 4400 and switch connection.

Hi,

I am unable to figure out which interface to configure for a sfp module on the 4400 router,

fibre is connected to the gi0/0/0 and the ethernet is connected to gi0/0/0. so how do i configure the fibre interface? please find attached photo of port connections

Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   203.89.212.150  YES manual up                    up
GigabitEthernet0/0/1   10.194.2.1      YES manual down                  down
GigabitEthernet0/0/2   unassigned      YES unset  administratively down down
GigabitEthernet0/0/3   unassigned      YES unset  administratively down down
Service-Engine0/2/2    unassigned      YES unset  administratively down down
Service-Engine0/4/0    unassigned      YES unset  administratively down down
GigabitEthernet0       unassigned      YES unset  administratively down down
BRI0/2/0:1             unassigned      YES unset  down                  down
BRI0/2/0:2             unassigned      YES unset  down                  down
BRI0/2/0:0             unassigned      YES unset  up                    down
BRI0/2/1:1             unassigned      YES unset  down                  down
BRI0/2/1:2             unassigned      YES unset  down                  down
BRI0/2/1:0             unassigned      YES unset  up                    down
Vlan1                  unassigned      YES unset  administratively down down
IMG20170329164659.jpg
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Try to swap cables - yellow and white.
In some cases you need to configure speed no negotiate under interface.
Otherwise configuration is the same as any other port.
#sh inv
should show you are SFPs recognised
(on switch you can see if SFP is recognised by issuing sh interface status - SFP should be listed)
Now I saw the picture. :)
Those look like dual-personality interfaces issue under interface
interface gi0/0/0
 media-type <type>
Avatar of Keith Bui
Keith Bui

ASKER

Can you both the ethernet and sfp ports?
No. Remove copper cable.
or is it that you have to use either ethernet or sfp? and not both?
Not both - dual personality ports are either SFP or RJ45. Not both.
Thanks... will give it a try now.
So i have the link between the switch and the router up.

I can ping the connecting interface but nothing beyond that....
 
router sfp ip address is 10.194.2.1

TenGigabitEthernet5/14 10.194.2.3 is the sfp from switch to router.

i have added ip default gateway to point to interface of router which is pingable. Switch interface as below:

              IP-Address      OK? Method Status                Protocol
TenGigabitEthernet1/1  unassigned      YES unset  administratively down down
TenGigabitEthernet1/2  unassigned      YES unset  administratively down down
TenGigabitEthernet1/3  unassigned      YES unset  administratively down down
TenGigabitEthernet1/4  unassigned      YES unset  administratively down down
TenGigabitEthernet1/5  unassigned      YES unset  administratively down down
TenGigabitEthernet1/6  unassigned      YES unset  administratively down down
TenGigabitEthernet1/7  unassigned      YES unset  administratively down down
TenGigabitEthernet1/8  unassigned      YES unset  down                  down
TenGigabitEthernet1/9  unassigned      YES NVRAM  down                  down
TenGigabitEthernet1/10 unassigned      YES NVRAM  down                  down
TenGigabitEthernet1/11 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/12 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/13 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/14 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/15 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/16 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/1  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/2  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/3  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/4  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/5  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/6  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/7  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/8  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/9  unassigned      YES unset  down                  down
TenGigabitEthernet2/10 unassigned      YES unset  down                  down
TenGigabitEthernet2/11 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/12 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/13 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/14 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/15 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/16 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/1  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/2  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/3  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/4  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/5  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/6  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/7  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/8  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/9  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/10 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/11 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/12 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/13 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/14 10.194.2.3      YES manual up                    up
TenGigabitEthernet5/15 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/16 unassigned      YES NVRAM  administratively down down
mgmt0                  unassigned      YES unset  down                  down
Vlan1                  unassigned      YES NVRAM  administratively down down
Vlan2                  10.194.2.1      YES NVRAM  administratively down down
Vlan10                 10.194.10.1     YES NVRAM  administratively down down
Vlan11                 10.194.11.1     YES NVRAM  administratively down down
Vlan12                 10.194.12.1     YES NVRAM  administratively down down
Vlan13                 10.194.13.1     YES NVRAM  administratively down down
Vlan14                 10.194.14.1     YES NVRAM  administratively down down
Vlan15                 10.194.15.1     YES NVRAM  administratively down down
Vlan16                 10.194.16.1     YES NVRAM  administratively down down
Vlan17                 10.194.17.1     YES NVRAM  administratively down down
Vlan18                 10.194.18.1     YES NVRAM  administratively down down
Vlan90                 10.194.90.1     YES NVRAM  administratively down down
Vlan91                 10.194.91.1     YES NVRAM  administratively down down
Vlan92                 10.194.92.1     YES NVRAM  administratively down down
Vlan100                10.194.100.1    YES NVRAM  administratively down down
Vlan110                10.194.110.1    YES NVRAM  administratively down down
Vlan120                10.194.120.1    YES NVRAM  administratively down down
Vlan121                10.194.121.1    YES NVRAM  administratively down down
Vlan130                10.194.6.1      YES NVRAM  administratively down down
Vlan900                10.194.70.1     YES NVRAM  administratively down down
Vlan990                10.194.0.1      YES NVRAM  administratively down down


router interface

Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   203.89.212.150  YES manual up                    up
GigabitEthernet0/0/1   10.194.2.1      YES manual up                    up
GigabitEthernet0/0/2   unassigned      YES unset  administratively down down
GigabitEthernet0/0/3   unassigned      YES unset  administratively down down
Service-Engine0/2/2    unassigned      YES unset  administratively down down
Service-Engine0/4/0    unassigned      YES unset  administratively down down
GigabitEthernet0       unassigned      YES unset  administratively down down
BRI0/2/0:1             unassigned      YES unset  down                  down
BRI0/2/0:2             unassigned      YES unset  down                  down
BRI0/2/0:0             unassigned      YES unset  up                    down
BRI0/2/1:1             unassigned      YES unset  down                  down
BRI0/2/1:2             unassigned      YES unset  down                  down
BRI0/2/1:0             unassigned      YES unset  up                    down
Loopback0              172.16.0.101    YES manual up                    up
Vlan1                  unassigned      YES unset  administratively down down
This is duplicated IP address issue (you can't have that):
switch
Vlan2                  10.194.2.1      YES NVRAM  administratively down down
router
GigabitEthernet0/0/1   10.194.2.1      YES manual up                    up



1. you have duplicated IP addresses
2. this IP address range overlaps with VLAN 2 - TenGigabitEthernet5/14 10.194.2.3      YES manual up                    up
3. On switch have a lot of interface VLANs - you need to issue ip routing on switch to be able to use all of those
4. since all vlans are in down down state that means that there are no ports assigned to VLANs

ip routing
interface vlan 2
 ip address 10.194.2.1 255.255.255.0
!
interface gi5/11
 ! not sure if switchport command is needed for 4400 (are ports in routed mode by default or not)
 ! but since you addigned IP address to interface I guess they are
 switchport
 switchport mode access
 switchport access vlan x
!
Actual solution how to configure ports depends on your network design.
Thanks for that i have updated the ips as follows:

Switch :
Interface              IP-Address      OK? Method Status                Protocol
TenGigabitEthernet1/1  unassigned      YES unset  administratively down down
TenGigabitEthernet1/2  unassigned      YES unset  administratively down down
TenGigabitEthernet1/3  unassigned      YES unset  administratively down down
TenGigabitEthernet1/4  unassigned      YES unset  administratively down down
TenGigabitEthernet1/5  unassigned      YES unset  administratively down down
TenGigabitEthernet1/6  unassigned      YES unset  administratively down down
TenGigabitEthernet1/7  unassigned      YES unset  administratively down down
TenGigabitEthernet1/8  unassigned      YES unset  down                  down
TenGigabitEthernet1/9  unassigned      YES NVRAM  down                  down
TenGigabitEthernet1/10 unassigned      YES NVRAM  down                  down
TenGigabitEthernet1/11 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/12 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/13 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/14 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/15 unassigned      YES NVRAM  up                    up
TenGigabitEthernet1/16 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/1  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/2  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/3  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/4  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/5  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/6  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/7  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/8  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/9  unassigned      YES unset  down                  down
TenGigabitEthernet2/10 unassigned      YES unset  down                  down
TenGigabitEthernet2/11 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/12 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/13 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/14 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/15 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet2/16 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/1  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/2  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/3  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/4  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/5  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/6  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/7  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/8  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/9  unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/10 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/11 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/12 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/13 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/14 10.194.2.5      YES manual up                    up
TenGigabitEthernet5/15 unassigned      YES NVRAM  administratively down down
TenGigabitEthernet5/16 unassigned      YES manual administratively down down
mgmt0                  unassigned      YES unset  down                  down
Vlan1                  unassigned      YES NVRAM  administratively down down
Vlan2                  10.194.2.1      YES NVRAM  administratively down down
Vlan10                 10.194.10.1     YES NVRAM  administratively down down
Vlan11                 10.194.11.1     YES NVRAM  administratively down down
Vlan12                 10.194.12.1     YES NVRAM  administratively down down
Vlan13                 10.194.13.1     YES NVRAM  administratively down down
Vlan14                 10.194.14.1     YES NVRAM  administratively down down
Vlan15                 10.194.15.1     YES NVRAM  administratively down down
Vlan16                 10.194.16.1     YES NVRAM  administratively down down
Vlan17                 10.194.17.1     YES NVRAM  administratively down down
Vlan18                 10.194.18.1     YES NVRAM  administratively down down
Vlan90                 10.194.90.1     YES NVRAM  administratively down down
Vlan91                 10.194.91.1     YES NVRAM  administratively down down
Vlan92                 10.194.92.1     YES NVRAM  administratively down down
Vlan100                10.194.100.1    YES NVRAM  administratively down down
Vlan110                10.194.110.1    YES NVRAM  administratively down down
Vlan120                10.194.120.1    YES NVRAM  administratively down down
Vlan121                10.194.121.1    YES NVRAM  administratively down down
Vlan130                10.194.6.1      YES NVRAM  administratively down down
Vlan900                10.194.70.1     YES NVRAM  administratively down down
Vlan990                10.194.0.1      YES NVRAM  administratively down down

Router:
Interface              IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0   203.89.212.150  YES manual down                  down
GigabitEthernet0/0/1   10.194.2.3      YES manual up                    up
GigabitEthernet0/0/2   unassigned      YES unset  administratively down down
GigabitEthernet0/0/3   unassigned      YES unset  administratively down down
Service-Engine0/2/2    unassigned      YES unset  administratively down down
Service-Engine0/4/0    unassigned      YES unset  administratively down down
GigabitEthernet0       unassigned      YES unset  administratively down down
BRI0/2/0:1             unassigned      YES unset  down                  down
BRI0/2/0:2             unassigned      YES unset  down                  down
BRI0/2/0:0             unassigned      YES unset  up                    down
BRI0/2/1:1             unassigned      YES unset  down                  down
BRI0/2/1:2             unassigned      YES unset  down                  down
BRI0/2/1:0             unassigned      YES unset  up                    down
Loopback0              172.16.0.101    YES manual up                    up
Vlan1                  unassigned      YES unset  administratively down down


However, when issuing the command ip routing i get  message incomplete command?
That was the network design that was provided, they had overlapping ips. Will raise it tomorrow but for now have changed it to as above and still unable to get the switch to communicate in different vlans.
All interface VLANs are in administratively down state
issue for all of you interface vlans
interface vlan x
no shut

check if routing is already configured
sh ip route

And to check what is expected for ip routing command issue
sh ip routing ?
Generally routers do not except overlapping IP addresses, or overlapping IP address ranges.
sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.194.2.0/29 is directly connected, TenGigabitEthernet5/14
L        10.194.2.5/32 is directly connected, TenGigabitEthernet5/14


(config)#ip routing ?
  protocol  IP routing protocol
Looks like ip routing is already in place since you have routing table.
configure default route to router
ip route 0.0.0.0 0.0.0.0 10.194.2.1
On router you should configure static route (or routes) to all networks configured on switch.
ip route 10.194.10.0 255.255.255.0 10.194.2.x            x - ip address of switch
ip route 10.194.11.0 255.255.255.0 10.194.2.x  
ip route 10.194.12.0 255.255.252.0 10.194.2.x            <--- optimization single route for 4 networks (range 10.194.12.0/24, 10.194.13.0/24, 10.194.14.0/24, 10.194.15.0/24)
Shouldn't the switch be switching between the vlans? how come we need a static route?
Switch will route between VLANs, but router need to know where other networks are located since those are not directly connected.

My previous post begins with
On router....
and end with
... to all networks configured on switch.
:)

Or you will use dynamic routing - and you will not need static routes (if supported by device licenses).
No problems thanks , i have added

ip route 10.194.0.0 255.255.255.0 10.194.2.5

but still cant get to 10.194.0.50 from router?
One edge switch interface output is :

BKGNDCR1SW01#sh ip int brief
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  unassigned      YES NVRAM  administratively down down
Vlan900                10.194.70.11    YES NVRAM  down                  down
Vlan990                10.194.0.50     YES NVRAM  up                    down
FastEthernet0          unassigned      YES NVRAM  administratively down down
GigabitEthernet1/0/1   unassigned      YES unset  down                  down
GigabitEthernet1/0/2   unassigned      YES unset  down                  down
GigabitEthernet1/0/3   unassigned      YES unset  down                  down
GigabitEthernet1/0/4   unassigned      YES unset  down                  down
GigabitEthernet1/0/5   unassigned      YES unset  down                  down
GigabitEthernet1/0/6   unassigned      YES unset  down                  down
GigabitEthernet1/0/7   unassigned      YES unset  down                  down
GigabitEthernet1/0/8   unassigned      YES unset  down                  down
GigabitEthernet1/0/9   unassigned      YES unset  down                  down
GigabitEthernet1/0/10  unassigned      YES unset  down                  down


Why is the protocol down?
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just as I sad
Vlan990                10.194.0.50     YES NVRAM  up                    down
There are no active ports in that VLAN.

Vlan900 is down down - reason VLAN 900 is not created on switch.
Do i need to add this onto the edge switches? what about the management vlan to manage the switches? vlan 2 ?
Thanks i will call it a day and continue tomorrow. Thanks heaps for your help..much appreciated.
You need to add default route on edge switch.
If you have management VLAN in the same IP address range as routed interface you have to change management vlan IP address range.

Or you need configure port to router as access port in VLAN 2

interface te5/14
 no ip address
 switchport
 switchport mode access
 switchport access vlan 2
!
interface VLAN 2
 ip address 14 10.194.2.5  255.255.255.0

It's your choice.

And please configure spanning tree mode as RPVST. :)
You're welcome.