146 IBM 9077 SP Switch Router: Get Connected to the SP Switch
4.6.9.3 Editing Utility – Bredit
The
bredit utility is used to access and edit the /etc/bridged.conf
configuration file.
At this point, bredit runs a script in which you are asked if you want to make
the changes permanent. The script also gives you the option of signaling
bridged to reread the updated file immediately. When this option is taken,
bridged restarts as if it were stopped and restarted for the first time. If you
change the file in vi but do not choose either of the script options,
bredit
tells you that your changes were not committed.
If bridged is not running when bredit is used, the user is given the option of
saving changes to the configuration in /etc/bridged.conf so that the next time
bridged is started, the new changes take effect.
See an actual screen shot in Section 7.1.2, “ATM OC-3c Backbone - Using
Two Ports” on page 215.
4.6.10 Management Tools
A set of tools are provided to manage bridging, primarily through bridged.
Brief descriptions are provided here; more details are given in the
GRF
Configuration Guide 1.4,
GA22-7366
.
These tools include the brstat command which displays relevant bridged
status and bridging information and the
brinfo command which displays
relevant kernel-based bridging information.
4.6.10.1 brstat
The
brstat command provides a snapshot of state information directly from
bridged.
Output will look similar to the following:
Bridged Information:
Debug Level: 7, Trace Mask: 0xffffffff, Spanning Tree: Enabled
Log File: "/var/tmp/bridged.trace", Config File: "/etc/bridged.conf"
bridged started at: Wed Jun 17 14:13:16 1998
Bridge Group bg0
Spanning Tree: Enabled
Designated Root: [me]
Bridge ID: 32768 00:c0:80:89:2d:f2
Root Port: None
Topology Change Detected: No
Root Max Age: 20, Hello Time: 2, Forward Delay: 15
Bridge Max Age: 20, Hello Time: 2, Forward Delay: 15, Hold Time: 1
Path Desig Desig Desig