当前位置:网站首页>Huawei simulator ENSP common commands
Huawei simulator ENSP common commands
2022-07-04 21:13:00 【Python Pegasus】
Catalog
Configure the current router interface IP Address and subnet mask
Specify that the interface has DHCP function
Appoint DNS Server's IP Address
Show all ip The routing table for
According to specified ip Routing table
Modify the interface to access Interface :
Modify the interface to trunk Interface :
Divide the interface into specified vlan in :
Huawei ensp Simulator's TAB The completion function is very powerful , Most commands only need to input the first twoorthree letters , Press TAB You can complete the command
Router common commands
Enter the task view
system-view
TAB completion :sys
Abbreviation :syName the router
sysname
TAB completion :syEnter the specified interface
interface The interface name
TAB completion :int
Abbreviation :int The interface name Configure the current router interface IP Address and subnet mask
ip address IP Address Subnet mask
TAB completion :ip ad
Abbreviation :ip add IP Address Subnet mask Exit interface or system view
quit
TAB completion :qu
Abbreviation :qEnable DHCP
Be careful : In the system view [Huawei] Input in .
dhcp enable
TAB completion :dhcp enSpecify that the interface has DHCP function
Be careful : The premise is that , To enable the DHCP, And went into wanting to have DHCP Functional interface .
dhcp select interface
TAB completion :dhcp selAppoint DNS Server's IP Address
Be careful : The prerequisite is to configure DNS The server , And into DNS The router port to which the server is connected
dhcp server dns-list DNS The server ip
TAB completion :dhcp server dnsShow all ip The routing table for
The function of gateway It is to realize the communication between different gateways .
Forwarding principle of router It is through the routing table to determine which interface to start from for each target .
display ip routing-table
TAB completion :display ip rou
Abbreviation :dis ip rou TAB completion According to specified ip Routing table
display ip routing-table Want to view ip Address Add static route :
When there are multiple routers , If you need to access the device connected by the next router, you need to manually add a static route , That is, the next hop routing interface ip, To achieve ping Communication requires both routers to configure mutual static routes .
ip routing-table Target to go IP Address Subnet mask The next hop of the routing interface IP Address
Abbreviation :ip rou Purpose ip Mask The next hop interface of this interface Switch common commands :
To use the switch, you also need to enter the system view , The use of system-view command .
establish vlan:
vlan vlan name
example : Create a vlan10
vlan 10View all vlan:
You can see what has been created vlan, You can also see which interface is divided into vlan In the
display vlanThe following code uses the premise , Enter the switch interface that needs operation (int Order to enter ): Divide the interface into different vlan
Modify the interface to access Interface :
access The interface is used to connect the terminal 、 The computer 、 The printer
port link-type access Modify the interface to trunk Interface :
trunk The interface is used to connect the switch
port link-type trunk Divide the interface into specified vlan in :
example : Divide the interface into created vlan 10 in .
port default vlan 10Other common commands :
ipconfig # View network configuration information 边栏推荐
- What if the WiFi of win11 system always drops? Solution of WiFi total drop in win11 system
- GVM use
- NetWare r7000 Merlin system virtual memory creation failed, prompting that the USB disk reading and writing speed does not meet the requirements. Solution, is it necessary to create virtual memory??
- [server data recovery] a case of RAID5 data recovery stored in a brand of server
- 宝塔 7.9.2 宝塔控制面板绕过 手机绑定认证 绕过官方认证
- LeetCode 7. Integer inversion
- What are the functional modules of RFID warehouse management system solution
- 【解决方案】PaddlePaddle 2.x调用静态图模式
- 【1200. 最小绝对差】
- 五子棋 上班摸鱼工具 可局域网/人机
猜你喜欢

torch.tensor和torch.Tensor的区别

How does the computer save web pages to the desktop for use

Idea restore default shortcut key
![[1200. Minimum absolute difference]](/img/fa/4ffbedd8f24c75a20d3eaeaf0430ae.png)
[1200. Minimum absolute difference]

Hands on deep learning (III) -- convolutional neural network CNN

FastDfs的快速入门,三分钟带你上传下载文件到云服务器

js 3D爆炸碎片图片切换js特效

Sword finger offer II 80-100 (continuous update)

What should I do if my computer sharing printer refuses access

偷窃他人漏洞报告变卖成副业,漏洞赏金平台出“内鬼”
随机推荐
【解决方案】PaddlePaddle 2.x调用静态图模式
黄金k线图中的三角形有几种?
[Shenbo introduction] VI How to contact your favorite doctoral tutor
华为模拟器ensp的路由配置以及连通测试
Roast B station charges, is it because it has no money?
【Try to Hack】宽字节注入
冰河的海报封面
华为ensp模拟器 给路由器配置DHCP
Idea plug-in
See how Tencent does interface automation testing
Jmeter 之压测入门
【1200. 最小絕對差】
Automatic insertion of captions in word
华为ensp模拟器 实现多个路由器的设备可以相互访问
After inserting a picture into word, there is a blank line above the picture, and the layout changes after deletion
Foxit pdf editor v10.1.8 green version
Y56. Chapter III kubernetes from entry to proficiency -- business image version upgrade and rollback (29)
FastDfs的快速入门,三分钟带你上传下载文件到云服务器
Google colab踩坑
企业数字化转型最佳实践案例:基于云的数字化平台系统安全措施简介与参考