Lucent Technologies P333T Switch User Manual


 
Chapter 5 Cajun Campus CLI (Command Line Interface)
46 Cajun P333T User’s Guide
Example:
These examples show how to add three default routes to the IP routing table:
Console> (enable) set ip route 149.49.48.0 192.122.173.42
Route added.
Console> (enable)
Console> (enable) set ip route 149.49.84.55 192.122.173.43
Route added.
Console> (enable)
Console> (enable) set ip route 10.0.0.0 192.122.173.44
Route added.
Console> (enable)
Set snmp community command
Use the set snmp community command to set SNMP communities and associated
access types.
There are three configurable SNMP communities, one for each access type. If you
do not specify the community string, the community string configured for that
access type is cleared. One community string should be configured for each access
type.
The syntax for this command is:
set snmp community
<read-only|read-
write|trap>[community_string]
read-only Assign read-only access to the specified SNMP
community.
read-write Assign read-write access to the specified SNMP
community.
trap Assign SNMP community to trap.
community_string (Optional) Name of the SNMP community.