PLANET - Switch Default Config Example

From Wiki.IT-Arts.net


IGS-10020MT# sh run
Building configuration...
hostname IGS-10020MT
username admin privilege 15 password encrypted 6cfef2b83919fcb6cbbaaebb7a851a2ca9b0df841f8f63146dd65941ef77f34010c6bced0e034e889abe77afd7332aeac9f060373f57c7ecb118e52e8fae883c
ip dhcp excluded-address 192.168.0.1 192.168.0.100
!
vlan 1
!
!
!
!
no ip igmp unknown-flooding
no ip igmp snooping
no ipv6 mld unknown-flooding
no ipv6 mld snooping
ntp server 1 ip-address pool.ntp.org
ntp server 2 ip-address europe.pool.ntp.org
ntp server 3 ip-address north-america.pool.ntp.org
ntp server 4 ip-address asia.pool.ntp.org
ntp server 5 ip-address oceania.pool.ntp.org
transport email from support@planet.com.tw subject PLANET
transport email to 1 support@planet.com.tw         
transport email to 2 support@planet.com.tw
ip http secure-server
ip http secure-redirect
spanning-tree mst name a8-f7-e0-b7-26-3f revision 0
no snmp-server
snmp-server contact Default Contact
snmp-server location Default Location
!
voice vlan oui 00-01-E3 description Siemens AG phones
voice vlan oui 00-03-6B description Cisco phones
voice vlan oui 00-0F-E2 description H3C phones
voice vlan oui 00-30-4F description Planet phones
voice vlan oui 00-60-B9 description Philips and NEC AG phones
voice vlan oui 00-D0-1E description Pingtel phones
voice vlan oui 00-E0-75 description Polycom phones
voice vlan oui 00-E0-BB description 3Com phones
!
interface GigabitEthernet 1/1
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree                                  
!
interface GigabitEthernet 1/2
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface GigabitEthernet 1/3
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface GigabitEthernet 1/4
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface GigabitEthernet 1/5                      
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface GigabitEthernet 1/6
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface GigabitEthernet 1/7
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface GigabitEthernet 1/8
 no loop-protect
 no loop-protect tx-mode                           
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface 2.5GigabitEthernet 1/1
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface 2.5GigabitEthernet 1/2
 no loop-protect
 no loop-protect tx-mode
 no lldp receive
 no lldp transmit
 no spanning-tree
!
interface vlan 1
 ip address 192.168.0.100 255.255.255.0
!
mep os-tlv oui 0xC sub-type 0x1 value 0x2
!                                                  
spanning-tree aggregation
 no spanning-tree
 spanning-tree link-type point-to-point
!
!
line console 0
!
line vty 0
!
line vty 1
!
line vty 2
!
line vty 3
!
line vty 4
!
line vty 5
!
line vty 6
!
line vty 7
!                                                  
line vty 8
!
line vty 9
!
line vty 10
!
line vty 11
!
line vty 12
!
line vty 13
!
line vty 14
!
line vty 15
!
ip dhcp pool vlan1
 network 192.168.0.100 255.255.255.0
 default-router 192.168.0.254
 lease 3 0 0
 dns-server 8.8.8.8
!
!                                                  
end