不同的VLAN之间相互ping通

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

不同的VLAN之间相互ping通
路由器的配置
he device is running!
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]e0/0/0
^
Error: Unrecognized command found at '^' position.
[Huawei]int e0/0/0.1
[Huawei-Ethernet0/0/0.1]po
Dec 24 2011 20:14:13-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 1, the change loop count is 0, and the maximum number of records is 409
[Huawei-Ethernet0/0/0.1]vlan-t
[Huawei-Ethernet0/0/0.1]vlan-type d
[Huawei-Ethernet0/0/0.1]vlan-type dot1q 10
[Huawei-Ethernet0/0/0.1]
Dec 24 2011 20:14:23-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 2, the change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/0.1]ip add 192.168.1.1 24
[Huawei-Ethernet0/0/0.1]int e0/0/0.2
[Huawei-Ethernet0/0/0.2]
Dec 24 2011 20:15:03-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 4, the change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/0.2]vlan-t
[Huawei-Ethernet0/0/0.2]vlan-type d
[Huawei-Ethernet0/0/0.2]vlan-type dot1q 20\
^
Error: Wrong parameter found at '^' position.
[Huawei-Ethernet0/0/0.2]vlan-type dot1q 20
[Huawei-Ethernet0/0/0.2]ip add192.
Dec 24 2011 20:15:23-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 5, the change loop count is 0, and the maximum number of records is 4095.
168.
^
Error: Unrecognized command found at '^' position.
[Huawei-Ethernet0/0/0.2]ip add 192.168.2.1 24
[Huawei-Ethernet0/0/0.2]q
[Huawei]
Dec 24 2011 20:15:43-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 6, the change loop count is 0, and the maximum number of
records is 4095.
int e0/0/0
[Huawei-Ethernet0/0/0]undos shut
^
Error: Unrecognized command found at '^' position.
[Huawei-Ethernet0/0/0]undo shut
交换机的配置
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]vlan 10
[Huawei-vlan10]p
[Huawei-vlan10]p
Dec 24 2011 19:58:52-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 4, the change loop count is 0, and the maximum number of records is 4095
[Huawei-vlan10]int e0/0/10
[Huawei-Ethernet0/0/10]port lin
[Huawei-Ethernet0/0/10]port link-a
[Huawei-Ethernet0/0/10]port link-t
[Huawei-Ethernet0/0/10]port link-type a
[Huawei-Ethernet0/0/10]port link-type access
[Huawei-Ethernet0/0/10]int
Dec 24 2011 20:01:02-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations h
ave been changed. The current change number is 5, the change loop count is 0, and the maximum number of records is 4095.
e0/0/15
[Huawei-Ethernet0/0/15]port link-type access
[Huawei-Ethernet0/0/15]quit
[Huawei]
Dec 24 2011 20:01:22-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 6, the change loop count is 0, and the maximum number of records is 4095.
vlan 10
[Huawei-vlan10]port e0/0/10
[Huawei-vlan10]vlan
Dec 24 2011 20:01:42-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 7, the change loop count is 0, and the maximum number of records is 4095.
20
[Huawei-vlan20]port e0/0/15
[Huawei-vlan20]
Dec 24 2011 20:01:52-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 9, the change loop count is 0, and the maximum number of records is 4095.
[Huawei-vlan20]dis vlan
The total number of vlans is : 3
--------------------------------------------------------------------------------
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;
#: ProtocolTransparent-vlan; *: Management-vlan;
--------------------------------------------------------------------------------
VID Type Ports
--------------------------------------------------------------------------------
1 common UT:Eth0/0/1(D) Eth0/0/2(D) Eth0/0/3(D) Eth0/0/4(D)
Eth0/0/5(D) Eth0/0/6(D) Eth0/0/7(D) Eth0/0/8(D)
Eth0/0/9(D) Eth0/0/11(D) Eth0/0/12(D) Eth0/0/13(D)
Eth0/0/14(D) Eth0/0/16(D) Eth0/0/17(D) Eth0/0/18(D)
Eth0/0/19(D) Eth0/0/20(D) Eth0/0/21(D) Eth0/0/22(U)
GE0/0/1(D) GE0/0/2(D)
10 common UT:Eth0/0/10(U)
20 common UT:Eth0/0/15(U)
VID Status Property MAC-LRN Statistics Description
--------------------------------------------------------------------------------
1 enable default enable disable VLAN 0001
10 enable default enable disable VLAN 0010
20 enable default enable disable VLAN 0020
[Huawei-vlan20]dis cur
[Huawei-vlan20]int e0/0/22
[Huawei-Ethernet0/0/22]port lin
[Huawei-Ethernet0/0/22]port link-t
[Huawei-Ethernet0/0/22]port link-type t
[Huawei-Ethernet0/0/22]port link-type trunk
[Huawei-Ethernet0/0/22]
Dec 24 2011 20:09:42-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 10, the change loop count is 0, and the maximum number of records is 4095.
port t
[Huawei-Ethernet0/0/22]po
rt trunk ?
allow-pass Allowed vlan
pvid Specify current port's PVID VLAN characteristics
[Huawei-Ethernet0/0/22]port trunk a
[Huawei-Ethernet0/0/22]port trunk allow-pass ?
vlan Virtual LAN
[Huawei-Ethernet0/0/22]port trunk allow-pass vlan ?
INTEGER<1-4094> VLAN ID
all All
[Huawei-Ethernet0/0/22]port trunk allow-pass vlan all
[Huawei-Ethernet0/0/22]
Dec 24 2011 20:10:42-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 11, the change loop count is 0, and the maximum number of
records is 4095.
[Huawei-Ethernet0/0/22]
[Huawei-Ethernet0/0/22]int e0/0/1
[Huawei-Ethernet0/0/1]port link-t
[Huawei-Ethernet0/0/1]port link-type t
[Huawei-Ethernet0/0/1]port link-type trunk
[Huawei-Ethernet0/0/1]port t
[Huawei-Ethernet0/0/1]port trunk a
[Huawei-Ethernet0/0/1]port trunk allow-pass
Dec 24 2011 20:13:42-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 12, the change loop count is 0, and the maximum number of records is 4095.
vlan all
[Huawei-Ethernet0/0/1]。

相关文档
最新文档