Setting the port name, Setting trap – ATL Telecom R1-SW Ethernet Switch User Manual
Page 119
Configuring Ports
6-7
Setting the Port Name
You can assign a name to each port. To set a port name, use the following command in Global
configuration mode:
Command
Task
port
<port-type> <slot>/<port>
name
<port-name>
1. Set the name of the specified port.
y
<port-type>: The type of Ethernet port to configure.
-
fastethernet
: Configures Fast Ethernet port.
-
gigabitethernet
: Configures Gigabit Ethernet port.
y
<slot>: Slot number (1 ~ 3)
y
<port>: Port number (1 ~ 8/24)
y
<port-name>: Port name.
The following is an example of setting the name of the
gigabit Ethernet port 1/1
:
(config)# port gigabitethernet 1/1 name uplink-port
(config)#
Setting Trap
You can enable or disable the operation of the standard SNMP link trap for a port. By default,
the SNMP link trap of the ports on the Corecess R1-SW24L2B is disabled.
To set trap for a port, use the following command in Global configuration mode:
Command
Task
port
<port-type> <slot>/<port>
trap link-status
1. Enable or disable the SNMP link trap for the specified
port.
y
<port-type>: The type of Ethernet port to configure.
-
fastethernet
: Configures Fast Ethernet port.
-
gigabitethernet
: Configures Gigabit Ethernet port.
y
<slot>: Slot number (1 ~ 2)
y
<port>: Port number (1 ~ 24)
The following example enables the SNMP link trap on the
Fast Ethernet port 2/1-24
:
(config)# port fastethernet 2/1-24 trap link-status
(config)#