@Ronnie-Wong Thanks for the information Ronnie. How can I find out if, let's say, fa0/0 is the entry or exit interface of switch?
-
Cisco Router/Switch CLI vs. Network Topology
-
This is where, I'm not sure if I'm understanding your question. A switchport itself can be both. Switchports are not exclusively entry or exit interfaces. Regardless of networking devices...for the most part can transmit (tx) as well as receive (rx). This would be true if your talking about switches, routers or even firewalls.
Now the closest concept from your original post is that I think you're confusing a switch with firewall. Firewall ports can both
tx
andrx
but they are designed as outside (ingress-traffic on the side going into the firewall to the LAN) or inside (egress-traffice from inside leaving the LAN to the outside)You may have to provide a context. So let me ask what is it that you are trying to accomplish?
Cordially,
Ronnie Wong
Edutainer, ITProTV*if the post above has answered the question, please mark the topic as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied support or guarantee by the ITProTV team. -
My setup is as follows: I have 2 switches connected to a router. I also have systems with their own switch that connects to my switches. I'm trying to create a network map so it can help me troubleshoot problems in the future. In the CLI, how can I find the interface where workstations connect to the switch and where the switch(es) connect to the router?
-
The easiest option from the Cisco CLI:
show mac address-table
: this command will show you the mac address of the devices connected to the switch. All you have to do is find the mac address of the devices.Cordially,
Ronnie Wong
Edutainer, ITProTV*if the post above has answered the question, please mark the topic as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied support or guarantee by the ITProTV team. -
I'm trying to track how a packet travels from the workstation through the switch, to the router, and out. I'm trying to find which IP address coincides with which interface? How can I find that?
-
@Antwyon-Givens said in Cisco Router/Switch CLI vs. Network Topology:
I'm trying to track how a packet travels from the workstation through the switch, to the router, and out. I'm trying to find which IP address coincides with which interface? How can I find that?
I'm still missing some info to help. on
how a packet travels from workstation through a switch
. if the cable is directly connected from the workstation to the switch, that is HOW it does it -- via the cable. I'm sure I'm not answering correctly because I'm not understanding something you writing. Please provide more if that isn't the answer.To find the interface to match to the IP... You can do what I mentioned before, find the mac address to that point. Then you can go to those devices and find the IP address on that device.
Cordially,
Ronnie Wong
Edutainer, ITProTV*if the post above has answered the question, please mark the topic as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied support or guarantee by the ITProTV team. -
Maybe a diagram will help with this scenario. How do I find the IP address for the interfaces with the '?' marks in the diagram via CLI?
-
On the router0,
Show IP interface brief
On the switches, you will not see IP addresses on the switchport interfaces unless you've configured them to be routed ports.
Cordially,
Ronnie Wong
Edutainer, ITProTV*if the post above has answered the question, please mark the topic as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied support or guarantee by the ITProTV team. -
@Ronnie-Wong If the switches are unable to be accessed, how will I know where the switches are connected to the router?
-
@Antwyon-Givens,
if CDP is enabled, on the router you can run ashow cdp neighbors
Cordially,
Ronnie Wong
Edutainer, ITProTV*if the post above has answered the question, please mark the topic as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied support or guarantee by the ITProTV team.