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

Catalyst 2948G-L3配置样例(全设备配置之一)

2019-11-04 23:29:57
字体:
来源:转载
供稿:网友

目录:
介绍
开始之前
规则
前提条件
使用的组件
实例1-单VLAN网络
Catalyst 2948G-L3 配置
Catalyst 3548XL 配置
实例2-多VLAN网络
Catalyst 2948G-L3 配置
Catalyst 3512XL 配置
Catalyst 2924XL 配置
Catalyst 3548XL 配置
实例3-连接网络核心的多VLAN分布层
Catalyst 2948G-L3-01 配置
Catalyst 2948G-L3-02 配置
Catalyst 2948G-01 配置
Catalyst 2948G-15 配置
Catalyst 6506-01 配置
Catalyst 6506-02 配置
相关信息

介绍

本文扩展了Catalyst 2948G-L3配置样例——单VLAN、多VLAN以及与网络核心连接的多VLAN分布层的技术文档。请链接以前的文档,了解这些配置实例更具体的说明。

开始之前

规则

有关文档规则的更多信息,请参阅“Cisco技术提示规则”

前提条件

本资料没有非凡前提条件。

使用的组件

本文不限于特定的软件和硬件版本。

实例1-单VLAN网络

本节中的全设备配置均针对实例1:Catalyst 2948G-L3 配置样例中的单VLAN 网络。

  • Catalyst 2948G-L3

  • Catalyst 3548XL

图1:实例1的网络图

Catalyst 2948G-L3 配置

2948G-L3#show running-config  Building configuration...  Current configuration: ! ! Last configuration change at 04:16:10 PST Thu Jun 22 2000 ! NVRAM config last updated at 04:16:11 PST Thu Jun 22 2000 ! version 12.0 no service pad service timestamps debug datetime msec localtime service timestamps log datetime msec localtime no service passWord-encryption ! hostname 2948G-L3 ! boot system Flash bootflash:cat2948g-in-mz.120-7.W5.15d.bin no logging console enable password verysecret ! clock timezone PST -8 clock calendar-valid ip subnet-zero bridge irb ! ! !          interface Port-channel1  no ip address  no ip directed-broadcast  bridge-group 1  hold-queue 300 in ! interface FastEthernet1  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet2  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet3  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet4  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet5  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet6  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet7  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet8  no ip address  no ip directed-broadcast  bridge-group 1  bridge-group 1 spanning-disabled ! interface FastEthernet9  no ip address
no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet10 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet11 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet12 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet13 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet14 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet15 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet16 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet17 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet18 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet19 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet20 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet21 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet22 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet23 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet24 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet25 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet26 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet27 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet28 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet29 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet30 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet31 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet32 no ip address no ip directed-broadcast
bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet33 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet34 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet35 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet36 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet37 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet38 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet39 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet40 no ip address no ip directed-broadcast ! interface FastEthernet41 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet42 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet43 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet44 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet45 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet46 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet47 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface FastEthernet48 no ip address no ip directed-broadcast bridge-group 1 bridge-group 1 spanning-disabled ! interface GigabitEthernet49 no ip address no ip directed-broadcast no negotiation auto channel-group 1 ! interface GigabitEthernet50 no ip address no ip directed-broadcast no negotiation auto channel-group 1 ! interface BVI1 ip address 10.1.1.1 255.255.255.0 no ip directed-broadcast no ip route-cache cef ! ip classless ! bridge 1 PRotocol ieee bridge 1 route ip ! line con 0 transport input none line aux 0 line vty 0 4 password secret login ! end 2948G-L3#

Catalyst 3548XL 配置

3548XL#show running-config  Building configuration...  Current configuration: ! ! Last configuration change at 04:09:54 PST Thu Jun 22 2000 ! NVRAM config last updated at 04:01:04 PST Thu Jun 22 2000 ! version 12.0 no service pad service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime no service password-encryption ! hostname 3548XL ! no logging console enable password verysecret ! ! ! ! ! clock timezone PST -8 ! ip subnet-zero ! ! ! interface FastEthernet0/1 spanning-tree portfast ! interface FastEthernet0/2 spanning-tree portfast ! interface FastEthernet0/3 spanning-tree portfast ! interface FastEthernet0/4 spanning-tree portfast ! interface FastEthernet0/5 spanning-tree portfast ! interface FastEthernet0/6 spanning-tree portfast ! interface FastEthernet0/7 spanning-tree portfast ! interface FastEthernet0/8 spanning-tree portfast ! interface FastEthernet0/9 spanning-tree portfast ! interface FastEthernet0/10 spanning-tree portfast ! interface FastEthernet0/11 spanning-tree portfast ! interface FastEthernet0/12 spanning-tree portfast ! interface FastEthernet0/13 spanning-tree portfast ! interface FastEthernet0/14 spanning-tree portfast ! interface FastEthernet0/15 spanning-tree portfast ! interface FastEthernet0/16 spanning-tree portfast ! interface FastEthernet0/17 spanning-tree portfast ! interface FastEthernet0/18 spanning-tree portfast ! interface FastEthernet0/19 spanning-tree portfast ! interface FastEthernet0/20 spanning-tree portfast ! interface FastEthernet0/21 spanning-tree portfast ! interface FastEthernet0/22 spanning-tree portfast ! interface FastEthernet0/23 spanning-tree portfast ! interface FastEthernet0/24 spanning-tree portfast ! interface FastEthernet0/25 spanning-tree portfast ! interface FastEthernet0/26 spanning-tree portfast ! interface FastEthernet0/27 spanning-tree portfast ! interface FastEthernet0/28 spanning-tree portfast ! interface FastEthernet0/29 spanning-tree portfast ! interface FastEthernet0/30 spanning-tree portfast ! interface FastEthernet0/31 spanning-tree portfast ! interface FastEthernet0/32 spanning-tree portfast ! interface FastEthernet0/33 spanning-tree portfast ! interface FastEthernet0/34 spanning-tree portfast ! interface FastEthernet0/35 spanning-tree portfast ! interface FastEthernet0/36 spanning-tree portfast ! interface FastEthernet0/37 spanning-tree portfast ! interface FastEthernet0/38 spanning-tree portfast ! interface FastEthernet0/39 spanning-tree portfast ! interface FastEthernet0/40 spanning-tree portfast ! interface FastEthernet0/41 spanning-tree portfast ! interface FastEthernet0/42 spanning-tree portfast ! interface FastEthernet0/43 spanning-tree portfast ! interface FastEthernet0/44 spanning-tree portfast ! interface FastEthernet0/45 spanning-tree portfast ! interface FastEthernet0/46 spanning-tree portfast ! interface FastEthernet0/47 spanning-tree portfast
! interface FastEthernet0/48 spanning-tree portfast ! interface GigabitEthernet0/1 no negotiation auto port group 1 ! interface GigabitEthernet0/2 no negotiation auto port group 1 ! interface VLAN1 ip address 10.1.1.2 255.255.255.0 no ip directed-broadcast no ip route-cache ! ! line con 0 transport input none stopbits 1 line vty 0 4 password secret login line vty 5 15 login ! end 3548XL#


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