网络技术实验报告4
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
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
! 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
师
黄国 勇
教 师 评 语 教师签名:
年月日
一、实验目的:
掌握虚拟子网的基本配置方法; 掌握在CCNA下对虚拟子网进配置的基本步骤; 熟悉和掌握在CCNA下对虚拟子网进行配置的常用命 令;
2、 实验报告内容:
Router Con0 is now available
Press RETURN to get started.
Source Interface List
----------------------------------------------------
------------------
1900A#config t
Enter configuration commands, one per line. End
昆明理工大学信息工程与自动化学院学生
实验报告
( 2013 — 2014 学年第 二
学期 )
课程名称:计算机网络技术
开课实验
室:自动化系
2014 年 5 月 15 日
年 测控 学 201210402108 姓 李 成
级、 121 号
名志 绩
专
荣
业、
班
实验 实验四 虚拟子网VLAN配 指
项目 置
导
名称
教
1900A#show mac-address-table Number of permanent addresses : 0 Number of restricted static addresses : 0
Number of dynamic addresses : 0
Address
Dest Interface Type
>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
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
Default Gateway: 0.0.0.0
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
PHI031803JK
PCB Serial Number:
FAB0337240K,73-3122-04
-------------------------------------------------
1 user(s) now active on Management Console.
User Interface Menu
^
% 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
[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
Reset system with factory defaults, [Y]es or [N]o? es
PCA Number:
73-3122-04
PCA Serial Number:
FAB0337240K
Model Number:
WS-C1912-A
System Serial Number: FAB0339U01U
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].
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname Router2621 Router2621(config)#interface f0/1 Router2621(config-if)#ip address 172.16.10.1 255.255.255.0 Router2621(config-if)#no shut %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Router2621(config-if)#end %SYS-5-CONFIG_I: Configured from console by console Router2621#copy running-config startup-config Building configuration...
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:
#hostname 1900A ^
% Invalid input detected at '^' markቤተ መጻሕፍቲ ባይዱr.
#config t Enter configuration commands, one per line. End with CNTL/Z. (config)#hostname 1900A 1900A(config)#end 1900A#show ip IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0
1900A(config-if)#int e0/4
1900A(config-if)#vlan-membership static 2
1900A(config-if)#ctrl+z
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.
Power Supply S/N:
PHI031803JK
PCB Serial Number:
FAB0337240K,73-3122-04
-------------------------------------------------
1 user(s) now active on Management Console.
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.
[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
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
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