当前位置:网站首页>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 边栏推荐
- [observation] Lenovo: 3x (1+n) smart office solution, releasing the "multiplier effect" of office productivity
- Test case (TC)
- acwing 3302. 表达式求值
- Ten years' experience of byte test engineer directly hits the pain point of UI automation test
- render函数与虚拟dom
- What if the computer page cannot be full screen? The solution of win11 page cannot be full screen
- Advantages of semantic tags and block level inline elements
- Poster cover of glacier
- 杰理之AD 系列 MIDI 功能说明【篇】
- 字节测试工程师十年经验直击UI 自动化测试痛点
猜你喜欢
随机推荐
Hands on deep learning (III) -- convolutional neural network CNN
D3.js+Three.js数据可视化3d地球js特效
Detailed explanation of multi-mode input event distribution mechanism
接口设计时的一些建议
Idea plug-in
[observation] Lenovo: 3x (1+n) smart office solution, releasing the "multiplier effect" of office productivity
Roast B station charges, is it because it has no money?
LeetCode+ 81 - 85 单调栈专题
Alibaba testers use UI automated testing to achieve element positioning
Go language notes (2) some simple applications of go
【服务器数据恢复】某品牌服务器存储raid5数据恢复案例
Idea restore default shortcut key
Actual combat simulation │ JWT login authentication
[1200. Minimum absolute difference]
Google colab踩坑
6月“墨力原创作者计划”获奖名单公布!邀您共话国产数据库
PS vertical English and digital text how to change direction (vertical display)
Gobang go to work fishing tools can be LAN / man-machine
LeetCode 7. 整数反转
Explication détaillée du mécanisme de distribution des événements d'entrée multimodes









