实验要求:
1、内网IP地址172.16.0.0/16,合理分配
2、SW1/2之间互为备份
3、VRRP/STP/VLAN/TRUNK均使用
4、所有PC通过DHCP获取IP地址
5、isp模拟公网,环回1.1.1.1
思路:
eth-trunk ->创建vlan ->划入vlan->trunk干道->STP->SVI->VRRP->DHCP
配置命令:
SW1:
sys
sys sw1
int eth-trunk 0
int g0/0/2
eth-trunk 0
int g0/0/3
eth-trunk 0
vlan 2
port-group group-member eth-trunk 0 g0/0/1 g0/0/4
p l t
p t a v a
q
stp mode mstp
stp enable
stp region-configuration
region-name a
instance 1 vlan 1
instance 2 vlan 2
active region-configuration
stp instance 1 root primary
stp instance 2 root secondary
int vlan 1
ip a