To verify DLSw configuration, perform these tasks:
Verify the configuration of LLC type 2 properties on a Fast Ethernet interface.
From the CLI, enter the show interfaces fe-3/0/0 command.
- user@host# show interfaces fe-3/0/0
- fe-3/0/0 {
-
- unit 0 {
-
- family inet{
-
- address 172.5.20.1/24;
- }
- family llc2}
- }
- }
Verify that the output shows the intended LLC type 2 configuration. For more information about the format of a configuration file, see the J-series Services Router Basic LAN and WAN Access Configuration Guide.
Displaying DLSw CapabilitiesVerify DLSw capabilities of remote DLSw peers.
From the CLI, enter the show dlsw capabilities command.
user@host> show dlsw capabilities
Peer: 50.50.50.50
Vendor ID :000585
Version number :0200
Initial pacing window size :32
Version String
Juniper Networks, Inc. j2300 internet router
JUNOS Software Release 7.4I0 [builder]
Build date: 2005-07-15 07:13:17 UTC
Copyright (c) 1996-2005 Juniper Networks,Inc.
Compiled Wed 26–Jan-05 02:49 by pwade
Verify that the output correctly displays the capabilities of remote DLSw peers.
Displaying DLSw Circuit StateDisplay DLSw circuits currently established after configuration in Configuring Basic DLSw (Required).
From the CLI, enter the show dlsw circuits command.
user@host> show dlsw circuits
Local address LSAP Remote address DSAP Peer Uptime 22:22:00:00:00:06 04 44:44:00:00:00:06 04 18.255.18.2 00:06:42
The output shows a summary of DLSw circuits. Verify that the information is correct for your DLSw network.
Display the details of DLSw circuits currently established after configuration in Configuring Basic DLSw (Required).
From the CLI, enter the show dlsw circuits detail command.
user@host> show dlsw circuits detail
Circuit ID: 9ad20498aa04
Local address: 22:22:00:00:00:06, LSAP: 04
Remote address: 44:44:00:00:00:06, DSAP: 04
Remote peer address: 18.255.18.2
Circuit state: Connected
Uptime: 00:09:02
Max BTU size: 1466
Circuit priority: 3
Statistics:
I-frames received : 0
I-frames sent : 0
Bytes in I-frames received : 0
Bytes in I-frames sent : 0
I frames rejected : 0
Bytes in I-frames rejected : 0
I-frames retransmitted : 0
Bytes in retransmitted I-frames : 0
Reject frames received : 0
Reject frames sent : 0
XID frames received : 2
XID frames sent : 2
In addition to the local and remote MAC addresses, the priority, the maximum basic transmission unit (BTU) size, and the statistics are displayed.
Displaying DLSw PeersDisplay information about the DLSw peers on the network.
From the CLI, enter the show dlsw peers brief command.
user@host> show dlsw peers brief
Peer State Circuits Uptime 17.255.17.2 Connected 0 00:00:00 18.255.18.2 Connected 1 00:12:03
The output displays the number of active or inactive DLSw peers.
Displaying Details of DLSw PeersDisplay detailed information about DLSw peers on a network.
From the CLI, enter the show dlsw peers detail command.
user@host> show dlsw peers detail
Peer: 18.255.18.2
State: Connected, Circuits: 1, Local address: 10.255.4.50
Uptime: 00:15:05
Receive initial pacing: 20, No circuits timeout: 0
Type-of-service value: 0
Peer cost: 100, Load balancing: Circuit Weight
Circuit weight: 2
Statistics:
Data packets received : 0
Data packets sent : 0
Data bytes received : 0
Data bytes sent : 0
Control packets received : 7
Control packets sent : 8
CANUREACH_ex received : 0
CANUREACH_ex sent : 1
ICANREACH_ex received : 1
ICANREACH_ex sent : 0
The output displays the DLSw peer state and the following statistics:
Display information about the MAC cache entries and peer IP addresses currently maintained on the DLSw router.
From the CLI, enter the show dlsw reachability command.
user@host> show dlsw reachability
MAC index MAC address Location Peer/Interface
0 44:44:00:00:00:06 remote 192.168.17.2
192.168.18.2
1 22:22:00:00:00:06 local fe-0/0/1.0
The output displays the DLSw reachability details:
Display information about the DLSw Ethernet redundancy state.
From the CLI, enter the show llc2 redundancy brief command.
user@host> show llc2 redundancy brief
Interface Unit Group Int state ER state fe-0/0/0.0 0 0 up backup
The output displays the state of the group and the interface. It also indicates if the router is the master router or the backup router.
Displaying DLSw Ethernet Redundancy StatisticsDisplay statistics about the number of keepalives sent and received as well as errors detected.
From the CLI, enter the show llc2 redundancy interface statistics command.
user@host> show llc2 redundancy interface statistics
Interface: fe-0/0/0.0, Index: 68, Group:0 Interface ERED PDU statistics Advertisement sent :0 Advertisement received :33240 Interface ERED PDU error statistics Invalid ERED TTL value received :0
The output displays the number of advertisements sent and received as well as any invalid Ethernet redundancy time-to-live (TTL) packets.