HCIP------三层架构

本文详细探讨了HCIP(Huawei Certified ICT Professional)认证中的三层网络架构。从基本概念出发,阐述了三层架构在网络中的作用,包括核心层、分布层和接入层的功能与设计原则。同时,分析了如何通过这种架构实现高效的数据通信和网络管理,以及在实际部署中可能遇到的问题和解决方案。
摘要由CSDN通过智能技术生成

在这里插入图片描述

[Huawei]int Eth-Trunk 0
[Huawei-Eth-Trunk0]int gi0/0/3
[Huawei-GigabitEthernet0/0/3]eth-trunk 0
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/3]int g0/0/4
[Huawei-GigabitEthernet0/0/4]eth 0

[sw1]vlan 2
[sw1]int eth0
[sw1-Eth-Trunk0]p l t	
[sw1-Eth-Trunk0]port trunk allow-pass vlan all
[sw1]int g0/0/5
[sw1-GigabitEthernet0/0/5]p l t
[sw1-GigabitEthernet0/0/5]port trunk allow-pass vlan all
[sw1-GigabitEthernet0/0/6]p l t
[sw1-GigabitEthernet0/0/6]p t a vlan all

[sw1]stp enable 
[sw1]stp mode mstp
[sw1]stp region-configuration 
[sw1-mst-region]region-name huawei
[sw1-mst-region]instance 1 vlan 1
[sw1-mst-region]instance 2 vlan 2
[sw1-mst-region]active region-configuration 

[sw1]display stp br
 MSTID  Port                        Role  STP State     Protection
   0    GigabitEthernet0/0/1        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/5        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/6        ROOT  FORWARDING      NONE
   0    Eth-Trunk0                  ALTE  DISCARDING      NONE
   1    GigabitEthernet0/0/1        DESI  FORWARDING      NONE
   1    GigabitEthernet0/0/5        DESI  FORWARDING      NONE
   1    GigabitEthernet0/0/6        ROOT  FORWARDING      NONE
   1    Eth-Trunk0                  ALTE  DISCARDING      NONE
   2    GigabitEthernet0/0/5        DESI  FORWARDING      NONE
   2    GigabitEthernet0/0/6        ROOT  FORWARDING      NONE
   2    Eth-Trunk0                  DESI  FORWARDING      NONE

[sw1]stp instance 1 root primary 
[sw1]stp instance 2 root secondary 
[sw1]display stp br
 MSTID  Port                        Role  STP State     Protection
   0    GigabitEthernet0/0/1        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/5        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/6        ROOT  FORWARDING      NONE
   0    Eth-Trunk0                  ALTE  DISCARDING      NONE
   1    GigabitEthernet0/0/1        DESI  FORWARDING      NONE
   1    GigabitEthernet0/0/5        DESI  FORWARDING      NONE
   1    GigabitEthernet0/0/6        DESI  FORWARDING      NONE
   1    Eth-Trunk0                  DESI  FORWARDING      NONE
   2    GigabitEthernet0/0/5        DESI  FORWARDING      NONE
   2    GigabitEthernet0/0/6        DESI  FORWARDING      NONE
   2    Eth-Trunk0                  ROOT  FORWARDING      NONE

[sw1]int vlan 1
[sw1-Vlanif1]ip add 172.16.1.254 24
[sw1-Vlanif2]ip add 172.16.2.254 24	
[sw1-Vlanif2]display ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 1

Interface                         IP Address/Mask      Physical   Protocol  
MEth0/0/1                         unassigned           down       down      
NULL0                             unassigned           up         up(s)     
Vlanif1                           172.16.1.254/24      up         up        
Vlanif2                           172.16.2.254/24      up         up        

[sw1-Vlanif2]display vlan summary 
static vlan:
Total 2 static vlan.
  1 to 2 

dynamic vlan:
Total 0 dynamic vlan.

reserved vlan:
Total 0 reserved vlan.

[sw1]ping 172.16.2.253
  PING 172.16.2.253: 56  data bytes, press CTRL_C to break
    Reply from 172.16.2.253: bytes=56 Sequence=1 ttl=255 time=60 ms
    Reply from 172.16.2.253: bytes=56 Sequence=2 ttl=255 time=40 ms
    Reply from 172.16.2.253: bytes=56 Sequence=3 ttl=255 time=20 ms
    Reply from 172.16.2.253: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 172.16.2.253: bytes=56 Sequence=5 ttl=255 time=50 ms

  --- 172.16.2.253 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/38/60 ms
[sw1]int vlan 1
[sw1-Vlanif1]vrrp vrid 1 virtual-ip 172.16.1.100
[sw1-Vlanif1]vrrp vrid 1 priority 101
[sw1-Vlanif1]vrrp vrid 1 track int g0/0/1 reduced 10
[sw1]int vlan 2
[sw1-Vlanif2]vrrp vrid 1 virtual-ip 172.16.2.100

[sw1]dhcp enable 
[sw1]ip pool v1
Info:It's successful to create an IP address pool.
[sw1-ip-pool-v1]network 172.16.1.0 mask 24
[sw1-ip-pool-v1]gateway-list 172.16.1.100
[sw1-ip-pool-v1]dns-list 114.114.114.114
[sw1-ip-pool-v1]ip pool v2
[sw1-ip-pool-v2]network 172.16
Jan 19 2021 12:55:12-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 29, the 
change loop count is 0, and the maximum number of records is 4095..2.0 mask 24
Jan 19 2021 12:55:16-08:00 sw1 %%01PHY/1/PHY(l)[25]:    GigabitEthernet0/0/5: ch
ange status to down
[sw1-ip-pool-v2]
Jan 19 2021 12:55:17-08:00 sw1 %%01PHY/1/PHY(l)[26]:    GigabitEthernet0/0/5: ch
ange status to up
[sw1-ip-pool-v2]
[sw1-ip-pool-v2]
Jan 19 2021 12:55:22-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 30, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-ip-pool-v2]ga	
[sw1-ip-pool-v2]gateway-list 172.16.2.100
[sw1-ip-pool-v2]dn	
[sw1-ip-pool-v2]dns-list 114.114.114.114
[sw1-ip-pool-v2]int vlan 1
[sw1-Vlanif1]dhcp select global 
[sw1-Vlanif1]int 
Jan 19 2021 12:57:12-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 34, the 
change loop count is 0, and the maximum number of records is 4095.vlan 2
[sw1-Vlanif2]dhcp select global 
[sw1]dis vlan
The total number of vlans is : 2
----------------------------------------------------------------------------
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值