三层交换机配置
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
3750#sh run
Building configuration...
Current configuration : 3534 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname 3750
!
boot-start-marker
boot-end-marker
!
enable password 7 13111F1B0507142B2F
!
!
!
no aaa new-model
switch 1 provision ws-c3750g-24t
system mtu routing 1500
authentication mac-move permit
ip subnet-zero
ip routing
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
interface GigabitEthernet1/0/1
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/2
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/3
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/4
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/5
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/6
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/7
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/8
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/9
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/10
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/11
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/12
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/13
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/14
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/15
switchport access vlan 6
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/16
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/17
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/18
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/19
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet1/0/20
description connect to second 2960
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/21
description connect to frist 2960
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/22
description connect to left one 2960
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/23
description connect to 2950
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet1/0/24
description connect to third 2960
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
ip address 192.168.1.
254 255.255.255.0
!
interface Vlan2
no ip address
!
interface Vlan5
ip address 192.168.5.254 255.255.255.0
ip helper-address 192.168.1.4
!
interface Vlan6
ip address 192.168.6.254 255.255.255.0
ip helper-address 192.168.1.4
!
interface Vlan7
ip address 192.168.7.254 255.255.255.0
ip helper-address 192.168.1.4
!
interface Vlan8
ip address 192.168.8.254 255.255.255.0
ip helper-address 192.168.1.4
!
interface Vlan9
ip address 192.168.9.254 255.255.255.0
ip helper-address 192.168.1.4
!
interface Vlan10
no ip address
!
ip default-gateway 192.168.1.252
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.252
ip http server
!
!
ip sla enable reaction-alerts
!
!
!
line con 0
line vty 0 4
password 7 00101B0F0A501B070B
login
line vty 5 15
login