Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [edit]
- root@Edge-2# show
- ## Last changed: 2018-04-16 14:05:48 UTC
- version 14.1R1.10;
- system {
- host-name Edge-2;
- root-authentication {
- encrypted-password "$1$BYbMtfW.$4kwIW3FqjFZSxzGdegyV4/"; ## SECRET-DATA
- }
- syslog {
- user * {
- any emergency;
- }
- file messages {
- any notice;
- authorization info;
- }
- file interactive-commands {
- interactive-commands any;
- }
- }
- }
- interfaces {
- em3 {
- description "Edge-2 to ABR";
- unit 0 {
- family inet {
- address 192.168.11.14/30;
- }
- }
- }
- em4 {
- description "Edge-2 to Edge-1";
- unit 0 {
- family inet {
- address 192.168.11.18/30;
- }
- }
- }
- em5 {
- description "Edge-2 to ISP-2";
- unit 0 {
- family inet {
- address 40.40.40.2/30;
- }
- }
- }
- lo0 {
- description loopback;
- unit 0 {
- family inet {
- address 192.168.10.2/32;
- }
- }
- }
- }
- routing-options {
- static {
- route 192.168.10.0/24 discard;
- route 192.168.11.0/24 discard;
- }
- router-id 192.168.10.2;
- autonomous-system 10;
- }
- protocols {
- bgp {
- group IBGP-PEERS {
- type internal;
- local-address 192.168.10.2;
- inactive: import ACCEPT;
- export DEFAULT;
- neighbor 192.168.10.6;
- }
- group isp-2 {
- type external;
- export BGP-ISP1-OUT;
- peer-as 200;
- neighbor 40.40.40.1;
- }
- }
- ospf {
- area 0.0.0.0 {
- interface em3.0 {
- interface-type p2p;
- }
- interface em4.0 {
- interface-type p2p;
- }
- interface lo0.0 {
- passive;
- }
- }
- }
- }
- policy-options {
- policy-statement ACCEPT {
- term ALL {
- then accept;
- }
- }
- policy-statement BGP-ISP1-OUT {
- term LAN-BLOCKS {
- from {
- route-filter 192.168.10.0/22 upto /24;
- }
- then accept;
- }
- term OTHER {
- then reject;
- }
- }
- policy-statement DEFAULT {
- term 1 {
- from {
- route-filter 0.0.0.0/0 exact;
- }
- then {
- next-hop self;
- accept;
- }
- }
- }
- }
- [edit]
- root@Edge-2#
Add Comment
Please, Sign In to add comment