Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2037804
  • 博文数量: 433
  • 博客积分: 4775
  • 博客等级: 上校
  • 技术积分: 8054
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-19 16:15
文章存档

2014年(9)

2013年(20)

2012年(77)

2011年(323)

2009年(4)

分类:

2012-02-07 21:07:37

在完成上节的配置后,可在任意视图下执行display supervlan [ supervlan-id ] [ | { begin | exclude | include } regular-expression ]命令查看Super VLANSub VLAN之间的映射关系,查看配置后Super VLAN的运行情况,验证配置的效果。命令中的参数和可选项说明如下:

l   supervlan-id:可选参数,用来指定要显示信息的Super VLANVLAN ID,取值范围为14094

l   |:可选项,表示要使用正则表达式对显示信息进行过滤。

l   begin:三选一选项,指定从包含指定正则表达式的行开始显示。

l   exclude:三选一选项,指定只显示不包含指定正则表达式的行。

l   include:三选一选项,指定只显示包含指定正则表达式的行。

l   regular-expression:可选参数,设置表示正则表达式,为1256个字符的字符串,区分大小写。

以下示例是查看Super VLAN 2Sub VLAN的映射关系。从输出信息中可以看出,Super VLAN 2所对应的Sub VLAN有三个,即VLAN 3VLAN 4VLAN 5。然后从中也可以看出各Sub VLAN中的端口成员及其他信息。而且可以发现,各Sub VLAN都已配置了路由接口,且都为Super VLAN 2所对应的VLAN接口IP地址10.153.17.41。注意输出信息中的粗体字部分。

display supervlan 2

 Supervlan ID :  2

 Subvlan ID :  3-5

 

 VLAN ID: 2

 VLAN Type: static

 It is a Super VLAN.

 Route Interface: configured

 IP Address: 10.153.17.41

 Subnet Mask: 255.255.252.0

 Description: VLAN 0002

 Name: VLAN 0002

 Tagged   Ports: none

 Untagged Ports: none

 

 VLAN ID: 3

 VLAN Type: static

 It is a Sub VLAN.

 Route Interface: configured

 IP Address: 10.153.17.41

 Subnet Mask: 255.255.252.0

 Description: VLAN 0003

 Name: VLAN 0003

 Tagged   Ports: none

 Untagged Ports:

             GigabitEthernet1/0/3

 

 VLAN ID: 4

 VLAN Type: static

 It is a Sub VLAN.

 Route Interface: configured

 IP Address: 10.153.17.41

 Subnet Mask: 255.255.252.0

 Description: VLAN 0004

 Name: VLAN 0004

 Tagged   Ports: none

 Untagged Ports:

             GigabitEthernet1/0/4

 

 VLAN ID: 5

 VLAN Type: static

 It is a Sub VLAN.

 Route Interface: configured

 IP Address: 10.153.17.41

 Subnet Mask: 255.255.252.0

 Description: VLAN 0005

 Name: VLAN 0005

 Tagged   Ports: none

 Untagged Ports:

             GigabitEthernet1/0/5 

阅读(2225) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~