服务器汇聚方案
服务器汇聚方案
1. 服务器拨号
1.1 服务器拨号(单业务网卡)
1.1.1 网络拓扑
1.2 服务器拨号(多业务网卡)
1.2.1 网络拓扑
1.3 服务器汇聚说明
1.3.1 管理线路需要能上网,运营商不限
1.3.2 光猫接交换机端口需要划分vlan,建议 vlan id 从 101 开始,服务器接交换机端口要设置为trunk口
2.专线汇聚
2.1 专线汇聚(单业务网卡)
2.1.1 网络拓扑
2.2 专线汇聚(多业务网卡)
2.2.1 网络拓扑
2.3 专线汇聚说明
1.3.1 管理线路需要能上网,运营商不限
1.3.2 专线接交换机端口需要划分vlan,服务器接交换机端口要设置为trunk口
3.交换机设置命令
3.1 设置vlan
<button title="Copy Code" class="copy" style="touch-action: manipulation; border: 1px solid var(--vp-code-copy-code-border-color); padding: 0px; background-image: var(--vp-icon-copy); direction: ltr; position: absolute; top: 12px; right: 12px; z-index: 3; border-radius: 4px; width: 40px; height: 40px; opacity: 0; background-position: 50% center; background-size: 20px; background-repeat: no-repeat; transition: border-color 0.25s ease 0s, background-color 0.25s ease 0s, opacity 0.25s ease 0s;"></button>bash
以华为交换机演示:
system-view // 进入交换机的全局配置模式
interface GigabitEthernet 1/0/1 // 进入接口配置模式
port link-type access // 将端口设置为访问模式
port default vlan 11 // 指定 VLAN ID 为 11
save // 保存配置
quit // 退出接口配置模式和全局配置模式
3.2 设置交换机端口为truck
<button title="Copy Code" class="copy" style="touch-action: manipulation; border: 1px solid var(--vp-code-copy-code-border-color); padding: 0px; background-image: var(--vp-icon-copy); direction: ltr; position: absolute; top: 12px; right: 12px; z-index: 3; border-radius: 4px; width: 40px; height: 40px; opacity: 1; background-position: 50% center; background-size: 20px; background-repeat: no-repeat; transition: border-color 0.25s ease 0s, background-color 0.25s ease 0s, opacity 0.25s ease 0s;"></button>bash
以华为交换机演示:
system-view // 进入交换机的全局配置模式
interface GigabitEthernet 1/0/2 // 进入接口配置模式
port link-type trunk // 将端口设置为 Trunk 模式
port trunk allow-pass vlan all // 允许通过所有的 VLAN
save // 保存配置
quit // 退出接口配置模式和全局配置模式