packet tracer 的switch交换机的常用命令

show vlan

用于查看当前各个端口所属的VLAN

s1#show vlan

VLAN Name        Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/3, Fa0/4, Fa0/5, Fa0/6   (active 有效的)
                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10
                                                Fa0/11, Fa0/12, Fa0/13, Fa0/14
                                                Fa0/15, Fa0/16, Fa0/17, Fa0/18
                                                Fa0/19, Fa0/20, Fa0/21, Fa0/22
                                                Fa0/23, Fa0/24
2    stu     active    Fa0/1
3    tea     active    Fa0/2
1002 fddi-default  act/unsup //fddi 光纤分布式数据接口(Fiber Distributed Data Interface)
1003 token-ring-default   act/unsup //token-ring 令牌环;令牌环网(一个环状的区域网络)
1004 fddinet-default     act/unsup 
1005 trnet-default       act/unsup 

你可能感兴趣的:(计算机网络)