Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Simple configuration of Huawei equipment

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

This is the configuration code summarized from the previous work, which was made it easier for the people to use it.

The code is mainly based on exchange, and the architecture is divided into three layers: core layer, distribution layer and access layer.

With a few simple instructions, you can get started quickly and can be used in your work.

#-Virtual interface-# 1) Management address interface Vlanif1 description Management ip address 192.168.250.197 255.255.255.0 dhcp select relay dhcp relay server-select dhcpgroup1##2) Core switched virtual gateway interface interface Vlanif2 description Server ip address 192.168.1.2 255.255.255.0#interface Vlanif3 description office ip address 192.168.0.2 255.255.255.0 dhcp select relay dhcp relay server-select dhcpgroup1#-Trunk--interface GigabitEthernet0/0/24 port link-type trunk port trunk allow-pass vlan 2 to 100 ntdp enable ndp enable bpdu enable#-Eth Trunk- -interface Eth-Trunk1 port link-type trunk port trunk allow-pass vlan 2 to 4094interface GigabitEthernet0/0/1 eth-trunk 1interface GigabitEthernet0/0/2 eth-trunk 1#-IP ROUTE-1) Core switching static route ip route-static 0.0.0.0 0.0.0 .0 10.16.0.1 ip route-static 1.1.1.0 255.255.255.0 192.168.9.101 ip route-static 10.0.0.0 255.255.0.0 192.168.9.1001) Distribution layer access layer ip route-static 0.0.0.0 0.0.0 192.168.250.1 -vlan 1 description Managementvlan 2 description Servervlan 3 description officeinterface GigabitEthernet 0/0/11#-DHCP Server statement-- dhcp server group dhcpgroup1 dhcp-server 192.168.1.250 0#-Access Port- -# 1) defauleinterface GigabitEthernet0/0/1 port link-type access port default vlan 3 stp disable stp edged-port enable ntdp enable ndp enable#2) POE configinterface GigabitEthernet0/0/1 port hybrid pvid vlan 2 port hybrid tagged vlan 9 92 port hybrid untagged vlan 2 stp edged-port enable undo poe enable#- Certification -# 1) Global configuration super password level 1 cipher * super password level 2 cipher * super password level 3 cipher * * # 2) Console configuration user-interface con 0 authentication-mode password set authentication password cipher a:FL2/KX# ^ Q = ^ Q`MAF4

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report