Difference between revisions of "24PinTechSwitch Config"

From 24PinTech Wiki
Jump to navigation Jump to search
(Current running configuration of the main switch for the CTE network)
Line 1: Line 1:
==Running Configuration==
==Running Configuration==
24PinTech_Switch#show run
Configuration as of 8/30/24


Building configuration...
Building configuration...


Current configuration : 10124 bytes
Current configuration : 10053 bytes


!
!
! Last configuration change at 15:51:01 UTC Tue Mar 23 2021
 
! Last configuration change at 15:17:16 UTC Fri Aug 30 2024 by 24PinTech
 
!
!


Line 25: Line 27:


hostname 24PinTech_Switch
hostname 24PinTech_Switch
!
!
!
!


Line 50: Line 54:
no aaa new-model
no aaa new-model


switch 1 provision ws-c3650-24ps
switch 1 provision ws-c3650-24ps  
 
!
 
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
shutdown vlan 99
!
!


Line 77: Line 101:


rsakeypair TP-self-signed-833429682
rsakeypair TP-self-signed-833429682
!
!
!
!


Line 91: Line 117:


spanning-tree extend system-id
spanning-tree extend system-id
!
!
!
!
username 24pintech privilege 15 password 7 03291A08345F6C6D7031395743025A0230792                                                                                                                                                             80C
!
!


Line 98: Line 129:


mode sso
mode sso
!
!
!
!
!
!


class-map match-any system-cpp-police-topology-control
class-map match-any system-cpp-police-topology-control


description Topology control
 description Topology control


class-map match-any system-cpp-police-sw-forward
class-map match-any system-cpp-police-sw-forward


description Sw forwarding, SGT Cache Full, LOGGING
 description Sw forwarding, SGT Cache Full, LOGGING


class-map match-any system-cpp-default
class-map match-any system-cpp-default


description DHCP snooping, show forward and rest of traffic
 description DHCP snooping, show forward and rest of traffic


class-map match-any system-cpp-police-sys-data
class-map match-any system-cpp-police-sys-data


description Learning cache ovfl, Crypto Control, Exception, EGR Exception, NFL SAMPLED DATA, Gold Pkt, RPF Failed
 description Learning cache ovfl, Crypto Control, Exception, EGR Exception, NFL                                                                                                                                                              SAMPLED DATA, Gold Pkt, RPF Failed


class-map match-any system-cpp-police-punt-webauth
class-map match-any system-cpp-police-punt-webauth


description Punt Webauth
 description Punt Webauth


class-map match-any system-cpp-police-forus
class-map match-any system-cpp-police-forus


description Forus Address resolution and Forus traffic
 description Forus Address resolution and Forus traffic


class-map match-any system-cpp-police-multicast-end-station
class-map match-any system-cpp-police-multicast-end-station


description MCAST END STATION
 description MCAST END STATION


class-map match-any system-cpp-police-multicast
class-map match-any system-cpp-police-multicast


description Transit Traffic and MCAST Data
 description Transit Traffic and MCAST Data


class-map match-any system-cpp-police-l2-control
class-map match-any system-cpp-police-l2-control


description L2 control
 description L2 control


class-map match-any system-cpp-police-dot1x-auth
class-map match-any system-cpp-police-dot1x-auth


description DOT1X Auth
 description DOT1X Auth


class-map match-any system-cpp-police-data
class-map match-any system-cpp-police-data


description ICMP_GEN and BROADCAST
 description ICMP_GEN and BROADCAST


class-map match-any system-cpp-police-control-low-priority
class-map match-any system-cpp-police-control-low-priority


description ICMP redirect and general punt
 description ICMP redirect and general punt


class-map match-any system-cpp-police-wireless-priority1
class-map match-any system-cpp-police-wireless-priority1


description Wireless priority 1
 description Wireless priority 1


class-map match-any system-cpp-police-wireless-priority2
class-map match-any system-cpp-police-wireless-priority2


description Wireless priority 2
 description Wireless priority 2


class-map match-any system-cpp-police-wireless-priority3-4-5
class-map match-any system-cpp-police-wireless-priority3-4-5


description Wireless priority 3,4 and 5
 description Wireless priority 3,4 and 5


class-map match-any non-client-nrt-class
class-map match-any non-client-nrt-class
Line 166: Line 200:
class-map match-any system-cpp-police-routing-control
class-map match-any system-cpp-police-routing-control


description Routing control
 description Routing control


class-map match-any system-cpp-police-protocol-snooping
class-map match-any system-cpp-police-protocol-snooping


description Protocol snooping
 description Protocol snooping


!
!
Line 178: Line 212:
class non-client-nrt-class
class non-client-nrt-class


bandwidth remaining ratio 10
 bandwidth remaining ratio 10


policy-map system-cpp-policy
policy-map system-cpp-policy
Line 184: Line 218:
class system-cpp-police-data
class system-cpp-police-data


police rate 200 pps
 police rate 200 pps


class system-cpp-police-sys-data
class system-cpp-police-sys-data


police rate 100 pps
 police rate 100 pps


class system-cpp-police-sw-forward
class system-cpp-police-sw-forward


police rate 1000 pps
 police rate 1000 pps


class system-cpp-police-multicast
class system-cpp-police-multicast


police rate 500 pps
 police rate 500 pps


class system-cpp-police-multicast-end-station
class system-cpp-police-multicast-end-station


police rate 2000 pps
 police rate 2000 pps


class system-cpp-police-punt-webauth
class system-cpp-police-punt-webauth
Line 208: Line 242:
class system-cpp-police-routing-control
class system-cpp-police-routing-control


police rate 1800 pps
 police rate 1800 pps


class system-cpp-police-control-low-priority
class system-cpp-police-control-low-priority
Line 227: Line 261:


class system-cpp-default
class system-cpp-default
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!


Line 274: Line 322:
interface Port-channel4
interface Port-channel4


description Ports: 13, 14, 15, 16 to Thor
description Ports: 13, 14, 15, 16 to SAKAAR


switchport access vlan 25
switchport access vlan 25
Line 284: Line 332:
interface Port-channel5
interface Port-channel5


description Ports: 17, 18, 19, 20 to Midgard
description Ports: 17, 18, 19, 20 to BLACK ADAM


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode trunk
 
speed 1000


!
!
Line 335: Line 381:


switchport mode access
switchport mode access
channel-group 2 mode on


!
!
Line 347: Line 391:


switchport mode access
switchport mode access
channel-group 2 mode on


!
!
Line 359: Line 401:


switchport mode access
switchport mode access
channel-group 2 mode on


!
!
Line 371: Line 411:


switchport mode access
switchport mode access
channel-group 2 mode on


!
!


interface GigabitEthernet1/0/7
interface GigabitEthernet1/0/7
description OPEN


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
shutdown


!
!


interface GigabitEthernet1/0/8
interface GigabitEthernet1/0/8
description OPEN


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
shutdown


!
!
Line 403: Line 441:


switchport mode access
switchport mode access
channel-group 1 mode passive


!
!
Line 415: Line 451:


switchport mode access
switchport mode access
channel-group 1 mode passive


!
!
Line 427: Line 461:


switchport mode access
switchport mode access
channel-group 1 mode passive


!
!
Line 439: Line 471:


switchport mode access
switchport mode access
channel-group 1 mode passive


!
!
Line 446: Line 476:
interface GigabitEthernet1/0/13
interface GigabitEthernet1/0/13


description Ports: 13, 14, 15, 16 to Thor
description Prots 13,14,15,16 to SAKAAR


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
channel-group 4 mode on


!
!
Line 458: Line 486:
interface GigabitEthernet1/0/14
interface GigabitEthernet1/0/14


description Ports: 13, 14, 15, 16 to Thor
description Prots 13,14,15,16 to SAKAAR


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
channel-group 4 mode on


!
!
Line 470: Line 496:
interface GigabitEthernet1/0/15
interface GigabitEthernet1/0/15


description Ports: 13, 14, 15, 16 to Thor
description Prots 13,14,15,16 to SAKAAR


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
channel-group 4 mode on


!
!
Line 482: Line 506:
interface GigabitEthernet1/0/16
interface GigabitEthernet1/0/16


description Ports: 13, 14, 15, 16 to Thor
description Prots 13,14,15,16 to SAKAAR


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
channel-group 4 mode on


!
!
Line 494: Line 516:
interface GigabitEthernet1/0/17
interface GigabitEthernet1/0/17


description Ports: 17, 18, 19, 20 to Midgard
description Ports 17,18,19,20 to Pythagoras (Truenas)


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
speed 1000
channel-protocol lacp


!
!
Line 508: Line 526:
interface GigabitEthernet1/0/18
interface GigabitEthernet1/0/18


description Ports: 17, 18, 19, 20 to Midgard
description Ports 17,18,19,20 to Pythagoras (Truenas)


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
speed 1000
channel-protocol lacp


!
!
Line 522: Line 536:
interface GigabitEthernet1/0/19
interface GigabitEthernet1/0/19


description Ports: 17, 18, 19, 20 to Midgard
description Ports 17,18,19,20 to Pythagoras (Truenas)


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
speed 1000
channel-protocol lacp


!
!
Line 536: Line 546:
interface GigabitEthernet1/0/20
interface GigabitEthernet1/0/20


description Ports: 17, 18, 19, 20 to Midgard
description Ports 17,18,19,20 to Pythagoras (Truenas)


switchport access vlan 25
switchport access vlan 25


switchport mode access
switchport mode access
speed 1000
channel-protocol lacp


!
!


interface GigabitEthernet1/0/21
interface GigabitEthernet1/0/21
description connection to Xandar


switchport access vlan 25
switchport access vlan 25
Line 557: Line 565:


interface GigabitEthernet1/0/22
interface GigabitEthernet1/0/22
description connection to Xandar


switchport access vlan 25
switchport access vlan 25
Line 565: Line 575:


interface GigabitEthernet1/0/23
interface GigabitEthernet1/0/23
description connection to Xandar


switchport access vlan 25
switchport access vlan 25
Line 573: Line 585:


interface GigabitEthernet1/0/24
interface GigabitEthernet1/0/24
description connection to Xandar


switchport access vlan 25
switchport access vlan 25
Line 601: Line 615:


shutdown
shutdown
!
interface Vlan25
description Used to create active SVI
ip address 10.21.25.28 255.255.255.0


!
!
Line 608: Line 630:
description Management VLAN for CISCOACA.local domain
description Management VLAN for CISCOACA.local domain


ip address 10.21.25.12 255.255.255.0
no ip address


!
!
ip default-gateway 10.21.25.1


ip forward-protocol nd
ip forward-protocol nd
Line 707: Line 731:


permit tcp any any eq 8080
permit tcp any any eq 8080
!
!
!
!
!
!


Line 717: Line 744:
!
!


banner motd ^CAuthorized personnel only! Violators will be subject to the wrath of Chambie!^C
banner motd ^CAuthorized personnel only! Violators will be subject to the wrath                                                                                                                                                              of Chambie!^C


!
!
Line 741: Line 768:
logging synchronous
logging synchronous


login
login local


line vty 5 15
line vty 5 15
Line 750: Line 777:


login
login
!
!
!
!


Line 766: Line 795:


wsma agent notify
wsma agent notify
!
!
!
!



Revision as of 17:26, 3 September 2024

Running Configuration

Configuration as of 8/30/24

Building configuration...

Current configuration : 10053 bytes

!

! Last configuration change at 15:17:16 UTC Fri Aug 30 2024 by 24PinTech

!

version 16.3

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

no platform punt-keepalive disable-kernel-core

!

hostname 24PinTech_Switch

!

!

vrf definition Mgmt-vrf

!

address-family ipv4

exit-address-family

!

address-family ipv6

exit-address-family

!

enable secret 5 $1$bibk$uwpxgKcUpBT0Qz.R1EfA50

!

no aaa new-model

switch 1 provision ws-c3650-24ps

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

shutdown vlan 99

!

crypto pki trustpoint TP-self-signed-833429682

enrollment selfsigned

subject-name cn=IOS-Self-Signed-Certificate-833429682

revocation-check none

rsakeypair TP-self-signed-833429682

!

!

crypto pki certificate chain TP-self-signed-833429682

!

license boot level ipbasek9

diagnostic bootup level minimal

spanning-tree mode rapid-pvst

spanning-tree extend system-id

!

!

username 24pintech privilege 15 password 7 03291A08345F6C6D7031395743025A0230792                                                                                                                                                             80C

!

redundancy

mode sso

!

!

!

class-map match-any system-cpp-police-topology-control

 description Topology control

class-map match-any system-cpp-police-sw-forward

 description Sw forwarding, SGT Cache Full, LOGGING

class-map match-any system-cpp-default

 description DHCP snooping, show forward and rest of traffic

class-map match-any system-cpp-police-sys-data

 description Learning cache ovfl, Crypto Control, Exception, EGR Exception, NFL                                                                                                                                                              SAMPLED DATA, Gold Pkt, RPF Failed

class-map match-any system-cpp-police-punt-webauth

 description Punt Webauth

class-map match-any system-cpp-police-forus

 description Forus Address resolution and Forus traffic

class-map match-any system-cpp-police-multicast-end-station

 description MCAST END STATION

class-map match-any system-cpp-police-multicast

 description Transit Traffic and MCAST Data

class-map match-any system-cpp-police-l2-control

 description L2 control

class-map match-any system-cpp-police-dot1x-auth

 description DOT1X Auth

class-map match-any system-cpp-police-data

 description ICMP_GEN and BROADCAST

class-map match-any system-cpp-police-control-low-priority

 description ICMP redirect and general punt

class-map match-any system-cpp-police-wireless-priority1

 description Wireless priority 1

class-map match-any system-cpp-police-wireless-priority2

 description Wireless priority 2

class-map match-any system-cpp-police-wireless-priority3-4-5

 description Wireless priority 3,4 and 5

class-map match-any non-client-nrt-class

class-map match-any system-cpp-police-routing-control

 description Routing control

class-map match-any system-cpp-police-protocol-snooping

 description Protocol snooping

!

policy-map port_child_policy

class non-client-nrt-class

 bandwidth remaining ratio 10

policy-map system-cpp-policy

class system-cpp-police-data

 police rate 200 pps

class system-cpp-police-sys-data

 police rate 100 pps

class system-cpp-police-sw-forward

 police rate 1000 pps

class system-cpp-police-multicast

 police rate 500 pps

class system-cpp-police-multicast-end-station

 police rate 2000 pps

class system-cpp-police-punt-webauth

class system-cpp-police-l2-control

class system-cpp-police-routing-control

 police rate 1800 pps

class system-cpp-police-control-low-priority

class system-cpp-police-wireless-priority1

class system-cpp-police-wireless-priority2

class system-cpp-police-wireless-priority3-4-5

class system-cpp-police-topology-control

class system-cpp-police-dot1x-auth

class system-cpp-police-protocol-snooping

class system-cpp-police-forus

class system-cpp-default

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interface Port-channel1

description Ports: 9, 10, 11, 12 to Asgard

switchport access vlan 25

switchport mode access

!

interface Port-channel2

description Ports: 3, 4, 5, 6 to Valhalla

switchport access vlan 25

switchport mode access

!

interface Port-channel3

description Ports: 1, 2 to School Network

switchport trunk allowed vlan 25

switchport mode trunk

!

interface Port-channel4

description Ports: 13, 14, 15, 16 to SAKAAR

switchport access vlan 25

switchport mode access

!

interface Port-channel5

description Ports: 17, 18, 19, 20 to BLACK ADAM

switchport access vlan 25

switchport mode trunk

!

interface GigabitEthernet0/0

vrf forwarding Mgmt-vrf

no ip address

negotiation auto

!

interface GigabitEthernet1/0/1

description Ports: 1, 2 to School Network

switchport trunk allowed vlan 25

switchport mode trunk

channel-group 3 mode active

!

interface GigabitEthernet1/0/2

description Ports: 1, 2 to School Network

switchport trunk allowed vlan 25

switchport mode trunk

channel-group 3 mode active

!

interface GigabitEthernet1/0/3

description Ports: 3, 4, 5, 6 to Valhalla

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/4

description Ports: 3, 4, 5, 6 to Valhalla

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/5

description Ports: 3, 4, 5, 6 to Valhalla

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/6

description Ports: 3, 4, 5, 6 to Valhalla

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/7

description OPEN

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/8

description OPEN

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/9

description Ports: 9, 10, 11, 12 to Asgard

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/10

description Ports: 9, 10, 11, 12 to Asgard

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/11

description Ports: 9, 10, 11, 12 to Asgard

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/12

description Ports: 9, 10, 11, 12 to Asgard

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/13

description Prots 13,14,15,16 to SAKAAR

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/14

description Prots 13,14,15,16 to SAKAAR

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/15

description Prots 13,14,15,16 to SAKAAR

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/16

description Prots 13,14,15,16 to SAKAAR

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/17

description Ports 17,18,19,20 to Pythagoras (Truenas)

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/18

description Ports 17,18,19,20 to Pythagoras (Truenas)

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/19

description Ports 17,18,19,20 to Pythagoras (Truenas)

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/20

description Ports 17,18,19,20 to Pythagoras (Truenas)

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/21

description connection to Xandar

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/22

description connection to Xandar

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/23

description connection to Xandar

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/0/24

description connection to Xandar

switchport access vlan 25

switchport mode access

!

interface GigabitEthernet1/1/1

!

interface GigabitEthernet1/1/2

!

interface GigabitEthernet1/1/3

!

interface GigabitEthernet1/1/4

!

interface Vlan1

no ip address

shutdown

!

interface Vlan25

description Used to create active SVI

ip address 10.21.25.28 255.255.255.0

!

interface Vlan99

description Management VLAN for CISCOACA.local domain

no ip address

!

ip default-gateway 10.21.25.1

ip forward-protocol nd

ip http server

ip http authentication local

ip http secure-server

!

ip access-list extended AutoQos-4.0-wlan-Acl-Bulk-Data

permit tcp any any eq 22

permit tcp any any eq 465

permit tcp any any eq 143

permit tcp any any eq 993

permit tcp any any eq 995

permit tcp any any eq 1914

permit tcp any any eq ftp

permit tcp any any eq ftp-data

permit tcp any any eq smtp

permit tcp any any eq pop3

ip access-list extended AutoQos-4.0-wlan-Acl-MultiEnhanced-Conf

permit udp any any range 16384 32767

permit tcp any any range 50000 59999

ip access-list extended AutoQos-4.0-wlan-Acl-Scavanger

permit tcp any any range 2300 2400

permit udp any any range 2300 2400

permit tcp any any range 6881 6999

permit tcp any any range 28800 29100

permit tcp any any eq 1214

permit udp any any eq 1214

permit tcp any any eq 3689

permit udp any any eq 3689

permit tcp any any eq 11999

ip access-list extended AutoQos-4.0-wlan-Acl-Signaling

permit tcp any any range 2000 2002

permit tcp any any range 5060 5061

permit udp any any range 5060 5061

ip access-list extended AutoQos-4.0-wlan-Acl-Transactional-Data

permit tcp any any eq 443

permit tcp any any eq 1521

permit udp any any eq 1521

permit tcp any any eq 1526

permit udp any any eq 1526

permit tcp any any eq 1575

permit udp any any eq 1575

permit tcp any any eq 1630

permit udp any any eq 1630

permit tcp any any eq 1527

permit tcp any any eq 6200

permit tcp any any eq 3389

permit tcp any any eq 5985

permit tcp any any eq 8080

!

!

!

control-plane

service-policy input system-cpp-policy

!

banner motd ^CAuthorized personnel only! Violators will be subject to the wrath                                                                                                                                                              of Chambie!^C

!

line con 0

password 7 080078764D4B554742

logging synchronous

login

stopbits 1

line aux 0

stopbits 1

line vty 0 4

password 7 080878764A4A554742

logging synchronous

login local

line vty 5 15

password 7 080878764A4A554742

logging synchronous

login

!

!

wsma agent exec

!

wsma agent config

!

wsma agent filesys

!

wsma agent notify

!

!

ap dot11 airtime-fairness policy-name Default 0

ap group default-group

ap hyperlocation ble-beacon 0

ap hyperlocation ble-beacon 1

ap hyperlocation ble-beacon 2

ap hyperlocation ble-beacon 3

ap hyperlocation ble-beacon 4

end

Notes:

When running an UnRaid server the normal {(C-IF)#channel-group on}command may NOT work, instead use {(C-IF)#channel-protocol lacp}to independently force LACP on all ports in range. (THIS WILL USUALLY BE NEEDED WHEN USING BOND MODE "ACTIVE-BACKUP (#)" ON UNRAID.)