summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.conf.vnc.sample
blob: a8a2dc5fa0a63dc39c3a306a179132b442183ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
hostname H192.1.1.1
password zebra
#enable password zebra
log stdout notifications
log monitor notifications
#debug bgp

line vty
exec-timeout 1000
exit


router bgp 64512

    # Must set a router-id if no zebra (default 0.0.0.0)
    bgp router-id 192.1.1.1

    neighbor 192.1.1.2 remote-as 64512
    neighbor 192.1.1.2 description H192.1.1.2
    neighbor 192.1.1.2 update-source 192.1.1.1
    neighbor 192.1.1.2 advertisement-interval 1

    neighbor 192.1.1.3 remote-as 64512
    neighbor 192.1.1.3 description H192.1.1.3
    neighbor 192.1.1.3 update-source 192.1.1.1
    neighbor 192.1.1.3 advertisement-interval 1

    address-family ipv4 unicast
        no neighbor 192.1.1.2 activate
        no neighbor 192.1.1.3 activate

    address-family vpnv4
        neighbor 192.1.1.2 activate
        neighbor 192.1.1.3 activate
        exit-address-family

    address-family vpnv6
        neighbor 192.1.1.2 activate
        neighbor 192.1.1.3 activate
        exit-address-family

    vnc defaults
       rd auto:vn:5226
       response-lifetime 45
       rt both 1000:1 1000:2
       exit-vnc

    vnc nve-group group1
       prefix vn 172.16.0.0/16
       exit-vnc

    vnc nve-group red
       prefix vn 10.0.0.0/8
       rd auto:vn:10
       rt both 1000:10
       exit-vnc

    vnc nve-group blue
       prefix vn 20.0.0.0/8
       rd auto:vn:20
       rt both 1000:20
       exit-vnc

    vnc nve-group green
       prefix vn 30.0.0.0/8
       rd auto:vn:20
       rt both 1000:30
       exit-vnc

    vnc nve-group rfc4291v6c
       prefix vn ::ac10:0/112
       rd auto:vn:5227
       rt both 2000:1
       exit-vnc

    vnc nve-group rfc4291v6m
       prefix vn ::ffff:ac10:0/112
       rd auto:vn:5528
       rt both 3000:1
       exit-vnc

    vnc nve-group rfc6052v6
       prefix vn 64:ff9b::ac10:0/112
       rd auto:vn:5529
       rt both 4000:1
       exit-vnc

exit