Skip to content

Instantly share code, notes, and snippets.

@udienz udienz/vyatta-simple-bgp
Last active Aug 29, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.