-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
r2-config
68 lines (68 loc) · 1.41 KB
/
r2-config
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
! Command: show running-config
! device: r2 (cEOSLab, EOS-4.28.3M)
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model ribd
service routing protocols model multi-agent
!
agent Bfd shutdown
agent PowerManager shutdown
agent LedPolicy shutdown
agent Thermostat shutdown
agent PowerFuse shutdown
agent StandbyCpld shutdown
agent LicenseManager shutdown
!
hostname r2
!
spanning-tree mode mstp
!
no aaa root
!
p4-runtime
no shutdown
!
username admin privilege 15 role network-admin secret sha512 $6$YDkKMqrZIRO65B7i$NfH7OT8ujV12S.5q2sH7c7l1AEqhYULt9OSf9/EKaC4S8cNLppS.otHhr0QlC9Kud9Xbt4OdxVOkZiwV/yBV/1
!
interface Ethernet1
no switchport
ip address 1.2.0.2/30
!
interface Ethernet2
no switchport
ip address 1.2.0.9/30
!
interface Ethernet3
no switchport
ip address 20.20.20.2/24
!
interface Loopback0
ip address 2.2.2.2/32
!
ip routing
!
router bgp 1
neighbor 1.2.0.1 remote-as 1
neighbor 1.2.0.10 remote-as 1
neighbor 20.20.20.1 remote-as 2222
network 2.2.2.2/32
network 20.20.20.0/24
!
management api gnmi
transport grpc default
ssl profile octa-ssl-profile
provider eos-native
!
management security
ssl profile eapi
tls versions 1.2
cipher-list EECDH+AESGCM:EDH+AESGCM
certificate gnmiCert.pem key gnmiCertKey.pem
!
ssl profile octa-ssl-profile
certificate gnmiCert.pem key gnmiCertKey.pem
!
aaa authorization exec default local
!
end