Configuration of IP-Forwarding Media Cards 147
Interface Port ID Con State Cost Cost Bridge Port
--------- ------- --- ---------- ----- ----- ----------------------- -------
gf000 128 1 Yes Forwarding 10 0 [me] 128 1
gf001 128 2 Yes Forwarding 10 0 [me] 128 2
gf002 128 3 Yes Forwarding 10 0 [me] 128 3
gf003 128 4 Yes Forwarding 10 0 [me] 128 4
Bridge Group bg1
Spanning Tree: Enabled
Designated Root: 32768 00:c0:80:84:8c:eb
Bridge ID: 32768 00:c0:80:96:38:68
Root Port: ga010, Root Path Cost: 10
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
Interface Port ID Con State Cost Cost Bridge Port
--------- ------- --- ---------- ----- ----- ----------------------- -------
*ga010 128 1 Yes Forwarding 10 0 32768 00:c0:80:84:8c:eb 128 1
ga0180 128 2 Yes Blocking 10 0 32768 00:c0:80:84:8c:eb 128 2
4.6.10.2 brinfo
The
brinfo command is used to retrieve bridging interface information for
administrative debugging and other situations where a simple checking of
bridge port information is needed.
The
brinfo command prints the list of bridge groups and bridge ports
(underlying interfaces) that are members of the specified groups. If no groups
are specified, all groups are reported on by default. Remember that
brinfo
gets its information directly from the BSD kernel, whereas
brstat gets its
information from bridged.
See the
brinfo output for the same configuration as used for the brstat output
before:
Bridged Daemon: Running
Bridge group name: bg0
Flags:(0x3043) up broadcast running
Ports: 4
Port gf000: State (0xf) Forwarding
Flags: 0xb043 up broadcast running link0 link1 multicast
Bridging media: fddi bpdu
MAC address: 0:c0:80:89:2d:f2
Port gf001: State (0xf) Forwarding
Flags: 0xb043 up broadcast running link0 link1 multicast
Bridging media: fddi bpdu
MAC address: 0:c0:80:89:2d:f3
Port gf002: State (0xf) Forwarding
Flags: 0xb043 up broadcast running link0 link1 multicast
Bridging media: fddi bpdu
MAC address: 0:c0:80:89:2d:f4
Port gf003: State (0xf) Forwarding