
Administration Commands
define_tr_port, define_ethernet_port, define_fddi_port
If the two nodes are on LANs of different types (one Ethernet, the other Token Ring or FDDI) connected by a bridge, you will usually need to reverse the bit order of each byte of the address when specifying a remote MAC address. To reverse the bit order, take the following steps:
Reversing the Bit Order in a MAC Address
1.List the MAC address as six bytes, with each byte represented by two hexadecimal digits.
2.Swap the order of the two digits of each byte.
3.Convert each digit as shown in Table
Table
0 | 0 | 8 | 1 |
1 | 8 | 9 | 9 |
2 | 4 | A | 5 |
3 | C | B | D |
4 | 2 | C | 3 |
5 | A | D | B |
6 | 6 | E | 7 |
7!E | F!F | ||
|
|
|
|
Table
Table 2–3 MAC Address Bit Conversion Example
List the MAC address | 1A 2B 3C 4D 5E 6F |
Swap the digit order | A1 B2 C3 D4 E5 F6 |
Convert each digit | 58 D4 3C B2 7A F6 (the |
|
|
2.61 define_tr_port, define_ethernet_port, define_fddi_port
The define_tr_port command is used to define a new Token Ring port or modify an existing port. Before issuing this command, you must define the DLC that this port uses.
The define_ethernet_port command is used to define a new Ethernet port or modify an existing port. Before issuing this command, you must define the DLC that this port uses. The parameters and defaults are the same as for define_tr_port, except where noted.
The define_fddi_port command is used to define a new FDDI port or modify an existing port. Before issuing this command, you must define the DLC that this port uses. The parameters and defaults are the same as for define_tr_port, except where noted.
You can modify an existing port only if it is not started. You cannot change the DLC used by an existing port; the name specified in the dlc_name parameter when modifying an existing port must match the DLC that was specified on the initial definition of the port.
For more information about defining a port that accepts incoming calls, see Section 2.61.4, Incoming Calls.
240