[Top] [Table Of Contents] [Prev] [Next] [Index]
7 out of 25 total pages
Ethernet Interface 4
- This chapter describes how to use the command line interface to configure the Ethernet interfaces of the PortMaster 4. The PortMaster 4 manager module comes with two routable Ethernet interfaces, a 10BaseT Ether0 and 10/100BaseT Ether1.
-
ComOS releases 4.1 and later also support a standalone Ethernet board with one 10/100BaseT interface (Ether0) and a standalone dual Ethernet module with two 10/100BaseT interfaces (Ether30 and Ether31). A PortMaster 4 can have only one dual Ethernet module, and it must be installed in slot 3. No new commands are required to support the standalone Ethernet board and module.
- For additional information about installing and configuring the Ethernet ports of the PortMaster 4, refer to the PortMaster 4 Installation Guide and PortMaster 4 Configuration Guide .
- Detailed command definitions follow a command summary table.
- Commands for configuring subinterfaces on Ether0 are also summarized and defined in this chapter.
Note ¯
To activate any changes to the configuration of Ether0--the 10BaseT interface on the manager module--you must use reboot . For all other Ethernet interfaces, you must use the appropriate reset slot command.
-
Displaying Ethernet Information
- To display information about your configuration, use the following commands:
- For general information about command line interface commands, refer to Chapter 1, "Introduction."
Summary of Ethernet Commands
- The Ethernet commands in Table 4-1 configure the Ethernet interfaces on the PortMaster 4. Ethernet subinterface commands are summarized in
Table 4-2, on page 4-15.
-
Table 4-1 Ethernet Configuration Commands
Command Syntax
|
|
---|
reboot
| - see page 2-13
|
reset slotSlotnumber
| - see page 2-13
|
save ports
| - see page 2-15
|
set Ether0 address Ipaddress [/NM]|[Ipmask]
| - see page 4-3
|
set Ether0 broadcast high|low
| - see page 4-5
|
set Ether0 crossbar-ip Ipaddress
| - see page 7-5
|
set Ether0 ifilter [Filtername]
| - see page 4-5
|
set ether0 ip enabled|disabled 1
| - see page 4-6
|
set ether0 ipx enabled|disabled 1
| - see page 4-7
|
set Ether0 ipxframe ethernet_802.2|ethernet_802.2_ii|ethernet_802.3| ethernet_ii
| - see page 4-7
|
set Ether0 ipxnet Ipxnetwork
| - see page 4-8
|
set Ether0 mproxy address Ipaddress|port Tport|src-address Ipaddress|src-netmask Netmask|slot Seconds| number Number|timeout Seconds|alarm Number
| - see page 4-9
|
set Ether0 mproxy on|off
| - see page 4-10
|
set Ether0 netmask Ipmask
| - see page 7-7
|
set Ether0 ofilter [Filtername]
| - see page 4-11
|
set Ether0 ospf accept-rip on|off
| - see page 8-6
|
set Ether0 ospf on|off
| - see page 8-6
|
set Ether0 rip on|off|broadcast|listen|v2 {broadcast|multicast|on|v1-compatibility}
| - see page 7-17
|
set Ether0 route-filter incoming|outgoing [Filtername]
| - see page 7-8
|
set view
| - see page 2-18
|
show Ether0
| - see page 4-12
|
show igmp
| - see page 4-14
|
Ethernet Commands
- These commands affect the Ethernet interfaces of the PortMaster 4--Ether0, Ether1, and the standalone Ethernet module and boards. All Ether0 commands can be used for Ether1 and the standalone Ethernet module and boards, except as noted in this section. You can configure the Ethernet interfaces from any view.
- Lucent recommends that network traffic--syslog , traceroute , telnet , DNS, ChoiceNet, RADIUS, and TFTP--be configured using Ether1.
set Ether0 address
- This command sets the IP address of the Ethernet interface.
set Ether0 address Ipaddress [/NM]|[Ipmask]
Ether0
| One of the following Ethernet interfaces:
|
| ether0
| 10BaseT interface on the manager module.
|
| ether1
| 10/100BaseT interface on the manager module.
|
|
ether00
| Single 10/100BaseT Ethernet interface on the standalone Ethernet board in slot 0.
|
| ether10
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board in slot 1.
|
| ether20
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board in slot 2.
|
| ether30
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board or the first Ethernet interface on a dual Ethernet module in slot 3.
|
| ether31
| Second 10/100BaseT Ethernet interface on a dual standalone Ethernet module in slot 3.
|
| ether50
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board in slot 5.
|
| ether60
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board in slot 6.
|
| ether70
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board in slot 7.
|
| ether80
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board in slot 8.
|
| ether90
| Single 10/100BaseT Ethernet interface on a standalone Ethernet board in slot 9.
|
Note ¯
You must configure Ether0 or Ether1 with an IP address for the standalone Ethernet board or dual Ethernet module to function.
|
Ipaddress
| IP address or hostname.
|
/NM
| Optional netmask--an integer between 1 and 32 that indicates the number of high-order bits set to 1. Enter a slash (/) between the IP address and the netmask in bits.
|
Ipmask
| Optional netmask expressed in dotted decimal notation. Enter a space between the IP address and the netmask.
|
- Each 10/100BaseT Ethernet interface on the PortMaster 4 has an alternative media-independent interface (MII) for connection to fiber and copper media. ComOS uses the MII if both it and the RJ-45 interface are connected.
Note ¯
To activate any changes to the configuration of Ether0--the 10BaseT interface on the manager module--you must reboot ; for all other Ethernet interfaces you must use the appropriate reset slot command.
- If you change the IP address of an Ethernet interface, you must disable and then re-enable IP on the Ethernet interface for the change to take effect.
Example
Command> set ether0 address 172.16.200.1
Local (ether0) address changed from to 172.16.200.1
See Also
reset slot - page 2-13
set Ether0 netmask - page 7-7
set reported-ip - page 3-21
set Ether0 broadcast
- This command determines which broadcast address the PortMaster will use.
set Ether0 broadcast high|low
Ether0
| For a list of configurable Ethernet interfaces, see page 4-3.
|
Note ¯
You must configure Ether0 or Ether1 with an IP address for the standalone Ethernet board or dual Ethernet module to function.
|
high
| Use a host part of all ones (for example, 192.168.1.255) in the broadcast address.
|
low
| Use a host part of all zeros (for example, 192.168.1.0) in the broadcast address. This is the default.
|
- This setting must match the broadcast address used by all hosts and routers on the same network segment. For the PortMaster 4, Lucent recommends that you connect Ether0 and Ether1 to separate Ethernet segments.
set Ether0 ifilter
- This command sets a packet filter for evaluating packets entering the PortMaster on the Ethernet interface.
set Ether0 ifilter [Filtername
Ether0
| For a list of configurable Ethernet interfaces, see page 4-3.
|
Note ¯
You must configure Ether0 or Ether1 with an IP address for the standalone Ethernet board or dual Ethernet module to function.
|
Filtername
| Input filter name that is in the filter table. Filtername can be up to 15 characters.
|
]
- The filter must be created before it can be used. Refer to the PortMaster 4 Configuration Guide for more information on how to construct a filter. If the filter is changed, this command must be re-entered for the changes to take effect on the Ethernet interface.
- You need not reboot the interface nor the PortMaster to activate the filter. To remove the filter, enter the command without a filter name.
Note ¯
You can set the filtername to the Ethernet interface before the filter is created, but doing so allows packets to pass through without any packet filtering.
Example
Command> set ether0 ifilter ether0.in
ether0 filters enabled: in = ether0.in, out =
See Also
set Ether0 ofilter - page 4-11
show filter - page 12-18
show table filter - page 12-18
set ether0 ip
- This command enables or disables the IP protocol on the interface.
set ether0 ip enabled|disabled
enabled
| Enables IP. This is the default.
|
disabled
| Disables IP.
|
- This command is available only on the Ether0 interface.
set ether0 ipx
- This command enables or disables the IPX protocol on the interface.
set ether0 ipx enabled|disabled
enabled
| Enables IPX.
|
disabled
| Disables IPX.
|
- This command is available only on the Ether0 interface.
Note ¯
The PortMaster 4 supports IPX protocols on ComOS 4.1 and later releases.
-
-
set Ether0 ipxframe
- This command sets the IPX frame type.
Note ¯
Enter this command on one line, without any breaks. The line break shown here is due to the limited space available.
set Ether0 ipxframe ethernet_802.2|ethernet_802.2_ii
| ethernet_802.3|ethernet_ii
Ether0
| Ethernet interface.
|
ethernet_802.2
| Use Ethernet 802.2 protocol. This is the default encapsulation used by Novell NetWare 4.0.
|
ethernet_802.2_ii
| Use Ethernet 802.2_ii protocol. This encapsulation is not commonly used.
|
ethernet_802.3
| Use Ethernet 802.3 protocol. This is the default encapsulation used by Novell NetWare 3.11.
|
ethernet_ii
| Use Ethernet II protocol. This encapsulation is sometimes used for networks that handle both TCP/IP and IPX traffic.
|
- The encapsulation method and frame type were selected when your Novell IPX network servers were installed. The PortMaster IPX settings must match those of your IPX network.
Note ¯
The PortMaster 4 supports IPX protocols on ComOS 4.1 and later releases.
-
Example
Command> set ether0 ipxframe ethernet_ii
ether0 IPX frame type set to ethernet_ii
See Also
set Ether0 ipxnet - page 4-8
set ipx on - page 3-13
set Ether0 ipxnet
- This command sets the IPX network number for the Ethernet interface.
set Ether0 ipxnet Ipxnetwork
Ether0
| Ethernet interface.
|
Ipxnetwork
| A 32-bit hexadecimal value.
|
- The IPX network number must be entered in hexadecimal format, as shown in the example. You must enable IPX before using this command.
Note ¯
The PortMaster 4 supports IPX protocols on ComOS 4.1 and later releases.
-
Example
Command> set ether0 ipxnet 0x0000000f
ether0 IPX network changed from 00000000 to 0x0000000f
See Also
set Ether0 ipxframe - page 4-7
set ipx on - page 3-13
set user ipxnet - page 10-10
set Ether0 mproxy
- This command enables the PortMaster 4 to monitor Internet Group Management Protocol (IGMP) multicast traffic from a heartbeat group of multicast routers.
set Ether0 mproxy address Ipaddress |port Tport |src-address Ipaddress |
src-netmask Netmask| slot Seconds| number Number| timeout Seconds|
alarm Number
Ether0
| ether0 or ether1 .
|
address Ipaddress
| Broadcast address that identifies a multicast group--in dotted decimal notation.
|
port Tport
| TCP port--an integer between 1 and 65535--on which the PortMaster 4 listens for a heartbeat.
|
src-address Ipaddress
| IP address of the heartbeat source in dotted decimal notation, or the hostname--a string of up to 39 characters.
|
src-netmask Netmask
| Netmask for the heartbeat source in dotted decimal notation.
|
slot Seconds
| Length of a time slot in seconds--an integer between 0 and 120.
|
number Number
| Number of time slots--an integer between 1 and 6.
|
timeout Seconds
| Period of multicast host inactivity after which the PortMaster 4 disconnects the host. timeout is an integer between 60 and 600.
|
alarm Number
| Minimum number of slots that must receive a heartbeat--an integer between 1 and 6. Otherwise, the PortMaster 4 sends an SNMP alarm.
|
- The PortMaster 4 supports the multicast heartbeat feature on ComOS 4.1 and later releases.
- This command sets time slots during which a multicast-enabled hosts must receive multicast traffic for the heartbeat group. Use this command to detect problems with multicast traffic by keeping track of multicast messages from the heartbeat group. If the number of slots receiving a heartbeat is lower than the set alarm value, the PortMaster 4 sends an SNMP alarm.
- To activate new configuration settings, you must first use the reboot command.
Note ¯
The PortMaster 4 does not currently support this command on the standalone Ethernet boards.
- Command> set ether1 mproxy address 244.0.0.99 port 2000 src-address 192.168.20.1 src-netmask 255.255.255.255 slot 120 number 5 timeout 360 alarm 3
- set Ether0 mproxy on|off - page 4-10
show igmp - page 4-14
set Ether0 mproxy on
- This command enables the Ethernet interface to listen for Internet Group Management Protocol (IGMP) broadcasts and send multicast broadcasts.
set Ether0 mproxy on|off
Ether0
| ether0 or ether1 .
|
on
| Enables the PortMaster 4 to listen for IGMP broadcasts from multicast-enabled hosts in its multicast group on the specified Ethernet interface.
Setting multicast proxy routing on also enables the PortMaster 4 to broadcast the IGMP member report for all other multicast-enabled hosts in its multicast group to other multicast routers
|
off
| Disables multicast proxy routing on the specified interface.
|
- The PortMaster 4 supports IGMP multicast proxy on ComOS 4.1 and later releases.
- To enable dial-in clients for multicast, you must configure corresponding RADIUS attributes. For more information about enabling users for multicast proxy, see the latest ComOS release notes.
- To display multicast proxy heartbeat settings, use the show Ether0 command.
Note ¯
The PortMaster 4 does not currently support this command on the standalone Ethernet boards.
- show Ether0 - page 4-12
show igmp - page 4-14
set igmp - page 4-9
set Ether0 ofilter
- This command sets a packet filter for evaluating packets exiting the PortMaster on the Ethernet interface.
set Ether0 ofilter [Filtername]
Ether0
| For a list of configurable Ethernet interfaces, see page 4-3.
|
Note ¯
You must configure Ether0 or Ether1 with an IP address for the standalone Ethernet board or dual Ethernet module to function.
|
Filtername
| Output filter name, up to 15 characters, that is in the filter table.
|
- The filter must be created before it can be used. Refer to the PortMaster 4 Configuration Guide for more information on how to construct a filter. If the filter is changed, you must be re-enter this command for the changes to take effect on the Ethernet interface.
- You need not reset nor reboot the interface or the PortMaster to activate the filter. To remove the filter, enter the command without a filter name.
-
Note ¯
You can set the filtername to the Ethernet interface before the filter is created, but doing so allows packets to pass through without any filtering.
Example
Command> set ether0 ofilter ether0.out
ether0 filters enabled: in = ether0.in, out = ether0.out
See Also
set Ether0 ifilter - page 4-5
show filter - page 12-18
show table filter - page 12-18
show Ether0
- This command shows configuration values for the Ethernet interface.
show Ether0
Command> show ether0
|
|
Ethernet Status:
| IP - Enabled
| IPX - Disabled
|
Interface Addr:
| pm2.edu.com (192.168.96.6)
|
Netmask:
| 255.255.255.0
|
|
Broadcast Address:
| 192.168.96.0
|
|
IPX Network:
| 00000000
|
|
IPX Frame Type:
| ETHERNET_802.2
|
|
Ethernet Address:
| 00:c0:05:10:00:65
|
|
Routing:
| RIP (Broadcast, Listen (On))
|
|
Input Filter:
|
|
|
Output Filter:
|
|
|
OSPF Accept RIP:
| off
|
|
OSPF Cost:
| 1
|
|
OSPF Hello Interval:
| 10
|
|
OSPF Dead Time:
| 40
|
|
|
|
|
Command> show ether1
|
|
|
Ethernet Status:
| IP - Enabled
| IPX - Disabled
|
Interface Addr:
| 192.168.97.25
|
Netmask:
| 255.255.255.0
|
|
Broadcast Address:
| 192.168.97.0
|
|
IPX Network:
| 00000000
|
|
IPX Frame Type:
| ETHERNET_802.2
|
|
Ethernet Address:
| 00:c0:05:11:00:65
|
|
Routing:
| RIP Off (Quiet)
|
|
Multicast:
| Enabled
|
|
Multicast Heart Beat:
| 231.31.31.31
|
|
Heart Beat slots:
| 5 Heart Beat Slot length 60 sec
|
Heart Source Addr:
| 192.168.99.99/54 Heart Alarm Threshold: 3
|
V1 Timeout:
| 300
|
|
Input Filter:
|
|
|
Output Filter:
|
|
|
OSPF Accept RIP:
| off
|
|
OSPF Cost:
| 1
|
|
OSPF Hello Interval:
| 10
|
|
OSPF Dead Time:
| 40
|
|
Explanation
Ethernet Status
| Shows IP protocols enabled for the Ethernet port.
|
Interface Addr
| The IP address for the Ethernet interface.
|
Netmask
| The netmask used on the network.
|
Broadcast Address
| The IP address used as the local broadcast address.
|
Ethernet Address
| The Ethernet hardware MAC address.
|
Routing
|
· Broadcast --the PortMaster broadcasts route information on the local Ethernet.
· Listen --the PortMaster listens for route information from other routers on the local Ethernet.
|
Multicast Heart Beat
| Broadcast address that identifies a multicast group.
|
Heart Beat slots
| Number of time slots.
|
Heart Source Addr
| IP address of the heartbeat source.
|
V1 Timeout
| Period of IGMP v1 host inactivity after which the PortMaster 4 disconnects the host.
|
Heart Beat Slot length
| Length of time slot in seconds.
|
Heart Alarm Threshold
| Minimum number of slots that must receive a heartbeat.
|
Input Filter
| The name of the input filter attached to the Ethernet interface.
|
Output Filter
| The name of the output filter attached to the Ethernet interface.
|
OSPF Accept RIP
| RIP routes learned on the Ethernet interface that are propagated into OSPF as Type 2 external routes.
|
OSPF Cost
| Cost of sending a packet on the interface.
|
OSPF Hello Interval
| Interval in seconds that elapses between the transmission of hello packets on the interface.
|
OSPF Dead Time
| Number of seconds the PortMaster waits after ceasing to receive a neighbor router's hello packets and before identifying the remote router as unreachable.
|
show igmp
- This command displays current dynamic multicast groups, including local and dial-in client group members.
show igmp
- The PortMaster 4 supports IGMP multicast proxy on ComOS 4.1 and later releases.
- The PortMaster 4 displays a dynamic group table only--static groups cannot be added.
- The following example shows that IGMP multicast is enabled on Ether1. Its multicast broadcast address is 224.0.0.1. It listens for multicast broadcasts on 224.0.0.99.
Command 1> show igmp
|
multicast Source: ether1
|
|
Group: 224.0.0.1
|
ether1
|
Group: 224.0.0.99
|
ether1
|
- set Ether0 mproxy - page 4-9
set Ether0 mproxy on - page 4-10
Ethernet Subinterface Commands
- The PortMaster 4 supports the configuration of Ether0 on the manager module for multiple IP subnets. The MAC address for the subinterfaces is the same as that for the primary interface.
- Because Ethernet subinterfaces are rebuilt every time a new subinterface is added, they can be viewed but not modified with the ifconfig command.
Note ¯
RIP, OSPF, packet filtering, and route propagation are not supported on Ethernet subinterfaces.
- The commands in Table 4-2 configure and manage Ether0 for subinterfaces.
Table 4-2 Ethernet Subinterface Configuration
Command Syntax
|
|
---|
add subinterface Name
| - see page 4-15
|
delete subinterface Name
| - see page 4-16
|
set subinterface Name address Ipaddress [/NM ]|[Netmask]
| - see page 4-16
|
set subinterface Name broadcast high|low
| - see page 4-17
|
set subinterface Name netmask Netmask
| - see page 4-17
|
set subinterface Name port Portlabel
| - see page 4-18
|
show location Locname
| - see page 11-21
|
show table subinterface
| - see page 4-18
|
add subinterface
- This command adds a subinterface entry to the subinterface table.
add subinterface Name
Name
| Name of the subinterface configuration in the subinterface table. Name can contain up to 11 characters.
|
- The new interface is displayed in the ifconfig output of the subinterface is configured with an IP address and a port label. The interface name is system generated.
Example
Command> add subinterface net2
New subinterface net2 successfully added
See Also
show table subinterface - page 4-18
delete subinterface
- This command removes a subinterface entry from the table.
delete subinterface Name
Name
| Name of the subinterface configuration in the subinterface table. Name can contain up to 11 characters.
|
- You must use Name exactly as it is shown in the output of the show table subinterface command.
set subinterface address
- This command assigns an IP address or an IP address and netmask to the
- subinterface configuration.
set subinterface Name address Ipaddress [/NM ]|[Netmask ]
Name
| Name of the subinterface configuration. Name can contain up to 11 characters.
|
Ipaddress
| IP address or 39-character hostname.
|
/ NM
| Optional netmask--an integer between 1 and 32 that indicates the number of high-order bits set to 1. Enter a slash (/) between the IP address and the netmask in bits.
|
Netmask
| Optional netmask expressed in dotted decimal notation. Enter a space between the IP address and the netmask.
|
Examples
Command> set subinterface net2 address 192.168.11.1 255.255.255.0
Overlapping with interface et01
net2 changed from 192.168.11.1/24 to 192.168.11.1/24
Command> set subinterface net2 address 192.168.55.6/27
net2 changed from 192.168.55.6/24 to 192.168.55.6/27
set subinterface broadcast
- This command determines the broadcast address for the subinterface.
set subinterface Name broadcast high|low
Name
| Name of the subinterface configuration. Name can contain up to 11 characters.
|
high
| Uses a host part of all ones in the broadcast address.
|
low
| Uses a host part of all zeros in the broadcast address.
|
Example
Command> set subinterface net2 broadcast high
net2 broadcast address changed from low to high
See Also
set Ether0 broadcast - page 4-5
set subinterface netmask
- This command sets the netmask in dotted decimal notation for the subinterface configuration.
set subinterface Name netmask Netmask
Name
| Name of the subinterface configuration. Name can contain up to 11 characters.
|
Netmask
| Netmask expressed in dotted decimal notation.
|
- This command is not needed if you set the netmask using either the classless interdomain routing (CIDR) notation (/xx) or dotted decimal notation used in the set subinterface address command.
- set subinterface address - page 4-16
Example
Command> set subinterface net2 netmask 255.255.255.0
net2 netmask changed from 0.0.0.0 to 255.255.255.0
set subinterface port
- This command associates the subinterface configuration with a physical port.
set subinterface Name port Portlabel
Name
| The name of the subinterface configuration in the subinterface table. Name can be up to 11 characters.
|
Portlabel
| ether0.
|
Example
Command> set subinterface net2 port ether0
net2 changed from to ether0
show table subinterface
- This command displays the subinterface table.
show table subinterface
Example
Command> show table subinterface
Subinterface Interface Addr Netmask Broadcast Addr Port Name
------------ ---------------- ---------------- ---------------- ---------
- net2 192.168.55.6 255.255.255.0 192.168.55.255 ether0
[Top] [Table Of Contents] [Prev] [Next] [Index]
7 out of 25 total pages
spider@livingston.com
Copyright © 1999, Lucent Technologies. All rights
reserved.