networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Feb 16, 2012 1:29 pm 
Offline
Senior Member
Senior Member
User avatar

Joined: Thu Sep 17, 2009 3:06 pm
Posts: 272
Rather often when I copy load of configuration to a router using the "load replace terminal" I receive syntax error despite the fact that configuration itself is correct. For example:

Code:
root@M10i# load replace terminal
[Type ^D at a new line to end input]
interfaces {
    ge-0/0/0 {
        replace: unit 96 {
            apply-groups TEST;
            vlan-id 96;
        }
    }
}
groups {
    replace: TEST {
        interfaces {
            <*> {
                unit <*> {
                    description "TEST";
                    bandwidth 20m;
                    family inet {
                        rpf-check;
                        mtu 1500;
                        policer {
                            input bw-20Mbps;
                            output bw-20Mbps;
                        }
                        address 10.10.10.1/28;
                    }
                }
            }
        }
    }
}
terminal:23:(0) syntax error: {
  [edit groups TEST interfaces <*> unit <*> family inet policer]
    ''
      syntax error
load complete (1 errors)

[edit]
root@M10i#


All 29 lines were pasted at a time. If I copy this very same configuration with no more than three lines at a time there are no syntax errors. I have tried this both with xterm and gnome-terminal, but still receive such syntax errors from time to time. Anyone seen something similar? What might cause "syntax errors" from time to time when one pastes a load of configuration to router under "load replace terminal" mode? :roll:


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 10:17 pm 
Offline
Member
Member
User avatar

Joined: Fri Apr 29, 2011 8:26 pm
Posts: 179
Location: Dallas
Certs: CCNP, CCIP, JNCIA, M&M, PB&J, etc.
This happens to me, on olive, when consoled in (qemu redirect).
However if I telnet into the olive instance I can paste w/ no errors.
Maybe something w/ the col/row formatting on tty vs vty.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group