HCIP第十六天作业

 SW1:

sys sw1
vlan batch 2                
int eth-trunk 1                            
trunkport e0/0/15              
trunkport e0/0/16
port link-type trunk
port trunk allow-pass vlan all
int g0/0/21                          
port link-type trunk
port trunk allow-pass vlan all
int g0/0/22
port link-type trunk
port trunk allow-pass vlan all

stp enable                               
stp mode mstp                            
stp region-configuration                
region-name hcip                         
instance 1 vlan 1
instance 2 vlan 2
active region-configuration               
stp instance 1 root primary
stp instance 2 root secondary
int vlan 2                                 
ip add 10.1.2.1  24
vrrp vrid 1 virtual-ip 10.1.2.254
vrrp vrid 1 priority 120 
vrrp vrid 1 preempt-mode timer delay 5   
vrrp vrid 1 authentication-mode md5 123
vrrp vrid 1 track int g0/0/0 reduced 30  
vlan 3       
int g0/0/5
port link-type access
port default vlan 3
int vlan 3
ip add 10.1.11.2 24
ip route-static 0.0.0.0 0 12.1.11.1
dhcp enable         
int vlan 2
dhcp select global 
ip pool vlan2
network 10.1.2.0 mask 24
gatewaty-list 10.1.2.254 
dns-list 114.114.114.114

SW3:

sys sw3
vlan batch 2                   
int e0/0/1
port link-type access
port default vlan 1
int e0/0/2
port link-type access
port default vlan 2
int e0/0/22
port link-type trunk
port trunk allow-pass vlan all
int e0/0/21
port link-type trunk
port trunk allow-pass vlan all
stp enable
stp mode mstp

R1:

sys r1
int g0/0/2
ip add 10.1.11.1 24
int g0/0/1
ip add 10.1.12.1 24
int g0/0/0
ip add 4.4.4.1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值