首页 > 学院 > 网络通信 > 正文

配置三层交换的综合事例(三)

2019-11-05 02:07:08
字体:
来源:转载
供稿:网友

  ●Cisco Catalyst 2950G配置清单
  四台Cisco Catalyst 2950G的配置基本相同,下面仅列出VLAN 60的配置情况。
  Building configuration...
  
  Current configuration : 2143 bytes
  !
  version 12.1
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  no service passWord-encryption
  !
  hostname msl
  !
  enable password aaa
  !
  ip subnet-zero
  !
  !
  spanning-tree extend system-id
  !
  !
  interface FastEthernet0/1
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/2
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/3
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/4
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/5
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/6
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/7
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/8
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/9
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/10
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/11
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/12
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/13
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/14
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/15
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/16
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/17
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/18
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/19
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/20
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/21
  switchport access vlan 60
  no ip address
  !

  interface FastEthernet0/22
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/23
  switchport access vlan 60
  no ip address
  !
  interface FastEthernet0/24
  switchport access vlan 60
  no ip address
  !
  interface GigabitEthernet0/1
  no ip address
  !
  interface GigabitEthernet0/2
  no ip address
  !
  interface Vlan1
  ip address 172.16.100.10 255.255.255.0
  !
  ip classless
  ip http server
  !
  !
  !
  !
  line con 0
  line vty 0 4
  password aaa
  login
  line vty 5 15
  login
  !
  end

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表