#拓撲結構
mvrp 多vlan註冊協議
步驟:# 進入 mst 域檢視。
# 配置 mst 域的網域名稱、vlan 對映關係和修訂級別。
# 手工啟用 mst 域的配置。
# 定義根橋。
# 全域性使能生成樹協議。
# 全域性使能 mvrp 功能。
# 埠設定trunk設定相應vlan通過
# 埠使能mvrp
配置:a
system-view
[h3c]stpregion-configuration
[h3c-mst-region]region-nameexample
[h3c-mst-region]instance1 vlan 10
[h3c-mst-region]instance2 vlan 20
[h3c-mst-region]revision-level0
[h3c-mst-region]activeregion-configuration
[h3c-mst-region]exit
[h3c]stpinstance 1 root primary
[h3c]stpglobal enable
[h3c]mvrpglobal enable
[h3c]inte***ce ten-gigabitethernet1/0/49
[h3c-ten-gigabitethernet1/0/49]portlink-type trunk
[h3c-ten-gigabitethernet1/0/49]porttrunk permit vlan all
[h3c-ten-gigabitethernet1/0/49]mvrpenable
[h3c-ten-gigabitethernet1/0/49]exit
[h3c]intten-gigabitethernet1/0/51
[h3c-ten-gigabitethernet1/0/51]portlink-type trunk
[h3c-ten-gigabitethernet1/0/51]porttrunk permit vlan 40
[h3c-ten-gigabitethernet1/0/51]mvrpenable
[h3c-ten-gigabitethernet1/0/51]exit
[h3c]intten-gigabitethernet1/0/50
[h3c-ten-gigabitethernet1/0/50]portlink-type trunk
[h3c-ten-gigabitethernet1/0/50]porttrunk permit vlan all
[h3c-ten-gigabitethernet1/0/50]mvrpenable
[h3c-ten-gigabitethernet1/0/50]exit
[h3c]vlan10
[h3c-vlan10]exit
bsystem-view
[h3c]stpregion-configuration
[h3c-mst-region]region-nameexample
[h3c-mst-region]instance1 vlan 10
[h3c-mst-region]instance2 vlan 20
[h3c-mst-region]revision-level0
[h3c-mst-region]activeregion-configuration
[h3c-mst-region]exit
[h3c]stpinstance 2 root primary
[h3c]stpglobal e
[h3c]stpglobal enable
[h3c]mvrpglobal enable
[h3c]inte***ceten-gigabitethernet1/0/50
[h3c-ten-gigabitethernet1/0/50]portlink-type trunk
[h3c-ten-gigabitethernet1/0/50]porttrunk permit vlan all
[h3c-ten-gigabitethernet1/0/50]mvrpenable
[h3c-ten-gigabitethernet1/0/50]exit
[h3c]inte***ceten-gigabitethernet1/0/51
[h3c-ten-gigabitethernet1/0/51]portlink-type trunk
[h3c-ten-gigabitethernet1/0/51]porttrunk permit vlan all
[h3c-ten-gigabitethernet1/0/51]mvrpenable
[h3c-ten-gigabitethernet1/0/51]exit
[h3c]intten-gigabitethernet1/0/49
[h3c-ten-gigabitethernet1/0/49]portlink-type trunk
[h3c-ten-gigabitethernet1/0/49]porttrunk permit vlan 20 40
[h3c-ten-gigabitethernet1/0/49]exit
[h3c]vlan20
[h3c-vlan20]exit
[h3c]vlan40
[h3c-vlan40]exit
csystem-view
[h3c]stpregion-configuration
[h3c-mst-region]region-nameexample
[h3c-mst-region]instance1 vlan 10
[h3c-mst-region]instance2 vlan 20
[h3c-mst-region]revision-level0
[h3c-mst-region]activeregion-configuration
[h3c-mst-region]exit
[h3c]stpinstance 0 root primary
[h3c]stpglobal enable
[h3c]mvrpglobal enable
[h3c]intten-gigabitethernet1/0/49
[h3c-ten-gigabitethernet1/0/49]portlink-type trunk
[h3c-ten-gigabitethernet1/0/49]porttrunk permit vlan all
[h3c-ten-gigabitethernet1/0/49]mvrpenable
[h3c-ten-gigabitethernet1/0/49]exit
[h3c]intten-gigabitethernet1/0/50
[h3c-ten-gigabitethernet1/0/50]portlink-type trunk
[h3c-ten-gigabitethernet1/0/50]porttrunk permit vlan all
[h3c-ten-gigabitethernet1/0/50]mvrpenable
[h3c-ten-gigabitethernet1/0/50]exit
dsystem-view
[h3c]stpregion-configuration
[h3c-mst-region]region-nameexample
[h3c-mst-region]instance1 vlan 10
[h3c-mst-region]instance2 vlan 20
[h3c-mst-region]revision-level0
[h3c-mst-region]activeregion-configuration
[h3c]stpglobal enable
[h3c]mvrpglobal enable
[h3c]inte***ceten-gigabitethernet1/0/50
[h3c-ten-gigabitethernet1/0/50]portlink-type trunk
[h3c-ten-gigabitethernet1/0/50]porttrunk permit vlan 40
[h3c-ten-gigabitethernet1/0/50]mvrpenable
[h3c-ten-gigabitethernet1/0/50]exit
[h3c]intten-gigabitethernet1/0/49
[h3c-ten-gigabitethernet1/0/49]portlink-type trunk
[h3c-ten-gigabitethernet1/0/49]porttrunk permit vlan 20 40
[h3c-ten-gigabitethernet1/0/49]mvrpenable
[h3c-ten-gigabitethernet1/0/49]exit
[h3c]vlan20
[h3c-vlan20]exit
[h3c]vlan40
[h3c-vlan40]exit
華三裝置SSH配置
ssh 參考 客戶端與伺服器端的協商過程 五個階段 版本號協商階段 ssh目前包括ssh1和ssh2兩個版本,雙方通過版本協商確定使用的版本。金鑰和演算法協商階段 ssh支援多種演算法,雙方根據本端和對端支援的演算法,協商出最終使用的演算法,並通過dh交換,生成相同的會話金鑰和會話id。認證階段 s...
華三 h3c super vlan配置
super vlan配置 想在此基礎上 swb上面配置靜態路由,實現pc和swb的互通 swa vlan 2 swa vlan2 port g1 0 1 swa vlan 3 swa vlan3 port g1 0 2 swa vlan 10 swa vlan10 supervlan super v...
華三 h3c ACL配置
基本的配置不做闡述,這裡使用rip來進行全網連通 r1 r1 rip r1 rip 1 net 192.168.1.0 0.0.0.255 r1 rip 1 net 192.168.2.0 0.0.0.255 r1 rip 1 ver 2 r1 rip 1 un su r2 r2 rip 1 net...