提问人:Osama Abuhamdan 提问时间:10/28/2023 更新时间:10/28/2023 访问量:7
Allied Telesis 交换机上的混合 OF 端口
Hybrid OF Ports on Allied Telesis Switches
问:
我有一个 Allied Telesis AT-IE340-20GP 交换机。 我想将端口(例如 12)设置为混合端口。 对于混合,我的意思是它应该能够在与非 OpenFlow 端口通信(第 2 层数据包转发)和与 OpenFlow 端口通信(使用 OpenFlow 规则)时转发数据包。
我正在按照 Allied Telesis 配置指南中的步骤将这些命令应用于接口端口 1.0.12:
conf t
interface port1.0.12
switchport mode trunk ingress-filter disable
switchport trunk allowed vlan add 1,10
openflow
在这些配置中,数据包使用 OpenFlow 端口转发,但不使用非 OpenFlow 端口转发。
如果我禁用 OpenFlow 并使用以下命令将 VLAN 1 作为本地 VLAN
conf t
interface port1.0.12
no openflow
switchport trunk vlan native 1
我能够在中继端口和 VLAN 1 上的其他接入端口之间转发数据包(默认)。但是我无法(显然)连接到OF端口。
以下是 OpenFlow 配置
awplus#show openflow config
Bridge of0
Controller "tcp:10.0.1.70:6653"
is_connected: true
other_config: {aux_id="0", name=con1}
fail_mode: secure
datapath_type: system
Port of0
Interface of0
type: internal
Port port1.0.7
Interface port1.0.7
type: system
options: {ifindex="5007", mtu="1500", native_vlan="4089"}
Port port1.0.8
Interface port1.0.8
type: system
options: {ifindex="5008", mtu="1500", native_vlan="4089"}
Port port1.0.9
Interface port1.0.9
type: system
options: {ifindex="5009", mtu="1500", native_vlan="4089"}
Port port1.0.10
Interface port1.0.10
type: system
options: {ifindex="5010", mtu="1500", native_vlan="4089"}
Port port1.0.11
Interface port1.0.11
type: system
options: {ifindex="5011", mtu="1500", native_vlan="4089"}
Port port1.0.12
Interface port1.0.12
type: system
options: {ifindex="5012", mtu="1500", native_vlan="4089"}
以下是 VLAN 配置
awplus#show vlan all
VLAN ID Name Type State Member ports
(u)-Untagged, (t)-Tagged
======= ================ ======= ======= ====================================
1 default STATIC ACTIVE port1.0.1(u) port1.0.2(u) port1.0.3(u)
port1.0.4(u) port1.0.5(u) port1.0.6(u)
port1.0.13(u) port1.0.14(u)
port1.0.15(u) port1.0.16(u)
port1.0.17(u) port1.0.18(u)
port1.0.19(u) port1.0.20(u)
4089 VLAN4089 STATIC ACTIVE port1.0.7(u) port1.0.8(u) port1.0.9(u)
port1.0.10(u) port1.0.11(u)
port1.0.12(u)
有什么想法吗?
答: 暂无答案
评论