网络拓扑和配置要求见 14.1-500人规模园区网设计
核心交换机SW1:
[HX_SW1]vlan batch 10 20 30 40 200
[HX_SW1]port-g g ref="https://xwenw.com/tag/e" target="_blank">Eth-Trunk 1 to Eth-Trunk 4
[HX_SW1-port-group]port link-ty trunk
[HX_SW1-port-group]port trunk allow-pass vlan all
接入交换机SW2:
[JR_SW2]int Eth-Trunk 1
[JR_SW2-Eth-Trunk1]p l t
[JR_SW2-Eth-Trunk1]p t a v all
[JR_SW2-Eth-Trunk1]dis this
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan all
stp instance 0 cost 10000
#
return
[JR_SW2-Eth-Trunk1]qu
[JR_SW2]int e0/0/1
[JR_SW2-Ethernet0/0/1]p l a
[JR_SW2-Ethernet0/0/1]p d v 10
[JR_SW2-Ethernet0/0/1]int e0/0/2
[JR_SW2-Ethernet0/0/2]p l a
[JR_SW2-Ethernet0/0/2]p d v 20
接入交换机SW3:
[JR_SW3]vlan 30
[JR_SW3-vlan30]qu
[JR_SW3]int Eth-Trunk 2
[JR_SW3-Eth-Trunk2]p l t
[JR_SW3-Eth-Trunk2]p t a v all
[JR_SW3-Eth-Trunk2]qu
[JR_SW3]port-g g Ethernet 0/0/1 to Ethernet 0/0/2
[JR_SW3-port-group]p l a
[JR_SW3-port-group]p d v 30
接入交换机SW4:
[JR_SW4]vlan 40
[JR_SW4]int Eth-Trunk 3
[JR_SW4-Eth-Trunk3]p l t
[JR_SW4-Eth-Trunk3]p t a v all
[JR_SW4-Eth-Trunk3]qu
[JR_SW4]int e0/0/1
[JR_SW4-Ethernet0/0/1]p l a
[JR_SW4-Ethernet0/0/1]p d v 40
接入交换机SW5:
[JR_SW5]vlan 200
[JR_SW5-vlan200]qu
[JR_SW5]int Eth-Trunk 4
[JR_SW5-Eth-Trunk4]p l t
[JR_SW5-Eth-Trunk4]p t a v all
[JR_SW5-Eth-Trunk4]qu
[JR_SW5]port-g g Ethernet0/0/1 to Ethernet0/0/2
[JR_SW5-port-group]p l a
[JR_SW5-port-group]p d v 200
调试命令:
[JR_SW5]dis vlan
#
[JR_SW5]dis port vlan active
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)