09-25-2015 04:27 AM - edited 03-05-2019 02:23 AM
How can i make a crosslink by 2 routed ports. The switchport in the router has vlan1 and the routed port cannot ping the vlan1 ip. On the other router i had the same interfaces.
How can i add the routed port to the vlan1 ??? So the port should act as a switchport.
Thanks
09-25-2015 02:05 PM
Can you post your configs?
HTH,
John
09-28-2015 12:49 AM
The interface GigabitEthernet1/0 should be in the vlan1 but i cannnot ping the vlan1 interface from GigabitEthernet1/0.
Why?
Thanks
interface Vlan1
description ##### Inside-VLAN #####
ip address 10.0.0.2 255.255.255.0
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1/0
no ip address
!
interface GigabitEthernet0/1/1
no ip address
!
interface GigabitEthernet0/1/2
no ip address
!
interface GigabitEthernet0/1/3
no ip address
!
interface GigabitEthernet0/1/4
no ip address
!
interface GigabitEthernet0/1/5
no ip address
!
interface GigabitEthernet0/1/6
no ip address
!
interface GigabitEthernet0/1/7
no ip address
!
interface GigabitEthernet0/3/0
no ip address
!
interface GigabitEthernet0/3/1
no ip address
!
interface GigabitEthernet0/3/2
no ip address
!
interface GigabitEthernet0/3/3
no ip address
!
interface GigabitEthernet0/3/4
no ip address
!
interface GigabitEthernet0/3/5
no ip address
!
interface GigabitEthernet0/3/6
no ip address
!
interface GigabitEthernet0/3/7
no ip address
!
interface GigabitEthernet1/0
description VLAN_1_Crosslink
no ip address
!
interface GigabitEthernet1/1
no ip address
shutdown
duplex auto
speed auto
NAME: "CISCO2921/K9", DESCR: "CISCO2921/K9 chassis, Hw Serial#: FCZ1906605G, Hw Revision: 1.0"
PID: CISCO2921/K9 , VID: V08 , SN: FCZ1906605G
NAME: "8 Port GE Non-POE EHWIC Switch on Slot 0 SubSlot 1", DESCR: "8 Port GE Non-POE EHWIC Switch"
PID: EHWIC-D-8ESG , VID: V01 , SN: FOC19102F4V
NAME: "8 Port GE Non-POE EHWIC Switch on Slot 0 SubSlot 3", DESCR: "8 Port GE Non-POE EHWIC Switch"
PID: EHWIC-D-8ESG , VID: V01 , SN: FOC19102FHV
NAME: "1000BASE-SX SFP", DESCR: "1000BASE-SX SFP"
, VID: , SN: FNS1120M142
NAME: "2 SFP GE SM on Slot 1", DESCR: "2 SFP GE SM"
PID: SM-2GE-SFP-CU , VID: V01 , SN: FOC182956HE
NAME: "1000BASE-SX SFP", DESCR: "1000BASE-SX SFP"
PID: GLC-SX-MM , VID: 10.0, SN: SF851540540
NAME: "C2921/C2951 AC Power Supply", DESCR: "C2921/C2951 AC Power Supply"
PID: PWR-2921-51-AC , VID: V03 , SN: QCS18510PYS
09-28-2015 01:43 AM
Hi,
Interface gi 1/0 is not a switchport it is routed port, so must have an IP address.
09-28-2015 02:05 AM
Yes this is my problem. Can i change it to an switchport that is in vlan1????
09-28-2015 04:05 AM
Try this:
int g1/0
switchport
switchport mode access
switchport access vlan 1
HTH,
John
09-28-2015 04:39 AM
i have only this commands in my interface
So there is no switchport command
Router(config)#interface GigabitEthernet1/0
Router(config-if)#?
Interface configuration commands:
aaa Authentication, Authorization and Accounting.
access-expression Build a bridge boolean access expression
arp Set arp type (arpa, probe, snap), timeout, log options or
packet priority
authentication Auth Manager Interface Configuration Commands
backup Modify backup parameters
bandwidth Set bandwidth informational parameter
bfd BFD interface configuration commands
bgp-policy Apply policy propagated by bgp community string
bridge-group Transparent bridging interface parameters
carrier-delay Specify delay for interface transitions
cdp CDP interface subcommands
channel-group Add this interface to an Etherchannel group
clns CLNS interface subcommands
cmns OSI CMNS
crypto Encryption/Decryption commands
cts Configure Cisco Trusted Security
cwmp Configure CPE WAN Management Protocol(CWMP) on this
interface
cws Configure Cloud Web Security
dampening Enable event dampening
default Set a command to its defaults
delay Specify interface throughput delay
description Interface specific description
dot1q dot1q interface configuration commands
dot1x Interface Config Commands for IEEE 802.1X
eou EAPoUDP Interface Configuration Commands
ethernet Ethernet interface parameters
exit Exit from interface configuration mode
fhrp Configure FHRP
flow-sampler Attach flow sampler to the interface
glbp Gateway Load Balancing Protocol interface commands
help Description of the interactive help system
history Interface history histograms - 60 second, 60 minute and
72 hour
hold-queue Set hold queue depth
ip Interface Internet Protocol config commands
iphc-profile Configure IPHC profile
ipv6 IPv6 interface subcommands
isis IS-IS commands
iso-igrp ISO-IGRP interface subcommands
keepalive Enable keepalive
llc2 LLC2 Interface Subcommands
lldp LLDP interface subcommands
load-interval Specify interval for load calculation for an interface
location Interface location information
logging Configure logging for interface
loopback Configure internal loopback on an interface
mab MAC Authentication Bypass Interface Config Commands
mac-address Manually set interface MAC address
macro Command macro
media-type Configure media type
metadata Metadata Application
mop DEC MOP server commands
mtu Set the interface Maximum Transmission Unit (MTU)
nat64 NAT64 interface commands
netbios Use a defined NETBIOS access list or enable name-caching
no Negate a command or set its defaults
ntp Configure NTP
onep Configure onep settings
ospfv3 OSPFv3 interface commands
pagp PAgP interface subcommands
port-tagging Allow port tagging on an interface
pppoe pppoe interface subcommands
pppoe-client pppoe client
rate-limit Rate Limit
redundancy RG redundancy interface config
routing Per-interface routing configuration
service-policy Configure CPL Service Policy
service-routing Service Routing in Interface Mode
shutdown Shutdown the selected interface
snapshot Configure snapshot support on the interface
snmp Modify SNMP interface parameters
source Get config from another source
standby HSRP interface configuration commands
tarp TARP interface subcommands
timeout Define timeout values for this interface
topology Configure routing topology on the interface
transmit-interface Assign a transmit interface to a receive-only interface
transport-opt Enable Transport Optimization on an Interface or a
Sub-Interface
tx-ring-limit Configure PA level transmit ring limit
user-group Interface-User-group Association
vlan-id Process VLAN-encapsulated packets with a specific VLAN ID
vlan-range Process VLAN-encapsulated packets with a range of VLAN
IDs
vnet Configure VNET interface options
vrf VPN Routing/Forwarding parameters on the interface
vrrp VRRP Interface configuration commands
waas WAN Optimization
zone-member Apply zone name
09-28-2015 04:49 AM
I can only assume the g1/0 is a L3 port then and you won't be able to change that. You may need to move to one of the other g0/3/? ports and that should resolve the issue...
** Edit **
I looked over your inventory, and this is a 2921. So, I'm also assuming that you have hwics in the router that allow you to configure switching. That being said, your 2 switch modules are 0/1 and 0/3. The g1/0 is going to be the L3 port that would only be able to be configured as a L3 interface and not a member of vlan 1. You will need to move your connection to the switching module...
HTH,
John
09-29-2015 06:05 AM
So the crosslink by the switchport is working but i want to take the fiber connection for that. So can i change the L3 g1/0 fiber port to a switchport connected to vlan1 or not?
The fiber is much more faster than the switchport.
Is this possible or not? I don´t know how to change a L3 interface to a L2 interface connected to a vlan.
Thanks
Raimund
09-29-2015 04:36 PM
Hi
to get round this just give int Gi 1/0 an IP address say 10.0.0.3 255.255.255.0 and make that address the default gateway on the switch as I assume the router is connected to the Internet or the rest of your network.
09-28-2015 02:15 PM
Raimund,
The simple answer is NO
09-27-2015 10:58 AM
How can i add the routed port to the vlan1 ??? So the port should act as a switchport
Fine below....
switch(config)# interface fastethernet 0/x (( example))
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan1
switch(config-if)# end
switch# write
switch# exit
Regards
09-28-2015 12:50 AM
Sorry but the command is not available in my interface.
09-28-2015 02:49 AM
Which one is not available inside your switch ??
09-28-2015 04:04 AM
The switchport command is not avialable in my interface GigabitEthernet1/0.
So it is a Layer 3 port and i would connect it to vlan1. Is this possible? With witch command?
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide