由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Internet版 - Cisco VLAN IOS comfig help ...
相关主题
Re: [转载] 问:如何修改网卡的物理地址(edit netcard phyical address)?Methods to Share DSL/Cable Modem
Re: [转载] Dual NIC to build a network?Re: more questions on IPsec VPN
两台机子能共用电话线上网吗?Re: how to connect two computers?
[转载] Re: 非法下载电影被报告,版权问题 Re: cable modem 上网问题
fastest packet sniffer如何计算PLR
FrontPage 2002 frameCrossover cable problem
Re: 一个关于TCP/UDP的问题[转载] about udp programming
王志东严批中国网络评作弊“放卫星”在WINME下如何断开网络?
相关话题的讨论汇总
话题: vlan话题: port话题: frames话题: tagged话题: incoming
进入Internet版参与讨论
1 (共1页)
L******t
发帖数: 1985
1
What's the effect of the commands below?
interface FastEthernet0/2
switchport access vlan 2
Does it means this FE port expects incoming frames carrying VlanID 2 ? Or it
means all incoming frames (either with or without vlanID2, and discard any
with other VlanIDs) will be tagged with VID 2? Similarly in egress direction.
Thanks in advance!
s***a
发帖数: 200
2
port fa0/2 will be in vlan 2
all the packets to and from the port will be tagged with VLAN ID 2

【在 L******t 的大作中提到】
: What's the effect of the commands below?
: interface FastEthernet0/2
: switchport access vlan 2
: Does it means this FE port expects incoming frames carrying VlanID 2 ? Or it
: means all incoming frames (either with or without vlanID2, and discard any
: with other VlanIDs) will be tagged with VID 2? Similarly in egress direction.
: Thanks in advance!

L******t
发帖数: 1985
3
Thank you, simba.
What confuses me is, at the lowest level of a cascaded switches, there should
be some ports where incoming frames are tagless, but each of these ports is
configured to one (its default) vlan. I guess all incoming frames will be
tagged with the port's default vid before further processing. I am wondering
if the config commands I mentioned are used to config such ports? On the
reverse direction, the port should remove any vlan tags before transmitting
egressing frames, since user

【在 s***a 的大作中提到】
: port fa0/2 will be in vlan 2
: all the packets to and from the port will be tagged with VLAN ID 2

s***a
发帖数: 200
4
sorry. actually there is sth wrong with what i said.
you are right.
the cisco access switch will remove the tag before it sends the packet
to the host that connects to the port
add the tag after it gets packets from the host
if you sniff the traffic of NIC of your PC,
layer 2 header will be just
Dest Mac, Source Mac, Type(IP)
if you sniff the traffic of the switch port,
there is extra bytes for VLAN header between eth and IP
ethereal.com will be a good tool when you want to
figure out the detai

【在 L******t 的大作中提到】
: Thank you, simba.
: What confuses me is, at the lowest level of a cascaded switches, there should
: be some ports where incoming frames are tagless, but each of these ports is
: configured to one (its default) vlan. I guess all incoming frames will be
: tagged with the port's default vid before further processing. I am wondering
: if the config commands I mentioned are used to config such ports? On the
: reverse direction, the port should remove any vlan tags before transmitting
: egressing frames, since user

b******e
发帖数: 66
5
Actually, this is not true ...
VLAN tags are only imposed/stripped on a trunk port, packets come in/going out
a access port is not tagged (one exception is that you configure a access port
to be .1q tunnel in which case incoming packets are tagged).

should
is
wondering
transmitting
vlan

【在 s***a 的大作中提到】
: sorry. actually there is sth wrong with what i said.
: you are right.
: the cisco access switch will remove the tag before it sends the packet
: to the host that connects to the port
: add the tag after it gets packets from the host
: if you sniff the traffic of NIC of your PC,
: layer 2 header will be just
: Dest Mac, Source Mac, Type(IP)
: if you sniff the traffic of the switch port,
: there is extra bytes for VLAN header between eth and IP

1 (共1页)
进入Internet版参与讨论
相关主题
在WINME下如何断开网络?fastest packet sniffer
How does ISP restrict one IP address per Cable Modem?FrontPage 2002 frame
请教如何拥手机上网?Re: 一个关于TCP/UDP的问题
ask a question about connection between two computers王志东严批中国网络评作弊“放卫星”
Re: [转载] 问:如何修改网卡的物理地址(edit netcard phyical address)?Methods to Share DSL/Cable Modem
Re: [转载] Dual NIC to build a network?Re: more questions on IPsec VPN
两台机子能共用电话线上网吗?Re: how to connect two computers?
[转载] Re: 非法下载电影被报告,版权问题 Re: cable modem 上网问题
相关话题的讨论汇总
话题: vlan话题: port话题: frames话题: tagged话题: incoming