Specify the name of the port that needs to be changed and have same settings for all the ports.
default name
default name port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
name port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} WORD<0-64>
name WORD<0-64>
no name
no name port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
Identifies the slot and port in one of the following formats:
a single slot and port (slot/port)
a range of slots and ports (slot/port-slot/port)
a series of slots and ports (slot/port,slot/port,slot/port)
all ports on the same slot (slot/all)
all ports on the switch (all)
None
GigabitEthernet Interface Configuration