HP StorageWorks 8/80 Brocade Converged Enhanced Ethernet Administrator's Guide - Page 111

Configuring LLDP interface-level command options, Clearing LLDP-related information

Page 111 highlights

LLDP configuration and management 7 Configuring LLDP interface-level command options Only one LLDP profile can be assigned to an interface. If you do not use the lldp profile option at the interface level, the global configuration is used on the interface. If there are no global configuration values defined, the global default values are used. To configure LLDP interface-level command options, perform the following steps from Privileged EXEC mode. 1. Enter the interface command to specify the CEE interface type and slot/port number. Example of selecting the Ten Gigabit Ethernet port number 0/10. switch(config)#interface tengigabitethernet 0/10 2. Apply an LLDP profile to the interface. Example of applying the LLDP profile "network_standard" to the current interface. switch(conf-if-te-0/10)#lldp profile network_standard 3. Configure the FCoE priority bits for an interface. The value is specified as 0x0-0xff. Example switch(conf-if-te-0/10)#fcoe-priority-bits 0x0-0xff 4. Configure the DCBX version for an interface for CEE. For detailed information on these version command keywords, see "DCBX interaction with other vendor devices" on page 85. The default is to automatically detect the DCBX version. Example switch(conf-if-te-0/10)#lldp version cee 5. Enter the copy command to save the running-config file to the startup-config file. switch(conf-if-te-0/10)#exit switch(config)#end switch#copy running-config startup-config Clearing LLDP-related information To clear LLDP-related information, perform the following steps from Privileged EXEC mode. 1. Use the clear command to: • Clear LLDP neighbor information. switch#clear lldp neighbors tengigabitethernet 0/1 • Clear LLDP statistics. switch#clear lldp statistics tengigabitethernet 0/1 Displaying LLDP-related information To display LLDP-related information, perform the following steps from Privileged EXEC mode. 1. Use the show lldp neighbors command to: • Display LLDP general information. switch#show lldp Converged Enhanced Ethernet Administrator's Guide 91 53-1001346-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
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162

Converged Enhanced Ethernet Administrator’s Guide
91
53-1001346-01
LLDP configuration and management
7
Configuring LLDP interface-level command options
Only one LLDP profile can be assigned to an interface. If you do not use the
lldp profile
option at the
interface level, the global configuration is used on the interface. If there are no global configuration
values defined, the global default values are used.
To configure LLDP interface-level command options, perform the following steps from Privileged
EXEC mode.
1.
Enter the
interface
command to specify the CEE interface type and slot/port number.
Example of selecting the Ten Gigabit Ethernet port number 0/10.
switch(config)#
interface tengigabitethernet 0/10
2.
Apply an LLDP profile to the interface.
Example of applying the LLDP profile “network_standard” to the current interface.
switch(conf-if-te-0/10)#
lldp profile network_standard
3.
Configure the FCoE priority bits for an interface. The value is specified as 0x0-0xff.
Example
switch(conf-if-te-0/10)#
fcoe-priority-bits 0x0-0xff
4.
Configure the DCBX version for an interface for CEE. For detailed information on these version
command keywords, see
“DCBX interaction with other vendor devices”
on page 85. The default
is to automatically detect the DCBX version.
Example
switch(conf-if-te-0/10)#
lldp version
cee
5.
Enter the
copy
command to save the
running-config
file to the
startup-config
file.
switch(conf-if-te-0/10)#
exit
switch(config)#end
switch#
copy running-config startup-config
Clearing LLDP-related information
To clear LLDP-related information, perform the following steps from Privileged EXEC mode.
1.
Use the
clear
command to:
Clear LLDP neighbor information.
switch#
clear lldp neighbors tengigabitethernet 0/1
Clear LLDP statistics.
switch#
clear lldp statistics tengigabitethernet 0/1
Displaying LLDP-related information
To display LLDP-related information, perform the following steps from Privileged EXEC mode.
1.
Use the
show lldp neighbors
command to:
Display LLDP general information.
switch#
show lldp