4-16 CHAPTER 4: COMMANDS
Basic IP Commands Table 4-13 describes basic IP commands.
Table 4-13 Basic IP Commands
Command Description
show ipconfig {vlan [<name> | all]} Displays configuration information for one or more
VLANs, including the following:
■ IP address, subnet mask
■ IP forwarding information
■ BOOTP configuration
■ VLAN name, VLANid
show ipstats {vlan [<name | all]} Displays statistics of packets handled by the CPU,
including the following:
■ inpackets, outpackets
■ ICMP/IGMP statistics
■ IRDP statistics
show ipfdb {<ipaddress> <netmask> | vlan
<name> | all}
Displays the contents of the IP forwarding database
table. Use for technical support purposes.
clear ipfdb [<ipaddress> <netmask> | vlan
<name> | all]
Allows you to clear the dynamic entries in the IP
forwarding database table.
enable ipforwarding {vlan <name> | all} Allows you to enable IP forwarding to an IP
interface. If “all” is specified, then all the
configured IP interfaces are affected. If no optional
argument is provided, the “all” is assumed. Other IP
configuration is not affected. When new IP
interfaces are added, the interface is configured to
have ipforwarding disabled by default.
disable ipforwarding {vlan <name> | all} Allows you to disable IP forwarding on one or all IP
interfaces.
enable ipforwarding broadcast
{vlan <name> | all}
Allows you to enable forwarding of IP broadcast
traffic on an IP interface. If “all” is specified, then all
the configured IP interfaces are affected. If no
optional argument is provided, then “all” is
assumed. Other IP configuration is not affected.
When new IP interfaces are added, the default is to
have broadcast enabled.
disable ipforwarding broadcast
{vlan <name> | all}
Allows you to disable IP broadcast forwarding on
one or all IP interfaces.
enable bootp vlan [<name> | all] Allows you to enable the generation and processing
of BOOTP packets on a VLAN. The default setting is
enabled for all VLANs.
(continued)
SW3800.BK Page 16 Tuesday, May 5, 1998 5:20 PM