123qwerpk 发表于 2015-8-13 17:14:51

求助,华为S5328的策略路由问题

一直用的cisco的设备,突然来一台华为的有点搞不太懂了,请大神帮忙。
在网上查了一下关于华为交换机策略路由的配置文档,但是自己用的时候发现有一条命令怎么打也打不上去,不知道是因为不支持还是因为操作有问题,恳请大神指点。
?
behavior view commands:
car            Specify CAR (Committed Access Rate) feature
configurationConfiguration interlock
deny         Specify filter deny parameters
display      Display current system information
mirroring      Mirror port's data to observe port
permit         Specify filter permit parameters
ping         Send echo messages
quit         Exit from current command view
remark         Remark QoS values of the packet
reset          Reset operation
return         Exit to user view
screen-width   Set screen width
set            Set
statistic      Statistic
test-aaa       Accounts test
trace          Trace route (switch) to host on Data Link Layer
tracert      Trace route to host
undo         Cancel current setting
没有redirect ip-nexthop这条命令根本!!!

然后又尝试一下:
traffic-redirect inbound acl 3000 ?
cpu      Redirect to CPU
interfaceSpecify the interface
rule       Specify the ID of acl rule
也没有next-hop的选项!!!
这是什么原因呢??

ywb_qh 发表于 2015-8-13 17:14:52

<Quidway> system-view
route-policy policy permit node 10
if-match acl 2000
apply ip-address next-hop 10.1.1.2

ywb_qh 发表于 2015-8-27 17:04:39

你是什么设备?display ver 查一下版本,我帮你看看。

ywb_qh 发表于 2015-8-27 17:08:54

哦,是S5328
S5328有V200R001--V200R008很多版本。可能有些命令有一点小区别.

ywb_qh 发表于 2015-8-27 17:13:18

if-match ipnext-hop aclacl-number 不知道这能不能帮到你!

123qwerpk 发表于 2015-9-1 16:04:46

ywb_qh 发表于 2015-8-27 17:04
你是什么设备?display ver 查一下版本,我帮你看看。

Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.110 (S5300 V200R001C00SPC300)
Copyright (C) 2000-2012 HUAWEI TECH CO., LTD
Quidway S5328C-SI Routing Switch uptime is 60 weeks, 5 days, 22 hours, 26 minutes

CX22EFGEC 0(Master) : uptime is 60 weeks, 5 days, 22 hours, 26 minutes
256M bytes DDR Memory
32M bytes FLASH
Pcb      Version :VER B
BasicBOOTROMVersion :162 Compiled at May 31 2012, 10:56:32
CPLD   Version : 5
Software Version : VRP (R) Software, Version 5.110 (V200R001C00SPC300)
FANCARD I information
Pcb      Version : FAN VER B
PWRCARD I information
Pcb      Version : PWR VER A

123qwerpk 发表于 2015-9-1 16:10:14

ywb_qh 发表于 2015-8-27 17:13
if-match ipnext-hop aclacl-number 不知道这能不能帮到你!

在什么模式下面?全局还是在behavior里面?貌似都没有啊
if-?
                              ^
Error: Unrecognized command found at '^' position.

全局下也没有
if-?
                        ^
Error: Unrecognized command found at '^' position.

123qwerpk 发表于 2015-9-1 16:11:25

ywb_qh 发表于 2015-8-27 17:08
哦,是S5328
S5328有V200R001--V200R008很多版本。可能有些命令有一点小区别.

Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.110 (S5300 V200R001C00SPC300)
Copyright (C) 2000-2012 HUAWEI TECH CO., LTD
Quidway S5328C-SI Routing Switch uptime is 7 weeks, 6 days, 22 hours, 31 minutes

CX22EFGEC 0(Master) : uptime is 7 weeks, 6 days, 22 hours, 30 minutes
256M bytes DDR Memory
32M bytes FLASH
Pcb      Version :VER B
BasicBOOTROMVersion :162 Compiled at May 31 2012, 10:56:32
CPLD   Version : 5
Software Version : VRP (R) Software, Version 5.110 (V200R001C00SPC300)
FANCARD I information
Pcb      Version : FAN VER B
PWRCARD I information
Pcb      Version : PWR VER A



请大神指教,跪谢

ywb_qh 发表于 2015-9-2 10:13:33

刚才那个在路由策略下有下一条但是在流策略下是重定向到端口
<Quidway> system-view
traffic behavior b1
redirect interface gigabitethernet 0/0/1

ywb_qh 发表于 2015-9-2 10:14:39

希望能对你有帮助!{:soso_e100:}

ywb_qh 发表于 2015-9-2 10:27:06

S5300SI、LI交换机不支持redirect ip-nexthop命令。

123qwerpk 发表于 2015-9-2 14:36:26

ywb_qh 发表于 2015-9-2 10:13
刚才那个在路由策略下有下一条但是在流策略下是重定向到端口
system-view
traffic behavior b ...

大神,请收下我的膝盖.......    非常感谢!!!!!!!

123qwerpk 发表于 2015-9-2 14:40:05

ywb_qh 发表于 2015-9-2 10:13
刚才那个在路由策略下有下一条但是在流策略下是重定向到端口
system-view
traffic behavior b ...

弱弱的问下,挂端口就这一条么?没有体现出创建的policy挂在端口上啊

ywb_qh 发表于 2015-9-6 10:26:58

挂端口的意思是不是就是在接口上引用这个策略?{:soso_e128:}

ywb_qh 发表于 2015-9-6 10:30:54

interface GigabitEthernet2/0/0
traffic-policy www inbound
在接口下引用就可以了
页: [1] 2 3
查看完整版本: 求助,华为S5328的策略路由问题