-
Notifications
You must be signed in to change notification settings - Fork 0
/
srl2.cfg
20 lines (17 loc) · 1020 Bytes
/
srl2.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set / interface ethernet-1/1 admin-state enable
set / interface ethernet-1/1 subinterface 0
set / interface ethernet-1/1 subinterface 0 ipv4
set / interface ethernet-1/1 subinterface 0 ipv4 admin-state enable
set / interface ethernet-1/1 subinterface 0 ipv4 address 10.0.2.1/24
set / interface ethernet-1/2 admin-state enable
set / interface ethernet-1/2 subinterface 0
set / interface ethernet-1/2 subinterface 0 ipv4
set / interface ethernet-1/2 subinterface 0 ipv4 admin-state enable
set / interface ethernet-1/2 subinterface 0 ipv4 address 192.168.254.2/24
set / network-instance default
set / network-instance default interface ethernet-1/1.0
set / network-instance default interface ethernet-1/2.0
set / network-instance default static-routes route 10.0.1.0/24 next-hop-group static-ipv4
set / network-instance default next-hop-groups group static-ipv4 nexthop 1 ip-address 192.168.254.1
set / system management openconfig admin-state enable
set / system gnmi-server network-instance mgmt yang-models openconfig