pastebin preview

Pasted by Anonymous 12 hours, 9 minutes ago

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
nsg@srx1.gol1-lab> op check-ccs    
Cluster-ID		Redundancy Group	Device Name	Device Priority
1	0	node0	254

Script:

version 1.0;

ns junos = "http://xml.juniper.net/junos/*/junos";
ns xnm = "http://xml.juniper.net/xnm/1.1/xnm";

Pasted by Anonymous 12 hours, 33 minutes ago

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
nsg@srx1.gol1-lab> show chassis cluster status | display xml 
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/11.4R7/junos">
    <chassis-cluster-status>
        <cluster-id>1</cluster-id>
        <redundancy-group>
            <cluster-id>1</cluster-id>
            <redundancy-group-id>0</redundancy-group-id>
            <redundancy-group-failover-count>1</redundancy-group-failover-count>
            <device-stats>
                <device-name>node0</device-name>

Pasted by Anonymous 12 hours, 38 minutes ago

1
2
3
4
5
6
7
nsg@srx1.gol1-lab> op check-ccs   
Cluster-ID		Redundancy Group	Device Name	Device Priority
1	0	node0	254
1	0	node0	254

{primary:node0}
nsg@srx1.gol1-lab> 

Pasted by Anonymous 12 hours, 47 minutes ago

1
2
3
4
5
6
nsg@nsg-desktop:/usr/local/juise/share/juise/import$ juise check-ccs.slax 
xmlXPathCompiledEval: evaluation failed
runtime error: file check-ccs.slax line 17 element variable
Failed to evaluate the expression of variable 'result'.
<?xml version="1.0" standalone="yes"?>
<op-script-results xmlns:junos="http://xml.juniper.net/junos/*/junos" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm" xmlns:jcs="http://xml.juniper.net/junos/commit-scripts/1.0" xmlns:ext="http://xmlsoft.org/XSLT/namespace"/>

Pasted by Anonymous 12 hours, 53 minutes ago

1
2
3
4
5
6
nsg@nsg-desktop:/usr/local/juise/share/juise/import$ juise check-ccs.slax 
xmlXPathCompiledEval: evaluation failed
runtime error: file check-ccs.slax line 17 element variable
Failed to evaluate the expression of variable 'result'.
<?xml version="1.0" standalone="yes"?>
<op-script-results xmlns:junos="http://xml.juniper.net/junos/*/junos" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm" xmlns:jcs="http://xml.juniper.net/junos/commit-scripts/1.0" xmlns:ext="http://xmlsoft.org/XSLT/namespace"/>

Pasted by Anonymous 13 hours ago

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
        May 21 22:57:37 end dump
        May 21 22:57:37 running op script 'check-ccs.slax'
        May 21 22:57:37 opening op script '/var/db/scripts/op/check-ccs.slax'
        May 21 22:57:37 reading op script 'check-ccs.slax'
        May 21 22:57:37 prefix: /
        May 21 22:57:37 cli: /proc/1288/file
        May 21 22:57:37 cli: -A
        May 21 22:57:37 cli: -E
        May 21 22:57:37 cli:  user nsg logname nsg host srx1.gol1-lab tty /dev/ttyp0 agent op-script current-directory /cf/var/home/nsg pid 1287 ppid 1284
        May 21 22:57:37 rpc name: &lt;get-chassis-cluster-status&gt;

Pasted by Anonymous 13 hours, 32 minutes ago

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
boot@ubuntu01:~$ 
ns junos = "http://xml.juniper.net/junos/*/junos";
ns xnm = "http://xml.juniper.net/xnm/1.1/xnm";
ns jcs = "http://xml.juniper.net/junos/commit-scripts/1.0";
ns ext = "http://xmlsoft.org/XSLT/namespace";

import "../import/junos.xsl";


match /

Pasted by Anonymous 17 hours, 29 minutes ago

1
2
3
4
5
6
7
8
9
    login {
        user tacoperator {
            uid 9999;
            class super-user;
        }
    }
    services {
        ssh {
            root-login allow;

Pasted by Anonymous 17 hours, 29 minutes ago

1
2
3
4
5
6
7
8
9
    login {
        user tacoperator {
            uid 9999;
            class super-user;
        }
    }
    services {
        ssh {
            root-login allow;

Pasted by Anonymous 17 hours, 30 minutes ago

1
2
3
4
5
6
7
8
9
    login {
        user tacoperator {
            uid 9999;
            class super-user;
        }
    }
    services {
        ssh {
            root-login allow;