Last active
August 29, 2015 14:08
-
-
Save udienz/2d6af8a5290c9b001d20 to your computer and use it in GitHub Desktop.
Vyatta bgp simle, see https://blog.mahyudd.in/2014/10/31/lab-pengaturan-dasar-bgp-di-cisco-mikrotik-dan-vyatta.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vyatta@vyatta# show | |
interfaces { | |
ethernet eth0 { | |
address 192.168.1.1/24 | |
hw-id 52:54:00:12:34:56 | |
} | |
loopback lo { | |
address 192.168.0.1/32 | |
} | |
} | |
protocols { | |
bgp 11 { | |
neighbor 192.168.1.2 { | |
remote-as 22 | |
soft-reconfiguration { | |
inbound | |
} | |
} | |
network 192.168.0.1/32 { | |
} | |
network 192.168.11.0/24 { | |
} | |
parameters { | |
log-neighbor-changes | |
router-id 192.168.0.1 | |
} | |
} | |
static { | |
route 192.168.11.0/24 { | |
blackhole { | |
} | |
} | |
} | |
} | |
system { | |
config-management { | |
commit-revisions 20 | |
} | |
console { | |
device ttyS0 { | |
speed 9600 | |
} | |
} | |
login { | |
user vyatta { | |
authentication { | |
encrypted-password $1$pWaHz4im$lxkB8vMqjdwI6u8bp3J0z/ | |
} | |
level admin | |
} | |
} | |
ntp { | |
server 0.vyatta.pool.ntp.org { | |
} | |
server 1.vyatta.pool.ntp.org { | |
} | |
server 2.vyatta.pool.ntp.org { | |
} | |
} | |
package { | |
repository community { | |
components main | |
distribution stable | |
url http://packages.vyatta.com/vyatta | |
} | |
} | |
syslog { | |
global { | |
facility all { | |
level notice | |
} | |
facility protocols { | |
level debug | |
} | |
} | |
} | |
} | |
[edit] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment