配置例子:
C3550#show running-config
Building configuration...
Current configuration : 4143 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname C3550
!
ip subnet-zero
ip routing
!
cluster enable aaa 0
!
spanning-tree extend system-id
!
!
!
interface FastEthernet0/1
description UpLink FW
no switchport
ip address 192.168.0.1 255.255.255.0
!
interface FastEthernet0/2
no ip address
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface FastEthernet0/4
no ip address
!
interface FastEthernet0/5
no ip address
!
interface FastEthernet0/6
no ip address
!
interface FastEthernet0/7
no ip address
!
interface FastEthernet0/8
no ip address
!
interface FastEthernet0/9
switchport Access vlan 9
switchport mode access
no ip address
!
interface FastEthernet0/10
no ip address
!
interface FastEthernet0/11
no ip address
!
interface FastEthernet0/12
no ip address
!
interface FastEthernet0/13
description Test Port 13
switchport access vlan 9
no ip address
!
interface FastEthernet0/14
description Test Port 14
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface FastEthernet0/15
no ip address
!
interface FastEthernet0/16
no ip address
!
interface FastEthernet0/17
no ip address
!
interface FastEthernet0/18
no ip address
!
interface FastEthernet0/19
no ip address
!
interface FastEthernet0/20
no ip address
!
interface FastEthernet0/21
no ip address
!
interface FastEthernet0/22
no ip address
!
interface FastEthernet0/23
no ip address
!
interface FastEthernet0/24
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
no ip mroute-cache
!
interface Vlan2
ip address 192.168.2.1 255.255.255.0
!
interface Vlan3
ip address 192.168.3.1 255.255.255.0
!
interface Vlan4
ip address 192.168.4.1 255.255.255.0
!
interface Vlan5
ip address 192.168.5.1 255.255.255.0
!
interface Vlan6
ip address 192.168.6.1 255.255.255.0
!
interface Vlan7
ip address 192.168.7.1 255.255.255.0
!
interface Vlan8
ip address 192.168.8.1 255.255.255.0
!
interface Vlan9
ip address 192.168.9.1 255.255.255.0
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan11
ip address 192.168.11.1 255.255.255.0
!
interface Vlan12
ip address 192.168.12.1 255.255.255.0
!
interface Vlan13
ip address 192.168.13.1 255.255.255.0
!
interface Vlan14
ip address 192.168.14.1 255.255.255.0
!
interface Vlan15
ip address 192.168.15.1 255.255.255.0
!
interface Vlan16
ip address 192.168.16.1 255.255.255.0
!
interface Vlan17
ip address 192.168.17.1 255.255.255.0
!
interface Vlan18
ip address 192.168.18.1 255.255.255.0
!
推荐阅读
- 几种路由器的帧中继配置
- 分布式零配置路由堆叠方案
- 小米mix nano什么时候上市?小米mix nano配置怎么样?
- 双核心星形结构IP城域网的路由规划与配置实践
- 魅族魅蓝X怎么样 魅蓝X手机配置参数介绍
- 三星C5 Pro多少钱?三星C5 Pro手机配置参数介绍
- 联想电脑如何查看基本配置
- OPPO A57什么时候出?OPPO A57配置参数/价格介绍
- OPPO A57怎么样?OPPO A57手机参数配置详解
- 实战:配置常见无线网络基本方法
