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 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 Remote Address LSAP Address DSAP State Peer 00:40:cd:92:4b:7b 04 00:40:cd:92:4b:51 04 CONNECTED 50.50.50.50Displaying Details of a DLSw Circuit State
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:2240022c00 local addr:00:40:cd:92:4b:7b lsap:04 remote addr:00:40:cd:92:4b:51 dsap:04 remote peer address: 50.50.50.50 circuit state CONNECTED created time 200238 max btu size 1033 circuit priority 2
In addition to the local and remote MAC addresses, the created time of the circuit as well as the priority and maximum basic transmission unit (BTU) size are displayed.
Displaying DLSw PeersDisplay information about the DLSw peers on the network.
From the CLI, enter the show dlsw peers command.
user@host> show dlsw peers
Peer State Circuits 50.50.50.50 Connected 1 10.10.10.10 Connected 1
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: 50.50.50.50 State: Connected, Circuits: 7, Local address:10.10.10 Created time: 21977, Connected time: 4059 Receive initial pacing: 20, No circuits timeout: 300 Type-of-service value: 192 Statistics: Packets received: :0 Packets sent: :752 Bytes received :0 Bytes sent :10 CANUREACH_ex received :0 CANUREACH_ex sent :6 ICANREACH_ex received :6 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 DSLw router.
From the CLI, enter the show dlsw reachability command.
user@host> show dlsw reachability
MAC index MAC address Remote DLSw address
1 22:22:00:00:00:03 3.3.3.1
2 22:22:00:00:00:04 3.3.3.1
3 22:22:00:00:00:05 3.3.3.1
4 22:22:00:00:00:06 3.3.3.1
5 22:22:00:00:00:07 3.3.3.1
6 22:22:00:00:00:08 3.3.3.1
7 22:22:00:00:00:09 3.3.3.1
8 22:22:00:00:00:0a 3.3.3.1
9 22:22:00:00:00:0b 3.3.3.1
10 22:22:00:00:00:0c 3.3.3.1
11 00:0c:f1:e8:4e:ad 3.3.3.1
12 44:44:00:00:00:01 3.3.3.1
13 44:44:00:00:00:02 3.3.3.1
14 44:44:00:00:00:03 3.3.3.1
15 44:44:00:00:00:04 3.3.3.1
Displaying DLSw
Ethernet Redundancy Properties
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.