/* Jncip/Jncie Topology based on Logical System */ /* 12/2009 Nicola Modena - CCIE #19119 */ /* For More Information http://blog.modena.to */ version 9.6R1.13; groups { isis-mpls { logical-systems { <*> { interfaces { { unit <*> { family iso; family mpls; } } } protocols { rsvp { interface all; } mpls { interface all; } isis { level 1 disable; interface all { point-to-point; } } } } } } } apply-groups isis-mpls; system { host-name zion; root-authentication login { user admin { uid 2000; class super-user; } } services { ftp; telnet; } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } logical-systems { J1 { interfaces { fxp1 { unit 102 { description "------- LAN J1-J2 ----------"; vlan-id 102; family inet { address 10.0.5.1/24; } } unit 103 { description "------- link ptp J1 <-> J3 --"; vlan-id 103; family inet { address 10.0.4.14/30; } } unit 112 { description "------- link ptp J1 <-> J2 --"; vlan-id 112; family inet { address 10.0.4.5/30; } } } lo0 { unit 1 { family inet { address 10.0.6.1/32; } family iso { address 49.0000.0000.0001.00; } } } } protocols { isis { interface lo0.1 { passive; } } } } J2 { interfaces { fxp2 { unit 203 { description "------- link ptp J2 <-> J3 --"; vlan-id 203; family inet { address 10.0.4.2/30; } } unit 204 { description "------- link ptp J2 <-> J4 --"; vlan-id 204; family inet { address 10.0.4.10/30; } } } lo0 { unit 2 { family inet { address 10.0.6.2/32; } family iso { address 49.0000.0000.0002.00; } } unit 102 { family inet6 { address fec0:cc1e:1::1/128; } } } } protocols { mpls { ipv6-tunneling; label-switched-path J2-to-R6 { to 10.0.9.6; } } bgp { group iBGP { type internal; family inet6-vpn { unicast; } neighbor 10.0.9.6 { local-address 10.0.6.2; } } } isis { interface lo0.2 { passive; } } } routing-instances { red { instance-type vrf; interface lo0.102; route-distinguisher 2:2; vrf-target target:100:100; vrf-table-label; } } routing-options { autonomous-system 1; } } J3 { interfaces { fxp3 { unit 103 { description "------- link ptp J1 <-> J3 --"; vlan-id 103; family inet { address 10.0.4.13/30; } } unit 203 { description "------- link ptp J2 <-> J3 --"; vlan-id 203; family inet { address 10.0.4.1/30; } } unit 213 { vlan-id 213; family inet { address 10.0.3.13/30; } } unit 304 { description "------- link ptp J3 <-> J4 --"; vlan-id 304; family inet { address 10.0.2.5/30; } } unit 305 { description "------- link ptp J3 <-> J5 --"; vlan-id 305; family inet { address 10.0.2.2/30; } } } lo0 { unit 3 { family inet { address 10.0.3.3/32; } family iso { address 49.0000.0000.0003.00; } } } } protocols { isis { interface lo0.3 { passive; } } } } J5 { interfaces { fxp2 { unit 305 { description "------- link ptp J3 <-> J4 --"; vlan-id 305; family inet { address 10.0.2.1/30; } } unit 405 { description "------- link ptp J4 <-> J5 --"; vlan-id 405; family inet { address 10.0.2.9/30; } } unit 506 { description "------- link ptp J5 <-> J6 --"; vlan-id 506; family inet { address 10.0.8.6/30; } } unit 507 { description "------- link ptp J5 <-> J7 --"; vlan-id 507; family inet { address 10.0.8.9/30; } } } lo0 { unit 5 { family inet { address 10.0.3.5/32; } family iso { address 49.0000.0000.0005.00; } } } } protocols { isis { interface lo0.5 { passive; } } } } J7 { interfaces { fxp3 { unit 507 { description "------- link ptp J5 <-> J7 --"; vlan-id 507; family inet { address 10.0.8.10/30; } } unit 607 { description "------- link ptp J6 <-> J7 --"; vlan-id 607; family inet { address 10.0.8.2/30; } } } lo0 { unit 7 { family inet { address 10.0.9.7/32; } family iso { address 49.0000.0000.0007.00; } } } } protocols { isis { interface lo0.7 { passive; } } } } } interfaces { fxp0 { unit 0 { family inet { address 192.168.0.3/24; } } } fxp1 { vlan-tagging; } fxp2 { vlan-tagging; } fxp3 { vlan-tagging; } } routing-options { static { route 0.0.0.0/0 { next-hop 192.168.0.1; no-readvertise; } } }