mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-12-23 20:57:53 +00:00
Added config for vlan 666, lldp, cdp to base.cfg
This commit is contained in:
parent
cfee941cff
commit
ece2df93e8
|
@ -11,41 +11,37 @@ no aaa new-model
|
|||
clock timezone MET 1 0
|
||||
clock summer-time MET-DST recurring last Sun Mar 2:00 last Sun Oct 3:00
|
||||
system mtu routing 1500
|
||||
vtp mode transparent
|
||||
no ip domain-lookup
|
||||
ip domain-name cisco.tld
|
||||
password encryption aes
|
||||
spanning-tree mode pvst
|
||||
spanning-tree extend system-id
|
||||
vlan internal allocation policy ascending
|
||||
vlan 666
|
||||
name VLAN-BLACKHOLE
|
||||
exit
|
||||
lldp timer 12
|
||||
lldp holdtime 100
|
||||
lldp reinit 5
|
||||
lldp tlv-select mac-phy-cfg
|
||||
lldp tlv-select management-address
|
||||
lldp tlv-select port-vlan
|
||||
lldp tlv-select power-management
|
||||
lldp tlv-select system-name
|
||||
lldp run
|
||||
ip tcp synwait-time 5
|
||||
ip ssh logging events
|
||||
ip ssh version 2
|
||||
ip ssh dh min size 2048
|
||||
ip ssh dscp 56
|
||||
no ip http server
|
||||
no ip http secure-server
|
||||
line con 0
|
||||
exec-timeout 60 0
|
||||
privilege level 15
|
||||
logging synchronous
|
||||
stopbits 1
|
||||
line vty 0 4
|
||||
exec-timeout 60 0
|
||||
privilege level 15
|
||||
logging synchronous
|
||||
login
|
||||
length 0
|
||||
stopbits 1
|
||||
line vty 5 15
|
||||
exec-timeout 60 0
|
||||
logging synchronous
|
||||
login
|
||||
stopbits 1
|
||||
interface range f0/1-24 , g0/1-2
|
||||
shutdown
|
||||
exit
|
||||
interface range f0/1-18
|
||||
switchport mode access
|
||||
switchport access vlan 666
|
||||
no cdp enable
|
||||
no lldp transmit
|
||||
lldp recieve
|
||||
exit
|
||||
interface range f0/19-24
|
||||
switchport mode trunk
|
||||
|
@ -53,7 +49,41 @@ interface range f0/19-24
|
|||
switchport trunk native vlan 1
|
||||
no shutdown
|
||||
exit
|
||||
vtp mode transparent
|
||||
interface Vlan1
|
||||
no ip address
|
||||
shutdown
|
||||
exit
|
||||
interface Vlan666
|
||||
no ip address
|
||||
shutdown
|
||||
exit
|
||||
no ip http server
|
||||
no ip http secure-server
|
||||
cdp advertise-v2
|
||||
cdp holdtime 100
|
||||
cdp timer 12
|
||||
cdp tlv app
|
||||
cdp tlv location
|
||||
cdp run
|
||||
line con 0
|
||||
exec-timeout 60 0
|
||||
privilege level 15
|
||||
logging synchronous
|
||||
stopbits 1
|
||||
exit
|
||||
line vty 0 4
|
||||
exec-timeout 60 0
|
||||
privilege level 15
|
||||
logging synchronous
|
||||
login
|
||||
length 0
|
||||
stopbits 1
|
||||
exit
|
||||
line vty 5 15
|
||||
exec-timeout 60 0
|
||||
logging synchronous
|
||||
login
|
||||
stopbits 1
|
||||
exit
|
||||
end
|
||||
}
|
||||
|
|
|
@ -4,32 +4,73 @@ service timestamps debug datetime msec localtime show-timezone
|
|||
service timestamps log datetime msec localtime show-timezone
|
||||
service password-encryption
|
||||
service counters max age 10
|
||||
hostname distribution-switch-1
|
||||
hostname __HOSTNAME__
|
||||
logging buffered notifications
|
||||
no logging console
|
||||
no aaa new-model
|
||||
clock timezone MET 1 0
|
||||
clock summer-time MET-DST recurring last Sun Mar 2:00 last Sun Oct 3:00
|
||||
system mtu routing 1500
|
||||
vtp mode transparent
|
||||
no ip domain-lookup
|
||||
ip domain-name cisco.tld
|
||||
password encryption aes
|
||||
spanning-tree mode pvst
|
||||
spanning-tree extend system-id
|
||||
vlan internal allocation policy ascending
|
||||
vlan 666
|
||||
name VLAN-BLACKHOLE
|
||||
exit
|
||||
lldp timer 15
|
||||
lldp holdtime 180
|
||||
lldp reinit 5
|
||||
lldp run
|
||||
lldp tlv-select mac-phy-cfg
|
||||
lldp tlv-select management-address
|
||||
lldp tlv-select port-vlan
|
||||
lldp tlv-select power-management
|
||||
lldp tlv-select system-name
|
||||
ip tcp synwait-time 5
|
||||
ip ssh logging events
|
||||
ip ssh version 2
|
||||
ip ssh dh min size 2048
|
||||
ip ssh dscp 56
|
||||
ip classless
|
||||
interface range f0/1-24 , g0/1-2
|
||||
shutdown
|
||||
switchport mode access
|
||||
switchport access vlan 666
|
||||
no cdp enable
|
||||
no lldp transmit
|
||||
lldp recieve
|
||||
exit
|
||||
interface range f0/19-24
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 1
|
||||
switchport trunk native vlan 1
|
||||
no shutdown
|
||||
exit
|
||||
interface Vlan1
|
||||
no ip address
|
||||
shutdown
|
||||
exit
|
||||
interface Vlan666
|
||||
no ip address
|
||||
shutdown
|
||||
exit
|
||||
no ip http server
|
||||
no ip http secure-server
|
||||
cdp advertise-v2
|
||||
cdp holdtime 100
|
||||
cdp timer 12
|
||||
cdp tlv app
|
||||
cdp tlv location
|
||||
cdp run
|
||||
line con 0
|
||||
exec-timeout 60 0
|
||||
privilege level 15
|
||||
logging synchronous
|
||||
stopbits 1
|
||||
exit
|
||||
line vty 0 4
|
||||
exec-timeout 60 0
|
||||
privilege level 15
|
||||
|
@ -37,21 +78,12 @@ line vty 0 4
|
|||
login
|
||||
length 0
|
||||
stopbits 1
|
||||
exit
|
||||
line vty 5 15
|
||||
exec-timeout 60 0
|
||||
logging synchronous
|
||||
login
|
||||
stopbits 1
|
||||
interface range f0/1-24 , g0/1-2
|
||||
shutdown
|
||||
exit
|
||||
interface range f0/1-18
|
||||
no cdp enable
|
||||
exit
|
||||
interface range f0/19-24
|
||||
no shutdown
|
||||
exit
|
||||
vtp mode transparent
|
||||
exit
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue