Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@P01# show | display set
- set version 15.1X49-D100.6
- set system host-name P01
- set system domain-name testlab.com
- set system root-authentication encrypted-password "$5$Lr4bPlwS$PuLI3EqjmnOuJKWhSwZhxLTJkc9757hM6liT98A2tq8"
- set system services ssh
- set system services web-management http interface fxp0.0
- set system syslog user * any emergency
- set system syslog file messages any any
- set system syslog file messages authorization info
- set system syslog file interactive-commands interactive-commands any
- set system license autoupdate url https://ae1.juniper.net/junos/key_retrieval
- set security forwarding-options family inet6 mode packet-based
- set security forwarding-options family mpls mode packet-based
- set security forwarding-options family iso mode packet-based
- set interfaces ge-0/0/0 unit 0 family inet address 10.20.2.211/24
- set interfaces ge-0/0/1 vlan-tagging
- set interfaces ge-0/0/1 unit 3011 vlan-id 3011
- set interfaces ge-0/0/1 unit 3011 family inet address 10.1.11.1/24
- set interfaces ge-0/0/1 unit 3011 family mpls
- set interfaces ge-0/0/1 unit 3012 vlan-id 3012
- set interfaces ge-0/0/1 unit 3012 family inet address 10.1.2.1/24
- set interfaces ge-0/0/1 unit 3012 family mpls
- set interfaces ge-0/0/1 unit 3013 vlan-id 3013
- set interfaces ge-0/0/1 unit 3013 family inet address 10.1.3.1/24
- set interfaces ge-0/0/1 unit 3013 family mpls
- set interfaces ge-0/0/1 unit 3014 vlan-id 3014
- set interfaces ge-0/0/1 unit 3014 family inet address 10.1.4.1/24
- set interfaces ge-0/0/1 unit 3014 family mpls
- set interfaces fxp0 unit 0
- set interfaces lo0 unit 0 family inet address 192.168.255.1/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 autonomous-system 65123
- set protocols mpls interface all
- 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 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
- [edit]
- root@P01# show
- ## Last changed: 2017-09-19 07:23:14 UTC
- version 15.1X49-D100.6;
- system {
- host-name P01;
- domain-name testlab.com;
- root-authentication {
- encrypted-password "$5$Lr4bPlwS$PuLI3EqjmnOuJKWhSwZhxLTJkc9757hM6liT98A2tq8"; ## SECRET-DATA
- }
- services {
- ssh;
- web-management {
- http {
- interface fxp0.0;
- }
- }
- }
- syslog {
- user * {
- any emergency;
- }
- file messages {
- any any;
- authorization info;
- }
- file interactive-commands {
- interactive-commands any;
- }
- }
- license {
- autoupdate {
- url https://ae1.juniper.net/junos/key_retrieval;
- }
- }
- }
- security {
- forwarding-options {
- family {
- inet6 {
- mode packet-based;
- }
- mpls {
- mode packet-based;
- }
- iso {
- mode packet-based;
- }
- }
- }
- }
- interfaces {
- ge-0/0/0 {
- unit 0 {
- family inet {
- address 10.20.2.211/24;
- }
- }
- }
- ge-0/0/1 {
- vlan-tagging;
- unit 3011 {
- vlan-id 3011;
- family inet {
- address 10.1.11.1/24;
- }
- family mpls;
- }
- unit 3012 {
- vlan-id 3012;
- family inet {
- address 10.1.2.1/24;
- }
- family mpls;
- }
- unit 3013 {
- vlan-id 3013;
- family inet {
- address 10.1.3.1/24;
- }
- family mpls;
- }
- unit 3014 {
- vlan-id 3014;
- family inet {
- address 10.1.4.1/24;
- }
- family mpls;
- }
- }
- fxp0 {
- unit 0;
- }
- lo0 {
- unit 0 {
- family inet {
- address 192.168.255.1/32;
- }
- family mpls;
- }
- }
- }
- routing-options {
- static {
- route 0.0.0.0/0 next-hop 10.20.2.1;
- }
- autonomous-system 65123;
- }
- protocols {
- mpls {
- interface all;
- }
- ospf {
- area 0.0.0.0 {
- interface all;
- interface lo0.0 {
- passive;
- }
- }
- }
- ldp {
- deaggregate;
- interface all;
- }
- lldp {
- interface all;
- }
- }
- routing-instances {
- 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