D-Link xStack DGS-3400 Series Manual - 802.1X

Other manuals for xStack DGS-3400 Series: User Manual, Cli Reference Manual, Reference Manual, Reference Manual
Manual is about: Layer 2 Managed Gigabit Ethernet Switch

Summary of xStack DGS-3400 Series

  • Page 1

    ® cli manual product model : xstack ® dgs-3400 series layer 2+ gigabit ethernet managed switch release 2.6 ..

  • Page 2

    July 2009 651gs3400095g recyclable ..

  • Page 3

    Table of contents introduction ..........................................................................................................................................................1 using the console cli...............................................................................................

  • Page 4

    D–link single ip management (sim) commands ......................................................................................296 poe commands....................................................................................................................................................306 com...

  • Page 5: Ntroduction

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 1 1 i ntroduction the xstack ® dgs–3400 series is a member of the d–link xstack ® switch family. Xstack ® is a complete family of stackable switches that range from edge 10/100mbps switches to core gigabit switches. Xstack ® provides...

  • Page 6

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual b o o t p r o c e d u r e 1 . 0 0 – b 1 3 – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – - - - - - - - - - - - - - - - - - - - - - – – – – – – – – – – – – – – – – – – – p o w e r o n s e l f t e s t . ....

  • Page 7: Sing The

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 2 u sing the c onsole cli the switch supports a console management interface that allows the user to connect to the switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. The co...

  • Page 8

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 4 ? C a b l e _ d i a g p o r t s c l e a r c l e a r a d d r e s s _ b i n d i n g d h c p _ s n o o p b i n d i n g _ e n t r y p o r t s c l e a r a r p t a b l e c l e a r a t t a c k _ l o g c l e a r c o u n t e r s c l e a r d...

  • Page 9

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 5 d g s – 3 4 2 6 : 5 # c o n f i g a c c o u n t c o m m a n d : c o n f i f a c c o u n t n e x t p o s s i b l e c o m p l e t i o n s : d g s – 3 4 2 6 : 5 # c o n f i g a c c o u n t c o m m a n d : c o n f i f a c c o u n t n e...

  • Page 10

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 6 d g s – 3 4 2 6 : 5 # s h o w c o m m a n d : s h o w n e x t p o s s i b l e c o m p l e t i o n s : 8 0 2 . 1 p 8 0 2 . 1 x a c c e s s _ p r o f i l e a c c o u n t a c c o u n t i n g a c c t _ c l i e n t a d d r e s s _ b i n...

  • Page 11: Ommand

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 3 c ommand s yntax the following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the cli and available through the console interface uses t...

  • Page 15

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 11 to configure the user password of “dlink” account: d g s – 3 4 2 6 : 5 # c o n f i g a c c o u n t d l i n k c o m m a n d : c o n f i g a c c o u n t d l i n k e n t e r a o l d p a s s w o r d : * * * * e n t e r a c a s e - s e...

  • Page 16

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 12 enable password encryption purpose used to enable password encryption. Syntax enable password encryption description the user account configuration information will be stored in the configuration file, and can be applied to the sy...

  • Page 17

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 13 show module_info purpose used to display information about installed modules. Syntax show module_info description displays information about optional modules that may be installed on the switch. Parameters none. Restrictions none....

  • Page 18

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 14 show session purpose used to display a list of currently logged–in users. Syntax show session description this command displays a list of all the users that are logged–in at the time the command is issued. Parameters none. Restric...

  • Page 19

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 15 d g s – 3 4 2 6 : 5 # s h o w s w i t c h c o m m a n d : s h o w s w i t c h d e v i c e t y p e : d g s – 3 4 2 6 g i g a b i t e t h e r n e t s w i t c h m a c a d d r e s s : 0 0 – 0 1 – 0 2 – 0 3 – 0 4 – 0 5 i p a d d r e s ...

  • Page 20

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 16 d g s – 3 4 2 7 : 4 # s h o w s e r i a l _ p o r t c o m m a n d : s h o w s e r i a l _ p o r t b a u d r a t e : 1 1 5 2 0 0 d a t a b i t s : 8 p a r i t y b i t s : n o n e s t o p b i t s : 1 a u t o – l o g o u t : 1 0 m i ...

  • Page 21

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 17 d g s – 3 4 2 6 : 5 # e n a b l e c l i p a g i n g c o m m a n d : e n a b l e c l i p a g i n g s u c c e s s . D g s – 3 4 2 6 : 5 # disable clipaging purpose used to disable the pausing of the console screen scrolling at the e...

  • Page 22

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 18 enable telnet purpose used to enable communication with and management of the switch using the telnet protocol. Syntax enable telnet description this command is used to enable the telnet protocol on the switch. The user can specif...

  • Page 23

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 19 d g s – 3 4 2 6 : 5 # e n a b l e w e b 8 0 c o m m a n d : e n a b l e w e b 8 0 n o t e : s s l w i l l b e d i s a b l e d i f w e b i s e n a b l e d . S u c c e s s . D g s – 3 4 2 6 : 5 # disable web purpose used to disable ...

  • Page 24

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 20 reboot purpose used to restart the switch. Syntax reboot {} description this command is used to restart the switch. Parameters – this parameter is used to perform the command without prompt if a user enters /y for yesor /n for no....

  • Page 25

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 21 login purpose used to log in a user to the switch’s console. Syntax login description this command is used to initiate the login procedure. The user will be prompted for a username and password. Parameters none. Restrictions none....

  • Page 26

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 22 d g s - 3 4 2 6 : 5 # s h o w t r u s t e d _ h o s t c o m m a n d : s h o w t r u s t e d _ h o s t m a n a g e m e n t s t a t i o n s i p a d d r e s s - - - - - - - - - - - - - - - 1 0 . 0 . 0 . 0 / 8 t o t a l e n t r i e s ...

  • Page 29

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 25 d g s – 3 4 2 6 : 5 # s h o w p o r t s c o m m a n d : s h o w p o r t s p o r t p o r t s e t t i n g s c o n n e c t i o n a d d r e s s s t a t e s p e e d / d u p l e x / f l o w c t r l s p e e d / d u p l e x / f l o w c t ...

  • Page 30

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 26 d g s – 3 4 2 6 : 5 # s h o w p o r t s d e s c r i p t i o n c o m m a n d : s h o w p o r t s d e s c r i p t i o n p o r t p o r t s e t t i n g s c o n n e c t i o n a d d r e s s s t a t e s p e e d / d u p l e x / f l o w c ...

  • Page 32

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 28 d g s – 3 4 2 6 : 5 # c o n f i g p o r t _ s e c u r i t y p o r t s 1 : 1 – 1 : 5 a d m i n _ s t a t e e n a b l e m a x _ l e a r n i n g _ a d d r 5 l o c k _ a d d r e s s _ m o d e d e l e t e o n r e s e t c o m m a n d : ...

  • Page 33

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 29 clear port_security_entry purpose used to clear mac address entries learned from a specified port for the port security function. Syntax clear port_security_entry port description this command is used to clear mac address entries ...

  • Page 34

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 30 d g s – 3 4 2 6 : 5 # s h o w p o r t _ s e c u r i t y p o r t s 1 : 1 – 1 : 5 c o m m a n d : s h o w p o r t _ s e c u r i t y p o r t s 1 : 1 – 1 : 5 p o r t a d m i n s t a t e m a x . L e a r n i n g a d d r . L o c k a d d ...

  • Page 35: Tacking

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 31 7 s tacking c ommands the stacking configuration commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config box_priority current_box_id priorit...

  • Page 36

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 32 usage example: to change a box id: d g s – 3 4 2 6 : 5 # c o n f i g b o x _ i d c u r r e n t _ b o x _ i d 1 n e w _ b o x _ i d 2 c o m m a n d : c o n f i g b o x _ i d c u r r e n t _ b o x _ i d 1 n e w _ b o x _ i d 2 s u c...

  • Page 38

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 34 usage example: to display the stacking devices: d g s – 3 4 2 6 : 5 # s h o w s t a c k _ d e v i c e c o m m a n d : s h o w s t a c k _ d e v i c e b o x i d b o x t y p e h / w v e r s i o n s e r i a l n u m b e r - - - - - - ...

  • Page 39: Etwork

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 35 8 n etwork m anagement (snmp) c ommands the network management commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. The xstack ® dgs–3400 series supports the simpl...

  • Page 41

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 37 disable snmp purpose used to disable snmp on the switch. Syntax disable snmp description this command is used to disable the simple network management protocol (snmp) on the switch. Parameters none. Restrictions only administrator...

  • Page 44

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 40 d g s – 3 4 2 6 : 5 # c r e a t e s n m p u s e r d l i n k d e f a u l t e n c r y p t e d b y _ p a s s w o r d a u t h m d 5 c a n a d i a n p r i v n o n e c o m m a n d : c r e a t e s n m p u s e r d l i n k d e f a u l t e ...

  • Page 46

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 42 show snmp view purpose used to display an snmp view previously created on the switch. Syntax show snmp view {} description this command is used to display an snmp view previously created on the switch. Parameters − an alphanumeric...

  • Page 47

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 43 create snmp community purpose used to create an snmp community string to define the relationship between the snmp manager and an agent. The community string acts like a password to permit access to the agent on the switch. One or ...

  • Page 48

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 44 d g s – 3 4 2 6 : 5 # d e l e t e s n m p c o m m u n i t y d l i n k c o m m a n d : d e l e t e s n m p c o m m u n i t y d l i n k s u c c e s s . D g s – 3 4 2 6 : 5 # show snmp community purpose used to display snmp community...

  • Page 49

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 45 show snmp engineid purpose used to display the identification of the snmp engine on the switch. Syntax show snmp engineid description this command displays the identification of the snmp engine on the switch. Parameters none. Rest...

  • Page 50

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 46 create snmp group restrictions only administrator and operator-level users can issue this command. Example usage: to create an snmp group named “sg1:” d g s – 3 4 2 6 : 5 # c r e a t e s n m p g r o u p s g 1 v 3 n o a u t h _ n o...

  • Page 51

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 47 n o t i f y v i e w n a m e : r e s t r i c t e d s e c u r i t y m o d e l : s n m p v 3 s e c u r i t y l e v e l : n o a u t h n o p r i v g r o u p n a m e : p u b l i c r e a d v i e w n a m e : c o m m u n i t y v i e w w r ...

  • Page 54

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 50 d g s – 3 4 2 6 : 5 # s h o w s n m p h o s t c o m m a n d : s h o w s n m p h o s t s n m p h o s t t a b l e h o s t i p a d d r e s s s n m p v e r s i o n c o m m u n i t y n a m e / s n m p v 3 u s e r n a m e – – – – – – – ...

  • Page 55

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 51 d g s – 3 4 2 6 : 5 # e n a b l e s n m p t r a p s c o m m a n d : e n a b l e s n m p t r a p s s u c c e s s . D g s – 3 4 2 6 : 5 # enable snmp authenticate traps purpose used to enable snmp authentication trap support. Syntax...

  • Page 56

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 52 disable snmp traps purpose used to disable snmp trap support on the switch. Syntax disable snmp traps description this command is used to disable snmp trap support on the switch. Parameters none. Restrictions only administrator an...

  • Page 57

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 53 d g s – 3 4 2 6 : 5 # c o n f i g s n m p s y s t e m _ c o n t a c t m i s d e p a r t m e n t i i c o m m a n d : c o n f i g s n m p s y s t e m _ c o n t a c t m i s d e p a r t m e n t i i s u c c e s s . D g s – 3 4 2 6 : 5 ...

  • Page 58

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 54 to enable rmon: d g s – 3 4 2 6 : 5 # e n a b l e r m o n c o m m a n d : e n a b l e r m o n s u c c e s s . D g s – 3 4 2 6 : 5 # disable rmon purpose used to disable rmon on the switch. Syntax disable rmon description this comm...

  • Page 60

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 56 download • config − download a new configuration on the switch from a tftp server. • − the ipv4 address of the tftp server. • − the ipv6 address of the tftp server. • − the dos path and filename of the firmware or switch configura...

  • Page 62

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 58 d g s - 3 4 2 6 : 5 # c o n f i g f i r m w a r e i m a g e _ i d 1 b o o t _ u p c o m m a n d : c o n f i g f i r m w a r e i m a g e _ i d 1 b o o t _ u p s u c c e s s . D g s - 3 4 2 6 : 5 # show firmware information purpose ...

  • Page 64

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 60 d g s – 3 4 2 6 : 5 # s h o w c o n f i g c u r r e n t _ c o n f i g c o m m a n d : s h o w c o n f i g c u r r e n t _ c o n f i g # – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – ...

  • Page 66

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 62 d g s – 3 4 2 6 : 5 # u p l o a d a t t a c k _ l o g _ t o t f t p 1 0 . 5 3 . 1 3 . 2 3 c : \ a t t a c k l o g 1 u n i t 1 c o m m a n d : u p l o a d a t t a c k _ l o g _ t o t f t p 1 0 . 5 3 . 1 3 . 2 3 c : \ a t t a c k l ...

  • Page 67

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual d g s – 3 4 2 6 : 5 # enable autoconfig purpose used to activate the auto-configuration function for the switch. This will load a configuration from the tftp server specified in the reply. Syntax enable autoconfig description when au...

  • Page 68

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual d g s – 3 4 2 6 : 5 # c r e a t e i p r o u t e d e f a u l t 1 7 2 . 1 8 . 2 1 2 . 2 5 3 1 c o m m a n d : c r e a t e i p r o u t e d e f a u l t 1 7 2 . 1 8 . 2 1 2 . 2 5 3 1 s u c c e s s . D g s – 3 4 2 6 : 5 # d g s – 3 4 2 6 :...

  • Page 69

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 65 d g s – 3 4 2 6 : 5 # s h o w a u t o c o n f i g c o m m a n d : s h o w a u t o c o n f i g a u t o c o n f i g s t a t e : d i s a b l e d . D g s – 3 4 2 6 : 5 # ping purpose used to test the connectivity between network devic...

  • Page 70

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 66 example usage: to ping the ipv6 address 2009::280:c8ff:fe3c:5c8a four times: d g s – 3 4 2 6 : 5 # p i n g 6 2 0 0 9 : : 2 8 0 : c 8 f f : f e 3 c : 5 c 8 a t i m e s 4 t i m e o u t 1 0 c o m m a n d : p i n g 6 2 0 0 9 : : 2 8 0...

  • Page 71: Etwork

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 67 10 n etwork m onitoring c ommands the network monitoring commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters show packet ports show error ports...

  • Page 72

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 68 example usage: to display the packets analysis for port 7 of switch 1: d g s – 3 4 2 6 : 5 # s h o w p a c k e t p o r t s 1 : 7 c o m m a n d : s h o w p a c k e t p o r t s 1 : 7 p o r t n u m b e r : 1 : 7 = = = = = = = = = = =...

  • Page 73

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 69 d g s – 3 4 2 6 : 5 # s h o w e r r o r p o r t s 1 : 3 c o m m a n d : s h o w e r r o r p o r t s 1 : 3 p o r t n u m b e r : 1 : 3 r x f r a m e s t x f r a m e s - - - - - - - - - - - - - - - - - - c r c e r r o r 0 e x c e s ...

  • Page 74

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 70 d g s – 3 4 2 6 : 5 # s h o w u t i l i z a t i o n p o r t s c o m m a n d : s h o w u t i l i z a t i o n p o r t s p o r t t x / s e c r x / s e c u t i l p o r t t x / s e c r x / s e c u t i l – – – – – – – – – – – – – – – – ...

  • Page 75

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 71 clear counters purpose used to clear the switch’s statistics counters. Syntax clear counters {ports} description this command will clear the counters used by the switch to compile statistics. Parameters ports − specifies a port or...

  • Page 76

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 72 example usage: to display the switch history log: d g s – 3 4 2 6 : 5 # s h o w l o g i n d e x 1 – 5 c o m m a n d : s h o w l o g i n d e x 1 – 5 i n d e x d a t e t i m e l o g t e x t – – – – – – – – – – – – – – – – – – – – – ...

  • Page 78

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 74 create syslog host 18 local use 2 (local2) 19 local use 3 (local3) 20 local use 4 (local4) 21 local use 5 (local5) 22 local use 6 (local6) 23 local use 7 (local7) local0 − specifies that local use 0 messages will be sent to the re...

  • Page 79

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 75 config syslog host switch. Numerical severity code 0 emergency: system is unusable 1 alert: action must be taken immediately 2 critical: critical conditions 3 error: error conditions 4 warning: warning conditions 5 notice: normal ...

  • Page 80

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 76 config syslog host local5 − specifies that local use 5 messages will be sent to the remote host. This corresponds to number 21 from the list above. Local6 − specifies that local use 6 messages will be sent to the remote host. This...

  • Page 81

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 77 config syslog host all code 0 emergency: system is unusable 1 alert: action must be taken immediately 2 critical: critical conditions 3 error: error conditions 4 warning: warning conditions 5 notice: normal but significant conditi...

  • Page 82

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 78 config syslog host all local6 − specifies that local use 6 messages will be sent to the remote host. This corresponds to number 22 from the list above. Local7 − specifies that local use 7 messages will be sent to the remote host. ...

  • Page 83

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 79 d g s – 3 4 2 6 : 5 # d e l e t e s y s l o g h o s t 4 c o m m a n d : d e l e t e s y s l o g h o s t 4 s u c c e s s . D g s – 3 4 2 6 : 5 # show syslog host purpose used to display the syslog hosts currently configured on the ...

  • Page 86: Ultiple

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 82 11 m ultiple s panning t ree p rotocol (mstp) c ommands this switch supports three versions of the spanning tree protocol; 802.1d stp, 802.1w rapid stp and 802.1s mstp. Multiple spanning tree protocol, or mstp, is a standard defin...

  • Page 87

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 83 command parameters show stp mst_config_id each command is listed, in detail, in the following sections. Enable stp purpose used to globally enable stp on the switch. Syntax enable stp description this command allows the spanning t...

  • Page 88

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 84 config stp version restrictions only administrator and operator-level users can issue this command. Example usage: to set the switch globally for the multiple spanning tree protocol (mstp): d g s – 3 4 2 6 : 5 # c o n f i g s t p ...

  • Page 90

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 86 config stp ports loops, however an edge port can lose edge port status if a topology change creates a potential for a loop. An edge port normally should not receive bpdu packets. If a bpdu packet is received it automatically loses...

  • Page 91

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 87 d g s – 3 4 2 6 : 5 # c r e a t e s t p i n s t a n c e _ i d 2 c o m m a n d : c r e a t e s t p i n s t a n c e _ i d 2 s u c c e s s . D g s – 3 4 2 6 : 5 # config stp instance_id purpose used to add or delete vlans for instanc...

  • Page 92

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 88 delete stp instance_id purpose used to delete a stp instance id from the switch. Syntax delete stp instance_id description this command allows the user to delete a previously configured stp instance id from the switch. Parameters ...

  • Page 93

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 89 config stp mst_config_id parameters revision_level – enter a number between 0 and 65535 to identify the mstp region. This value, along with the name will identify the mstp region configured on the switch. The default setting is 0....

  • Page 94

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 90 to designate ports 1 to 2 on module 1, with instance id 0, to have an auto internalcost and a priority of 0: d g s – 3 4 2 6 : 5 # c o n f i g s t p m s t _ p o r t s 1 : 1 – 1 : 2 i n s t a n c e _ i d 0 i n t e r n a l c o s t a...

  • Page 95

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 91 status 3 : stp enabled for mstp d g s – 3 4 2 6 : 5 # s h o w s t p c o m m a n d : s h o w s t p s t p b r i d g e g l o b a l s e t t i n g s – – – – – – – – – – – – – – – – – – – – – – – – – – – s t p s t a t u s : e n a b l e ...

  • Page 96

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 92 show stp instance purpose used to display the switch’s stp instance configuration syntax show stp instance description this command is used to display the switch’s current stp instance settings and the stp instance operational sta...

  • Page 97

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 93 d g s – 3 4 2 6 : 5 # s h o w s t p m s t _ c o n f i g _ i d c o m m a n d : s h o w s t p m s t _ c o n f i g _ i d c u r r e n t m s t c o n f i g u r a t i o n i d e n t i f i c a t i o n – – – – – – – – – – – – – – – – – – – ...

  • Page 98: Orwarding

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 94 12 f orwarding d atabase c ommands the layer 2 forwarding database commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create fdb port create m...

  • Page 99

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 95 create multicast_fdb purpose used to create a static entry to the multicast mac address forwarding table (database) syntax create multicast_fdb description this command is used to make an entry in the switch’s multicast mac addres...

  • Page 100

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 96 config fdb aging_time purpose used to set the aging time of the forwarding database. Syntax config fdb aging_time description the aging time affects the learning process of the switch. Dynamic forwarding table entries, which are m...

  • Page 101

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 97 d g s – 3 4 2 6 : 5 # d e l e t e f d b d e f a u l t 0 1 – 0 0 – 0 0 – 0 0 – 0 1 – 0 2 c o m m a n d : d e l e t e f d b d e f a u l t 0 1 – 0 0 – 0 0 – 0 0 – 0 1 – 0 2 s u c c e s s . D g s – 3 4 2 6 : 5 # clear fdb purpose used...

  • Page 102

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 98 d g s – 3 4 2 6 : 5 # s h o w m u l t i c a s t _ f d b v l a n d e f a u l t c o m m a n d : s h o w m u l t i c a s t _ f d b v l a n d e f a u l t v l a n n a m e : d e f a u l t m a c a d d r e s s : 0 1 – 0 0 – 5 e – 0 0 – 0 ...

  • Page 103

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 99 d g s – 3 4 2 6 : 5 # s h o w f d b c o m m a n d : s h o w f d b u n i c a s t m a c a d d r e s s a g i n g t i m e = 3 0 0 v i d v l a n n a m e m a c a d d r e s s p o r t t y p e – – – – – – – – – – – – – – – – – – – – – – – ...

  • Page 104

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 100 show multicast filtering_mode purpose used to show the multicast packet filtering mode as configured for the vlans. Syntax show multicast filtering_mode {vlan } description this command is used to display the current multicast pa...

  • Page 105

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 101 d g s – 3 4 2 6 : 5 # s h o w i p f d b c o m m a n d : s h o w i p f d b i n t e r f a c e i p a d d r e s s p o r t l e a r n e d – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – s y s t e...

  • Page 106: Raffic

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 102 13 t raffic c ontrol c ommands on a computer network, packets such as multicast packets and broadcast packets continually flood the network as normal procedure. At times, this traffic may increase do to a malicious endstation on ...

  • Page 108

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 104 example usage: to configure traffic control and enable broadcast storm control system wide: d g s – 3 4 2 6 : 5 # c o n f i g t r a f f i c c o n t r o l a l l b r o a d c a s t e n a b l e c o m m a n d : c o n f i g t r a f f i...

  • Page 109

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 105 example usage: to configure traffic control and enable broadcast storm control system wide: d g s – 3 4 2 6 : 5 # c o n f i g t r a f f i c t r a p s t o r m _ o c c u r r e d c o m m a n d : c o n f i g t r a f f i c t r a p s t...

  • Page 110: Ommands

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 106 14 q o s c ommands the xstack ® dgs–3400 series supports 802.1p priority queuing. The switch has eight priority queues, one of which is internal and not configurable. These priority queues are numbered from 6 (class 6) — the high...

  • Page 112

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 108 show bandwidth_control purpose used to display the bandwidth control table. Syntax show bandwidth_control {} description this command is used to display the current bandwidth control configuration on the switch, on a port–by–port...

  • Page 113

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 109 config scheduling purpose used to configure the traffic scheduling mechanism for each qos queue. Syntax config scheduling {max_packet } (1) description the switch contains eight hardware priority queues, one of which is internal ...

  • Page 114

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 110 d g s – 3 4 2 6 : 5 # s h o w s c h e d u l i n g c o m m a n d : s h o w s c h e d u l i n g q o s o u t p u t s c h e d u l i n g c l a s s i d m a x . P a c k e t s – – – – – – – – – – – – – – – – – – – – – – – – c l a s s – 0...

  • Page 115

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 111 show 802.1p user_priority purpose used to display the current mapping between an incoming packet’s 802.1p priority value and one of the switch’s seven hardware priority queues. Syntax show 802.1p user_priority description this co...

  • Page 116

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 112 example usage: to configure 802.1p default priority on the switch: d g s – 3 4 2 6 : 5 # c o n f i g 8 0 2 . 1 p d e f a u l t _ p r i o r i t y a l l 5 c o m m a n d : c o n f i g 8 0 2 . 1 p d e f a u l t _ p r i o r i t y a l ...

  • Page 118

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 114 d g s – 3 4 2 6 : 5 # s h o w s c h e d u l i n g _ m e c h a n i s m c o m m a n d : s h o w s c h e d u l i n g _ m e c h a n i s m q o s s c h e d u l i n g _ m e c h a n i s m c l a s s i d m e c h a n i s m – – – – – – – – –...

  • Page 119

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 115 show hol_prevention purpose used to show hol prevention. Syntax show hol_prevention description this command is used to display the head of line prevention state. Parameters none. Restrictions none. Example usage: to view the hol...

  • Page 121

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 117 to add the mirroring ports: d g s – 3 4 2 6 : 5 # c o n f i g m i r r o r p o r t 1 : 1 a d d s o u r c e p o r t s 1 : 2 – 1 : 7 b o t h c o m m a n d : c o n f i g m i r r o r p o r t 1 : 1 a d d s o u r c e p o r t s 1 : 2 – 1...

  • Page 122

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 118 d g s – 3 4 2 6 : 5 # d i s a b l e m i r r o r c o m m a n d : d i s a b l e m i r r o r s u c c e s s . D g s – 3 4 2 6 : 5 # show mirror purpose used to show the current port mirroring configuration on the switch. Syntax show ...

  • Page 123: Vlan

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 119 16 vlan c ommands along with normal vlan configurations, this switch now incorporate q-in-q vlans. Also known as double vlans, q-in-q vlans allow network providers to expand their vlan configurations to place vlans within a large...

  • Page 127

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 123 d g s – 3 4 2 6 : 5 # e n a b l e g v r p c o m m a n d : e n a b l e g v r p s u c c e s s . D g s – 3 4 2 6 : 5 # disable gvrp purpose used to disable gvrp on the switch. Syntax disable gvrp description this command, along with...

  • Page 128

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 124 d g s - 3 4 2 6 : 5 # s h o w v l a n c o m m a n d : s h o w v l a n v i d : 1 v l a n n a m e : d e f a u l t v l a n t y p e : s t a t i c a d v e r t i s e m e n t : e n a b l e d m e m b e r p o r t s : 1 : 1 - 1 : 2 4 s t a...

  • Page 129

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 125 d g s – 3 4 2 6 : 5 # s h o w g v r p c o m m a n d : s h o w g v r p g l o b a l g v r p : d i s a b l e d p o r t p v i d g v r p i n g r e s s c h e c k i n g a c c e p t a b l e f r a m e t y p e – – – – – – – – – – – – – – –...

  • Page 130

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 126 disable double_vlan purpose used to disable the q-in-q vlan feature on the switch. Syntax disable double_vlan description this command, along with the enable double_vlan command, enables and disables the q-in-q tag vlan. When q-i...

  • Page 132

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 128 d g s – 3 4 2 6 : 5 # c o n f i g d o u b l e _ v l a n t i b e r i u s d e l e t e 1 : 4 – 1 : 8 c o m m a n d : c o n f i g d o u b l e _ v l a n t i b e r i u s d e l e t e 1 : 4 – 1 : 8 s u c c e s s . D g s – 3 4 2 6 : 5 # s...

  • Page 133

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 129 d g s – 3 4 2 6 : 5 # e n a b l e p v i d a u t o _ a s s i g n c o m m a n d : e n a b l e p v i d a u t o _ a s s i g n s u c c e s s . D g s – 3 4 2 6 : 5 # disable pvid auto_assign purpose used to disable auto–assign pvid syn...

  • Page 134: Ism

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 130 17 ism vlan c ommands the ism vlan commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create igmp_snooping multicast_vlan delete igmp_snoopin...

  • Page 135

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 131 d g s – 3 4 2 6 : 5 # d e l e t e i g m p _ s n o o p i n g m u l t i c a s t _ v l a n t e s t c o m m a n d : d e l e t e i g m p _ s n o o p i n g m u l t i c a s t _ v l a n t e s t s u c c e s s . D g s – 3 4 2 6 : 5 # confi...

  • Page 136

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 132 d g s – 3 4 2 6 : 5 # c o n f i g v l a n d e f a u l t d e l e t e 1 0 – 2 0 c o m m a n d : c o n f i g v l a n d e f a u l t d e l e t e 1 0 – 2 0 s u c c e s s . D g s – 3 4 2 6 : 5 # c r e a t e v l a n v 1 0 c o m m a n d :...

  • Page 137

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 133 d g s – 3 4 2 6 : 5 # c o n f i g i g m p _ s n o o p i n g m u l t i c a s t _ v l a n _ g r o u p t e s t a d d 2 2 5 . 1 . 1 . 1 – 2 2 5 . 1 . 1 . 1 0 , 2 2 5 . 1 . 1 . 2 0 c o m m a n d : c o n f i g i g m p _ s n o o p i n g...

  • Page 138: Ink

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 18 l ink a ggregation c ommands the link aggregation commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create link_aggregation group_id {type [l...

  • Page 139

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 135 delete link_aggregation group_id purpose used to delete a previously configured link aggregation group. Syntax delete link_aggregation group_id description this command is used to delete a previously configured link aggregation g...

  • Page 140

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 136 d g s – 3 4 2 6 : 5 # c o n f i g l i n k _ a g g r e g a t i o n g r o u p _ i d 1 m a s t e r _ p o r t 1 : 5 p o r t s 1 : 5 – 1 : 7 , 1 : 9 c o m m a n d : c o n f i g l i n k _ a g g r e g a t i o n g r o u p _ i d 1 m a s t...

  • Page 141

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 137 d g s – 3 4 2 6 : 5 # s h o w l i n k _ a g g r e g a t i o n c o m m a n d : s h o w l i n k _ a g g r e g a t i o n l i n k a g g r e g a t i o n a l g o r i t h m = m a c – s o u r c e – d e s t g r o u p i d : 1 t y p e : l a...

  • Page 142

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 138 show lacp_port purpose used to display current lacp port mode settings. Syntax show lacp_port {} description this command is used to display the lacp mode settings as they are currently configured. Parameters – specifies a port o...

  • Page 143: Ip–Mac-P

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 19 ip–mac-p ort b inding (impb) c ommands the ip network layer uses a four–byte ip address. The ethernet link layer uses a six–byte mac address. Binding these two address types together allows the transmission of data between the lay...

  • Page 145

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 141 d g s – 3 4 2 6 : 5 # c r e a t e a d d r e s s _ b i n d i n g i p _ m a c i p a d d r e s s 1 0 . 1 . 1 . 3 m a c _ a d d r e s s 0 0 – 0 0 – 0 0 – 0 0 – 0 0 – 0 4 c o m m a n d : c r e a t e a d d r e s s _ b i n d i n g i p _...

  • Page 147

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 143 config address_binding ip_mac ports port with its impb entries. If the ip-mac pair in the packet matches the impb entry, the mac address will be unblocked and subsequent packets sent from this client will be forwarded. On the oth...

  • Page 148

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 144 d g s – 3 4 2 6 : 5 # c o n f i g a d d r e s s _ b i n d i n g i p _ m a c p o r t s 1 : 2 s t a t e e n a b l e c o m m a n d : c o n f i g a d d r e s s _ b i n d i n g i p _ m a c p o r t s 1 : 2 s t a t e e n a b l e s u c c...

  • Page 150

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 146 disable address_binding trap_log purpose used to disable the trap/log for the ip–mac-port binding function. Syntax disable address_binding trap_log description this command, along with the enable address_binding trap_log, will en...

  • Page 151

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 147 example usage: to disable impb debugging on the switch: d g s – 3 4 2 6 : 5 # n o d e b u g a d d r e s s _ b i n d i n g c o m m a n d : n o d e b u g a d d r e s s _ b i n d i n g s u c c e s s . D g s – 3 4 2 6 : 5 # enable ad...

  • Page 152

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 148 disable address_binding dhcp_snoop purpose to disable the dhcp snooping option for impb. Syntax disable address_binding dhcp_snoop description when the dhcp snoop function is disabled, all of the auto-learned binding entries will...

  • Page 153

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 149 dgs–3426:5#show address_binding dhcp_snoop command: show address_binding dhcp_snoop dhcp_snoop : enabled dgs–3426:5# to display an address binding dhcp snoop binding entry: note: “inactive” indicated that the entry is currently i...

  • Page 154

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 150 config address_binding dhcp_snoop max_entry ports purpose specifies the maximum number of entries which can be dynamically learned (dhcp snooped) by the specified ports. Syntax config address_binding dhcp_snoop max_entry ports [ ...

  • Page 156

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 152 d g s – 3 4 2 6 : 5 # c r e a t e i p i f p 1 1 0 . 1 . 1 . 1 / 8 t i b e r i u s s t a t e e n a b l e c o m m a n d : c r e a t e i p i f p 1 1 0 . 1 . 1 . 1 / 8 t i b e r i u s s t a t e e n a b l e s u c c e s s . D g s – 3 4...

  • Page 157

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 153 d g s – 3 4 2 6 : 5 # c o n f i g i p i f t i b e r i u s i p v 6 i p v 6 a d d r e s s 3 f f e : 5 0 1 : f f f f : 1 0 0 : : 1 / 6 4 c o m m a n d : c o n f i g i p i f t i b e r i u s i p v 6 i p v 6 a d d r e s s 3 f f e : 5 0...

  • Page 158

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 154 d g s – 3 4 2 6 : 5 # e n a b l e i p i f s 2 c o m m a n d : e n a b l e i p i f s 2 s u c c e s s . D g s – 3 4 2 6 : 5 # disable ipif purpose used to disable the configuration of an ip interface on the switch. Syntax disable i...

  • Page 159

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual enable autoconfig purpose used to activate the auto-configuration function for the switch. This will load a configuration file for current use. Syntax enable autoconfig description when auto-configuration is enabled on the switch, th...

  • Page 160

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 156 show autoconfig purpose used to display the auto-configuration status. Syntax show autoconfig description the command is used to display the auto-configuration status. Parameters none. Restrictions only administrator and operator...

  • Page 162: Eighbor

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 158 21 ip v 6 n eighbor d iscovery c ommands the following commands are used to detect ipv6 neighbors of the switch and to keep a running database about these neighbor devices. The ipv6 neighbor discovery commands in the command line...

  • Page 165

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 161 d g s – 3 4 2 6 : 5 # c o n f i g i p v 6 n d r a i p i f t r i t o n s t a t e e n a b l e l i f e _ t i m e 1 0 0 0 r e a c h a b l e _ t i m e 1 0 0 0 0 r e t r a n s _ t i m e 5 0 0 0 0 h o p _ l i m i t 1 0 m a n a g e d _ f...

  • Page 166

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 162 config ipv6 nd ns ipif purpose used to configure the parameters for neighbor solicitation messages to be sent from the switch. Syntax config ipv6 nd ns ipif retrans_time description this command is used to configure the parameter...

  • Page 167

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 163 example usage: to display the neighbor detection parameters for ipv6: d g s – 3 4 2 6 : 5 # s h o w i p v 6 n d c o m m a n d : s h o w i p v 6 n d i n t e r f a c e n a m e : s y s t e m h o p l i m i t : 6 4 n s r e t r a n s m...

  • Page 172

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual d g s – 3 4 2 6 : 5 # c o n f i g i g m p _ s n o o p i n g s t a t i c _ g r o u p v l a n i d 1 2 2 6 . 1 . 1 . 1 a d d 5 c o m m a n d : c o n f i g i g m p _ s n o o p i n g s t a t i c _ g r o u p v l a n i d 1 2 2 6 . 1 . 1 . 1...

  • Page 173

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 169 d g s – 3 4 2 6 : 5 # s h o w i g m p _ s n o o p i n g s t a t i c _ g r o u p c o m m a n d : s h o w i g m p _ s n o o p i n g s t a t i c _ g r o u p v l a n i d / n a m e i p a d d r e s s s t a t i c m e m b e r p o r t s -...

  • Page 175

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 171 disable igmp_snooping purpose used to disable igmp snooping on the switch. Syntax disable igmp_snooping {forward_mcrouter_only} description this command is used to disable igmp snooping on the switch. Igmp snooping can be disable...

  • Page 176

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 172 d g s – 3 4 2 6 : 5 # s h o w i g m p _ s n o o p i n g c o m m a n d : s h o w i g m p _ s n o o p i n g i g m p s n o o p i n g g l o b a l s t a t e : e n a b l e d m u l t i c a s t r o u t e r o n l y : e n a b l e d v l a n...

  • Page 177

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 173 show igmp_snooping group purpose used to display the current igmp snooping group configuration on the switch. Syntax show igmp_snooping group {vlan } description this command is used to display the current igmp snooping group con...

  • Page 178: Mld

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 174 23 mld s nooping c ommands multicast listener discovery (mld) snooping is an ipv6 function used similarly to igmp snooping in ipv4. It is used to discover ports on a vlan that are requesting multicast data. Instead of flooding al...

  • Page 179

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 175 enable mld_snooping purpose used to enable mld snooping globally on the switch. Syntax enable mld_snooping {forward_mcrouter_only} description this command, in conjunction with the disable mld_snooping will enable and disable mld...

  • Page 182

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 178 d g s – 3 4 2 6 : 5 # c o n f i g m l d _ s n o o p i n g m r o u t e r _ p o r t s _ f o r b i d d e n d e f a u l t a d d 1 : 1 1 – 1 : 2 0 c o m m a n d : c o n f i g m l d _ s n o o p i n g m r o u t e r _ p o r t s _ f o r b...

  • Page 183

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual note: the robustness variable of the mld snooping querier is used in creating the following mld message intervals: group listener interval – this is the amount of time that must pass before a multicast router decides that there are n...

  • Page 184

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 180 show mld_snooping group purpose used to display mld snooping group configurations on the switch. Syntax show mld_snooping group {vlan } description this command is used to display mld snooping group configurations on the switch. ...

  • Page 185

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 181 to display the mld snooping multicast router port settings: d g s – 3 4 2 6 : 5 # s h o w m l d _ s n o o p i n g m r o u t e r _ p o r t s c o m m a n d s : s h o w m l d _ s n o o p i n g m r o u t e r _ p o r t s v l a n n a m...

  • Page 186: Imited

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 182 24 l imited ip m ulticast a ddress (igmp f iltering ) the limited ip multicast address(igmp filtering)commands allow users to specify which multicast address(es) reports are to be received on specified ports on the switch. This f...

  • Page 188

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 184 d g s – 3 4 2 6 : 5 # s h o w l i m i t e d m u l t i c a s t a d d r e s s 1 : 1 – 1 : 3 c o m m a n d : s h o w l i m i t e d m u l t i c a s t a d d r e s s 1 : 1 – 1 : 3 p o r t f r o m t o a c c e s s s t a t u s – – – – – –...

  • Page 189: 802.1X

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 185 25 802.1x c ommands the xstack ® dgs–3400 implements the server–side of the ieee 802.1x port–based and mac–based network access control. This mechanism is intended to allow only authorized users, or other network devices, access ...

  • Page 191

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 187 d g s – 3 4 2 6 : 5 # d i s a b l e 8 0 2 . 1 x c o m m a n d : d i s a b l e 8 0 2 . 1 x s u c c e s s . D g s – 3 4 2 6 : 5 # show 802.1x purpose used to display the 802.1x general configurations on the switch. Syntax show 802....

  • Page 192

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 188 show 802.1x auth_configuration ports purpose used to display the current configuration of the 802.1x server on the switch. Syntax show 802.1x auth_configuration ports description this command is used to display the 802.1x port–ba...

  • Page 193

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 189 d g s – 3 4 2 6 : 5 # s h o w 8 0 2 . 1 x a u t h _ c o n f i g u r a t i o n p o r t s 1 : 1 c o m m a n d : s h o w 8 0 2 . 1 x a u t h _ c o n f i g u r a t i o n p o r t s 1 : 1 p o r t n u m b e r : 1 : 1 c a p a b i l i t y...

  • Page 194

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 190 mac 00-00-00-00-00-20 attempts to start authentication, mac address is followed by “(p)” to indicate the port-based mode authentication. Mac 00-00-00-00-00-21 failed to pass authentication, mac address is followed by “(p)” to ind...

  • Page 196

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 192 config 802.1x auth_parameter ports purpose used to configure the 802.1x authentication parameters on a range of ports. The default parameter will return all ports in the specified range to their default 802.1x settings. Syntax co...

  • Page 197

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 193 d g s – 3 4 2 6 : 5 # c o n f i g 8 0 2 . 1 x a u t h _ p a r a m e t e r p o r t s 1 : 1 – 1 : 2 0 d i r e c t i o n b o t h c o m m a n d : c o n f i g 8 0 2 . 1 x a u t h _ p a r a m e t e r p o r t s 1 : 1 – 1 : 2 0 d i r e c...

  • Page 200

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 196 d g s – 3 4 2 6 : 5 # c o n f i g r a d i u s d e l e t e 1 c o m m a n d : c o n f i g r a d i u s d e l e t e 1 s u c c e s s . D g s – 3 4 2 6 : 5 # config radius purpose used to configure the switch’s radius settings. Syntax ...

  • Page 201

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 197 to display radius settings on the switch: d g s – 3 4 2 6 : 5 # s h o w r a d i u s c o m m a n d : s h o w r a d i u s i n d e x i p a d d r e s s a u t h – p o r t a c c t – p o r t t i m e o u t r e t r a n s m i t k e y ( s e...

  • Page 202

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 198 d g s - 3 4 2 6 : 5 # s h o w 8 0 2 . 1 x u s e r c o m m a n d : s h o w 8 0 2 . 1 x u s e r c u r r e n t a c c o u n t s : u s e r n a m e p a s s w o r d - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 1 2 3 t o...

  • Page 203

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 199 show acct_client purpose used to display the current radius accounting client. Syntax show acct_client description this command is used to display the current radius accounting client currently configured on the switch. Parameter...

  • Page 204

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 200 d g s – 3 4 2 6 : 5 # s h o w a u t h _ c l i e n t c o m m a n d : s h o w a u t h _ c l i e n t r a d i u s a u t h c l i e n t = = > r a d i u s a u t h c l i e n t i n v a l i d s e r v e r a d d r e s s e s 0 r a d i u s a u...

  • Page 205

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 201 d g s – 3 4 2 6 : 5 # s h o w a u t h _ d i a g n o s t i c s p o r t s 1 : 1 6 c o m m a n d : s h o w a u t h _ d i a g n o s t i c s p o r t s 1 : 1 6 p o r t n u m b e r : 1 : 1 6 e n t e r s c o n n e c t i n g 0 e a p l o g...

  • Page 206

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 202 d g s – 3 4 2 6 : 5 # s h o w a u t h _ s e s s i o n _ s t a t i s t i c s p o r t s 1 : 1 6 c o m m a n d : s h o w a u t h _ s e s s i o n _ s t a t i s t i c s p o r t s 1 : 1 6 p o r t n u m b e r : 1 : 1 6 s e s s i o n o c...

  • Page 207

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 203 create 802.1x guest_vlan purpose used to configure a pre–existing vlan as a 802.1x guest vlan. Syntax create 802.1x guest_vlan description this command is used to configure a pre–defined vlan as a 802.1x guest vlan. Guest 802.1x ...

  • Page 208

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 204 d g s – 3 4 2 6 : 5 # c o n f i g 8 0 2 . 1 x g u e s t _ v l a n p o r t s 1 : 1 – 1 : 5 s t a t e e n a b l e c o m m a n d : c o n f i g 8 0 2 . 1 x g u e s t _ v l a n p o r t s 1 : 1 – 1 : 5 s t a t e e n a b l e w a r n i n...

  • Page 212

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 208 show accounting service restrictions none. Example usage: to display the accounting service: d g s – 3 4 2 6 : 5 # s h o w a c c o u n t i n g s e r v i c e c o m m a n d : s h o w a c c o u n t i n g s e r v i c e a c c o u n t ...

  • Page 213: Ccess

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 209 26 a ccess c ontrol l ist (acl) c ommands the xstack ® dgs–3400 implements access control lists that enable the switch to deny network access to specific devices or device groups based on ip settings and mac address. Access profi...

  • Page 215

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 211 create access_profile (for ethernet) purpose used to create an access profile on the switch by examining the ethernet part of the packet header. Masks entered can be combined with the values the switch finds in the specified fram...

  • Page 216

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 212 config access_profile profile_id (for ethernet) access profile when it is created with the create access_profile command. The lower the profile id, the higher the priority the rule will be given. Add access_id – adds an additiona...

  • Page 217

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 213 config access_profile profile_id (for ethernet) target port must be set. Deny – specifies that packets that match the access profile are not permitted to be forwarded by the switch and will be filtered. {time_range } – choose thi...

  • Page 218

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 214 create access_profile (ip) parameters • type − specifies that the switch will examine each frame’s igmp type field. • tcp − specifies that the switch will examine each frames transport control protocol (tcp) field. • src_port_mas...

  • Page 219

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 215 config access_profile profile_id (ip) parameters profile_id – enter an integer between 1 and 6 that is used to identify the access profile that will be configured with this command. This value is assigned to the access profile wh...

  • Page 220

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 216 config access_profile profile_id (ip) permit – specifies that packets that match the access profile are permitted to be forwarded by the switch. • priority − this parameter is specified if you want to re–write the 802.1p default ...

  • Page 221

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 217 create access_profile (packet content ) purpose used to create an access profile on the switch by examining the ethernet part of the packet header. Packet content masks entered will specify certain bytes of the packet header to b...

  • Page 222

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 218 config access_profile profile_id (packet content) description this command is used to set the rule for a previously configured access profile setting based on packet content mask. These rules will determine if the switch will for...

  • Page 223

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 219 config access_profile profile_id (packet content) deny – specifies that packets that match the access profile are not permitted to be forwarded by the switch and will be filtered. {time_range } – choose this parameter and enter t...

  • Page 224

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 220 d g s – 3 4 2 6 : 5 # c r e a t e a c c e s s _ p r o f i l e p r o f i l e _ i d 4 i p v 6 c l a s s f l o w l a b e l c o m m a n d : c r e a t e a c c e s s _ p r o f i l e p r o f i l e _ i d 4 i p v 6 c l a s s f l o w l a b...

  • Page 225

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 221 config access_profile profile_id (ipv6) • priority − this parameter is specified to re–write the 802.1p default priority previously set in the switch, which is used to determine the cos queue to which packets are forwarded to. On...

  • Page 227

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 223 d g s – 3 4 2 6 : 5 # s h o w a c c e s s _ p r o f i l e c o m m a n d : s h o w a c c e s s _ p r o f i l e a c c e s s p r o f i l e t a b l e a c c e s s p r o f i l e i d : 1 t y p e : e t h e r n e t = = = = = = = = = = = =...

  • Page 229

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 225 create cpu access_profile • offset_0–15 – enter a value in hex form to mask the packet from byte 0 to byte 15. • offset_16–31 – enter a value in hex form to mask the packet from byte 16 to byte 31. • offset_32–47 – enter a value ...

  • Page 230

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 226 d g s – 3 4 2 6 : 5 # d e l e t e c p u a c c e s s _ p r o f i l e p r o f i l e _ i d 1 c o m m a n d : d e l e t e c p u a c c e s s _ p r o f i l e p r o f i l e _ i d 1 s u c c e s s . D g s – 3 4 2 6 : 5 # config cpu access...

  • Page 231

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 227 config cpu access_profile profile_id parameters • source_ip − specifies that the access profile will apply to only packets with this source ip address. • destination_ip − specifies that the access profile will apply to only packe...

  • Page 233

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 229 d g s – 3 4 2 6 : 5 # s h o w c p u a c c e s s _ p r o f i l e c o m m a n d : s h o w c p u a c c e s s _ p r o f i l e c p u i n t e r f a c e f i l t e r i n g s t a t e : d i s a b l e d c p u i n t e r f a c e a c c e s s p...

  • Page 234: Ime

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 27 t ime r ange c ommands the time range commands are used in conjunction with the access profile commands listed in the previous chapter to determine a starting point and an ending point, based on days of the week, when an access pr...

  • Page 235

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 231 d g s – 3 4 2 6 : 5 # c o n f i g t i m e _ r a n g e t i m e 1 h o u r s s t a r t _ t i m e 6 : 3 0 : 0 0 e n d _ t i m e 2 1 : 4 0 : 0 0 w e e k d a y s m o n – f r i c o m m a n d : c o n f i g t i m e _ r a n g e t i m e 1 h...

  • Page 236: Afeguard

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 28 s afeguard e ngine c ommands periodically, malicious hosts on the network will attack the switch by utilizing packet flooding (arp storm) or other methods. These attacks may increase the cpu utilization beyond its capability. To a...

  • Page 238

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 234 d g s – 3 4 2 6 : 5 # s h o w s a f e g u a r d _ e n g i n e c o m m a n d : s h o w s a f e g u a r d _ e n g i n e s a f e g u a r d e n g i n e s t a t e : d i s a b l e d s a f e g u a r d e n g i n e c u r r e n t s t a t u...

  • Page 239: Raffic

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 235 29 t raffic s egmentation c ommands traffic segmentation allows you to further sub–divide vlans into smaller groups of ports that will help to reduce traffic on the vlan. The vlan rules take precedence, and then the traffic segme...

  • Page 240

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 236 show traffic_segmentation purpose used to display the current traffic segmentation configuration on the switch. Syntax show traffic_segmentation {} description this command is used to display the current traffic segmentation conf...

  • Page 241: Ime and

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 237 30 t ime and sntp c ommands the simple network time protocol (sntp) (an adaptation of the network time protocol (ntp)) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the followi...

  • Page 242

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 238 show sntp purpose used to display the sntp information. Syntax show sntp description this command is used to display sntp settings information including the source ip address, time and poll interval. Parameters none. Restrictions...

  • Page 243

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 239 to disable sntp: d g s – 3 4 2 6 : 5 # d i s a b l e s n t p c o m m a n d : d i s a b l e s n t p s u c c e s s . D g s – 3 4 2 6 : 5 # config time purpose used to manually configure system time and date settings. Syntax config ...

  • Page 244

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 240 d g s – 3 4 2 6 : 5 # c o n f i g t i m e _ z o n e o p e r a t o r + h o u r 2 m i n 3 0 c o m m a n d : c o n f i g t i m e _ z o n e o p e r a t o r + h o u r 2 m i n 3 0 s u c c e s s . D g s – 3 4 2 6 : 5 # config dst purpos...

  • Page 247

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 243 d g s – 3 $ 0 0 : 4 # c o n f i g d h c p _ r e l a y h o p s 2 t i m e 2 3 c o m m a n d : c o n f i g d h c p _ r e l a y h o p s 2 t i m e 2 3 s u c c e s s . D g s – 3 4 2 6 : 5 # config dhcp_relay add ipif purpose used to ad...

  • Page 249

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 245 d g s – 3 4 2 6 : 5 # c o n f i g d h c p _ r e l a y o p t i o n _ 8 2 c h e c k e n a b l e c o m m a n d : c o n f i g d h c p _ r e l a y o p t i o n _ 8 2 c h e c k e n a b l e s u c c e s s . D g s – 3 4 2 6 : 5 # config dh...

  • Page 250

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 246 d g s – 3 4 2 6 : 5 # s h o w d h c p _ r e l a y c o m m a n d : s h o w d h c p _ r e l a y d h c p / b o o t p r e l a y s t a t u s : e n a b l e d d h c p / b o o t p h o p s c o u n t l i m i t : 2 d h c p / b o o t p r e l...

  • Page 251

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 247 disable dhcp_relay purpose used to disable the dhcp/bootp relay function on the switch. Syntax disable dhcp_relay description this command is used to disable the dhcp/bootp relay function on the switch. Parameters none. Restricti...

  • Page 254

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 250 d g s – 3 4 2 6 : 5 # s h o w d h c p _ r e l a y o p t i o n _ 6 0 c o m m a n d : s h o w d h c p _ r e l a y o p t i o n _ 6 0 d e f a u l t p r o c e s s i n g m o d e : d r o p d e f a u l t s e r v e r s : m a t c h i n g r...

  • Page 257: Outing

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 253 32 r outing t able c ommands the switch supports only static routing for ipv4 and ipv6 formatted addressing. Users can create up to 128 static route entries for ipv4 and ipv6 combined. Manually configured static and the local rou...

  • Page 258

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 254 d g s - 3 4 2 6 : 5 # c r e a t e i p r o u t e 1 0 . 4 8 . 7 4 . 1 2 1 / 8 1 0 . 1 . 1 . 2 5 5 p r i m a r y c o m m a n d : c r e a t e i p r o u t e 1 0 . 4 8 . 7 4 . 1 2 1 / 8 1 0 . 1 . 1 . 2 5 5 p r i m a r y s u c c e s s ....

  • Page 259

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 255 d g s - 3 4 2 6 p : 5 # s h o w i p r o u t e s t a t i c c o m m a n d : s h o w i p r o u t e s t a t i c r o u t i n g t a b l e i p a d d r e s s / n e t m a s k g a t e w a y c o s t p r o t o c o l b a c k u p s t a t u s -...

  • Page 261

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 257 d g s – 3 4 2 6 : 5 # s h o w i p v 6 r o u t e c o m m a n d : s h o w i p v 6 r o u t e r o u t i n g t a b l e i p v 6 p r e f i x : 1 2 3 4 : : / 3 2 p r o t o c o l : s t a t i c m e t r i c : 1 n e x t h o p : 2 d 3 0 : : a...

  • Page 262: Mac

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 258 33 mac n otification c ommands the mac notification commands in the command line interface (cli) are listed, in the following table, along with their appropriate parameters. Command parameters enable mac_notification disable mac_...

  • Page 263

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 259 d g s – 3 4 2 6 : 5 # d i s a b l e m a c _ n o t i f i c a t i o n c o m m a n d : d i s a b l e m a c _ n o t i f i c a t i o n s u c c e s s . D g s – 3 4 2 6 : 5 # config mac_notification purpose used to configure mac address...

  • Page 264

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 260 d g s – 3 4 2 6 : 5 # c o n f i g m a c _ n o t i f i c a t i o n p o r t s 1 : 7 e n a b l e c o m m a n d : c o n f i g m a c _ n o t i f i c a t i o n p o r t s 1 : 7 e n a b l e s u c c e s s . D g s – 3 4 2 6 : 5 # show mac_...

  • Page 265

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 261 d g s – 3 4 2 6 : 5 # s h o w m a c _ n o t i f i c a t i o n p o r t s c o m m a n d : s h o w m a c _ n o t i f i c a t i o n p o r t s p o r t # m a c a d d r e s s t a b l e n o t i f i c a t i o n s t a t e – – – – – – – – –...

  • Page 266: Ccess

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 34 a ccess a uthentication c ontrol c ommands the tacacs / xtacacs / tacacs+ / radius commands allows users secure access to the switch using the tacacs / xtacacs / tacacs+ / radius protocols. When a user logs in to the switch or tri...

  • Page 268

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 264 enable authen_policy purpose used to enable system access authentication policy. Syntax enable authen_policy description this command is used to enable an administrator–defined authentication policy for users trying to access the...

  • Page 269

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 265 d g s – 3 4 2 6 : 5 # s h o w a u t h e n _ p o l i c y c o m m a n d : s h o w a u t h e n _ p o l i c y a u t h e n t i c a t i o n p o l i c y : e n a b l e d d g s – 3 4 2 6 : 5 # create authen_login method_list_name purpose ...

  • Page 270

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual config authen_login parameters the tacacs protocol from the remote tacacs server hosts of the tacacs server group list. ƒ xtacacs – adding this parameter will require the user to be authenticated using the xtacacs protocol from the r...

  • Page 271

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 267 d g s – 3 4 2 6 : 5 # c o n f i g a u t h e n _ l o g i n d e f a u l t m e t h o d x t a c a c s t a c a c s + l o c a l c o m m a n d : c o n f i g a u t h e n _ l o g i n d e f a u l t m e t h o d x t a c a c s t a c a c s + l...

  • Page 272

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 268 example usage: to view the authentication login method list named tiberius: d g s – 3 4 2 6 : 5 # s h o w a u t h e n _ l o g i n m e t h o d _ l i s t _ n a m e t i b e r i u s c o m m a n d : s h o w a u t h e n _ l o g i n m e...

  • Page 273

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 269 config authen_enable that point, the switch will restart the same sequence with the following protocol listed, xtacacs. If no authentication takes place using the xtacacs list, the local_enable password set in the switch is used ...

  • Page 274

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 270 d g s – 3 4 2 6 : 5 # c o n f i g a u t h e n _ e n a b l e m e t h o d _ l i s t _ n a m e t i b e r i u s m e t h o d t a c a c s x t a c a c s l o c a l c o m m a n d : c o n f i g a u t h e n _ e n a b l e m e t h o d _ l i s...

  • Page 277

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 273 d g s – 3 4 2 6 : 5 # s h o w a u t h e n a p p l i c a t i o n c o m m a n d : s h o w a u t h e n a p p l i c a t i o n a p p l i c a t i o n l o g i n m e t h o d l i s t e n a b l e m e t h o d l i s t – – – – – – – – – – – –...

  • Page 278

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 274 d g s – 3 4 2 6 : 5 # c r e a t e a u t h e n s e r v e r _ h o s t 1 0 . 1 . 1 . 1 2 1 p r o t o c o l t a c a c s + p o r t 1 2 3 4 t i m e o u t 1 0 r e t r a n s m i t 5 c o m m a n d : c r e a t e a u t h e n s e r v e r _ h...

  • Page 280

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 276 d g s – 3 4 2 6 : 5 # s h o w a u t h e n s e r v e r _ h o s t c o m m a n d : s h o w a u t h e n s e r v e r _ h o s t i p a d d r e s s p r o t o c o l p o r t t i m e o u t r e t r a n s m i t k e y – – – – – – – – – – – – –...

  • Page 282

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 278 delete authen server_group purpose used to delete a user–defined authentication server group. Syntax delete authen server_group description this command is used to delete an authentication server group. Parameters – enter an alph...

  • Page 283

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 279 config authen parameter response_timeout purpose used to configure the amount of time the switch will wait for a user to enter authentication before timing out. Syntax config authen parameter response_timeout description this com...

  • Page 284

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 280 show authen parameter purpose used to display the authentication parameters currently configured on the switch. Syntax show authen parameter description this command is used to display the authentication parameters currently conf...

  • Page 285

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 281 config admin local_enable purpose used to configure the local enable password for administrator level privileges. Syntax config admin local_enable description this command is used to configure the locally enabled password for the...

  • Page 286: Ssh

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 282 35 ssh c ommands the steps required to use the secure shell (ssh) protocol for secure communication between a remote pc (the ssh client) and the switch (the ssh server), are as follows: • create a user account with admin–level ac...

  • Page 287

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 283 d g s – 3 4 2 6 : 5 # e n a b l e s s h c o m m a n d : e n a b l e s s h t e l n e t w i l l b e d i s a b l e d w h e n e n a b l e s s h . S u c c e s s . D g s – 3 4 2 6 : 5 # disable ssh purpose used to disable ssh. Syntax d...

  • Page 288

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 284 d g s – 3 4 2 6 : 5 # c o n f i g s s h a u t h m o d e p a s s w o r d e n a b l e c o m m a n d : c o n f i g s s h a u t h m o d e p a s s w o r d e n a b l e s u c c e s s . D g s – 3 4 2 6 : 5 # show ssh authmode purpose use...

  • Page 289

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 285 d g s - 3 4 2 6 p : 5 # c o n f i g s s h s e r v e r m a x s e s s i o n 3 c o n t i m e o u t 3 0 0 a u t h f a i l 2 p o r t 1 r e k e y 1 0 m i n c o m m a n d : c o n f i g s s h s e r v e r m a x s e s s i o n 3 c o n t i m...

  • Page 290

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual example usage: to configure the ssh user: d g s – 3 4 2 6 : 5 # c o n f i g s s h u s e r r u b i o a u t h m o d e p a s s w o r d c o m m a n d : c o n f i g s s h u s e r r u b i o a u t h m o d e p a s s w o r d s u c c e s s . D...

  • Page 292

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 288 d g s – 3 4 2 6 : 5 # s h o w s s h a l g o r i t h m c o m m a n d : s h o w s s h a l g o r i t h m e n c r y p t i o n a l g o r i t h m – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – 3 d e s : e n a b l e...

  • Page 293: Ssl

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 289 36 ssl c ommands secure sockets layer or ssl is a security feature that will provide a secure communication path between a host and client through the use of authentication, digital signatures and encryption. These security funct...

  • Page 296

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 292 example usage: to set the ssl cachetimeout for 7200 seconds: d g s – 3 4 2 6 : 5 # c o n f i g s s l c a c h e t i m e o u t t i m e o u t 7 2 0 0 c o m m a n d : c o n f i g s s l c a c h e t i m e o u t t i m e o u t 7 2 0 0 s ...

  • Page 297

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 293 d g s – 3 4 2 6 : 5 # s h o w s s l c e r t i f i c a t e c o m m a n d : s h o w s s l c e r t i f i c a t e l o a d e d w i t h r s a c e r t i f i c a t e ! D g s – 3 4 2 6 : 5 # download ssl certificate purpose used to downlo...

  • Page 298: Umbo

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 294 37 j umbo f rame c ommands certain switches can support jumbo frames (frames larger than 1536 bytes). To transmit frames of up to 9k (and 9220 bytes tagged), the user can increase the maximum transmission unit (mtu) size from the...

  • Page 299

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 295 d g s – 3 4 2 6 : 5 # d i s a b l e j u m b o _ f r a m e c o m m a n d : d i s a b l e j u m b o _ f r a m e s u c c e s s . D g s – 3 4 2 6 : 5 # show jumbo_frame purpose used to display the status of the jumbo frame function o...

  • Page 300: D–L

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 296 38 d–l ink s ingle ip m anagement (sim) c ommands simply put, d–link single ip management is a concept that will stack switches together over ethernet instead of using stacking ports or modules. Switches using d–link single ip ma...

  • Page 301

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 297 with sim enabled, the applications in the cs will redirect the packet instead of executing the packets. The applications will decode the packet from the administrator, modify some data, then send it to the ms. After execution, th...

  • Page 302

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 298 d g s – 3 4 2 6 : 5 # e n a b l e s i m c o m m a n d : e n a b l e s i m s u c c e s s . D g s – 3 4 2 6 : 5 # disable sim purpose used to disable single ip management (sim) on the switch. Syntax disable sim description this com...

  • Page 304

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 300 d g s – 3 4 2 6 : 5 # s h o w s i m c o m m a n d : s h o w s i m s i m v e r s i o n : v e r – 1 . 6 1 f i r m w a r e v e r s i o n : 2 . 3 5 – b 0 6 d e v i c e n a m e : m a c a d d r e s s : 0 0 – 1 9 – 5 b – 3 d – 7 c – d 6...

  • Page 305

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 301 d g s – 3 4 2 6 : 5 # s h o w s i m g r o u p c o m m a n d : s h o w s i m g r o u p s i m g r o u p n a m e : d e f a u l t i d m a c a d d r e s s p l a t f o r m / h o l d f i r m w a r e d e v i c e n a m e c a p a b i l i t...

  • Page 308

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 304 d g s – 3 4 2 6 : 5 # c o n f i g s i m c o m m a n d e r c o m m a n d : c o n f i g s i m c o m m a n d e r s u c c e s s . D g s – 3 4 2 6 : 5 # to update the name of a group: d g s – 3 4 2 6 : 5 # c o n f i g s i m c o m m a ...

  • Page 309

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 305 to download configuration files: d g s – 3 4 2 6 : 5 # d o w n l o a d s i m c o n f i g u r a t i o n _ f r o m _ t f t p 1 0 . 5 3 . 1 3 . 9 4 c : / d g s 3 4 2 6 . T x t a l l c o m m a n d : d o w n l o a d s i m c o n f i g ...

  • Page 310: Ommands

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 306 39 p o e c ommands the xstack ® dgs–3426p supports power over ethernet (poe) as defined by the ieee 802.3af specification. Ports 1–24 supply 48 vdc power to pds over category 5 or category 3 utp ethernet cables. The xstack ® dgs–...

  • Page 313

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 309 d g s – 3 4 2 6 p : 5 # c o n f i g p o e p o r t s 1 : 1 – 1 : 3 s t a t e e n a b l e p r i o r i t y c r i t i c a l p o w e r _ l i m i t c l a s s _ 0 c o m m a n d : c o n f i g p o e p o r t s 1 : 1 – 1 : 3 s t a t e e n a...

  • Page 314

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 310 d g s – 3 4 2 6 p : 5 # s h o w p o e p o r t s c o m m a n d : s h o w p o e p o r t s p o r t s t a t e p r i o r i t y p o w e r l i m i t ( m w ) c l a s s p o w e r ( m w ) v o l t a g e ( d e c i v o l t ) c u r r e n t ( m...

  • Page 315

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 311 d g s – 3 4 2 6 p : 5 # s h o w p o e s y s t e m c o m m a n d : s h o w p o e s y s t e m u n i t 1 p o e s y s t e m i n f o r m a t i o n – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –...

  • Page 316: Ommand

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 312 40 c ommand h istory l ist the switch history commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters ? Config command_history show command_histor...

  • Page 318

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual d g s – 3 4 2 6 : 5 # s h o w c o m m a n d _ h i s t o r y c o m m a n d : s h o w c o m m a n d _ h i s t o r y ? ? S h o w s h o w v l a n s h o w c o m m a n d h i s t o r y d g s – 3 4 2 6 : 5 # 314.

  • Page 319: Odify

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 315 41 m odify b anner and p rompt c ommands administrator and operator level users can modify the login banner (greeting message) and command prompt by using the commands described below. Command parameters config greeting_message {...

  • Page 320

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 316 d g s – 3 4 2 6 : 5 # c o n f i g g r e e t i n g _ m e s s a g e c o m m a n d : c o n f i g g r e e t i n g _ m e s s a g e g r e e t i n g m e s s a g e s e d i t o r = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =...

  • Page 322: Jwac

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 318 42 jwac c ommands the switch’s japanese web-based access control (jwac) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable jwac disabl...

  • Page 324

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 320 d g s – 3 4 2 6 : 5 # d i s a b l e j w a c c o m m a n d : d i s a b l e j w a c s u c c e s s . D g s – 3 4 2 6 : 5 # enable jwac redirect purpose used to enable the jwac redirect function. Syntax enable jwac redirect descripti...

  • Page 325

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 321 enable jwac forcible_logout purpose used to enable the jwac forcible logout function. Syntax enable jwac forcible_logout description when forcible logout is enabled, a ping packet from an authenticated host to the jwac switch wit...

  • Page 326

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 322 d g s – 3 4 2 6 : 5 # e n a b l e j w a c u d p _ f i l t e r i n g c o m m a n d : e n a b l e j w a c u d p _ f i l t e r i n g s u c c e s s . D g s – 3 4 2 6 : 5 # disable jwac udp_filtering purpose used to disable the jwac u...

  • Page 327

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 323 disable jwac quarantine_server_monitor purpose used to disable the jwac quarantine server monitor. Syntax disable jwac quarantine_server_monitor function description this command is used to disable the jwac quarantine server moni...

  • Page 328

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 324 config jwac redirect purpose used to configure redirect destination and delay time before an unauthenticated host is redirected to the quarantine server or the jwac login web page. Syntax config jwac redirect {destination [quaran...

  • Page 329

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual d g s – 3 4 2 6 : 5 # c o n f i g j w a c v i r t u a l _ i p 1 . 1 . 1 . 1 c o m m a n d : c o n f i g j w a c v i r t u a l _ i p 1 . 1 . 1 . 1 s u c c e s s . D g s – 3 4 2 6 : 5 # config jwac quarantine_server_url purpose used to...

  • Page 330

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual d g s – 3 4 2 6 : 5 # c o n f i g j w a c c l e a r _ q u a r a n t i n e _ s e r v e r _ u r l c o m m a n d : c o n f i g j w a c c l e a r _ q u a r a n t i n e _ s e r v e r _ u r l s u c c e s s . D g s – 3 4 2 6 : 5 # config jw...

  • Page 334

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 330 d g s – 3 4 2 6 : 5 # c r e a t e j w a c u s e r 1 1 2 2 3 3 c o m m a n d : c r e a t e j w a c u s e r 1 1 2 2 3 3 e n t e r a c a s e – s e n s i t i v e n e w p a s s w o r d : * * * e n t e r t h e n e w p a s s w o r d a g...

  • Page 335

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 331 d g s – 3 4 2 6 : 5 # d e l e t e j w a c u s e r 1 1 2 2 3 3 c o m m a n d : d e l e t e j w a c u s e r 1 1 2 2 3 3 s u c c e s s . D g s – 3 4 2 6 : 5 # show jwac user purpose used to display a jwac user in the local db. Synta...

  • Page 336

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 332 d g s – 3 4 2 6 : 5 # c l e a r j w a c a u t h _ s t a t e p o r t s a l l b l o c k e d c o m m a n d : c l e a r j w a c a u t h _ s t a t e p o r t s a l l b l o c k e d s u c c e s s . D g s – 3 4 2 6 : 5 # show jwac purpose...

  • Page 337

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 333 show jwac auth_state ports purpose used to display jwac client host information. Syntax show jwac auth_state ports {} description this command is used to display the information for jwac client hosts. If port 1 is in host-based m...

  • Page 338

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 334 d g s - 3 4 2 6 : 5 # s h o w j w a c a u t h _ s t a t e p o r t s 1 - 3 c o m m a n d : s h o w j w a c a u t h _ s t a t e p o r t s 1 - 3 p o r t m a c a d d r e s s s t a t e v i d p r i o r i t y a g i n g t i m e / i d l e...

  • Page 341

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 337 show jwac authenticate _page element purpose used to show the element mapping of the customize authenticate page. Syntax show jwac authenticate_page element description this command is used to disaplay the elements of the customi...

  • Page 343: Mac-

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 339 44 mac- based v lan c ommands the mac-based vlan commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create mac_based_vlan mac_address vlan de...

  • Page 344

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 340 d g s – 3 4 2 6 : 5 # d e l e t e m a c _ b a s e d _ v l a n m a c _ a d d r e s s 0 0 – 0 0 – 0 0 – 0 0 – 0 0 – 0 1 v l a n d e f a u l t c o m m a n d : d e l e t e m a c _ b a s e d _ v l a n m a c m a c _ a d d r e s s 0 0 –...

  • Page 345: Oop

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 341 45 l oop - back d etection (lbd) g lobal c ommands the loop-back detection (lbd) global commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters co...

  • Page 347

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 343 d g s – 3 4 2 6 : 5 # d i s a b l e l o o p d e t e c t c o m m a n d : d i s a b l e l o o p d e t e c t s u c c e s s . D g s – 3 4 2 6 : 5 # show loopdetect purpose used to display the switch’s current loop-detect configuratio...

  • Page 348

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 344 d g s – 3 4 2 6 : 5 # s h o w l o o p d e t e c t p o r t s 1 – 8 c o m m a n d : s h o w l o o p d e t e c t p o r t s 1 – 8 p o r t l o o p d e t e c t s t a t e l o o p s t a t u s – – – – – – – – – – – – – – – – – – – – – – –...

  • Page 349

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 345 d g s - 3 4 2 6 p : 5 # c o n f i g l o o p d e t e c t t r a p l o o p _ d e t e c t e d c o m m a n d : c o n f i g l o o p d e t e c t t r a p l o o p _ d e t e c t e d s u c c e s s . D g s – 3 4 2 6 : 5 #.

  • Page 350: Erial

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 346 46 s erial n umber c ommands the serial number commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters show switch show stack_device each command ...

  • Page 351

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 347 clipaging : enabled mac notification : disabled port mirror : disabled sntp : disabled hol prevention state : enabled syslog global state : disabled single ip management : disabled dual image : supported password encryption statu...

  • Page 352

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 348 show stack_device purpose used to display the information for devices in the stack. Syntax show stack_device description this command is used to display stack device information. Parameters none. Restrictions none. Example usage:...

  • Page 353: 802.1Q

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 349 47 802.1q vlan c ommands the 802.1q vlan function commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create vlan tag { type 1q_vlan advertise...

  • Page 354

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 350 delete vlan purpose used to delete a previously configured vlan on the switch. Syntax delete vlan description this command is used to delete a previously configured vlan on the switch. Parameters vlan_name – the vlan name of the ...

  • Page 355

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 351 config vlan delete ports purpose used to delete one or more ports from a previously configured vlan. Syntax config vlan delete description this command is used to delete one or more ports from a previously configured vlan. If bas...

  • Page 356

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 352 d g s – 3 4 2 6 : 5 # e n a b l e g v r p c o m m a n d : e n a b l e g v r p s u c c e s s . D g s – 3 4 2 6 : 5 # disable gvrp purpose used to disable the generic vlan registration protocol (gvrp). Syntax disable gvrp descripti...

  • Page 357

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 353 d g s – 3 4 2 6 : 5 # s h o w v l a n c o m m a n d : s h o w v l a n v i d : 1 v l a n n a m e : d e f a u l t v l a n t y p e : s t a t i c a d v e r t i s e m e n t : e n a b l e d m e m b e r p o r t s : 1 : 1 – 1 : 2 6 , 2 :...

  • Page 358

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 354 d g s – 3 4 2 6 : 5 # s h o w g v r p c o m m a n d : s h o w g v r p l o b a l g v r p : d i s a b l e d p o r t p v i d g v r p i n g r e s s c h e c k i n g a c c e p t a b l e f r a m e t y p e – – – – – – – – – – – – – – – –...

  • Page 359: Mac-

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 355 48 mac- based a ccess c ontrol (mac) c ommands the mac-based access control (mac) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable m...

  • Page 360

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 356 to enable mac-based access control: d g s – 3 4 2 6 : 5 # e n a b l e m a c _ b a s e d _ a c c e s s _ c o n t r o l c o m m a n d : e n a b l e m a c _ b a s e d _ a c c e s s _ c o n t r o l s u c c e s s . D g s – 3 4 2 6 : 5...

  • Page 363

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 359 d g s – 3 4 2 6 : 5 # c o n f i g m a c _ b a s e d _ a c c e s s _ c o n t r o l p o r t s 1 – 8 m o d e p o r t _ b a s e d c o m m a n d : c o n f i g m a c _ b a s e d _ a c c e s s _ c o n t r o l p o r t s 1 – 8 m o d e p o...

  • Page 364

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 360 clear mac_based_access_control auth_state purpose used to reset the current state of a user. The re–authentication will be started after the user traffic is received again. Syntax clear mac_based_access_control auth_state [ports ...

  • Page 366

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 362 show mac_based_access_control purpose used to display the mac-based access control global and port settings. Syntax show mac_based_access_control {ports { }} description this command is used to display the mac-based access contro...

  • Page 368

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 364 d g s – 3 4 2 6 : 5 # s h o w m a c _ b a s e d _ a c c e s s _ c o n t r o l _ l o c a l v l a n d e f a u l t c o m m a n d : s h o w m a c _ b a s e d _ a c c e s s _ c o n t r o l _ l o c a l v l a n d e f a u l t m a c a d d...

  • Page 369

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 365 to configure the mac-based access control authentication failover: d g s – 3 4 2 6 : 5 # c o n f i g m a c _ b a s e d _ a c c e s s _ c o n t r o l a u t h _ f a i l o v e r e n a b l e c o m m a n d : c o n f i g m a c _ b a s ...

  • Page 370

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 366 d g s – 3 4 2 6 : 5 # c o n f i g m a c _ b a s e d _ a c c e s s _ c o n t r o l m a x _ u s e r s 1 2 6 c o m m a n d : c o n f i g m a c _ b a s e d _ a c c e s s _ c o n t r o l m a x _ u s e r s 1 2 6 s u c c e s s . D g s –...

  • Page 372

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 368 disable qinq purpose used to disable the q-in-q mode. Syntax disable qinq description this command is used to disable the q-in-q mode. All dynamically learned l2 address will be cleared. All dynamically registered vlan entries wi...

  • Page 374

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 370 d g s – 3 4 2 6 : 4 # s h o w q i n q p o r t 1 : 1 - 1 : 4 c o m m a n d s : s h o w q i n q p o r t s 1 : 1 - 1 : 4 p o r t r o l e m i s s d r o p t p i d - - - - - - - - - - - - - - - - - - - - - - - - - - 1 : 1 u n i e n a b...

  • Page 376: Lldp

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 372 50 lldp c ommands the link layer discovery protocol (lldp) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable lldp disable lldp config...

  • Page 377

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 373 enable lldp purpose used to enable lldp operation on the switch. Syntax enable lldp description this command is used as a global control for the lldp function. When this function is enabled, the switch can start to transmit lldp ...

  • Page 378

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 374 d g s – 3 4 2 6 : 5 # c o n f i g l l d p m e s s a g e _ t x _ i n t e r v a l 3 0 c o m m a n d : c o n f i g l l d p m e s s a g e _ t x _ i n t e r v a l 3 0 s u c c e s s . D g s – 3 4 2 6 : 5 # config lldp message_tx_hold_m...

  • Page 379

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 375 config lldp reinit_delay purpose change the minimum time of the reinitialization delay interval. Syntax config lldp reinit_delay description an re-enabled lldp port will wait for reinit_delay after last disable command before rei...

  • Page 382

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 378 d g s – 3 4 2 6 : 5 # c o n f i g l l d p p o r t s a l l b a s i c _ t l v s s y s t e m _ n a m e e n a b l e c o m m a n d : c o n f i g l l d p p o r t s a l l b a s i c _ t l v s s y s t e m _ n a m e e n a b l e s u c c e s...

  • Page 383

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 379 d g s – 3 4 2 6 : 5 # c o n f i g l l d p p o r t s a l l d o t 1 _ t l v _ p r o t o c o l _ v i d v l a n i d 1 - 3 e n a b l e c o m m a n d : c o n f i g l l d p p o r t s a l l d o t 1 _ t l v _ p r o t o c o l _ v i d v l a...

  • Page 384

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 380 config lldp dot1_tlv_protocol_identity gvrp, stp(including mstp), and lacp protocol identity is enabled on this port and it is enabled to be advertised, then this protocol identity will be advertised. The default state is disable...

  • Page 387

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 383 enabled vlan name (none) enabled protocol_identity (none) mac/phy configuration/status disabled power via mdi disabled link aggregation disabled maximum frame size disabled c t r l + c e s c q q u i t s p a c e n n e x t p a g e ...

  • Page 389

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 385 show lldp statistics ports purpose used to display the ports lldp statistics information. Syntax show lldp statistics ports {} description this command is used to display per-port lldp statistics. Parameters –use this parameter t...

  • Page 390: Low

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 386 51 s f low sflow is a feature that allows users to monitor network traffic running through the switch to identify network problems through packet sampling and packet counter information of the switch. The switch itself is the sfl...

  • Page 391

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 387 enable sflow purpose used to enable the sflow function on the switch. Syntax enable sflow description this command, along with the disable sflow command, is used to enable the sflow function on the switch without altering configu...

  • Page 392

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 388 create sflow analyzer_server timeout − used to specify the timeout for the analyzer server. When the server times out, all sflow samples and counter polls associated with this server will be deleted. The user may set a time betwe...

  • Page 393

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 389 example usage: to configure the sflow server: d g s - 3 4 2 6 : 5 # c o n f i g s f l o w a n a l y z e r _ s e r v e r 1 c o l l e c t o r a d d r e s s 1 0 . 9 0 . 9 0 . 9 c o m m a n d : c o n f i g s f l o w a n a l y z e r _...

  • Page 395

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 391 d g s - 3 4 2 6 : 5 # c o n f i g s f l o w c o u n t e r _ p o l l e r p o r t s 1 i n t e r v a l 5 0 c o m m a n d : c r e a t e s f l o w c o u n t e r _ p o l l e r p o r t s 1 i n t e r v a l 5 0 s u c c e s s . D g s - 3 4...

  • Page 398

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 394 show sflow flow_sampler purpose used to display the sflow sampler information for the sflow function of the switch. Syntax show sflow flow_sampler description this command is used to display the switch’s sflow flow sampler inform...

  • Page 399: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 395 52 dhcp s erver c ommands for this release, the switch now has the capability to act as a dhcp server to devices within its locally attached network. Dhcp, or dynamic host configuration protocol, allows the switch to delegate ip ...

  • Page 400

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 396 command parameters show dhcp excluded_address show dhcp pool { } each command is listed in detail in the following sections. Create dhcp pool purpose used to create a dhcp pool. Syntax create dhcp pool description this command is...

  • Page 402

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 398 show dhcp pool manual_binding purpose used to display the manual binding settings for a dhcp pool. Syntax show dhcp pool manual_binding {} description this command is used to display the manual binding entries for the selected dh...

  • Page 403

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 399 clear dhcp_binding purpose used to clear the dhcp binding information. Syntax clear dhcp_binding {} description this command is used to clear the dhcp binding settings for a particular created dhcp pool. Parameters − enter the na...

  • Page 404

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 400 example usage: to configure the ping timeout: d g s - 3 4 2 6 : 5 # c o n f i g d h c p p i n g _ t i m e o u t 5 0 0 c o m m a n d : c o n f i g d h c p p i n g _ t i m e o u t 5 0 0 s u c c e s s . D g s - 3 4 2 6 : 5 # config ...

  • Page 405

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 401 config dhcp pool dns_server_address purpose used to configure the ip addresses of dns servers for a specific dhcp pool. Syntax config dhcp pool dns_server_address {} {} description this command is used to configure the dns server...

  • Page 408

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 404 config dhcp pool next_server purpose used to configure the ip address of the server that has the boot file for the dhcp pool. Syntax config dhcp pool next_server description this command is used to configure the ip address of the...

  • Page 409

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 405 dgs-3426:5#disable dhcp_server command: disable dhcp_server success. Dgs-3426:5# show dhcp_server purpose used to display the dhcp server settings. Syntax show dhcp_server description this command is used to display the dhcp serv...

  • Page 411

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 407 show dhcp pool purpose used to show the dhcp pool information. Syntax show dhcp pool {} description this command is used to display the dhcp pool information. Entering the command without the pool name will display all dhcp pool ...

  • Page 412: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 408 53 dhcp s erver s creening c ommands the dhcp server screening commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. The dhcp server screening commands allow you n...

  • Page 413

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 409 example usage: to add an entry from the dhcp server/client filter list in the switch’s database: d g s - 3 4 2 6 : 5 # c o n f i g f i l t e r d h c p _ s e r v e r a d d p e r m i t s e r v e r _ i p 1 0 . 1 . 1 . 1 c l i e n t ...

  • Page 415: Rspan

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 411 54 rspan c ommands the remote switched port analyzer (rspan) function commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable rspan disable...

  • Page 416

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 412 disable rspan purpose used to disable rspan syntax disable rspan description this command is used to disable the rspan function. Parameters none. Restrictions only administrator and operator-level users can issue this command. Ex...

  • Page 418

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual note: if the acl function has been used to implement per flow rspan, the source needs to be set otherwise the per port rspan will not work. Example usage: to config rspan vlan by vlan name: d g s - 3 4 2 6 : 5 # c o n f i g r s p a n...

  • Page 419

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 415 to configure rspan redirect: d g s - 3 4 2 6 : 5 # c o n f i g r s p a n v l a n v l a n _ i d 2 r e d i r e c t a d d p o r t 1 : 1 8 c o m m a n d : c o n f i g r s p a n v l a n v l a n _ i d 2 r e d i r e c t a d d p o r t 1 ...

  • Page 420: Acl

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 416 55 acl flow m etering c ommands acl flow metering is used to configure per-flow bandwidth control. Before configuring the acl flow meter, here is a list of acronyms and terms users will need to know. Trtcm – two rate three color ...

  • Page 422

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 418 config flow_meter profile_id • permit – enter this parameter to allow packet flows that are in the yellow flow. • replace_dscp − packets that are in the yellow flow may have their dscp field rewritten using this parameter and ent...

  • Page 423

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 419 example usage: to display acl flow metering: d g s - 3 4 2 6 : 5 # s h o w f l o w _ m e t e r p r o f i l e _ i d 1 a c c e s s _ i d 1 c o m m a n d : s h o w f l o w _ m e t e r p r o f i l e _ i d 1 a c c e s s _ i d 1 p r o ...

  • Page 424: Ayer

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 420 56 l ayer 2 p rotocol t unneling (l2pt) c ommands users at different sites connected across a service-provider network need to use various layer 2 protocols to scale their topologies to include all remote sites, as well as the lo...

  • Page 425

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 421 show bpdu_tunnel purpose used to display the l2pt global state, tunnel destination mac address, and port state. Syntax show bpdu_tunnel description this command is used to display l2pt global state, tunnel destination mac address...

  • Page 426

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 422 d g s - 3 4 2 6 : 5 # d i s a b l e b p d u _ t u n n e l c o m m a n d : d i s a b l e b p d u _ t u n n e l s u c c e s s . D g s - 3 4 2 6 : 5 #.

  • Page 429

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 425 example usage: to display the arp table: d g s - 3 4 2 6 : 5 # s h o w a r p e n t r y c o m m a n d : s h o w a r p e n t r y a r p a g i n g t i m e : 2 0 i n t e r f a c e i p a d d r e s s m a c a d d r e s s t y p e - - - - ...

  • Page 430

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 426 example usage: to configure a static arp entry for the ip address 10.48.74.12 and mac address 00:50:ba:00:07:36: d g s - 3 4 2 6 : 5 # c o n f i g a r p e n t r y 1 0 . 4 8 . 7 4 . 1 2 0 0 - 5 0 - b a - 0 0 - 0 7 - 3 6 c o m m a ...

  • Page 431

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 427 example usage: to enable send a gratuitous arp request when a duplicate ip is detected: d g s - 3 4 2 6 : 5 # c o n f i g g r a t u i t o u s _ a r p s e n d d u p l i c a t e _ i p _ d e t e c t e d e n a b l e c o m m a n d : c...

  • Page 433

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 429 example usage: to display gratuitous arp log and trap state: d g s - 3 4 2 6 : 5 # s h o w g r a t u i t o u s _ a r p c o m m a n d : s h o w g r a t u i t o u s _ a r p s e n d o n i p i f s t a t u s u p : d i s a b l e d s e ...

  • Page 434: Ompound

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 430 58 c ompound a uthentication c ommands the compound authentication commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create authentication g...

  • Page 437

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 433 show authentication guest_vlan purpose this command is used to display the guest vlan settings. Syntax show authentication guest_vlan description this command is used to show the information of the guest vlan. Parameters none. Re...

  • Page 438

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 434 enable authorization network purpose to enable authorization on the switch. Syntax enable authorization network description this command is used to enable authorization of the network. When the authorization for network is enable...

  • Page 439

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 435 example usage: to display authorization: d g s - 3 4 2 6 : 5 # s h o w a u t h o r i z a t i o n c o m m a n d : s h o w a u t h o r i z a t i o n a u t h o r i z a t i o n f o r n e t w o r k : e n a b l e d d g s - 3 4 2 6 : 5 ...

  • Page 440: Based

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 436 59 w eb - based a ccess c ontrol (wac) c ommands the web-based access control (wac) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable...

  • Page 441

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 437 d g s - 3 4 2 6 : 5 # e n a b l e w a c c o m m a n d : e n a b l e w a c s u c c e s s . D g s - 3 4 2 6 : 5 # disable wac purpose used to disable web-based access control on the switch. Syntax disable wac description this comma...

  • Page 443

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 439 config wac default_redirpath restrictions only administrator and operator-level users can issue this command. Example usage: to configure the wac default redirect path: d g s - 3 4 2 6 : 5 # c o n f i g w a c d e f a u l t _ r e ...

  • Page 444

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 440 example usage: to configure the wac virtual ip: d g s - 3 4 2 6 : 5 # c o n f i g w a c v i r t u a l _ i p 1 . 1 . 1 . 1 c o m m a n d : c o n f i g w a c v i r t u a l _ i p 1 . 1 . 1 . 1 s u c c e s s . D g s - 3 4 2 6 : 5 # c...

  • Page 447

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 443 show wac purpose used to display the web authentication global settings. Syntax show wac description this command is used to display the wac global settings. Parameters none. Restrictions none. Example usage: to display wac: dgs-...

  • Page 448

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 444 show wac user purpose used to display the web authentication user. Syntax show wac user description this command is used to display the web authentication account. Parameters none. Restrictions none. Example usage: to show web au...

  • Page 449

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 445 d g s - 3 4 2 6 : 5 # s h o w w a c a u t h _ s t a t e p o r t s 1 - 3 c o m m a n d : s h o w w a c a u t h _ s t a t e p o r t s 1 : 1 - 1 : 3 p o r t m a c a d d r e s s s t a t e v i d p r i o r i t y a g i n g t i m e / i d...

  • Page 450

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 446 example usage: to clear wac authentication state: d g s - 3 4 2 6 : 5 # c l e a r w a c a u t h _ s t a t e p o r t s 1 - 5 c o m m a n d : c l e a r w a c a u t h _ s t a t e p o r t s 1 : 1 - 1 : 5 s u c c e s s . D g s - 3 4 2...

  • Page 451: Rotocol

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 447 60 p rotocol vlan g roup c ommands for bridges that implement port-and-protocol-based vlan classification, the vid associated with an untagged or priority-tagged frame is determined based on the port of arrival of the frame into ...

  • Page 453

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 449 example usage: to delete a protocol vlan group: d g s - 3 4 2 6 : 5 # d e l e t e d o t 1 v _ p r o t o c o l _ g r o u p g r o u p _ i d 1 c o m m a n d : d e l e t e d o t 1 v _ p r o t o c o l _ g r o u p g r o u p _ i d 1 s u...

  • Page 455

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 451 example usage: to configure the ports for a protocol vlan group: d g s - 3 4 2 6 : 5 # s h o w p o r t d o t 1 v p o r t s 1 : 6 - 1 : 8 c o m m a n d : s h o w p o r t d o t 1 v p o r t s 1 : 6 - 1 : 8 p o r t : 1 : 6 p r o t o ...

  • Page 456: Ulticast

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 452 61 m ulticast vlan r eplication c ommands the multicast vlan replication commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable ipmc_vlan_...

  • Page 457

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 453 example usage: to disable the static ip multicast vlan replication: d g s - 3 4 2 6 : 5 # d i s a b l e i p m c _ v l a n _ r e p l i c a t i o n c o m m a n d : d i s a b l e i p m c _ v l a n _ r e p l i c a t i o n s u c c e s...

  • Page 458

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 454 example usage: to create an ip multicast vlan replication entry: d g s - 3 4 2 6 : 5 # c r e a t e i p m c _ v l a n _ r e p l i c a t i o n _ e n t r y r g 1 c o m m a n d : c r e a t e i p m c _ v l a n _ r e p l i c a t i o n ...

  • Page 460

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 456 show ipmc_vlan_replication purpose used to display the ip multicast vlan replication global settings. Syntax show ipmc_vlan_replication description this command is used to display the ip multicast vlan replication global settings...

  • Page 461: Appendix A

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 457 appendix a t echnical s pecifications specifications listed here apply to all switches in the xstack ® dgs–3400 series except where otherwise noted. General standards ieee 802.3 10base–t ethernet ieee 802.3u 100base–tx fast ether...

  • Page 462

    Xstack ® dgs-3400 series layer 2 gigabit managed switch cli manual 458 physical and environmental internal power supply redundant power supply ac input: 100 – 240 vac, 50–60 hz power consumption dgs–3400 series switch dgs–3426 (78.2 watts) dgs–3426p (517.0 watts) dgs–3427 (86.68 watts) dgs–3450 (144...