- Created by Jean-luc KRIKER, last modified on Nov 15, 2019
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Next »
https://junipernetworks.sharepoint.com/sites/CSOBYODHowto/SitePages/How-To-Onboard-vSRX.aspx
JDM config Expand source
{master:0} root@jdm-catapult> show configuration virtual-network-functions myvsrx | display set set virtual-network-functions myvsrx image /var/third-party/images/vsrx151X49D1721.qcow2 set virtual-network-functions myvsrx virtual-cpu 0 physical-cpu 4 set virtual-network-functions myvsrx virtual-cpu 1 physical-cpu 11 set virtual-network-functions myvsrx virtual-cpu count 2 set virtual-network-functions myvsrx no-default-interfaces set virtual-network-functions myvsrx interfaces eth3 mapping hsxe0 virtual-function vlan-id 100 set virtual-network-functions myvsrx interfaces eth2 management out-of-band set virtual-network-functions myvsrx interfaces eth4 mapping hsxe1 virtual-function vlan-id 110 set virtual-network-functions myvsrx interfaces eth5 mapping hsxe0 virtual-function vlan-id 120 set virtual-network-functions myvsrx interfaces eth6 mapping hsxe1 virtual-function vlan-id 130 set virtual-network-functions myvsrx interfaces eth7 mapping hsxe0 virtual-function vlan-id 140 set virtual-network-functions myvsrx interfaces eth8 mapping hsxe1 virtual-function vlan-id 150 set virtual-network-functions myvsrx memory size 4194304 set virtual-network-functions myvsrx memory features hugepages
rest of JDM config Expand source
{master:0} root@jdm-catapult> show configuration | display set set version 18.4R1.8 set system login idle-timeout 10 set system root-authentication encrypted-password "$6$nZfed$GHzBFxJYqkDryVizeNSowBG61Q5RQCh//BddYK37WOxG/RoczDv1IdkjIP/3omKzoVjyoAnfd.0chj3E37TuA." set system host-name jdm-catapult set system memory hugepages page-size 1024 page-count 25 set system services ssh set system services netconf ssh set system services netconf rfc-compliant set system services enhanced-orchestration set system services ipsec-nm set system phone-home server https://redirect.juniper.net set system phone-home upgrade-image-before-configuration set interfaces jmgmt0 unit 0 family inet dhcp set interfaces jmgmt0 unit 0 family inet address 192.168.0.11/24 deactivate interfaces jmgmt0 unit 0 family inet address 192.168.0.11/24 set interfaces jsxe0 vlan-tagging set interfaces jsxe0 unit 0 vlan-id 1 set interfaces jsxe0 unit 0 family inet dhcp set interfaces jsxe0 unit 1 vlan-id 2 set interfaces jsxe0 unit 1 family inet dhcp set interfaces jsxe0 unit 2 vlan-id 3 set interfaces jsxe0 unit 2 family inet dhcp deactivate interfaces jsxe0 set routing-options static route 0.0.0.0/0 next-hop 192.168.0.1 set host-os vlans vlan100 vlan-id 100 set host-os vlans vlan110 vlan-id 110 set host-os vlans vlan200 vlan-id 200 set host-os vlans vlan210 vlan-id 210 | |
jcl config Expand source
root@jdm-catapult:~# cli {master:0} root@jdm-catapult> ssh vjunos0 Last login: Thu Nov 14 14:25:26 2019 --- JUNOS 18.4R1.8 Kernel 64-bit FLEX JNPR-11.0-20181207.6c2f68b_2_bu root@:RE:0% cli {master:0} root> show configuration | display set set version 18.4R1.8 set system login user jdm-sysuser uid 2000 set system login user jdm-sysuser class super-user set system login user jdm-sysuser authentication ssh-ecdsa "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPpWvgswvGVjsjeJn2Gfi/APHRyiDQjT6E6Jquq1pPiFNrz/WBOqZEdaLERIOZr2SbT5+fyQjILVljApTtC/y0o= root@jdm" set system root-authentication encrypted-password "$1$FL5kZ2xd$3f5288IVhy0TaCruX3txe." set system root-authentication ssh-ecdsa "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPpWvgswvGVjsjeJn2Gfi/APHRyiDQjT6E6Jquq1pPiFNrz/WBOqZEdaLERIOZr2SbT5+fyQjILVljApTtC/y0o= root@jdm" set system services ssh set system services netconf 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 system processes app-engine-virtual-machine-management-service traceoptions level notice set system processes app-engine-virtual-machine-management-service traceoptions flag all set interfaces ge-0/0/0 description "vSRX ge-0/0/0" set interfaces ge-0/0/0 speed auto set interfaces ge-0/0/0 ether-options auto-negotiation set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members vlan-100 set interfaces ge-0/0/0 unit 0 family ethernet-switching storm-control default set interfaces sxe-0/0/0 ether-options flow-control set interfaces sxe-0/0/0 unit 0 family ethernet-switching interface-mode trunk set interfaces sxe-0/0/0 unit 0 family ethernet-switching vlan members vlan-100 set interfaces sxe-0/0/0 unit 0 family ethernet-switching vlan members vlan-120 set interfaces sxe-0/0/0 unit 0 family ethernet-switching vlan members vlan-140 set interfaces ge-0/0/1 description "vSRX ge-0/0/1" set interfaces ge-0/0/1 speed auto set interfaces ge-0/0/1 ether-options auto-negotiation set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members vlan-110 set interfaces ge-0/0/1 unit 0 family ethernet-switching storm-control default set interfaces sxe-0/0/1 ether-options flow-control set interfaces sxe-0/0/1 unit 0 family ethernet-switching interface-mode trunk set interfaces sxe-0/0/1 unit 0 family ethernet-switching vlan members vlan-110 set interfaces sxe-0/0/1 unit 0 family ethernet-switching vlan members vlan-130 set interfaces sxe-0/0/1 unit 0 family ethernet-switching vlan members vlan-150 set interfaces ge-0/0/2 description "vSRX ge-0/0/2" set interfaces ge-0/0/2 speed auto set interfaces ge-0/0/2 ether-options auto-negotiation set interfaces ge-0/0/2 unit 0 family ethernet-switching vlan members vlan-120 set interfaces ge-0/0/2 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/3 description "vSRX ge-0/0/3" set interfaces ge-0/0/3 speed auto set interfaces ge-0/0/3 ether-options auto-negotiation set interfaces ge-0/0/3 unit 0 family ethernet-switching vlan members vlan-130 set interfaces ge-0/0/3 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/4 description "vSRX ge-0/0/4" set interfaces ge-0/0/4 speed auto set interfaces ge-0/0/4 ether-options auto-negotiation set interfaces ge-0/0/4 unit 0 family ethernet-switching vlan members vlan-140 set interfaces ge-0/0/4 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/5 description "vSRX ge-0/0/5" set interfaces ge-0/0/5 speed auto set interfaces ge-0/0/5 ether-options auto-negotiation set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members vlan-150 set interfaces ge-0/0/5 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/6 speed auto set interfaces ge-0/0/6 ether-options auto-negotiation set interfaces ge-0/0/6 unit 0 family ethernet-switching vlan members default set interfaces ge-0/0/6 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/7 speed auto set interfaces ge-0/0/7 ether-options auto-negotiation set interfaces ge-0/0/7 unit 0 family ethernet-switching vlan members default set interfaces ge-0/0/7 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/8 speed auto set interfaces ge-0/0/8 ether-options auto-negotiation set interfaces ge-0/0/8 unit 0 family ethernet-switching vlan members default set interfaces ge-0/0/8 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/9 speed auto set interfaces ge-0/0/9 ether-options auto-negotiation set interfaces ge-0/0/9 unit 0 family ethernet-switching vlan members default set interfaces ge-0/0/9 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/10 unit 0 family ethernet-switching vlan members default set interfaces ge-0/0/10 unit 0 family ethernet-switching storm-control default set interfaces ge-0/0/11 unit 0 family ethernet-switching vlan members default set interfaces ge-0/0/11 unit 0 family ethernet-switching storm-control default set interfaces xe-0/0/12 unit 0 family ethernet-switching storm-control default set interfaces xe-0/0/13 unit 0 family ethernet-switching storm-control default set forwarding-options storm-control-profiles default all set protocols lldp interface all set protocols lldp-med interface all set protocols igmp-snooping vlan default set protocols rstp interface ge-0/0/0 set protocols rstp interface ge-0/0/1 set protocols rstp interface ge-0/0/2 set protocols rstp interface ge-0/0/3 set protocols rstp interface ge-0/0/4 set protocols rstp interface ge-0/0/5 set protocols rstp interface ge-0/0/6 set protocols rstp interface ge-0/0/7 set protocols rstp interface ge-0/0/8 set protocols rstp interface ge-0/0/9 set protocols rstp interface ge-0/0/10 set protocols rstp interface ge-0/0/11 set protocols rstp interface xe-0/0/12 set protocols rstp interface xe-0/0/13 set vlans default vlan-id 1 set vlans vlan-100 vlan-id 100 set vlans vlan-110 vlan-id 110 set vlans vlan-120 vlan-id 120 set vlans vlan-130 vlan-id 130 set vlans vlan-140 vlan-id 140 set vlans vlan-150 vlan-id 150 {master:0} root> | |
- No labels