interface Tunnel1 mode ipv4-ipv4 source 132.103.251.50 # 本地端点IP destination x.x.x.x # 对端IP tunnel-protocol ipip 华三s6900交换机不支持tunnel-protocol ipip命令,有这叫命令嘛?试了报错,是版本问题嘛?
(0)
最佳答案
问题根源:
操作步骤:
display version
确认版本是否为V7.1.XXX或更高(V5版本及旧版V7可能不支持)。system-view
interface Tunnel 1
tunnel-protocol ? # 查看支持的隧道协议列表
如果输出中没有ipip
选项,则设备当前不支持IPIP隧道。如果IPIP隧道不可用,GRE隧道是通用替代方案(华三设备广泛支持GRE,且配置更灵活)。
system-view
interface Tunnel1
ip address 10.0.0.1 255.255.255.252 # 隧道接口IP
tunnel-protocol gre # 使用GRE协议
source 132.103.251.50 # 本地源IP
destination x.x.x.x # 对端目的IP
# 可选:配置GRE密钥(需与对端一致)
gre key 12345
ip route-static <目标网段> <掩码> Tunnel1 # 通过隧道转发目标流量
如果业务必须使用IPIP隧道:
tftp 192.168.1.100 get S6900-CMW710-RXXXX.bin
boot-loader file flash:/S6900-CMW710-RXXXX.bin slot all main
reboot
display interface Tunnel1 # 查看隧道接口状态(UP/DOWN)
display tunnel-info all # 显示隧道详细信息
ping -a 132.103.251.50 <对端隧道IP> # 指定源IP发起Ping测试
source
和destination
的IP地址可达(直连或路由可达)。(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论