Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@PE03# show | display set
- set version 17.1R1.8
- set system host-name PE03
- set system domain-name testlab.com
- set system root-authentication encrypted-password "$6$wK/mIWcG$B7mBqdGVzcIdpXGjKSDQNMtu5RvD0FZtRboAWBhjJ3k84MPaLq9APLK2rJg8qmHCghwKETUtKhw33SMlJC9p81"
- 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$Y22SK5CC$MJA2zWQToW3J.tD88QrydN54dGk1PbFrfdDpj.2QVIo6D3pfbadO.OXC2h0YRf69RGxP3w5sP2oaUhl84Kz0p1"
- 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.203/24
- set interfaces ge-0/0/1 vlan-tagging
- set interfaces ge-0/0/1 unit 3033 vlan-id 3033
- set interfaces ge-0/0/1 unit 3033 family inet address 10.3.33.254/24
- set interfaces ge-0/0/1 unit 3033 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.33/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.33/24
- set interfaces ge-0/0/2 unit 3123 family mpls
- set interfaces ge-0/0/5 unit 0 family inet address 192.168.3.254/24
- set interfaces lo0 unit 0 family inet address 192.168.255.33/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.33
- 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.33
- 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.44
- deactivate protocols bgp group PE-Internal
- set protocols bgp group RR type internal
- set protocols bgp group RR local-address 192.168.255.33
- 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-CE03 term EXPORT from protocol direct
- set policy-options policy-statement EXPORT-CE03 term EXPORT from protocol ospf
- set policy-options policy-statement EXPORT-CE03 term EXPORT from protocol rip
- set policy-options policy-statement EXPORT-CE03 term EXPORT from protocol bgp
- set policy-options policy-statement EXPORT-CE03 term EXPORT then community add RT-EXPORT-CE03
- set policy-options policy-statement EXPORT-CE03 term EXPORT then accept
- set policy-options policy-statement EXPORT-CE03 term REJECT then reject
- 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-CE03
- set policy-options policy-statement EXPORT-OSPF-CE term EXPORT then accept
- set policy-options policy-statement IMPORT-CE03 term IMPORT from protocol bgp
- set policy-options policy-statement IMPORT-CE03 term IMPORT from community RT-IMPORT-CE03
- set policy-options policy-statement IMPORT-CE03 term IMPORT from community RT-IMPORT-CE04
- set policy-options policy-statement IMPORT-CE03 term IMPORT then accept
- set policy-options policy-statement IMPORT-CE03 term REJECT then reject
- set policy-options community RT-EXPORT-CE03 members target:65123:103
- 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 CE03 instance-type vrf
- set routing-instances CE03 interface ge-0/0/5.0
- set routing-instances CE03 route-distinguisher 65123:103
- set routing-instances CE03 vrf-import IMPORT-CE03
- set routing-instances CE03 vrf-export EXPORT-CE03
- set routing-instances CE03 vrf-table-label
- set routing-instances CE03 protocols ospf domain-id 192.168.255.34
- set routing-instances CE03 protocols ospf export EXPORT-OSPF
- set routing-instances CE03 protocols ospf area 0.0.0.0 interface all
- 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@PE03# show
- ## Last changed: 2017-09-19 18:41:15 UTC
- version 17.1R1.8;
- system {
- host-name PE03;
- domain-name testlab.com;
- root-authentication {
- encrypted-password "$6$wK/mIWcG$B7mBqdGVzcIdpXGjKSDQNMtu5RvD0FZtRboAWBhjJ3k84MPaLq9APLK2rJg8qmHCghwKETUtKhw33SMlJC9p81"; ## SECRET-DATA
- }
- login {
- user the-packet-thrower {
- uid 2000;
- class super-user;
- authentication {
- encrypted-password "$6$Y22SK5CC$MJA2zWQToW3J.tD88QrydN54dGk1PbFrfdDpj.2QVIo6D3pfbadO.OXC2h0YRf69RGxP3w5sP2oaUhl84Kz0p1"; ## 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.203/24;
- }
- }
- }
- ge-0/0/1 {
- vlan-tagging;
- unit 3033 {
- vlan-id 3033;
- family inet {
- address 10.3.33.254/24;
- }
- family mpls;
- }
- unit 3123 {
- vlan-id 3123;
- family inet {
- address 10.0.123.33/24;
- }
- family mpls;
- }
- }
- ge-0/0/2 {
- vlan-tagging;
- unit 3123 {
- vlan-id 3123;
- family inet {
- address 10.1.123.33/24;
- }
- family mpls;
- }
- }
- ge-0/0/5 {
- unit 0 {
- family inet {
- address 192.168.3.254/24;
- }
- }
- }
- lo0 {
- unit 0 {
- family inet {
- address 192.168.255.33/32;
- }
- family mpls;
- }
- }
- }
- routing-options {
- static {
- route 0.0.0.0/0 next-hop 10.20.2.1;
- }
- router-id 192.168.255.33;
- autonomous-system 65123;
- }
- protocols {
- mpls {
- interface all;
- }
- bgp {
- inactive: group PE-Internal {
- type internal;
- local-address 192.168.255.33;
- family inet-vpn {
- unicast;
- }
- neighbor 192.168.255.11;
- neighbor 192.168.255.22;
- neighbor 192.168.255.44;
- }
- group RR {
- type internal;
- local-address 192.168.255.33;
- 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-CE03 {
- term EXPORT {
- from protocol [ direct ospf rip bgp ];
- then {
- community add RT-EXPORT-CE03;
- accept;
- }
- }
- term REJECT {
- then reject;
- }
- }
- policy-statement EXPORT-OSPF {
- then accept;
- }
- policy-statement EXPORT-OSPF-CE {
- term EXPORT {
- from protocol [ direct ospf ];
- then {
- community add RT-OSPF-CE03;
- accept;
- }
- }
- }
- policy-statement IMPORT-CE03 {
- term IMPORT {
- from {
- protocol bgp;
- community [ RT-IMPORT-CE03 RT-IMPORT-CE04 ];
- }
- then accept;
- }
- term REJECT {
- then reject;
- }
- }
- community RT-EXPORT-CE03 members target:65123:103;
- 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 {
- CE03 {
- instance-type vrf;
- interface ge-0/0/5.0;
- route-distinguisher 65123:103;
- vrf-import IMPORT-CE03;
- vrf-export EXPORT-CE03;
- vrf-table-label;
- protocols {
- ospf {
- domain-id 192.168.255.34;
- export EXPORT-OSPF;
- area 0.0.0.0 {
- interface all;
- }
- }
- }
- }
- 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