How does interface status and line protocol work in switch and router ?why the behavior of the interface status is different in switch and router , as switch depend on peer interface status for its own status and router dont ?

author
  • Total 1 Answer
  • 5557
Can You answer this question?
author
,
CCNA Routing and Switching

Interface Status and Line Protocol : 

Router  :  In case of Router by default all ports are administratively shutdown as per it;s status show .

Switch : in case of switch by default all ports status is down ( admin it's up ) until and unless some other device is connected at other side of a switch. because when some other device will be connected to a port of switch it will send KEEP ALIVE and link will automatically come up.

Router : Router show the same behavior when port is administrative no shutdown and recived keep alive ..as line protocol state up.

 

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(/var/www/html/storage/framework/sessions/obEVlTDlmofw9kRHzJrkUnIHOKQ6U4JHvF4stlcL): failed to open stream: No space left on device

  1. in Filesystem.php line 111
  2. at HandleExceptions->handleError(2, 'file_put_contents(/var/www/html/storage/framework/sessions/obEVlTDlmofw9kRHzJrkUnIHOKQ6U4JHvF4stlcL): failed to open stream: No space left on device', '/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 111, array('path' => '/var/www/html/storage/framework/sessions/obEVlTDlmofw9kRHzJrkUnIHOKQ6U4JHvF4stlcL', 'contents' => 'a:4:{s:6:"_token";s:40:"nzi8krux9Mx19Kf0V0uzz81qz6VugPAK5T1KGvyQ";s:11:"viewed_urls";a:1:{i:0;s:221:"how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:9:"_previous";a:1:{s:3:"url";s:249:"http://www.networkbulls.com/how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/var/www/html/storage/framework/sessions/obEVlTDlmofw9kRHzJrkUnIHOKQ6U4JHvF4stlcL', 'a:4:{s:6:"_token";s:40:"nzi8krux9Mx19Kf0V0uzz81qz6VugPAK5T1KGvyQ";s:11:"viewed_urls";a:1:{i:0;s:221:"how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:9:"_previous";a:1:{s:3:"url";s:249:"http://www.networkbulls.com/how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2) in Filesystem.php line 111
  4. at Filesystem->put('/var/www/html/storage/framework/sessions/obEVlTDlmofw9kRHzJrkUnIHOKQ6U4JHvF4stlcL', 'a:4:{s:6:"_token";s:40:"nzi8krux9Mx19Kf0V0uzz81qz6VugPAK5T1KGvyQ";s:11:"viewed_urls";a:1:{i:0;s:221:"how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:9:"_previous";a:1:{s:3:"url";s:249:"http://www.networkbulls.com/how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('obEVlTDlmofw9kRHzJrkUnIHOKQ6U4JHvF4stlcL', 'a:4:{s:6:"_token";s:40:"nzi8krux9Mx19Kf0V0uzz81qz6VugPAK5T1KGvyQ";s:11:"viewed_urls";a:1:{i:0;s:221:"how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:9:"_previous";a:1:{s:3:"url";s:249:"http://www.networkbulls.com/how-does-interface-status-and-line-protocol-work-in-switch-and-router-why-the-behavior-of-the-interface-status-is-different-in-switch-and-router-as-switch-depend-on-peer-interface-status-for-its-own-status-and-router-dont";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 128
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 216
  8. at Kernel->terminateMiddleware(object(Request), object(Response)) in Kernel.php line 187
  9. at Kernel->terminate(object(Request), object(Response)) in index.php line 58
  10. at require_once('/var/www/html/public/index.php') in index.php line 20