当前位置:网站首页>12. Manage network environment
12. Manage network environment
2022-06-23 17:51:00 【Fallen bird】
One 、 Find neighbors in the network
1、Cisco Discovery Protocol (CDP)
CDP Is a proprietary tool for use , He can tell you the current direct connection Cisco Routers, switches and some others Cisco Comprehensive information of the equipment . No matter what protocol is running on these devices ,CD You can find them .
2、 adopt CDP Find a neighbor
CDP It can only run on Cisco On the device ,IOS Version in 10.3 Or above
Summary information includes
Device identifiers
Address list
Port identifiers
Capabilities list
Platform
3、 experiment
3.1 Topology
3.2、cdp Overview information
Router#show cdp
Global CDP information:
Sending CDP packets every 60 seconds every 60 Seconds to send cdp Information
Sending a holdtime value of 180 seconds exceed 180s Didn't receive the other party cdp Information , Delete the corresponding information
Sending CDPv2 advertisements is enabled Version information
3.3 View link information
Router#show cdp neighbors View which devices are currently linked
Router#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
Router Ser 0/3/0 141 R C2800 Ser 0/3/0
Router Ser 0/3/1 144 R C2800 Ser 0/3/1
Holdtme: Generally in 120 above , Be equal to 0 This device information will be deleted
show cdp interface All ports CDP Information about
Vlan1 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
FastEthernet0/0 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
FastEthernet0/1 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/3/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/3/1 is down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
show cdp entry * View details of all neighbors , and Router#show cdp neighbors detail The display information is exactly the same
Router#show cdp entry * ?
protocol Protocol information neighbor IP Address
version Version information neighbor IOS Version of
4、 On off cdp
Router(config)#cdp run Global on cdp
Router(config)#no cdp run Global close cdp
Router(config)#interface fastEthernet 0/1
Router(config-if)#cdp enable Open a single interface cdp
Router(config-if)#no cdp enable Close a single interface cdp
Two 、 Use Telnet Link remote devices
1、 summary
Remote link management software , Working in the application layer , port 23. If not set Telnet password , Cannot be used by default Telnet link . without enable Mode password , Unable to switch to privileged mode
2、
Router#configure terminal
Router(config)#line vty 0 15
Router(config-line)#password 123456
Router(config-line)#login
Router(config)#enable password 123456
Router(config-line)#no login Anonymous logins
Router#Ctrl+Shift+6 meanwhile Telnet Multiple devices
Router#show sessions Check Telnet link
Router#show users Check Telnet user
Router#clear line 66 Kick people 66 For the thread number ,show users View thread number
Router#disconnect Telnet After use Ctrl+Shift+6 After cutting out , To break off Telnet link ( Use... When linking with exit sign out )
Router(config)#ip host R1 192.168.2.1 Set up the host table
Router(config)#no ip host R1 Delete host table
Router(config)#no ip domain-lookup prohibit DNS Domain name resolution
Router#R1 Telnet R1 Direct input IP Default Telnet
边栏推荐
- Codeforces Round #620 (Div. 2)ABC
- Date selection of hotel check-in time and check-out time
- JS custom error
- 【网络通信 -- WebRTC】WebRTC 源码分析 -- PacingController 相关知识点补充
- Answer 01: why can Smith circle "allow left string and right parallel"?
- Script to view the execution of SQLSERVER database stored procedures
- 浅析3种电池容量监测方案
- Wechat applet: time selector for the estimated arrival date of the hotel
- Postgresql_根据执行计划优化SQL
- 千呼万唤,5G双卡双通到底有多重要?
猜你喜欢

Redis cluster operation method
![[untitled] Application of laser welding in medical treatment](/img/c5/9c9edf1c931dfdd995570fa20cf7fd.png)
[untitled] Application of laser welding in medical treatment

Performance test bottleneck tuning in 10 minutes! If you want to enter a large factory, you must know

微信小程序:酒店预计到店日期的时间选择器
![[network communication -- webrtc] analysis of webrtc source code -- supplement of pacingcontroller related knowledge points](/img/18/dda0c7fa33ee6cdf2bbb2f85099940.png)
[network communication -- webrtc] analysis of webrtc source code -- supplement of pacingcontroller related knowledge points

Rongyun: let the bank go to the "cloud" easily

【网络通信 -- WebRTC】WebRTC 源码分析 -- PacingController 相关知识点补充

数据库 实验二 查询

Date selection of hotel check-in time and check-out time
![[qsetting and.Ini configuration files] and [create resources.qrc] in QT](/img/67/85a5e7f6ad4220600acd377248ef46.png)
[qsetting and.Ini configuration files] and [create resources.qrc] in QT
随机推荐
ctfshow php的特性
How to use JSON data format
开户券商怎么选择?现在网上开户安全么?
QT布局管理器【QVBoxLayout,QHBoxLayout,QGridLayout】
Drawing black technology - easy to build a "real twin" 2D scene
QT layout manager [qvboxlayout, qhboxlayout, qgridlayout]
如何设计一个秒杀系统?
AMQP协议
Year end: the "time value" and business methodology of live broadcast E-commerce
创新技术领航者!华为云GaussDB获颁2022年云原生数据库领域权威奖项
Codeforces Round #620 (Div. 2)ABC
B. Integers Shop-Hello 2022
Best practices cloud development cloudbase content audit capability
How to quickly obtain and analyze the housing price in your city?
Réponse 02: pourquoi le cercle Smith peut - il "se sentir haut et bas et se tenir à droite et à droite"?
High availability solution practice of mongodb advanced applications (4)
Nanny level teaching! Take you to play with time complexity and space complexity!
Practice sharing of chaos engineering in stability management of cloud native Middleware
C. Product 1 Modulo N-Codeforces Round #716 (Div. 2)
NLP paper reading | improving semantic representation of intention recognition: isotropic regularization method in supervised pre training