Monday, June 24, 2013

Cisco CE520: What A Config Looks Like In Text File

Ever wonder what a config for a CE520 looks like?  It does have a menu driven configuration mode, as well as a GUI.  But, it will put out a config file for you if want one, as a backup that can import into another switch if you like.  Look it over, there is some interesting things in it (not that Im a fan of these switches).

interface range ethernet e(1-24)
port storm-control broadcast enable
exit
interface ethernet e1
port storm-control broadcast rate 10000
exit
interface ethernet e2
port storm-control broadcast rate 10000
exit
interface ethernet e3
port storm-control broadcast rate 10000
exit
interface ethernet e4
port storm-control broadcast rate 10000
exit
interface ethernet e5
port storm-control broadcast rate 10000
exit
interface ethernet e6
port storm-control broadcast rate 10000
exit
interface ethernet e7
port storm-control broadcast rate 10000
exit
interface ethernet e8
port storm-control broadcast rate 10000
exit
interface ethernet e9
port storm-control broadcast rate 10000
exit
interface ethernet e10
port storm-control broadcast rate 10000
exit
interface ethernet e11
port storm-control broadcast rate 10000
exit
interface ethernet e12
port storm-control broadcast rate 10000
exit
interface ethernet e13
port storm-control broadcast rate 10000
exit
interface ethernet e14
port storm-control broadcast rate 10000
exit
interface ethernet e15
port storm-control broadcast rate 10000
exit
interface ethernet e16
port storm-control broadcast rate 10000
exit
interface ethernet e17
port storm-control broadcast rate 10000
exit
interface ethernet e18
port storm-control broadcast rate 10000
exit
interface ethernet e19
port storm-control broadcast rate 10000
exit
interface ethernet e20
port storm-control broadcast rate 10000
exit
interface ethernet e21
port storm-control broadcast rate 10000
exit
interface ethernet e22
port storm-control broadcast rate 10000
exit
interface ethernet e23
port storm-control broadcast rate 10000
exit
interface ethernet e24
port storm-control broadcast rate 10000
exit
interface range ethernet e(2-24)
spanning-tree portfast
exit
interface range ethernet g(1-4)
spanning-tree link-type point-to-point
exit
interface range ethernet e(2-24)
spanning-tree bpduguard
exit
interface range ethernet e(2-24)
port security mode max-addresses
exit
interface range ethernet e(2-24)
port security max 5
exit
interface range ethernet e(2-24)
no port security
exit
interface range ethernet e(1-2),g(1-4)
switchport mode trunk
exit
ip dhcp snooping information option allowed-untrusted
ip dhcp snooping vlan 1
interface ethernet e2
ip dhcp snooping trust
exit
interface vlan 1
ip address 192.168.104.200 255.255.255.0
exit
ip default-gateway 192.168.104.1
interface vlan 1
ip dhcp relay enable
exit
qos advanced
wrr-queue cos-map 4 0
wrr-queue cos-map 4 1
wrr-queue cos-map 3 2
wrr-queue cos-map 1 5
wrr-queue cos-map 2 6
wrr-queue cos-map 2 7
qos map dscp-queue 0 to 4
qos map dscp-queue 1 to 4
qos map dscp-queue 2 to 4
qos map dscp-queue 4 to 4
qos map dscp-queue 5 to 4
qos map dscp-queue 6 to 4
qos map dscp-queue 7 to 4
qos map dscp-queue 8 to 4
qos map dscp-queue 9 to 4
qos map dscp-queue 10 to 4
qos map dscp-queue 12 to 4
qos map dscp-queue 13 to 4
qos map dscp-queue 14 to 4
qos map dscp-queue 15 to 4
qos map dscp-queue 16 to 3
qos map dscp-queue 17 to 3
qos map dscp-queue 18 to 3
qos map dscp-queue 20 to 3
qos map dscp-queue 21 to 3
qos map dscp-queue 22 to 3
qos map dscp-queue 23 to 3
qos map dscp-queue 40 to 1
qos map dscp-queue 41 to 1
qos map dscp-queue 42 to 1
qos map dscp-queue 44 to 1
qos map dscp-queue 45 to 1
qos map dscp-queue 46 to 1
qos map dscp-queue 47 to 1
qos map dscp-queue 48 to 2
qos map dscp-queue 49 to 2
qos map dscp-queue 50 to 2
qos map dscp-queue 52 to 2
qos map dscp-queue 53 to 2
qos map dscp-queue 54 to 2
qos map dscp-queue 55 to 2
qos map dscp-queue 56 to 2
qos map dscp-queue 57 to 2
qos map dscp-queue 58 to 2
qos map dscp-queue 60 to 2
qos map dscp-queue 61 to 2
qos map dscp-queue 62 to 2
qos map dscp-queue 63 to 2
qos map policed-dscp 18 to 0
qos map policed-dscp 24 to 0
qos map policed-dscp 26 to 0
qos map policed-dscp 34 to 0
qos map policed-dscp 40 to 0
qos map policed-dscp 46 to 0
ip access-list 2140
permit any any any
exit
ip access-list 2141
permit any any any dscp 46
permit any any any dscp 40
exit
ip access-list 2142
permit any any any dscp 24
permit any any any dscp 26
exit
class-map general-class match-any
match access-group 2140
exit
class-map general-switch
match access-group 2140
exit
class-map general-router
match access-group 2140
exit
class-map VoIP-data-class
match access-group 2141
exit
class-map VoIP-Control-class
match access-group 2142
exit
class-map general-VoIP
match access-group 2140
exit
policy-map general-map
class general-class
set dscp 7
police 30000 80000 exceed-action policed-dscp-transmit
exit
exit
policy-map switch-map
class general-switch
exit
exit
policy-map router-map
class general-router
exit
exit
policy-map voice-map
class VoIP-data-class
set dscp 46
police 3200 8000 exceed-action policed-dscp-transmit
exit
class VoIP-Control-class
set dscp 26
police 640 8000 exceed-action policed-dscp-transmit
exit
class general-VoIP
set dscp 7
police 30000 800000 exceed-action policed-dscp-transmit
exit
exit
interface ethernet e1
service-policy input router-map
exit
interface ethernet e2
service-policy input general-map
exit
interface ethernet e3
service-policy input general-map
exit
interface ethernet e4
service-policy input general-map
exit
interface ethernet e5
service-policy input general-map
exit
interface ethernet e6
service-policy input general-map
exit
interface ethernet e7
service-policy input general-map
exit
interface ethernet e8
service-policy input general-map
exit
interface ethernet e9
service-policy input general-map
exit
interface ethernet e10
service-policy input general-map
exit
interface ethernet e11
service-policy input general-map
exit
interface ethernet e12
service-policy input general-map
exit
interface ethernet e13
service-policy input general-map
exit
interface ethernet e14
service-policy input general-map
exit
interface ethernet e15
service-policy input general-map
exit
interface ethernet e16
service-policy input general-map
exit
interface ethernet e17
service-policy input general-map
exit
interface ethernet e18
service-policy input general-map
exit
interface ethernet e19
service-policy input general-map
exit
interface ethernet e20
service-policy input general-map
exit
interface ethernet e21
service-policy input general-map
exit
interface ethernet e22
service-policy input general-map
exit
interface ethernet e23
service-policy input general-map
exit
interface ethernet e24
service-policy input general-map
exit
interface ethernet g1
service-policy input switch-map
exit
interface ethernet g2
service-policy input switch-map
exit
interface ethernet g3
service-policy input switch-map
exit
interface ethernet g4
service-policy input switch-map
exit
priority-queue out num-of-queues fastethernet 0
priority-queue out num-of-queues gigabitethernet 0
clock timezone -6
no ip domain-lookup
ip name-server  192.168.104.1
snmp-server set rlSmartPortsTable ifIndex 1  rlSmartPortsMacro Router
snmp-server set rlSmartPortsTable ifIndex 2  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 3  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 4  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 5  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 6  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 7  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 8  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 9  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 10  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 11  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 12  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 13  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 14  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 15  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 16  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 17  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 18  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 19  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 20  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 21  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 22  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 23  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 24  rlSmartPortsMacro Desktop
snmp-server set rlSmartPortsTable ifIndex 49  rlSmartPortsMacro Switch
snmp-server set rlSmartPortsTable ifIndex 50  rlSmartPortsMacro Switch
snmp-server set rlSmartPortsTable ifIndex 51  rlSmartPortsMacro Switch
snmp-server set rlSmartPortsTable ifIndex 52  rlSmartPortsMacro Switch

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.