Script started on Mon Jun 01 07:48:35 1998 vod# cd /etc/opt/SUNWatm/bin vod# ./aarstat -a for interface ba0: setup_state = setup-finished arpcsmode = client server_state = connected server_vci = 45 vod# ./qccstat ba0 ba0: linkstate=DL_ACTIVE outcalls=1 incalls=0 sig=UNI3.0 registered addresses: 47:00:05:80:ff:e1:00:00:00:f2:1c:18:85::08:00:20:84:c2:a1:00 outgoing calls: callref=2 vci=45 state=ACTIVE dir=OUTGOING sap=0x800 src=47:00:05:80:ff:e1:00:00:00:f2:1c:18:85::08:00:20:84:c2:a1:00 dst=47:00:05:80:ff:e1:00:00:00:f2:1c:18:7c::00:20:48:1c:18:7c:00 vod# cat /etc/atmconfig #pragma ident "@(#)atmconfig 1.7 96/09/07 SMI" #----------------------------------------------------------------------------- # # ATM configuration table - used at boot time to bring up ATM interfaces # # If the automatic configuration option is chosen while adding the SUNatm # package, entries in this file will be automatically created. # # Format # ------ # Interface UNI/Framing C_IP_Host LANE_Instance LANE_Host # # Fields are: # Interface - The physical interface, baN # UNI - The version of the UNI spec used, 3.0 or 3.1 # Framing - The framing interface used, SONET or SDH # C_IP_Host - The IP hostname used for Classical IP # LANE_Inst - The instance number for LAN Emulation interfaces; # lane interfaces will be called 'laneN', where N # is the instance number. # LANE_Host - The IP hostname used for LAN Emulation # # Comments are represented by '#' at the beginning of the line. # Unused fields are represented by '-'. # # Examples # -------- # # The following entries create: # - a LAN Emulation interface lane0, supporting UNI 3.1, on the # ba0 interface # - a Classical IP interface, supporting UNI 3.0, on ba1 # - an interface that supports both Classical IP and LAN Emulation # on ba2, using UNI 3.1. The LAN Emulation interface name is lane1. # # Interface UNI C_IP_Host LANE_Instance LANE_Host # # ba0 3.1 - 0 atm0 # # ba1 3.0 atm1 - - # # ba2 3.1 atm2 1 atm3 # # # Add ATM Configuration entries below #----------------------------------------------------------------------------- ba0 3.0 vod-a - - vod# cat /etc/aarconfig #pragma ident "@(#)aarconfig 1.18 96/06/03 SMI" #----------------------------------------------------------------------------- # # IP-ATM address table -- used by aarpd # # If the automatic configuration option is chosen while adding the SUNatm # package, entries in this file will be automatically created. # # Format # ------ # Interface Hostname ATM_Address VC Flag # # Fields are: # Interface The physical interface name, baN # Hostname The IP hostname associated with this interface # ATM_Address The 20-byte ATM address of the interface. The # first 13 bytes are defined by the switch, and # may be referred to as $prefix; the remaining 7 # bytes are generally the local MAC address and a # a one-byte selector 00. # VC A positive decimal integer which identifies a # Permanent Virtual Circuit (PVC). # Flag Identifies the entry type. # # Flags are: # l - assigns ATM address to local machine on ARP client or system that # doesn't use an ARP server # L - assigns ATM address to local machine on ARP server # t - adds an entry in the table of IP to ATM addresses # s - creates an entry to the ARP Server # a - restricts access to the specified address on ARP server # # # Variables # --------- # Since ATM addresses are very long, the use of variables to represent # portions of or entire ATM addresses is permitted. Several system- # defined variables are described below. Variables are referenced like # shell variables, with a '$' preceding the variable name. # # prefix the 13-byte prefix associated with the local switch. # mac the 6-byte MAC address associated with the local host, or # the local interface if one exists # sel the default 1-byte Selector for this interface. # macsel the concatenation of $mac:$sel. # myaddress the concatenation of $prefix:$mac:$sel. Should only be # used in `l' and `L' entries. # anymac wild card representing any 6-byte ESI. Should only be used # in `a' entries. # anymacsel wild card representing any 7-byte ESI and Selector. Should # only be used in `a' entries. # sunmacselN the concatenation of one of a set of reserved MAC addresses # (identified by N, which is a number in the range 0 - 199) # and $sel. Since this is meant to be used as a server # address, which may apply across several switches, it does # not include a prefix. The prefix must be explicitly # specified. # localswitch_server: the concatenation of $prefix, a reserved MAC # address, and $sel. May be used as the server # address in a one-switch network. On the server, # use of this as the local address also implies # restricted access to hosts on this switch only. # # In addition, user variables may be created: # # set switch1 = 45:00:00:00:00:00:00:00:0f:00:00:00:00 # # The variable $switch1 may then be used in address fields. # # Use of these variables is demonstrated in the examples that follow. # # # Examples # -------- # # The following lines show a basic ARP client aarconfig file. The # local address is specified, as well as the address of the ARP # server. The Hostname and VC fields are illegal for the local # host entry. # # Interface Hostname ATM_Address VC Flag # # ba0 - $myaddress - l # ba0 - $localswitch_server - s # # The following line shows an ARP server aarconfig file. Because # $localswitch_server is used as the server address, server access # will be limited to hosts connected directly to the same switch. # The Hostname and VC fields are illegal for the local host entry. # # Interface Hostname ATM_Address VC Flag # # ba0 - $localswitch_server - L # # Table entries to provide local address resolution for frequently # accessed hosts have the following format. Table entries can specify # either SVC connections by providing an ATM_Address, or PVC connections # by providing a VC. These lines may be added to the aarconfig file # after the 'l' or 'L' and 's' entry(s). # # Interface Hostname ATM_Address VC Flag # # ba0 host1 $switch1:08:00:20:13:00:10:00 - t # ba0 pvc_host1 - 110 t # # # # Add IP to ATM_Address or PVC entries below #----------------------------------------------------------------------------- ba0 - $myaddress - l ba0 - 47:00:05:80:ff:e1:00:00:00:f2:1c:18:7c:00:20:48:1c:18:7c:00 - s vod# exit vod# script done on Mon Jun 01 07:49:21 1998