ethtrunk10
A. port trunk paid vlan10是什么意思
port trunk pvid vlan 10
意思就是设置该交换机端口的缺省VLANID,即PVID为10。
它的作用是交换机的该端口,收到不带vlanid的数据包时,为数据包打上一个vlanid=10的tag
VLAN tag的结构:
希望对你有帮助,麻烦给个采纳、点个赞,谢谢!
B. Eth-trunk的2种模式理解
你第一个配置里g0/0/2的eth-trunk2应该是eth-trunk1,写错了。
第一种手工配置,是没有办法检测单通的故障的,只要接口收到光,两个接口都在trunk里。而第二种配置,会发报文给对端,对端回了,接口才会加入;而且你配置了需要两个接口active,断了一个接口,整个捆绑接口也会down。
C. 关于三层交换机Eth-Trunk垮网段通信问题
老弟,既然是跨网通信肯定要用三层技术了,既然是三层技术怎么会在LSW1和LSW2上开trank呢,那二层的技术。
如果想把那3根线全用上,可以起个Port-channel
int range gi 0/0/1 -3
channel-group 1 mode on/active
no switchport
ip add <你自己定>
no shutdown
回到config下面
ip routing
把默认路由都指到刚刚做的port-channel上就行了。
ip route 0.0.0.0 0.0.0.0 port-channel1
LSW1和LSW2上都这做就行了。
D. 三层交换做eth-trunk,但怎么在上面配IP地址
首先在系统视图下建立一个vlan ,比如vlan 10;
然后,进入你建立好的eth-trunk接口下,把接口模式改成trunk,允许vlan10通过:
port link-type trunk ,
port trunk allow-pass vlan 10,
最后给vlan10配置你想要的接口IP:
interface vlanif 10,
ip address 192.168.1.1 24。
这样这个IP就是eth-trunk的接口IP了。
E. 华为S7706交换机配置问题
S7706集群的配置:1.配置集群系统与上、下游设备的Eth-Trunk<S7706A01> system-view[S7706A01] sysname ZAHD-S7706-01 //给集群系统重新命名[ZAHD-S7706-01] interface eth-trunk 10[ZAHD-S7706-01-Eth-Trunk10] quit[ZAHD-S7706-01] interface xgigabitethernet 1/1/0/3[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] eth-trunk 10[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] quit[ZAHD-S7706-01] interface xgigabitethernet 2/1/0/4[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] eth-trunk 10[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] quit
[ZAHD-S7706-01] interface eth-trunk 20[ZAHD-S7706-01-Eth-Trunk20] quit[ZAHD-S7706-01] interface xgigabitethernet 1/1/0/4[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] eth-trunk 10[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] quit[ZAHD-S7706-01] interface xgigabitethernet 2/1/0/3[ZAHD-S7706-01-XGigabitEthernet2/1/0/3] eth-trunk 20[ZAHD-S7706-01-XGigabitEthernet2/1/0/3] quit两套集群系统互为代理在每个集群系统上执行命令system-view,进入系统视图。执行命令mad domain domain-id,配置集群系统MAD域值。缺省情况下,集群系统MAD域值为0。
F. 华为eth-trunk配置
VRRP与接口状态联动简介
VRRP主备备份功能有时需要额外的技术来完善其工作。例如,Master设备到达某网络的链路突然断掉时,VRRP无法感知故障进行切换,导致主机无法通过Master设备远程访问该网络。此时,可以通过VRRP与接口状态联动,解决这个问题。
当Master设备发现上行接口发生故障时,Master设备降低自己的优先级(使得Master设备的优先级低于Backup设备的优先级),并立即发送VRRP报文。Backup设备接收到优先级比自己低的VRRP报文后,切换至Master状态,充当VRRP备份组中新的Master设备,从而保证了流量的正常转发。
配置注意事项
· 保证同一备份组的设备上配置相同的备份组号(virtual-router-id)。
· 不同备份组之间的虚拟IP地址不能重复,并且必须和接口的IP地址在同一网段。
· 一个VRRP备份组最多可以配置监视8个接口。并且,当设备为IP地址拥有者时,不允许对其配置监视接口。
组网需求
如图1所示,用户通过Switch双归属到SwitchA和SwitchB。用户希望实现:
· 正常情况下,主机以SwitchA为默认网关接入Internet,当SwitchA或者其上下行接口故障时,SwitchB接替作为网关继续进行工作,实现网关的冗余备份。
· SwitchA和SwitchB之间增加带宽,实现链路冗余备份,提高链路可靠性。
· SwitchA故障恢复后,可以在20秒内重新成为网关。
配置思路
采用VRRP主备备份实现网关冗余备份,配置思路如下:
1. 配置各设备接口IP地址及路由协议,使各设备间网络层连通。
2. 在SwitchA和SwitchB上部署VLAN聚合,实现VLAN101~VLAN180二层隔离三层互通,节省了IP地址。
3. 在SwitchA和SwitchB上创建Eth-Trunk接口并加入成员接口,实现增加链路带宽,提供链路冗余备份。
4. 在SwitchA和SwitchB上配置VRRP备份组。其中,SwitchA上配置较高优先级和20秒抢占延时,作为Master设备承担流量转发;SwitchB上配置较低优先级,作为备用设备,实现网关冗余备份。
5. 在SwitchA上配置VRRP与接口状态联动,监视接口GE1/0/1和接口GE1/0/2,实现主设备故障时,VRRP备份组及时感知并进行主备切换。
G. interface Eth-Trunk1.3 vlan 10 qinq 1634 //华为交换机中的1.3各代表什么意思
接口1下的子接口,一个接口可以划分多个子接口,用来做虚拟链路,详细情况可以参考多臂路由.
H. 如何理解eth-trunk
Eth-Trunk接口是一种可以动态创建的接口,该类型接口可以绑定若干物理的以太网接口作为一个逻辑接口使用,实现增加带宽提高靠性的目的。
Trunk优势于:
1、通Trunk接口实现负载担Eth-Trunk接口内实现流量负载担。
2、某员接口连接物理链路现故障流量切换其用链路提高整Trunk链路靠性。
3、 Trunk接口总带宽各员接口带宽。
(8)ethtrunk10扩展阅读:
Trunk具体应用
1、Trunk功能用于交换机与服务器之间的相联,为服务器提供独享的高带宽。
2、Trunk功能用于交换机之间的级联,为交换机之间的数据交换提供高带宽的数据传输能力,提高网络速度,突破网络瓶颈,进而大幅提高网络性能(主要应用)。
Trunk功能举例
——例如:为增加带宽,提高连接可靠性,某网吧电影服务器是双网卡且作了绑定,与中心交换机的23、24端口连接;二层交换机的1、2端口与中心交换机的1、2端口连接,那么中心交换机需将1、2端口,23、24端口分别做Trunk。说明:这里的二层交换机也需支持Trunk。
参考资料:网络-Trunk链路
I. 华为S7706核心交换机配置信息
S7706集群的配置:1.配置集群系统与上、下游设备的Eth-Trunk<S7706A01>
system-view[S7706A01] sysname ZAHD-S7706-01
//给集群系统重新命名[ZAHD-S7706-01] interface eth-trunk
10[ZAHD-S7706-01-Eth-Trunk10] quit[ZAHD-S7706-01] interface
xgigabitethernet 1/1/0/3[ZAHD-S7706-01-XGigabitEthernet1/1/0/3]
eth-trunk 10[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] quit[ZAHD-S7706-01]
interface xgigabitethernet
2/1/0/4[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] eth-trunk
10[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] quit[ZAHD-S7706-01]
interface eth-trunk 20[ZAHD-S7706-01-Eth-Trunk20] quit[ZAHD-S7706-01]
interface xgigabitethernet
1/1/0/4[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] eth-trunk
10[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] quit[ZAHD-S7706-01] interface
xgigabitethernet 2/1/0/3[ZAHD-S7706-01-XGigabitEthernet2/1/0/3]
eth-trunk 20[ZAHD-S7706-01-XGigabitEthernet2/1/0/3]
quit两套集群系统互为代理在每个集群系统上执行命令system-view,进入系统视图。执行命令mad domain
domain-id,配置集群系统MAD域值。缺省情况下,集群系统MAD域值为0。说明:设备支持两套集群系统互为代理进行多主检测,此时必须通过配置保证两套集群系统的MAD域值不同。执行命令interface
eth-trunk trunk-id,进入Eth-Trunk接口视图。执行命令mad
relay,在Eth-Trunk接口上启用代理功能。执行命令mad detect mode
relay,配置Eth-Trunk接口的代理方式多主检测功能。S7706A01的配置:1.配置集群连接方式、集群ID及集群优先级HUAWEI>
system-view[HUAWEI] sysname S7706A01[S7706A01] set css mode
lpu[S7706A01] set css id 1[S7706A01] set css priority
1002.配置逻辑集群端口[SwitchA] interface css-port 1[SwitchA-css-port1] port
interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2
enable[SwitchA-css-port1] quit3.使能集群功能[SwitchA] css enableWarning: The
CSS configuration will take effect only after the system is rebooted.
The next CSS mode is LPU. Reboot now? [Y/N]:yS7706A02配置:1.配置集群连接方式、集群ID及集群优先级HUAWEI>
system-view[HUAWEI] sysname S7706A02[S7706A02] set css mode
lpu[S7706A02] set css id 2[S7706A02] set css priority
102.配置逻辑集群端口[SwitchB] interface css-port 1[SwitchB-css-port1] port
interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2
enable[SwitchB-css-port1] quit3.使能集群功能[SwitchA] css enableWarning: The
CSS configuration will take effect only after the system is rebooted.
The next CSS mode is LPU. Reboot now? [Y/N]:yS5700集群的配置:1.配置集群系统与上、下游设备的Eth-Trunk<S7706A01>
system-view[S7706A01] sysname ZAHD-S7706-01
//给集群系统重新命名[ZAHD-S7706-01] interface eth-trunk
10[ZAHD-S7706-01-Eth-Trunk10] quit[ZAHD-S7706-01] interface
xgigabitethernet 1/1/0/3[ZAHD-S7706-01-XGigabitEthernet1/1/0/3]
eth-trunk 10[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] quit[ZAHD-S7706-01]
interface xgigabitethernet
2/1/0/4[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] eth-trunk
10[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] quit[ZAHD-S7706-01]
interface eth-trunk 20[ZAHD-S7706-01-Eth-Trunk20] quit[ZAHD-S7706-01]
interface xgigabitethernet
1/1/0/4[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] eth-trunk
10[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] quit[ZAHD-S7706-01] interface
xgigabitethernet 2/1/0/3[ZAHD-S7706-01-XGigabitEthernet2/1/0/3]
eth-trunk 20[ZAHD-S7706-01-XGigabitEthernet2/1/0/3] quit两套集群系统互为代理在每个集群系统上执行命令system-view,进入系统视图。执行命令mad
domain
domain-id,配置集群系统MAD域值。缺省情况下,集群系统MAD域值为0。说明:设备支持两套集群系统互为代理进行多主检测,此时必须通过配置保证两套集群系统的MAD域值不同。执行命令interface
eth-trunk trunk-id,进入Eth-Trunk接口视图。执行命令mad
relay,在Eth-Trunk接口上启用代理功能。执行命令mad detect mode
relay,配置Eth-Trunk接口的代理方式多主检测功能。S5700A01的配置:1.配置集群连接方式、集群ID及集群优先级HUAWEI>
system-view[HUAWEI] sysname S5700A01[S5700A01] set css mode
lpu[S5700A01] set css id 1[S5700A01] set css priority
1002.配置逻辑集群端口[S5700A01] interface css-port 1[S5700A01-css-port1] port
interface gigabitethernet 1/0/51 to xgigabitethernet 1/0/52
enable[S5700A01-css-port1] quit3.使能集群功能[S5700A01] css enableWarning: The
CSS configuration will take effect only after the system is rebooted.
The next CSS mode is LPU. Reboot now? [Y/N]:yS5700A02的配置:1.配置集群连接方式、集群ID及集群优先级HUAWEI>
system-view[HUAWEI] sysname S5700A02[S5700A02] set css mode
lpu[S5700A02] set css id 2[S5700A02] set css priority
102.配置逻辑集群端口[S5700A02] interface css-port 1[S5700A02-css-port1] port
interface gigabitethernet 1/0/51 to xgigabitethernet 1/0/52
enable[S5700A02-css-port1] quit3.使能集群功能[S5700A02] css enableWarning: The
CSS configuration will take effect only after the system is rebooted.
The next CSS mode is LPU. Reboot now? [Y/N]:y其中7706 5700都是基于业务口的集群。
三层交换机都是可以设置路由端口的,s3300系列以上的都支持端口路由配置,端口IP化,77系列比33系列还要高,因此是可以支持的。
注意事项