设为首页   锐捷官网
用其他帐号登录:
查看: 4413|回复: 6

[咨询] 弱弱问一个问题,如何查看抓包目的端口?

[复制链接]

1

主题

1

帖子

21

积分

新手上路

Rank: 1

积分
21
发表于 2015-6-16 16:58:56 | 显示全部楼层 |阅读模式
请问,在2952交换机上设置了 monitor ,分别设置  destination interface  和 source interface ,一段时间后忘记设置的destination interface,用sh monitor 命令 只能看到 mointor session 和 source interface ,看不到 destination interface ?请问该用哪条命令可以看到 destination interface , 谢谢!!

回复

使用道具 举报

2

主题

62

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
发表于 2015-6-17 09:44:08 | 显示全部楼层
看不到就是你还没有配置目的端口咯
回复 支持 反对

使用道具 举报

0

主题

1

帖子

13

积分

新手上路

Rank: 1

积分
13
发表于 2015-6-17 10:59:25 | 显示全部楼层
我也是新人  不会  哈哈哈
回复 支持 反对

使用道具 举报

13

主题

33

帖子

125

积分

锐捷员工

Rank: 5Rank: 5

积分
125
发表于 2015-6-23 21:01:44 | 显示全部楼层
Ruijie(config)#monitor session 1 source interface gigabitEthernet 0/1 both      ------>指定端口镜像的源端口为g0/1,即被监控端口,交换机可以指定多个源端口。both表示双方向的数据流,如果只需要镜像进入交换机方向的数据流,则将both关键字改为关键字rx,命令就变为了:monitor session 1 source interface gigabitEthernet 0/1 rx。如果只需要镜像从交换机出来方向的流量,则可将both关键字改为tx。

Ruijie(config)#monitor session 1 source interface gigabitEthernet 0/2 both     ------>指定端口镜像的源端口g0/2,即被监控端口。交换机可以指定多个源端口。both表示双方向的数据流,如果只需要镜像进入交换机方向的数据流,则将both关键字改为关键字rx,如果只需要镜像从交换机出来方向的流量,则可将both关键字改为tx。

Ruijie(config)#monitor session 1 destination interface gigabitEthernet 0/24 switch   ------>指定g0/24口为端口镜像的目的端口,即监控端口。后面加了一个关键字swith,表示目的端口也能够上网,如果不加关键字,那么该端口将不能访问外网。

建议参见交换机的实施一本通文档,官网下载链接http://www.ruijie.com.cn/fw/qdwd-3233/
回复 支持 反对

使用道具 举报

0

主题

1

帖子

2

积分

新手上路

Rank: 1

积分
2
发表于 2015-7-21 17:56:46 | 显示全部楼层
回复

使用道具 举报

0

主题

1

帖子

8

积分

新手上路

Rank: 1

积分
8
发表于 2015-7-30 18:12:56 | 显示全部楼层
A1-N1-192.168.100.41#c
Enter configuration commands, one per line.  End with CNTL/Z.
A1-N1-192.168.100.41(config)#int gi 0/48
A1-N1-192.168.100.41(config-if-GigabitEthernet 0/48)#show log
Syslog logging: enabled
  Console logging: level debugging, 1944 messages logged
  Monitor logging: level debugging, 0 messages logged
  Buffer logging: level debugging, 1944 messages logged
  Standard format: false
  Timestamp debug messages: datetime
  Timestamp log messages: datetime
  Sequence-number log messages: disable
  Sysname log messages: disable
  Count log messages: disable
  Trap logging: level informational, 1944 message lines logged,0 fail
Log Buffer (Total 4096 Bytes): have written 4096, Overwritten 3034
*Jul 30 16:02:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:02:45: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:02:45: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:02:48: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:02:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:02:58: %LLDP-4-CREATEREM: Port GigabitEthernet 0/48 created one new neighbor, Chassis ID is 5869.6c15.1de3, Port ID is Gi0/24.
*Jul 30 16:03:03: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:03:03: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:03:13: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:03:13: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:03:19: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:03:19: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:04:45: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:04:45: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:04:49: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:04:49: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:04:58: %LLDP-4-AGEOUTREM: Port GigabitEthernet 0/48 one neighbor aged out, Chassis ID is 5869.6c15.1de3, Port ID is Gi0/24.
*Jul 30 16:05:47: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:05:47: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:05:58: %LLDP-4-CREATEREM: Port GigabitEthernet 0/48 created one new neighbor, Chassis ID is 5869.6c15.1de3, Port ID is Gi0/24.
*Jul 30 16:11:03: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:11:03: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:12:58: %LLDP-4-AGEOUTREM: Port GigabitEthernet 0/48 one neighbor aged out, Chassis ID is 5869.6c15.1de3, Port ID is Gi0/24.
*Jul 30 16:21:26: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:21:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:21:28: %LLDP-4-CREATEREM: Port GigabitEthernet 0/48 created one new neighbor, Chassis ID is 5869.6c15.1de3, Port ID is Gi0/24.
*Jul 30 16:21:48: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:21:48: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:22:22: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:22:22: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:22:32: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:22:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to down.
*Jul 30 16:24:28: %LLDP-4-AGEOUTREM: Port GigabitEthernet 0/48 one neighbor aged out, Chassis ID is 5869.6c15.1de3, Port ID is Gi0/24.
*Jul 30 16:24:42: %LINK-3-UPDOWN: Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:24:42: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet 0/48, changed state to up.
*Jul 30 16:24:58: %LLDP-4-CREATEREM: Port GigabitEthernet 0/48 created one new neighbor, Chassis ID is 5869.6c15.1de3, Port ID is Gi0/24.
*Jul 30 17:09:01: %SYS-5-CONFIG_I: Configured from console by console
哪位高手帮我分析一下,这是上面原因,它连接下面得交换机老是断开,谢谢
回复 支持 反对

使用道具 举报

2

主题

62

帖子

408

积分

中级会员

Rank: 3Rank: 3

积分
408
发表于 2015-8-4 13:43:23 | 显示全部楼层
guaimao1983 发表于 2015-7-30 18:12
A1-N1-192.168.100.41#c
Enter configuration commands, one per line.  End with CNTL/Z.
A1-N1-192.168. ...

指48口神速的down就up?估计是硬件故障,找售后吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则