网络技术实验报告4
User Interface Menu
[M] Menus [K] Command Line [I] IP Configuration
Enter Selection:
CLI session with the switch is open. To end the CLI session, enter [Exit].
[M] Menus [K] Command Line [I] IP Configuration
Enter Selection:
CLI session with the switch is open. To end the CLI session, enter [Exit].
>en #delete nvram
B
1
Static
1900A#config t Enter configuration commands, one per line. End with CNTL/Z. 1900A(config)#int e0/1 1900A(config-if)#vlan-mebership static 1
^
% Invalid input detected at '^' marker.
! interface FastEthernet 0/26 ! interface FastEthernet 0/27 ! ! ! line console end
#show version 1900A uptime is 0day(s) 06hour(s) 55minute(s) 41second(s) Version V8.01.05 cisco Catalyst 1900 (486sxl) processor with 2048K/1024K bytes of memory Hardware board revision is 5 Upgrade Status: No upgrade currently in progress. Config File Status: No configuration upload/download is in progress 15 Fixed Ethernet/IEEE 802.3 interface(s) Base Ethernet Address: 00-30-80-C7-01-80
with CNTL/Z.
1900A(config)#vlan 1 name vlan1
1900A(config)#vlan 2 name vlan2
1900A(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
1900A#show vlan-membership
>en #show running-config Building configuration...Current configuration:
! ! ! ! ! ! ! ! !
! interface Ethernet 0/1 ! interface Ethernet 0/2 ! interface Ethernet 0/3 ! interface Ethernet 0/4 ! interface Ethernet 0/5 ! interface Ethernet 0/6 ! interface Ethernet 0/7 ! interface Ethernet 0/8 ! interface Ethernet 0/9 ! interface Ethernet 0/10 ! interface Ethernet 0/11 ! interface Ethernet 0/12 ! interface Ethernet 0/25
This command resets the switch with factory defaults. All system parameters will revert to their default factory settings. All static and dynamic addresses will be removed.
Power Supply S/N:
PHI031803JK
PCB Serial Number:
FAB0337240K,73-3122-04
-------------------------------------------------
1 user(s) now active on Management Console.
Source Interface List
----------------------------------------------------
------------------
1900A#config t
Enter configuration commands, one per line. End
PHI031803JK
PCB Serial Number:
FAB0337240K,73-3122-04
-------------------------------------------------
1 user(s) now active on Management Console.
User Interface Menu
1900A#config t Enter configuration commands, one per line. End with CNTL/Z. 1900A(config)#ip address 172.16.10.3 255.255.255.0 1900A(config)#ip default-gateway 172
^
% Invalid input detected at '^' marker.
1900A(config)#ip default-gateway 172.16.10.1 1900A(config)#end 1900A#show ip IP Address: 172.16.10.3 Subnet Mask: 255.255.255.0 Default Gateway: 172.16.10.1 Management VLAN: 1 Domain name: Name server 1: 0.0.0.0 Name server 2: 0.0.0.0 HTTP server : Enabled HTTP port : 80 RIP : Enabled
Reset system with factory defaults, [Y]es or [N]o? es
PCA Number:
73-3122-04
PCA Serial Number:
FAB0337240K
Model Nustem Serial Number: FAB0339U01U
Port VLAN Membership Type
Port VLAN
Membership Type
-----------------------------
------------------
-----------
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
1
10
1
11
1
12
1
AUI
1
Static
A
1
Static
[OK] Router2621#ping 172.16.10.1
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.10.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip
师
黄国 勇
教 师 评 语 教师签名:
年月日
一、实验目的:
掌握虚拟子网的基本配置方法; 掌握在CCNA下对虚拟子网进配置的基本步骤; 熟悉和掌握在CCNA下对虚拟子网进行配置的常用命 令;
2、 实验报告内容:
Router Con0 is now available
Press RETURN to get started.
1900A(config-if)#vlan-membership static 1
1900A(config-if)#int e0/3
1900A(config-if)#vlan-membership static 1
1900A(config-if)#int e0/2
1900A(config-if)#vlan-membership static 2
昆明理工大学信息工程与自动化学院学生
实验报告
( 2013 — 2014 学年第 二
学期 )
课程名称:计算机网络技术
开课实验
室:自动化系
2014 年 5 月 15 日
年 测控 学 201210402108 姓 李 成
级、 121 号
名志 绩
专
荣
业、
班
实验 实验四 虚拟子网VLAN配 指
项目 置
导
名称
教
min/avg/max = 4/4/4 ms Router2621#
PCA Number:
73-3122-04
PCA Serial Number:
FAB0337240K
Model Number:
WS-C1912-A
System Serial Number: FAB0339U01U
Power Supply S/N:
Default Gateway: 0.0.0.0