10.2.6 Packet Tracer - Use LLDP to Map a Network

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi friends welcome to world in this video we are going to solve this packet tracer activity use lldp to map a network before coming to this activity friends if you like to get any ccna support you can contact our team using our website link you will get from the description below and also if you like to get these type of technical videos in future consider subscribing and don't forget to enable that bell icon so that you will get notification message whenever we upload a new video back to our activity so here we can see addressing table and this addressing table is incomplete also we can see the topology here admin dash pc s1 edge also we have this remote branch office inside this cloud and it looks almost our previous packet tracer activity in that we used cdp here we use lldp here we can see the objectives map a network using llgp and the ssh remote access you will go through the background a senior network administrator requires you to map the remote branch of this network and discover information about all of the devices in the network you must record all of the network device names iep addresses and to mask and physical interfaces interconnecting the network devices to map the network we will use ssh for remote access and the link layer discovery protocol that is called the lltp to discover information about neighboring network devices because llgp is a layer 2 protocol it can be used to discover information about devices that do not have layer 3 connectivity we will record the information that together to complete the addressing table and provide a topology diagram of the remote branch of his network we will need the iep address for the remote branch office which is 209.165.200.10. the local and remote administrative usernames and passwords are given here local network username is admin 01 and password is here also we can see remote branch office network username it's rbo admin and here is the password we will go through the instructions part one use ssh to remotely access network devices in part one we will use the admin dash pc to remotely access the edge gateway router next from the edge router we will ssh into the remote rbo office on the admin dash pc open a command prompt then ssh into the gateway router at 192.168.1.21 using the username at mean01 and the password so we have to give this command like this ssh space dash l then the username then the target then we have to press enter and it will prompt for the password we have to give this password we will search into this router edge using this admin dash pc click on that we'll go to desktop command prompt and here we will give that ssh dash l then the username and the target ip address then we have to give the password paste here and press enter and we can see now we are in this edge router we are in a privileged exit mode they given a node notice that you are placed directly into privileged exit mode this is because that means your one user account is a city to privilege level 15 yeah already we have seen that the edge router was previously configured to use cdp switch s1 has already been configured to use lldp issue the show cdp command to verify cdp is currently active disable cdp by issuing the following command so no cdp run we will disable this cdp by using this command no cdp run coming to this admin pc we will go to global configuration mode conf t that is configure terminal and here we have to give a no cdp run lldp can be configured to both transmit and receive on a specific interface configure edge so that it receives llbp messages from s1 but does not send a message to s1 for security purposes enable lltp so we can see in edge we have to enable lltp lldp run then go to interface g00 and give no lldp transmit coming to our admin dash pc okay here we will give a ldp run oh here now we are in privilege exit mode we have to go to global configuration mode currently or configure terminal and here we will give that lldp run then we will go to interface it's a g0 slash zero and here we can give no lldp transmit use the show lldp neighbors command to verify that edge is receiving messages from es1 okay we will give this a command show lldp neighbors okay here we can see this ssh is closed so here again we will give this and the password okay here we'll give that command show lldp neighbors and here we can see device id local interface capability and port id connect to s1 with the ssh from edge router using that min 01 credentials issue the show llcp neighbors command notice that s1 did not receive information from the edge so we have to give this command ssh space dash l space admin 01 uh with this address 192 168 1.2 the ip address of this switch s1 so just i will copy that coming to our main pc here we will give that and it's a ssh dash l here we have to give a dash l and means 01 then the target password okay and here we will give that command show lldp let me put a question mark neighbors and here we cannot identify any neighbors exit from the connection with the s1 to return to the edger router cli use the show ip interface brief and show interfaces command to document the edge router's physical interfaces ip addresses and this to mask in the addressing table so we have to give these the commands show iep interface brief and show interfaces so coming to admin dash pc exit so that we are back to edge here we will give the commander show ip interface brief command and here we can see in this uh router edge uh we use the gigabit author at zero slash zero and a serial zero slash zero slot zero here coming to our addressing table here we can see those interfaces g 0 0 and serial 0 0 0 here we will get the i p address of serial 0 0 0 just i will copy this address and paste here also we have to get it's a subnet mask we will use show interface we can give a serial 0 0 0 and here we can see its internet address also we can see the prefix slash 30. that means mask is 255.255.255.252. here we can see we have to identify local interface and the connected neighbor for this g 0 slash 0 in this edge router coming to this pc here we can give the command show lldp neighbors and here we can see this uh device s1 local interface is a g 0 0 that means this the interface in this router edge and it is connected to a gigabit a third and 0 slash 1 in this s1 so just i will copy s1 to g01 here we can give g 0 1 2 s 1 from your session with the edge router connect with the ssh to the remote rbo office at 209.165.200.10 with the username rbo admin and the same password used for admin 0 1 so we have to give this ssh command so here we have to give ssh dash then the username then the target we have to get the password and we can see now we are in rbo dash edge after connecting to the remote rbo office at 209.165.200.10 what piece of previously missing information can now be added to the addressing table above so here we have seen now we are in rbo h so we got this device name here so that can be added in our addressing table and here we can see this svi this is svi of s1 so here we can give s1 and it's a submit to mask here we can see this ip address is from the same subnet of this address so we can use this sum to mask or even we can verify it if you go to this s1 we can verify that next we will go to part two use lldp to discover neighboring devices you are now remotely connected to the rbo dash edge router using lldp begin looking for the connected network devices issue the show iep interface brief and the show interfaces commands to document the rbo dash edge routers network interfaces ip addresses and subnet masks add the missing information to the addressing table we will give this a show commands show ip interface brief and here we can see these two interfaces are up gigabit the third and zero slash zero and two gigabit third zero slash one also we can see its ip address g 0 0 and g 0 1 we can merge these two cells also given the ip address here we will copy the ip address of a gigabit ethernet zero slash one and paste here also we can get its to mask so interface first of all we will go to g0 0 and here we can see it's a prefix given slash 30. we can copy this to mask then we will go to g0 1 here to give a show interface g 0 1 and here we can see prefix 30 security best practice recommends only running lltp when needed so lldp may need to be turned on use a show lldp command to test its status so we will give this a show llpp command show ldp and we can see it says llgp is not enabled you need to turn on llcp but it is a good idea to only send lldp information to internal network devices and not to external networks discover which interface is connected to the internet by issuing the command show ip interface brief enable the lltp protocol and completely disable llgp on the interface that is connected to the internet coming to admin dash pc you will give that a show command show ip interface brief and here we can see the public ip address they configured for the interface gigabit ethernet 0 0 which is connecting towards the isp here we will enable um lldp and we have to go to that interface g 0 slash 0 which is connecting to the isp and we will disable uh this lltp here we can see the command no lldp transmit no lltp receive coming to this admin dash pc configure terminal here we will give a lldp run then we will go to interface it's a g0s r0 here we have to give a no lldp transmit also no lldp received issue a show ldp neighbors command to find any neighboring network devices they given a node lldp will only show connected devices that are also running lldp we have to give this command show lldp neighbors exit show lldp neighbors here we can see one device rbo dash firewall just will copy this device name and we will add in this addressing table okay and also we can see local interface that is the interface of this router rbo dash edge it's a g0 slash one then it's connected to this g0 0 in this rbo dash firewall is there a neighboring network device what type of device is it what is its name on what interface is it connected is the device iep address listed record the information in the addressing table yeah just now we explained that so here we have seen this uh device rbo dash firewall and we we have seen it's a router we can see capability r is for router and also we can see it's connected to this port g 0 0 in this rbo firewall but here we cannot see any ip address for this rbo firewall use the show iproot command to determine the address of the device that you found with the show lldp neighbors command based on the information provided about the local address the routing table and the prefix length of the network use that information to determine the neighbor address we will update this local interface and connected neighbor for this interface g 0 one in this router rbo dash h here we can see the local interface gigabit ethernet zero slash one the interface in this rbo dash edge and it's connected to this device rbo dash firewall to the interface g 0 0 so just i will copy this device name the host name and here we can update that g 0 zero g zero slash zero to this rbo dash firewall we can give a show iep root command also here we can see two connected networks directly connected to gigabit ethernet zero slash one and here we can see another directly connected network gigabit the third zero slash zero and it's a public iep address which is connecting to the isp to find additional information from the neighboring device use the show lldp neighbors details command okay we will give this show command show lldp neighbors details what other piece of potentially sensitive information is listed so we will give this command and we will verify that show lldp neighbor details so it's a detail and here we can see the details we can see port id description system name even we can see a cisco ios software its name version we can see many things here and we can see they specify the version ios name and its version they given a note here the current version of packet tracer does not provide the management address of the neighbor device in this activity several neighbor device addresses have been provided in the addressing table okay here we can see that we cannot see the ip address of this uh device that is rbo firewall we cannot see management address not advertised so this is what they told here connect it to the neighbor device with ssh to discover other devices that may be its neighbors to connect with ssh use the same remote rbo office username and password but here without the ip address of our router rbo firewall how we will go to that router so we have to get the ip address of rbo dash firewall so we can get that here let me give a show command show um lldp neighbors and here we can see uh the interface g 0 1 the interface of this router rbo edge and we can see the port g 0 slash 0 the rbo firewall port g 0 0 we have to get the i p address of g 0 1 so that we can identify or we can get the i p address of this interface g 0 slash 0 very easily so here we can give a show iep root here we can see the ip address gigabit and 0 1 its prefix is slash 30 that means we will get only two uh usable ip address from this subnet and here we can see the ip address of this interface g 0 slash 1 in this router rbo dash edge it's 192.168.3.249. so obviously the other side the ip address will be 192.168.3.250. so just i will copy this and here we will give ssh space dash l then we have to give the username it's rbo admin then the target it's a 250 we have to give the password s3 cre7 p at five five now we can see we are in rbo firewall after successfully connecting with the ssh what does the command prompt show here we can see it shows this router host name that is rbo dash firewall you are remotely connected to the next neighbor use the show lldp neighbors command and the show lldp neighbors details command to discover other connected neighbor devices coming to admin dash pc here we will give show lldp neighbors and here we can see we have these neighbors rboh okay already we have seen that rboh then we have sw dash rbo1 here we can see the local interface the interface of this router rbo dash firewall and it's connected to g0 slash one in this sw dash rbo one so just i will copy this switch here and we can see it's connected to g0 slash one okay perfect here we can see it shows the capability b b means bridge that is switch so here again we will give a show llgp neighbors detail and to here we can see the details here we can see rbo edge but we cannot see the ip address here we can see sw dash rb01 software version and management address and not advertised what type of network devices neighbor this device yeah we have seen it's a switch record any newly discovered devices in the addressing table include their host name interfaces and iep addresses so we just added this device here we have to get its ip address and uh interfaces so there will be an sva okay and we have to see its interfaces before that here we can see we did not update this rbo firewall its interface its ip address support mask and uh local interface and connected neighbor so we can identify that from here now we are in this rbo firewall here we will give the command show ip interface brief and we can see they used gigabit the theoretical coming to our addressing table here we will label that g 0 1 and g 0 slash 2. also we have to get its ip address g zero slot zero just i will copy its ip address g zero slash one also we have to get it's a subject to mask show ip interface uh it's uh g 0 0 we'll try this and here we can see internet address they given the prefix slash 24 so we can update it and for this g0 slash one we can press up arrow from the keyboard and give g zero slash one here we can see internet address and given this address one nine two one six eight four dot 254 25 so we'll update that here 255.255.255 dot it's 128. and here we can see for this interface uh g 0 slash 0 they given the mask i mean they given the prefix slash 24 but we can see the other side they given uh slash 30. so actually there is a mismatch with the center mask okay and here the local interface and connected neighbor this is a g0 1 of rbo edge okay even we can verify this coming to admin dash pc we will give this a command again show lldp neighbors and here we can see rbo dash edge we can see the local interface that is g 0 0 the interface of this router rbo dash firewall and it's connected to g 0 1 the interface of this rboh so that's why we given g 0 1 dash rboh also here we can see this router rbo dash firewall is connected to sw dash rbo1 just i will copy this to this interface g 0 1 so we will update that g 0 1 to the switch perfect add the newly discovered device name next to the sbi n3 uh for address 192.168.4 okay here they given the iep address for this switch so just we'll add that here okay that's perfect connected to the svi for address 192.168.4.131 using ssh and credentials used previously if prompted for an enable secret password use the same password as used for rbo admin use the show llgp neighbors command and the show ldp neighbors detail command to discover other connected neighbor devices coming to admin dash pc and here we will give a ssh space dash l then we have to give the user name it's rbo admin then the target iphone sits here you already copied it and password is s3 cre 7 p 8 5 5 okay here we can see now we are in a user exit mode here we will give enable and again it's probably for the password here also we will give that same password cre 7 p at the right double 5 okay perfect we will give the show command show lldp neighbors and here we can see we got two neighbors one is sw dash rbo2 and rbo dash firewall already we have seen this rbo dash firewall and here we got one more switch just i will copy that and paste here also we will give a press apparel and give a show lldp neighbors detail here we can see sw dash rbo2 but we cannot see management address here we can identify the use the interfaces show ip interface brief command here we can see vlan address the given vlan 1 ip address they already provided that and here we can see these three interfaces are up that is the faster third zero slash 24 gigabit of third zero slash one and the gigabit a third zero slots two so we will mark all these interfaces here it's f a 0 24 then we have a g 0 slash 1 and g 0 slash 2. here again we will give this a show command to show lldp neighbors and here we can see these interfaces g 0 slash 2 the interface of this says w r b 0 1 and it's connected to g zero slash two of sw dash rbo so just i will copy this g zero slash two it's connected to g zero slash two of sw dash rbo2 here we can see this g 0 slash 1. here in this rbo firewall we can see g 0 slash 1 sw dash rb01 it's connected to this rbo firewall interface g zero slash one so here we can update that g zero slash one it's a rbo dash firewall what types of network devices and i borrow this device record any newly discovered devices in the addressing table include their host name interfaces and ip address so we already given the details here place the newly discovered device name next to the sbin34 address 192.168.4.132 so we will give this ip address for this sw dash rbo2 svi and to give that ip address here okay connect to the sbi for address 192.168.4.133 using ssh and the credentials used previously issue command a show lldp you should receive a message lldp is not enabled that means we have to enable lldp i will copy this ip address here then coming to admin dash pc here we will give a ssh space dash l uh then the username that is rb oh admin then the target ip address we already copied it password is a yes three cre seven p android double five okay enable s3 cre7 the adroit double five okay now we are in sw dash rbo3 we will give this a show command to show lldp neighbors and here we can see it says llgp is not enabled enable lldp globally as in step c there is no need to configure transmit or receive options because they are owned by default use the show lldp nybase command and the show lldp knives detail command to discover other connected neighbor devices coming to this admin dash pc here we will give we will go to global configuration mode conf t and here we will give lldp run so we enabled lldp now we will exit then give this a show command show lldp neighbors and we can see the neighbors we have sw dash rbo2 sw dash rbo1 okay so just i will copy this hostname here and i will give sw dash rbo3 and we will give its ip address so we already given that here perfect okay here we can see the neighbors sw dash rbo2 sw dash rbo1 we can see the local interface just i will copy these interfaces here the interfaces in this switch rbo3 and g01 copy and paste here yeah perfect then we can see this is connected to g zero 0 1 in sw just i will copy this g 0 slash 1 it's here g 0 slash 1 to the switch rbo2 then here we can see a face 0 slash 24 it is connected to fs0 24 of this switch f a 0 24 perfect clearly we can understand sw dash rbo3 and sw-rb01 is connected using these interfaces fs0 24 in this rbo3 and fs024 in this sw dash rbo1 so here we can see we did not update this local interface and connected neighbor for this fs0 slash 24 in sw dash rb01 now we can update it it is connecting to uh f a 0 24 connecting to this sw dash rbo3 sw dash rbo3 here we will give this show command to show llgp neighbors detail sorry it's a detail perfect and we can see the details but here also we cannot see the management address so let me give show iep brief command and here we can see the ip address of this switch rbo3 so this is already be updated okay and here we can see these two interfaces are up faster than 0 slash 24 and gigabit determined 0 1 so we already updated in our tracing table what types of network devices neighbor this device record any newly discovered devices in the addressing table include their host name interfaces and ip addresses it may be beneficial to reconnect to the previously discovered devices to display neighbors one more time to complete the entire addressing table now that all devices are configured for lldp draw a topology of the remote rbo office network using the information that you have gathered with lldp here we did not go to this switches w rbo2 uh using this ip address so we will try using this address ssh dash l then we have to give the username it's rbo admin then the ip address okay you will give the password s3 cre 7 p android double 5 okay here we can see rbo2 enabled s3 cre 7p double five sorry s3 cre actually they given a complicated password yeah okay now we are in a privilege exit mode here we will give a show lldp neighbors here we have a two switches capability b uh sw dash rbo3 and sw dash rbo1 and we can see its interfaces g 0 1 g 0 2 in this switch and we can see its port id of this neighbors we will update the details of these interfaces g 0 slash 1 g 0 slash 2 in this sw rbo2 so here i will give that okay that's perfect so here we will give a g 0 1 and g 0 slash 2 i think i'll copy from here okay and we have to identify local interface and connected neighbor g 0 slash 1 g 0 1 of this switch okay just i will copy this g zero slash one sw dash r b o three then g zero slash two it's connected to g zero slash two of s w dash r b o one g zero slash two of r b one perfect using this addressing table we can design uh the topology uh in this remote branch office so let me add a computer this is admin dash pc1 let me give pc1 we cannot give a duplicate name then we have a s1 okay i will give s1 1 and we will connect to pc2fs05 then we have this edge router we will give the name as edge one and here we can see it's connected to g zero slash one g zero slash zero g zero slash one g 0 0 coming to this addressing table we can see h 1 serial 0 0 0 is connecting to isp serial 0 0 0 so we will add one more router as isp so here we have our isp let me give isp one we will go to this router edge one switch it off and add a serial because we have to connect to serial to the isp in isp also we have to add this serial interface then connect to serial from serial 0 0 0 to serial 0 0 0 here we can see we got two more routers rbo dash edge and rbo dash firewall so we will add these routers here let me give the names rbo dash edge we will give one rbo dash edge one and this is rbo dash firewall firewall one okay coming to this addressing table we can see uh in this rbo edge g 0 slot 0 is connected to a g 0 0 of isp you will choose copper crossover from g 0 0 to g 0 0 then we can see g 0 slash 1 is connected to rbo firewall g 0 slash 0 of rbo firewall again choose copper crossover from g zero slash one two g zero slash zero now here we have a three switches sw dash rbo1 rbo2 and rbo3 and we can see rbo1 is connected to rbo firewall so we will add three switches here okay we will choose copper straight through and here we can see this g 0 1 is connected to sw dash rb01 both sides g 0 one then we have to choose copper crossover because we have to connect switches before that let me give the names for this this is a rbo1 this is a rbo2 and this is rbo3 3-1 we will give because it won't accept duplicate names now we will choose copper crossover here we can see this interface of a 0 slash 24 in this rbo 1 connected to fs0 and d4 of sw dash rbo3 okay we can connect that from this uh switch fs 0 slash 24 to this rbo3 fs024 then we can see uh g 0 slots 2 is connected to sw dash rbo2 both sides g 0 slash 2 g 0 slash 2 to this switch g 0 slash 2. now we can see we have to connect robot 2 and robo i mean rbo2 and rbo3 here we can see sw dash rbo2 g01 to g0 slash one of rbo3 okay yeah perfect connect g0 slash one two g zero slash one using this addressing table you can assign ip address for all the interfaces and these switches perfect that's all in this activity that is a use lldp to map a network now dear friends if you get any doubt or any suggestions regarding this package tracer activity please comment below or even you can contact our team using our website link you will get from the description below and if you like our video give a thumb and share with all your friends stay tuned and we will meet again with the next video thank you
Info
Channel: Tech Acad
Views: 14,276
Rating: undefined out of 5
Keywords: CISCO, CISCO Certification, LLDP, CCNA, Routing and Switching, Packet Tracer, Networking, CISCO Networking Academy, CCNAv7
Id: nzZdHq3S7C4
Channel Id: undefined
Length: 49min 23sec (2963 seconds)
Published: Fri Oct 23 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.