Technical data
42 FastIron Ethernet Switch Administration Guide
53-1002637-02
Basic port parameter configuration
2
Syntax: port-name text
The text parameter is an alphanumeric string. The name can be up to 255 characters long. The
name can contain blanks. You do not need to use quotation marks around the string, even when it
contains blanks. The port name can contain special characers as well, but the percentage
character (%), if it appears at the end of the port name, is dropped.
Assigning the same name to multiple ports
To assign a name to a range of ports, enter commands such as the following:
Brocade (config)# interface ethernet 1/1/1 to 1/1/10
Brocade (config-mif-1/1/1-1/1/10)# port-name connected-to-the nearest device
Syntax: [no] Port-name text
To remove the assigned port name, use no form of the command.
The text parameter is an alphanumeric string, up to 255 characters long. The name can contain
blanks. You do not need to use quotation marks around the string, even when it contains blanks.
You can also specify the individual ports, separated by space.
To assign a name to multiple specific ports, enter commands such as the following:
Brocade (config)# interface ethernet 1/1/1 ethernet 1/1/5 ethernet 1/1/7
Brocade (config-mif-1/1/1, 1/1/5, 1/1/7)# port-name connected-to-the nearest
device
Displaying the port name for an interface
You can use the show interfaces brief command to display the name assigned to the port. If any of
the ports have long port names, they are truncated. To show full port names, use the show
interfaces brief wide command.
Brocade# show interfaces brief
Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name
1/1/23 Up Forward Full 1G None No 1 0 748e.f82d.7a16 connected-
1/1/47 Up Forward Full 1G None No 1 0 748e.f82d.7a2e
mgmt1 Up None Full 1G None No None 0 748e.f82d.7a00
In this output, the port name for inteface 1/1/23 is truncated.
Use the show interface brief wide command to avoid truncating long port names.
To display the complete port name for an interface, enter the following command.
Brocade# show interface brief wide
Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name
1/1/23 Up Forward Full 1G None No 1 0 748e.f82d.7a16 connected-
to-the nearest device
1/1/47 Up Forward Full 1G None No 1 0 748e.f82d.7a2e
mgmt1 Up None Full 1G None No None 0 748e.f82d.7a00
Syntax: show interface brief wide [ethernet stack-unit/slot/port | loopback | management | slot |
tunnel | ve]