IvanI Posted March 27, 2009 Posted March 27, 2009 Сообщение для NG_CAR передается тока через консоль NGCTL, в коммандной строке пишет "Missing }." и сообщение непередается. gw1# ngctl msg car_1: setconf { upstream={ cbs=8192 ebs=8192 cir=10240 mode=3 } downstream={ cbs=8192 ebs=8192 cir=10240 mode=3 } } Missing }. gw1# ngctl Available commands: config get or set configuration of node at <path> ... quit Exit program + msg car_1: getconf Rec'd response "getconf" (4) from "[18]:": Args: { upstream={ cbs=8192 ebs=8192 cir=10240 greenAction=1 yellowAction=1 redAction=2 } downstream={ cbs=8192 ebs=8192 cir=10240 greenAction=1 yellowAction=1 redAction=2 } } + msg car_1: setconf { upstream={ cbs=8192 ebs=8192 cir=10240 mode=3 } downstream={ cbs=8192 ebs=8192 cir=10240 mode=3 } } + msg car_1: getconf Rec'd response "getconf" (4) from "[18]:": Args: { upstream={ cbs=8192 ebs=8192 cir=10240 mode=3 } downstream={ cbs=8192 ebs=8192 cir=10240 mode=3 } } + Для NG_NETFLOW всегда передовал "ngctl msg netflow: setdlt { iface=0 dlt=12 }" и работало, что нетак в случае с NG_CAR? Вставить ник Quote
mikevlz Posted March 28, 2009 Posted March 28, 2009 в кавычки заключить или заэскейпить шелл-символы? Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.