HP Brocade 8/12c Brocade Fabric OS Troubleshooting and Diagnostics Guide v6.2. - Page 100

Capturing an FTRACE for a tunnel, Enabling a trace

Page 100 highlights

10 FTRACE concepts cfg Creates an FTRACE configuration. -a 1|0 Enables or disables ACO. -b value Number of buffers (range 0 to 8). -e 1|0 Enable or disable FTRACE. -i value Display mask value (range 0 to FFFFFFFF). Default is FFFFFFFF. -p value Post trigger percentage value (range 0-100). Default is 5. -r value Number of records (range 0 through 1,677,721). Default us 200000. -s value Trigger mask value (range 00000000 to FFFFFFFF). Default is 00000003. -t value Trace mask value (range 00000000 to FFFFFFFF). Default is 80000C7B. -z value Trace record size (range 80 to 240 bytes). Default is 80 bytes. The following example configures FTRACE with ACO disabled, and FTRACE enabled with a trigger mask value of 00000003, and a trace mask value of ffffffff. switch:admin> portcfg ftrace ge0 3 cfg -a 0 -e 1 -p 5 -s 00000003 -t ffffffff Capturing an FTRACE for a tunnel Use the following syntax to configure an FTRACE. portCfg ftrace [slot/]Ge_Port tunnel_Id cfg | del [FeatureArgs] To capture an end-to-end FTRACE on a tunnel follow this procedure. 1. Enable an FTRACE 2. Activate the FTRACE without a slot or chassis reboot. Enabling a trace 1. Log on to the switch as admin. 2. Enter the portCfg ftrace command with the following options: switch:admin> portcfg ftrace ge1 0 cfg -e 1 This disables Auto Checkout and enables FTRACE for GigE 0, tunnel 1. NOTE The -e 1 enables FTRACE with all of the default options. There may be times that the default parameters must be modified to capture more information. Activating an FTRACE without a slot or chassis reboot 1. Enter the portShow ftrace /geX tunnelID con command. 2. Enter the portShow ftrace /geX tunnelId stats command. 84 Fabric OS Troubleshooting and Diagnostics Guide 53-1001187-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144

84
Fabric OS Troubleshooting and Diagnostics Guide
53-1001187-01
FTRACE concepts
10
cfg
Creates an FTRACE configuration.
-
a
1|0
Enables or disables ACO.
-
b
value
Number of buffers (range 0 to 8).
-
e
1|0
Enable or disable FTRACE.
-
i
value
Display mask value (range 0 to FFFFFFFF).
Default is FFFFFFFF.
-
p
value
Post trigger percentage value (range 0-100). Default is 5.
-
r
value
Number of records (range 0 through 1,677,721). Default us 200000.
-
s
value
Trigger mask value (range 00000000 to FFFFFFFF). Default is 00000003.
-
t
value
Trace mask value (range 00000000 to FFFFFFFF). Default is 80000C7B.
-
z
value
Trace record size (range 80 to 240 bytes). Default is 80 bytes.
The following example configures FTRACE with ACO disabled, and FTRACE enabled with a trigger
mask value of 00000003, and a trace mask value of ffffffff.
switch:admin> portcfg ftrace ge0 3 cfg -a 0 -e 1 -p 5 -s 00000003 -t ffffffff
Capturing an FTRACE for a tunnel
Use the following syntax to configure an FTRACE.
portCfg ftrace
[slot/]Ge_Port tunnel_Id
cfg | del
[FeatureArgs]
To capture an end-to-end FTRACE on a tunnel follow this procedure.
1.
Enable an FTRACE
2.
Activate the FTRACE without a slot or chassis reboot.
Enabling a trace
1.
Log on to the switch as admin.
2.
Enter the
portCfg ftrace
command with the following options:
switch:admin> portcfg ftrace ge1 0 cfg -e 1
This disables Auto Checkout and enables FTRACE for GigE 0, tunnel 1.
NOTE
The –e 1 enables FTRACE with all of the default options. There may be times that the default
parameters must be modified to capture more information.
Activating an FTRACE without a slot or chassis reboot
1.
Enter the
portShow ftrace <slot>/geX tunnelID con
command
.
2.
Enter the
portShow ftrace <slot>/geX tunnelId stats
command.