Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@PE44# show | display set
- set version 17.1R1.8
- set system host-name PE44
- set system domain-name testlab.com
- set system root-authentication encrypted-password "$6$JwfZsigC$jAwb.ppdu5q44rG.PLLmm7til.n18S2QdFa.mG1gsdldz.C7uk0N0m4bdqhpghpPGlp7fMhgh4JGuTRKMT6gs1"
- set system login user the-packet-thrower uid 2000
- set system login user the-packet-thrower class super-user
- set system login user the-packet-thrower authentication encrypted-password "$6$eNn4D2jr$2nNfLEYQHFWErl2SlDg3rHqXkIYsFi1tl0ov5VW3RLDvLy6p4AS342Nwzt2LYptBCqwqsuE1CnpdAM16w4l4a."
- set system services ssh
- set system syslog user * any emergency
- set system syslog file messages any notice
- set system syslog file messages authorization info
- set system syslog file interactive-commands interactive-commands any
- set interfaces ge-0/0/0 unit 0 family inet address 10.20.2.204/24
- set interfaces ge-0/0/1 vlan-tagging
- set interfaces ge-0/0/1 unit 3044 vlan-id 3044
- set interfaces ge-0/0/1 unit 3044 family inet address 10.4.44.254/24
- set interfaces ge-0/0/1 unit 3044 family mpls
- set interfaces ge-0/0/1 unit 3123 vlan-id 3123
- set interfaces ge-0/0/1 unit 3123 family inet address 10.0.123.44/24
- set interfaces ge-0/0/1 unit 3123 family mpls
- set interfaces ge-0/0/2 vlan-tagging
- set interfaces ge-0/0/2 unit 3123 vlan-id 3123
- set interfaces ge-0/0/2 unit 3123 family inet address 10.1.123.44/24
- set interfaces ge-0/0/2 unit 3123 family mpls
- set interfaces ge-0/0/5 unit 0 family inet address 192.168.4.254/24
- set interfaces lo0 unit 0 family inet address 192.168.255.44/32
- set interfaces lo0 unit 0 family mpls
- set routing-options static route 0.0.0.0/0 next-hop 10.20.2.1
- set routing-options router-id 192.168.255.44
- set routing-options autonomous-system 65123
- set protocols mpls interface all
- set protocols bgp group PE-Internal type internal
- set protocols bgp group PE-Internal local-address 192.168.255.44
- set protocols bgp group PE-Internal family inet-vpn unicast
- set protocols bgp group PE-Internal neighbor 192.168.255.11
- set protocols bgp group PE-Internal neighbor 192.168.255.22
- set protocols bgp group PE-Internal neighbor 192.168.255.33
- deactivate protocols bgp group PE-Internal
- set protocols bgp group RR type internal
- set protocols bgp group RR local-address 192.168.255.44
- set protocols bgp group RR family inet-vpn unicast
- set protocols bgp group RR neighbor 192.168.255.154
- set protocols bgp group RR neighbor 192.168.255.254
- set protocols ospf area 0.0.0.0 interface all
- set protocols ospf area 0.0.0.0 interface lo0.0 passive
- set protocols ldp deaggregate
- set protocols ldp interface all
- set protocols lldp interface all
- set policy-options policy-statement EXPORT-CE04 term EXPORT from protocol direct
- set policy-options policy-statement EXPORT-CE04 term EXPORT from protocol ospf
- set policy-options policy-statement EXPORT-CE04 term EXPORT from protocol rip
- set policy-options policy-statement EXPORT-CE04 term EXPORT from protocol bgp
- set policy-options policy-statement EXPORT-CE04 term EXPORT then community add RT-EXPORT-CE04
- set policy-options policy-statement EXPORT-CE04 term EXPORT then accept
- set policy-options policy-statement EXPORT-CE04 term REJECT then reject
- set policy-options policy-statement EXPORT-CE04 from protocol direct
- set policy-options policy-statement EXPORT-CE04 from protocol ospf
- set policy-options policy-statement EXPORT-CE04 from protocol rip
- set policy-options policy-statement EXPORT-CE04 from protocol bgp
- set policy-options policy-statement EXPORT-OSPF then accept
- set policy-options policy-statement EXPORT-OSPF-CE term EXPORT from protocol direct
- set policy-options policy-statement EXPORT-OSPF-CE term EXPORT from protocol ospf
- set policy-options policy-statement EXPORT-OSPF-CE term EXPORT then community add RT-OSPF-CE04
- set policy-options policy-statement IMPORT-CE04 term IMPORT from protocol bgp
- set policy-options policy-statement IMPORT-CE04 term IMPORT from community RT-IMPORT-CE04
- set policy-options policy-statement IMPORT-CE04 term IMPORT from community RT-IMPORT-CE03
- set policy-options policy-statement IMPORT-CE04 term IMPORT then accept
- set policy-options policy-statement IMPORT-CE04 term REJECT then reject
- set policy-options policy-statement IMPORT-OSPF term IMPORT from community RT-OSPF-CE03
- set policy-options policy-statement IMPORT-OSPF term IMPORT then accept
- set policy-options community RT-EXPORT-CE04 members target:65123:104
- set policy-options community RT-IMPORT-CE01 members target:65123:101
- set policy-options community RT-IMPORT-CE02 members target:65123:102
- set policy-options community RT-IMPORT-CE03 members target:65123:103
- set policy-options community RT-IMPORT-CE04 members target:65123:104
- set policy-options community RT-OSPF-CE03 members target:65123:103
- set policy-options community RT-OSPF-CE03 members domain-id:192.168.255.34:0
- set policy-options community RT-OSPF-CE04 members target:65123:104
- set policy-options community RT-OSPF-CE04 members domain-id:192.168.255.34:0
- set routing-instances CE04 instance-type vrf
- set routing-instances CE04 interface ge-0/0/5.0
- set routing-instances CE04 route-distinguisher 65123:104
- set routing-instances CE04 vrf-import IMPORT-CE04
- set routing-instances CE04 vrf-export EXPORT-CE04
- set routing-instances CE04 vrf-table-label
- set routing-instances CE04 protocols ospf domain-id 192.168.255.34
- set routing-instances CE04 protocols ospf export EXPORT-OSPF
- set routing-instances CE04 protocols ospf area 0.0.0.0 interface all
- set routing-instances CE04 protocols rip group CUST-A neighbor ge-0/0/5.0
- set routing-instances MGMT instance-type virtual-router
- set routing-instances MGMT interface ge-0/0/0.0
- set routing-instances MGMT routing-options static route 0.0.0.0/0 next-hop 10.20.2.1
- root@PE44# show
- ## Last changed: 2017-09-19 18:41:14 UTC
- version 17.1R1.8;
- system {
- host-name PE44;
- domain-name testlab.com;
- root-authentication {
- encrypted-password "$6$JwfZsigC$jAwb.ppdu5q44rG.PLLmm7til.n18S2QdFa.mG1gsdldz.C7uk0N0m4bdqhpghpPGlp7fMhgh4JGuTRKMT6gs1"; ## SECRET-DATA
- }
- login {
- user the-packet-thrower {
- uid 2000;
- class super-user;
- authentication {
- encrypted-password "$6$eNn4D2jr$2nNfLEYQHFWErl2SlDg3rHqXkIYsFi1tl0ov5VW3RLDvLy6p4AS342Nwzt2LYptBCqwqsuE1CnpdAM16w4l4a."; ## SECRET-DATA
- }
- }
- }
- services {
- ssh;
- }
- syslog {
- user * {
- any emergency;
- }
- file messages {
- any notice;
- authorization info;
- }
- file interactive-commands {
- interactive-commands any;
- }
- }
- }
- interfaces {
- ge-0/0/0 {
- unit 0 {
- family inet {
- address 10.20.2.204/24;
- }
- }
- }
- ge-0/0/1 {
- vlan-tagging;
- unit 3044 {
- vlan-id 3044;
- family inet {
- address 10.4.44.254/24;
- }
- family mpls;
- }
- unit 3123 {
- vlan-id 3123;
- family inet {
- address 10.0.123.44/24;
- }
- family mpls;
- }
- }
- ge-0/0/2 {
- vlan-tagging;
- unit 3123 {
- vlan-id 3123;
- family inet {
- address 10.1.123.44/24;
- }
- family mpls;
- }
- }
- ge-0/0/5 {
- unit 0 {
- family inet {
- address 192.168.4.254/24;
- }
- }
- }
- lo0 {
- unit 0 {
- family inet {
- address 192.168.255.44/32;
- }
- family mpls;
- }
- }
- }
- routing-options {
- static {
- route 0.0.0.0/0 next-hop 10.20.2.1;
- }
- router-id 192.168.255.44;
- autonomous-system 65123;
- }
- protocols {
- mpls {
- interface all;
- }
- bgp {
- inactive: group PE-Internal {
- type internal;
- local-address 192.168.255.44;
- family inet-vpn {
- unicast;
- }
- neighbor 192.168.255.11;
- neighbor 192.168.255.22;
- neighbor 192.168.255.33;
- }
- group RR {
- type internal;
- local-address 192.168.255.44;
- family inet-vpn {
- unicast;
- }
- neighbor 192.168.255.154;
- neighbor 192.168.255.254;
- }
- }
- ospf {
- area 0.0.0.0 {
- interface all;
- interface lo0.0 {
- passive;
- }
- }
- }
- ldp {
- deaggregate;
- interface all;
- }
- lldp {
- interface all;
- }
- }
- policy-options {
- policy-statement EXPORT-CE04 {
- term EXPORT {
- from protocol [ direct ospf rip bgp ];
- then {
- community add RT-EXPORT-CE04;
- accept;
- }
- }
- term REJECT {
- then reject;
- }
- from protocol [ direct ospf rip bgp ];
- }
- policy-statement EXPORT-OSPF {
- then accept;
- }
- policy-statement EXPORT-OSPF-CE {
- term EXPORT {
- from protocol [ direct ospf ];
- then {
- community add RT-OSPF-CE04;
- }
- }
- }
- policy-statement IMPORT-CE04 {
- term IMPORT {
- from {
- protocol bgp;
- community [ RT-IMPORT-CE04 RT-IMPORT-CE03 ];
- }
- then accept;
- }
- term REJECT {
- then reject;
- }
- }
- policy-statement IMPORT-OSPF {
- term IMPORT {
- from community RT-OSPF-CE03;
- then accept;
- }
- }
- community RT-EXPORT-CE04 members target:65123:104;
- community RT-IMPORT-CE01 members target:65123:101;
- community RT-IMPORT-CE02 members target:65123:102;
- community RT-IMPORT-CE03 members target:65123:103;
- community RT-IMPORT-CE04 members target:65123:104;
- community RT-OSPF-CE03 members [ target:65123:103 domain-id:192.168.255.34:0 ];
- community RT-OSPF-CE04 members [ target:65123:104 domain-id:192.168.255.34:0 ];
- }
- routing-instances {
- CE04 {
- instance-type vrf;
- interface ge-0/0/5.0;
- route-distinguisher 65123:104;
- vrf-import IMPORT-CE04;
- vrf-export EXPORT-CE04;
- vrf-table-label;
- protocols {
- ospf {
- domain-id 192.168.255.34;
- export EXPORT-OSPF;
- area 0.0.0.0 {
- interface all;
- }
- }
- rip {
- group CUST-A {
- neighbor ge-0/0/5.0;
- }
- }
- }
- }
- MGMT {
- instance-type virtual-router;
- interface ge-0/0/0.0;
- routing-options {
- static {
- route 0.0.0.0/0 next-hop 10.20.2.1;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement