mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ac58c36ad0
* To change all CLIs present in the code to latest CNOS CLI. One bug of executing with Lenovo Jakku switch is also getting fixed. * To change the file names as the commands have changed from display to show * To change to new CLI in test_cnos_comand.py as well
331 lines
6.3 KiB
Text
331 lines
6.3 KiB
Text
!
|
|
version "10.8.0.42"
|
|
!
|
|
hostname ip10-241-107-39
|
|
!
|
|
banner motd NMS India CNOS
|
|
banner motd NMS India CNOS G8272
|
|
!
|
|
clock timezone EDT 0 0
|
|
!
|
|
logging console 7
|
|
vrf context management
|
|
ip route 0.0.0.0/0 10.241.107.1
|
|
!
|
|
!
|
|
port-channel load-balance ethernet destination-mac
|
|
port-channel load-balance ethernet source-interface
|
|
feature telnet
|
|
ip domain-name labs.lenovo.com vrf management
|
|
ip domain-list labs.lenovo.com vrf management
|
|
ip name-server 10.241.104.120 vrf management
|
|
ip name-server 10.240.0.10 vrf management
|
|
ip host ip10-241-107-39.labs.lenovo.com 10.241.107.39 vrf management
|
|
ip host ip10-241-107-39 10.241.107.39 vrf management
|
|
ip domain-name labs.lenovo.com vrf default
|
|
ip domain-list labs.lenovo.com vrf default
|
|
ip name-server 10.240.0.10 vrf default
|
|
ip name-server 10.241.104.120 vrf default
|
|
ip host ip10-241-107-39.labs.lenovo.com 10.241.107.39 vrf default
|
|
ip host ip10-241-107-39 10.241.107.39 vrf default
|
|
ntp server 173.230.154.254 prefer
|
|
ntp server 97.127.86.33 prefer
|
|
ntp server 129.250.35.250 prefer
|
|
ntp server 174.136.103.130 prefer
|
|
ntp server 69.10.161.7 prefer
|
|
ntp server 96.226.123.196 prefer
|
|
ntp server 104.238.179.130 prefer
|
|
ntp server 108.61.73.244 prefer
|
|
ntp server 208.75.89.4 prefer
|
|
snmp-server community public group network-operator
|
|
snmp-server community private group network-admin
|
|
snmp-server contact Ralph
|
|
username admin role network-admin password encrypted $6$bJoWyEu/$9pzSgFPAKGRm1stpTCEl3I39htbjxiFCfhqiHag1NQiKHv/IiLQ2lYW0V3p7p72SgSmVHp38em9P9R/EdePpk/
|
|
logging server 10.241.107.231
|
|
logging server 10.241.107.222
|
|
feature restApi
|
|
ovsdb pki ovsdb_mgmt vrf management
|
|
ovsdb pki ovsdb_default vrf default
|
|
lacp system-priority 32769
|
|
vlag tier-id 313
|
|
vlag priority 1313
|
|
vlag isl port-channel 100
|
|
vlag hlthchk keepalive-attempts 5
|
|
vlag hlthchk peer-ip 1.2.3.4
|
|
vlag auto-recovery 266
|
|
vlag startup-delay 323
|
|
vlag enable
|
|
vlag instance 1 port-channel 1003
|
|
vlag instance 1 enable
|
|
vlag instance 2 port-channel 20
|
|
vlag instance 2 enable
|
|
vlag instance 12 port-channel 23
|
|
vlag instance 33 port-channel 333
|
|
vlag instance 33 enable
|
|
spanning-tree mode mst
|
|
telemetry heartbeat enabled interval 15
|
|
!
|
|
policy-map type control-plane copp-system-policy
|
|
class type control-plane copp-s-pvst-bpdu
|
|
police pps 500
|
|
class type control-plane copp-s-ecp
|
|
police pps 3000
|
|
class type control-plane copp-s-igmp
|
|
police pps 3000
|
|
!
|
|
vlan 1-2
|
|
no flood ipv4
|
|
!
|
|
vlan 3
|
|
!
|
|
vlan 5
|
|
!
|
|
vlan 12
|
|
!
|
|
vlan 13
|
|
name dave
|
|
!
|
|
vlan dot1q tag native egress-only
|
|
!
|
|
interface Ethernet1/1
|
|
description Link 1 to LP21
|
|
load-interval counter 2 33
|
|
switchport access vlan 33
|
|
storm-control broadcast level 12.50
|
|
mtu 66
|
|
channel-group 33 mode on
|
|
!
|
|
interface Ethernet1/2
|
|
description Link 2 to LP21
|
|
channel-group 1001 mode active
|
|
!
|
|
interface Ethernet1/3
|
|
description Link 1 to LP22
|
|
switchport mode trunk
|
|
channel-group 1003 mode active
|
|
!
|
|
interface Ethernet1/4
|
|
description Link 2 to LP22
|
|
switchport mode trunk
|
|
channel-group 1004 mode active
|
|
!
|
|
interface Ethernet1/5
|
|
description Link 1 to LP23
|
|
no switchport
|
|
ip address 20.131.1.1/30
|
|
!
|
|
interface Ethernet1/6
|
|
description Link 2 to LP23
|
|
no switchport
|
|
ip address 20.131.2.1/30
|
|
!
|
|
interface Ethernet1/7
|
|
description Link 1 to LP24
|
|
no switchport
|
|
ip address 20.141.1.1/30
|
|
!
|
|
interface Ethernet1/8
|
|
description Link 2 to LP24
|
|
no switchport
|
|
ip address 20.141.2.1/30
|
|
!
|
|
interface Ethernet1/9
|
|
!
|
|
interface Ethernet1/10
|
|
!
|
|
interface Ethernet1/11
|
|
no switchport
|
|
mtu 1402
|
|
ip address 1.1.1.2/8
|
|
!
|
|
interface Ethernet1/12
|
|
no switchport
|
|
ip address 100.10.10.10/24
|
|
!
|
|
interface Ethernet1/13
|
|
no switchport
|
|
ip address 10.241.107.54/24
|
|
vrrp 254
|
|
address 10.241.107.55
|
|
priority 254
|
|
no shutdown
|
|
ip arp timeout 1500
|
|
!
|
|
interface Ethernet1/14
|
|
!
|
|
interface Ethernet1/15
|
|
!
|
|
interface Ethernet1/16
|
|
!
|
|
interface Ethernet1/17
|
|
!
|
|
interface Ethernet1/18
|
|
!
|
|
interface Ethernet1/19
|
|
!
|
|
interface Ethernet1/20
|
|
!
|
|
interface Ethernet1/21
|
|
!
|
|
interface Ethernet1/22
|
|
!
|
|
interface Ethernet1/23
|
|
channel-group 11 mode active
|
|
lacp port-priority 32769
|
|
!
|
|
interface Ethernet1/24
|
|
!
|
|
interface Ethernet1/25
|
|
!
|
|
interface Ethernet1/26
|
|
!
|
|
interface Ethernet1/27
|
|
!
|
|
interface Ethernet1/28
|
|
!
|
|
interface Ethernet1/29
|
|
!
|
|
interface Ethernet1/30
|
|
!
|
|
interface Ethernet1/31
|
|
!
|
|
interface Ethernet1/32
|
|
!
|
|
interface Ethernet1/33
|
|
description Hentammoo
|
|
load-interval counter 2 33
|
|
switchport access vlan 33
|
|
storm-control broadcast level 12.50
|
|
mtu 66
|
|
microburst-detection enable threshold 25
|
|
lldp tlv-select max-frame-size
|
|
lacp port-priority 33
|
|
spanning-tree mst 33-35 cost 33
|
|
spanning-tree bpduguard enable
|
|
!
|
|
interface Ethernet1/34
|
|
!
|
|
interface Ethernet1/35
|
|
!
|
|
interface Ethernet1/36
|
|
!
|
|
interface Ethernet1/37
|
|
!
|
|
interface Ethernet1/38
|
|
!
|
|
interface Ethernet1/39
|
|
!
|
|
interface Ethernet1/40
|
|
!
|
|
interface Ethernet1/41
|
|
!
|
|
interface Ethernet1/42
|
|
!
|
|
interface Ethernet1/43
|
|
!
|
|
interface Ethernet1/44
|
|
!
|
|
interface Ethernet1/45
|
|
!
|
|
interface Ethernet1/46
|
|
!
|
|
interface Ethernet1/47
|
|
!
|
|
interface Ethernet1/48
|
|
!
|
|
interface Ethernet1/49
|
|
!
|
|
interface Ethernet1/50
|
|
!
|
|
interface Ethernet1/51
|
|
!
|
|
interface Ethernet1/52
|
|
!
|
|
interface Ethernet1/53
|
|
!
|
|
interface Ethernet1/54
|
|
!
|
|
interface loopback0
|
|
no switchport
|
|
!
|
|
interface mgmt0
|
|
no switchport
|
|
vrf member management
|
|
no ip address dhcp
|
|
ip address 10.241.107.39/24
|
|
no ipv6 address dhcp
|
|
!
|
|
interface Vlan1
|
|
no switchport
|
|
!
|
|
interface port-channel1
|
|
!
|
|
interface port-channel2
|
|
!
|
|
interface port-channel11
|
|
lacp min-links 2
|
|
!
|
|
interface port-channel13
|
|
switchport mode trunk
|
|
!
|
|
interface port-channel17
|
|
switchport mode trunk
|
|
!
|
|
interface port-channel20
|
|
!
|
|
interface port-channel33
|
|
description Hentammoo
|
|
load-interval counter 2 33
|
|
switchport access vlan 33
|
|
storm-control broadcast level 12.50
|
|
mtu 66
|
|
spanning-tree mst 33-35 cost 33
|
|
spanning-tree bpduguard enable
|
|
!
|
|
interface port-channel100
|
|
switchport mode trunk
|
|
!
|
|
interface port-channel1001
|
|
!
|
|
interface port-channel1002
|
|
!
|
|
interface port-channel1003
|
|
switchport mode trunk
|
|
!
|
|
interface port-channel1004
|
|
switchport mode trunk
|
|
!
|
|
router bgp 33
|
|
router-id 1.2.3.4
|
|
bestpath always-compare-med
|
|
cluster-id 1.2.3.4
|
|
confederation identifier 333
|
|
enforce-first-as
|
|
bgp as-local-count 33
|
|
bestpath compare-confed-aspath
|
|
maxas-limit 333
|
|
graceful-restart-helper
|
|
graceful-restart stalepath-time 333
|
|
timers bgp 333 3333
|
|
address-family ipv4 unicast
|
|
synchronization
|
|
network 0.0.0.0 backdoor
|
|
dampening 13 233 333 15 33
|
|
neighbor 10.241.107.40 remote-as 13
|
|
bfd
|
|
address-family ipv4 unicast
|
|
next-hop-self
|
|
!
|
|
route-map anil permit 10
|
|
!
|
|
ip arp timeout 1000
|
|
!
|
|
line con 0
|
|
line vty 0
|
|
exec-timeout 90 0
|
|
line vty 1 39
|
|
!
|
|
!
|
|
!
|
|
end
|
|
|