雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3876|回复: 2

在不同的vtp域中,两台cisco1900交换机分别设置vtp的server mode 

[复制链接]
发表于 2005-7-13 16:40:57 | 显示全部楼层 |阅读模式
在不同的vtp域中,两台cisco1900交换机分别设置vtpserver mode transparent mode,请问两种模式之间相同valnpc可以ping通吗???
Pc1:
ip add 192.168.1.1 255.255.255.0 连交换机1
vlan10
Pc2:
ip add 192.168.1.1 255.255.255.0连交换机2
vlan10
交换机1cisco1900)配置
vtp domain "cisco"
vlan 10 name "vlan10" sde 100010 state Operational mtu 1500
vlan 20 name "vlan20" sde 100020 state Operational mtu 1500
hostname "sw1"
interface Ethernet 0/1
interface Ethernet 0/2

vlan-membership static 10
interface Ethernet 0/3

vlan-membership static 10
interface Ethernet 0/4

vlan-membership static 10
interface Ethernet 0/5

vlan-membership static 10
interface Ethernet 0/6

vlan-membership static 10
interface Ethernet 0/7

vlan-membership static 10
interface Ethernet 0/8

vlan-membership static 10
interface Ethernet 0/9

vlan-membership static 20
interface Ethernet 0/10

vlan-membership static 20
interface FastEthernet 0/26
--More--

trunk On
interface FastEthernet 0/27

trunk On

VTP配置:
VTP version: 1


Configuration revision: 2


Maximum VLANs supported locally: 1005

Number of existing VLANs: 7

VTP domain name
: cisco
(
不同的域)

VTP password
:

VTP operating mode
: Server

VTP pruning mode
: Disabled

VTP traps generation
: Enabled

Configuration last modified by: 0.0.0.0 at 00-00-0000 00:00:00
vlan配置:
1
default
Enabled
1, 11-24, AUI, A, B
10
vlan10
Enabled
2-8

20
vlan20
Enabled
9-10

1002 fddi-default
Suspended
1003 token-ring-defau Suspended
1004 fddinet-default
Suspended
1005 trnet-default
Suspended
--------------------------------------

VLAN Type
SAID
MTU
Parent RingNo BridgeNo Stp
Trans1 Trans2
---------------------------------------------------------------------------
1

Ethernet
100001 1500
0
0
0
Unkn 1002
1003
10
Ethernet
100010 1500
0
1
1
Unkn 0
0
20
Ethernet
100020 1500
0
1
1
Unkn 0
0
1002 FDDI
101002 1500
0
0

0
Unkn 1
1003
1003 Token-Ring
101003 1500
1005
1
0
Unkn 1
1002
1004 FDDI-Net
101004 1500
0
0
1
IEEE 0
0
1005 Token-Ring-Net 101005 1500
0
0
1
IEEE 0
0

交换机2cisco1900)配置
#conf t
Enter configuration commands, one per line.
End with CNTL/Z
(config)#ho sw2
sw2(config)#vtp tran
sw2(config)#vtp domain tran
sw2#sh vtp

VTP version: 1

Configuration revision: 0(不在同一域学习不到修订号)

Maximum VLANs supported locally: 1005

Number of existing VLANs: 5

VTP domain name
: tran
(
不同的域)

VTP password
:

VTP operating mode
: Transparent

VTP pruning mode
: Disabled

VTP traps generation
: Enabled

Configuration last modified by: 0.0.0.0 at 00-00-0000 00:00:00


Rack1_2511>2
[Resuming connection 2 to r77 ... ]
sw2#cofn t
sw2#conf t
Enter configuration commands, one per line.
End with CNTL/Z
sw2(config)#vlan 10
sw2(config)#vlan 20
sw2(config)#int e0/2
sw2(config-if)#vlan
sw2(config-if)#vlan-membership s
sw2(config-if)#vlan-membership static 10
sw2(config-if)#int e0/3
sw2(config-if)#vlan-membership static 10
sw2(config-if)#int e0/4
sw2(config-if)#vlan-membership static 10
sw2(config-if)#int e0/5
sw2(config-if)#vlan-membership static 10
sw2(config-if)#int e0/6
sw2(config-if)#vlan-membership static 10
sw2(config-if)#int e0/7
sw2(config-if)#vlan-membership static 10
sw2(config-if)#int e0/8
sw2(config-if)#vlan-membership static 10
sw2(config-if)#exit
sw2(config)#
sw2#sh vlan

VLAN Name
Status
Ports
--------------------------------------
1
default
Enabled
1, 9-12, AUI, A, B
10
VLAN0010
Enabled
2-8

20
VLAN0020
Enabled

1002 fddi-default
Suspended
1003 token-ring-defau Suspended
1004 fddinet-default
Suspended
1005 trnet-default
Suspended
--------------------------------------

VLAN Type
SAID
MTU
Parent RingNo BridgeNo Stp
Trans1 Trans2
---------------------------------------------------------------------------
1
Ethernet
100001 1500
0
0
0
Unkn 1002
1003
10
Ethernet
100010 1500
0
1
1
Unkn 0
0
20
Ethernet
100020 1500
0
1
1
Unkn 0
0
1002 FDDI

101002 1500
0
0
0
Unkn 1
1003
1003 Token-Ring
101003 1500
1005
1
0
Unkn 1
1002
1004 FDDI-Net
101004 1500
0
0
1
IEEE 0
0
1005 Token-Ring-Net 101005 1500
0
0
1
IEEE 0
0
---------------------------------------------------------------------------
sw2#sh vtp

VTP version: 1


Configuration revision: 0


Maximum VLANs supported locally: 1005

Number of existing VLANs: 7

VTP domain name
: tran

VTP password
:

VTP operating mode
: Transparent

VTP pruning mode
: Disabled

VTP traps generation
: Enabled

Configuration last modified by: 0.0.0.0 at 00-00-0000 00:00:00


Rack1_2511>1
[Resuming connection 1 to r66 ... ]

sw1#conf t
Enter configuration commands, one per line.
End with CNTL/Z
sw1(config)#int fa 0/26
sw1(config-if)#trunk on
sw1(config-if)#exit
sw1(config)#int fa 0/27
sw1(config-if)#trunk on
sw1(config-if)#


Rack1_2511>2
[Resuming connection 2 to r77 ... ]

sw2#conf t
Enter configuration commands, one per line.
End with CNTL/Z
sw2(config)#int fa 0/27
sw2(config-if)#trunk on
sw2(config-if)#exit
sw2(config)#int fa 0/26
sw2(config-if)#trunk on
sw2(config-if)#
sw2#sh trunk ?

A
Trunk A

B
Trunk B
sw2#sh trunk b
DISL state: On, Trunking: On, Encapsulation type: ISL


Rack1_2511>3
[Resuming connection 3 to r6 ... ]
pc1#ping 192.168.1.2pc2 ip
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms
可以ping通!!!
发表于 2005-7-14 01:13:41 | 显示全部楼层
<P>好帖,余,你做得很好!</P><P>这是会员余SL做出来的测试结果,请CCNP 交换班级学员注意!</P>
发表于 2005-7-22 23:31:59 | 显示全部楼层
<P>&nbsp; 他们之间直接通过TRUNK&nbsp;&nbsp;&nbsp; 同vlan间通讯...</P><P>跟vtp&nbsp; domain没关系...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VTP &nbsp;DOMAIN 用于比较多的vlan间方便管理......</P><P>&nbsp; 我是这么认为的....&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 是这样的???</P><P>&nbsp;&nbsp; </P>
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-28 18:52 , Processed in 0.093478 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表