Drawing the cascade relationship of a vswitch is the most basic requirement for network O & M. Two tables of Layer 2 or Layer 3 switches are involved. One is the ARP table and the other is the MAC address table. The knowledge involved is nothing more than the ARP protocol and the switch (or the bridge) store and forward these two knowledge points.
During data transmission, the L2 Switch records the IP address and MAC address of the host that is communicating with it to its ARP table, the MAC address and port number are recorded in your Mac table. Based on the two tables, you can draw a cascade graph to obtain a part of the topology.
For example, if you only know the user's IP address, you can obtain the Topology from the user to the aggregation switch based on this address. The premise is that you have to have the user name and password of the switch. The process is summarized as follows, tracert is a valid address and can be determined based on the feedback.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/40/1A/wKioL1PON6mBx42PAAGA_E9n2zg502.jpg "Title =" q1.jpg "alt =" wkiol1pon6mbx42paaga_e9n2zg502.jpg "/>
First, obtain the gateway information (non-private address). After telnet, obtain the user's MAC address (sho ARP | include user IP address) based on the ARP table ),
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/40/1E/wKiom1POOgmjnOhpAABNrTBnX3M812.jpg "Title =" q2.jpg "alt =" wkiom1poogmjnohpaabnrtbnx3m812.jpg "/>
Obtain the port number (sho Mac-table-address Add User Mac) 650) connected to the vswitch based on the user's MAC address. This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/40/1F/wKiom1POOqnwoOKSAACvlLBQZiA284.jpg "Title =" q3.jpg "alt =" wkiom1pooqnwooksaacvllbqzia284.jpg "/>
Obtain the management IP address (sho ARP port number) of the downlink switch based on the port number)
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/40/22/wKiom1POO9LScj57AAGvFi8KBcE585.jpg "Title =" q4.jpg "alt =" wkiom1poo9lscj57aagvfi8kbce585.jpg "/>
Telnet the downlink switch to obtain the port from which the user connects directly to the vswitch
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/40/29/wKioL1POQSawlOeSAAB9KrmRUe0751.jpg "Title =" q5.jpg "alt =" wkiol1poqsawloesaab9krmrue0751.jpg "/>
Ccna-draw the vswitch cascade relationship