当前位置:网站首页>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 :sy
Name the router
sysname
TAB completion :sy
Enter 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 :q
Enable DHCP
Be careful : In the system view [Huawei] Input in .
dhcp enable
TAB completion :dhcp en
Specify 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 sel
Appoint 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 dns
Show 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 10
View all vlan:
You can see what has been created vlan, You can also see which interface is divided into vlan In the
display vlan
The 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 10
Other common commands :
ipconfig # View network configuration information
边栏推荐
- MySQL - database query - use of aggregate function, aggregate query, grouping query
- Après l'insertion de l'image dans le mot, il y a une ligne vide au - dessus de l'image, et la disposition est désordonnée après la suppression
- 仿ps样式js网页涂鸦板插件
- The concept and application of hash table
- word中插入圖片後,圖片上方有一空行,且删除後布局變亂
- BFC interview Brief
- Why is TCP three handshakes and four waves
- [server data recovery] a case of RAID5 data recovery stored in a brand of server
- Day24:文件系统
- 黄金k线图中的三角形有几种?
猜你喜欢
PS vertical English and digital text how to change direction (vertical display)
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??
Solution of 5g unstable 5g signal often dropped in NetWare r7000 Merlin system
Idea restore default shortcut key
华为ensp模拟器 配置ACL访问控制列表
字节测试工程师十年经验直击UI 自动化测试痛点
搭建一个仪式感点满的网站,并内网穿透发布到公网 1/2
Gobang go to work fishing tools can be LAN / man-machine
uniapp 富文本编辑器使用
ApplicationContext 与 BeanFactory 区别(MS)
随机推荐
Advantages of semantic tags and block level inline elements
Browser render page pass
The concept and application of hash table
【解决方案】PaddlePaddle 2.x调用静态图模式
软件开发过中的采购
杰理之AD 系列 MIDI 功能说明【篇】
HWiNFO硬件检测工具v7.26绿色版
LeetCode+ 81 - 85 单调栈专题
Idea case shortcut
五子棋 上班摸鱼工具 可局域网/人机
【观察】联想:3X(1+N)智慧办公解决方案,释放办公生产力“乘数效应”
torch.tensor和torch.Tensor的区别
y56.第三章 Kubernetes从入门到精通 -- 业务镜像版本升级及回滚(二九)
企业数字化转型最佳实践案例:基于云的数字化平台系统安全措施简介与参考
Golang中UTF编码和字符集
TweenMax表情按钮js特效
Solution of 5g unstable 5g signal often dropped in NetWare r7000 Merlin system
Implementation of redis distributed lock
uniapp 富文本编辑器使用
记一次重复造轮子(Obsidian 插件设置说明汉化)