Page 2
Signamax Connectivity System 065-7429 C C C C onfiguration onfiguration onfiguration onfiguration configuraton…………………………………………………………………………………1 Foreword............11 0 user mode、privilege mode、configuration mode ....14 ..........1 4 0.1 user mode:Switch#>...
Page 3
Signamax Connectivity System 065-7429 . 2 5 3.3.1 no ip dhcp relay information { check | option | trust-all } ......2 6 3.3.2 no ip dhcp relay helper-address {IP}...
Page 12
Signamax Connectivity System 065-7429 p r o m p t : w h e n t h e t h i r d l a y e r s w i t c h o f t h e S w i t c h l e a v e f a c t o r y , i t s c o n s o l e p r o t ’...
Page 13
Signamax Connectivity System 065-7429 p r i v i l e g e i s “ p a s s w o r d ” , w h e n i t l e a v e f a c t o r y .
Signamax Connectivity System 065-7429 0 user mode 0 user mode 0 user mode 0 user mode、 、 、 、 privileg privileg privilege mode privileg e mode e mode、 、 、 、 configuration e mode configuration configuration configuration mode mode mode mode 0.1 user mode...
Page 15
Signamax Connectivity System 065-7429 c o m m i t C o m m i t a l l t h e A C L a n d Q o S C o n f i g t o b e v a l i d...
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # a r p 1 9 2 . 1 6 8 . 0 . 2 ? H . H . H 4 8 - b i t h a r d w a r e a d d r e s s o f A R P e n t r y S w i t c h ( c o n f i g ) # 1 9 2 .
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # a r p 1 9 2 . 1 6 8 . 0 . 1 2 2 2 2 . 2 2 2 2 . 2 2 2 2 a r p a p o r t - c h a n n e l ? <...
Page 18
Signamax Connectivity System 065-7429 S w i t c h # s h o w a r p I P A d d r e s s M A C _ A d d r e s s I n t e r F a c e...
Page 19
Signamax Connectivity System 065-7429 S w i t c h # s h o w a r p i n t e r f a c e ? f a s t e t h e r n e t F a s t E t h e r n e t I E E E 8 0 2 .
Page 20
Signamax Connectivity System 065-7429 < 1 - 1 2 > P o r t - c h a n n e l i n t e r f a c e n u m b e r S w i t c h # s h o w a r p i n t e r f a c e p o r t - c h a n n e l 3 ? <...
Signamax Connectivity System 065-7429 1.3 delete 1.3 delete 1.3 delete 1.3 delete 1.3.1 no arp {ip} S w i t c h ( c o n f i g ) # n o a r p 1 . 1 . 1 . 1 S w i t c h ( c o n f i g ) # n o a r p 1 .
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # m o n i t o r d e s t i n a t i o n f a s t e t h e r n e t ? W O R D F a s t E t h e r n e t i n t e r f a c e n u m b e r <...
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # m o n i t o r ? d e s t i n a t i o n M o n i t o r d e s t i n a t i o n i n t e r f a c e...
Signamax Connectivity System 065-7429 < c r > 3.1.2 ip dhcp relay helper-address {IP} 3.2 show 3.2.1 show ip dhcp relay information S w i t c h # s h o w i p d h c p r e l a y i n f o r m a t i o n...
Signamax Connectivity System 065-7429 A . B . C . D I P m u l t i c a s t a d d r e s s S w i t c h ( c o n f i g ) # i p i g m p p o l i c y 1 d e n y 2 2 4 . 0 . 0 . 5 ?...
Signamax Connectivity System 065-7429 5 HTTP Server 5.1 configuration 5.1.1 ip http server { server } S w i t c h ( c o n f i g ) # i p h t t p s e r v e r...
Signamax Connectivity System 065-7429 6 telnet server 6.1 configuration 6.1.1 ip telnet server { server } S w i t c h ( c o n f i g ) # S w i t c h ( c o n f i g ) #...
Signamax Connectivity System 065-7429 8 mac address 8.1 configuration 8.1.1 mac { aging-time | filter | static } S w i t c h ( c o n f i g ) # m a c ? a g i n g - t i m e...
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # m a c s t a t i c 2 2 2 2 . 2 2 2 2 . 2 2 2 2 ? v l a n V L A N k e y w o r d S w i t c h ( c o n f i g ) # m a c s t a t i c 2 2 2 2 .
Page 37
Signamax Connectivity System 065-7429 S w i t c h # s h o w m a c a d d r e s s 8 8 8 8 . 8 8 8 8 . 8 8 8 8 v l a n 2 5 4 S w i t c h # s h o w m a c a d d r e s s 8 8 8 8 .
Page 38
Signamax Connectivity System 065-7429 v l a n V L A N k e y w o r d < c r > S w i t c h # s h o w m a c d y n a m i c...
Page 39
Signamax Connectivity System 065-7429 S w i t c h # s h o w m a c d y n a m i c a d d r e s s 8 8 8 8 . 8 8 8 8 . 8 8 8 8 i n t e r f a c e f a s t e t h e r n e t 0 / 1 ? v l a n V L A N k e y w o r d <...
Page 41
Signamax Connectivity System 065-7429 2 5 4 0 8 1 0 . 6 0 2 5 . 3 1 8 1 D Y N A M I C F a 0 / 1 2 5 4 8 8 8 8 . 8 8 8 8 . 8 8 8 8...
Page 42
Signamax Connectivity System 065-7429 1 2 3 4 . 5 6 7 8 . 9 1 2 3 S w i t c h # s h o w m a c f i l t e r v l a n ? <...
Page 43
Signamax Connectivity System 065-7429 < c r > M a c A d d r e s s T a b l e - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
Page 44
Signamax Connectivity System 065-7429 < c r > M a c A d d r e s s T a b l e - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
Signamax Connectivity System 065-7429 9.1.2 Interface configuration commands Interface configuration commands Interface configuration commands Interface configuration commands: nterface vlan 1 nterface vlan 1 nterface vlan 1 nterface vlan 1 S w i t c h ( c o n f i g - i f ) # ?
Signamax Connectivity System 065-7429 9.1.2.4 duplex { auto | full | half } c o n f i g u r c o n f i g u r c o n f i g u r c o n f i g u r a t i o n...
Page 49
Signamax Connectivity System 065-7429 9.1.2.8 IP { adress |ospf | rip } 9.1.2.8.1 ip address S w i t c h ( c o n f i g - i f ) # i p ? a d d r e s s S e t t h e I P a d d r e s s o f a n i n t e r f a c e...
Signamax Connectivity System 065-7429 transmit-delay Link state transmit delay 9.1.2.8.2.2.2 ip ospf mtu <68-100000> c o n f i g u r a t i o n : : : : c o n f i g u r a t i o n...
Signamax Connectivity System 065-7429 9.1.2.11 maximum maximum maximum- - - - paths maximum paths paths paths S w i t c h ( c o n f i g S w i t c h ( c o n f i g - - - - i f ) # m a x i m u m...
Signamax Connectivity System 065-7429 < c r > 9.1.2.13 help Switch(config-if)#help ? <cr> Switch(config-if)#help ZebOS CLI provides advanced help feature. When you need help, anytime at the command line please press '?'. If nothing matches, the help list will be empty and you must backup until entering a '?' shows the available options.
Page 56
Signamax Connectivity System 065-7429 s w i t c h p o r t s h o w i n t e r f a c e s w i t c h p o r t i n f o r m a t i o n <...
Page 57
Signamax Connectivity System 065-7429 0 i n p u t p a c k e t s w i t h d r i b b l e c o n d i t i o n d e t e c t e d...
Page 58
Signamax Connectivity System 065-7429 r a t e - l i m i t s h o w i n t e r f a c e r a t e - l i m i t i n f o...
Page 59
Signamax Connectivity System 065-7429 S w i t c h # s h o w i n t e r f a c e s f a s t e t h e r n e t 0 / 1 c o u n t e r s e r r o r s...
Page 60
Signamax Connectivity System 065-7429 S w i t c h # s h o w i n t e r f a c e s f a s t e t h e r n e t 0 / 2 4 s t a t u s ? <...
Page 61
Signamax Connectivity System 065-7429 12 Line 12.1 configuration 12.1.1 line { vty } N S w i t c h ( c o n f i g ) # l i n e ? v t y V i r t u a l t e r m i n a l S w i t c h ( c o n f i g ) # l i n e v t y ? <...
Signamax Connectivity System 065-7429 < c r > d e l e t e d e l e t e d e l e t e d e l e t e : : : : S w i t c h ( c o n f i g - l i n e ) # n o e x e c - t i m e o u t ? <cr>...
Signamax Connectivity System 065-7429 13.1.1.1 snmp-server community <STR> { ro | rw } S w i t c h ( c o n f i g ) # s n m p S w i t c h ( c o n f i g ) # s n m p - - - - s e r v e r c o m m u n i t y p u b l i c r o...
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # s n m p - s e r v e r h o s t 1 9 2 . 1 6 8 . 0 . 2 t r a p s ?
Page 65
Signamax Connectivity System 065-7429 13.3 delete 13.3.1 no snmp-server { community | contact | enable | host | location | } // 关 闭 SNMP S w i t c S w i t c S w i t c...
Signamax Connectivity System 065-7429 16.2 delete 16.2.1 no hostname S w i t c h ( c o n f i g ) # n o h o s t n a m e S w i t c h ( c o n f i g ) # n o h o s t n a m e...
Signamax Connectivity System 065-7429 22 copy 22.1 copy { running-config } { default-config | } S w i t c h # c o p y ? d e f a u l t - c o n f i g C o p y f r o m d e f a u l t c o n f i g u r a t i o n r u n n i n g - c o n f i g C o p y f r o m c u r r e n t s y s t e m c o n f i g u r a t i o n 22.1.2 copy { running-config | default-config }...
Signamax Connectivity System 065-7429 27.4.1 show dhcp relay information S w i t c h # s h o w i p d h c p ? r e l a y M i s c e l l a n e o u s D H C P r e l a y i n f o r m a t i o n...
Signamax Connectivity System 065-7429 27.4.5 show ip protocols V i e w s h o w i p p r o t o c o l s 27.4.6 show ip route { <A.B.C.D> | connected | ospf | rip | static | } S w i t c h # s h o w i p r o u t e ? A .
Signamax Connectivity System 065-7429 27.4.6.5 show ip route rip S w i t c h # s h o w i p r o u t e r i p ? < c r > 1 9 2 . 1 6 8 . 1 2 . 0 / 2 4 [ 1 2 0 / 1 ] v i a 1 7 2 . 1 6 . 4 . 1 , 0 0 : 0 0 : 3 3 , V l a n 2 5 4 1 9 2 .
Signamax Connectivity System 065-7429 27.11 show mls View s h o w m l s 27.12 show monitor V i e w s h o w m o n i t o r 27.13 show policy-map V i e w s h o w p o l i c y - m a p 27.14 show running-config...
Signamax Connectivity System 065-7429 27.20 show version 27.21 show vlan V i e w s h o w v l a n 27.22.1 show vlan { <1-4094> | } S w i t c h # s h o w v l a n ? S w i t c h # s h o w v l a n ? <...
Signamax Connectivity System 065-7429 S w i t c h # s h o w t r u n k i n t e r f a c e ? F a s t E t h e r n e t F a s t E t h e r n e t I E E E 8 0 2 .
Signamax Connectivity System 065-7429 32.1.2.1 32.1.2.2 default-information originate S w i t c h ( c o n f i g S w i t c h ( c o n f i g S w i t c h ( c o n f i g...
Page 88
Signamax Connectivity System 065-7429 c o n f i g u r a t i o n c o n f i g u r a t i o n : : : : c o n f i g u r a t i o n...
Signamax Connectivity System 065-7429 32.1.2.8 neighbor <IP> S w i t c h ( c o n f i g S w i t c h ( c o n f i g - - - - r o u t e r ) # n e i g h b o r 1 7 2 . 1 6 . 1 3 . 2 0 r o u t e r ) # n e i g h b o r 1 7 2 .
Signamax Connectivity System 065-7429 router-id router-id for the OSPF process Switch(config-router)#ospf abr-type ? cisco Alternative ABR, cisco implementation Alternative ABR, IBM implementation shortcut Shortcut ABR standard Standard behavior (RFC2328) Switch(config-router)#ospf abr-type ibm ? <cr> 32.1.2.11 passive-interface { Vlan | default }...
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g - r o u t e r ) # n o p a s s i v e - i n t e r f a c e v l a n 1 ? <...
Page 92
Signamax Connectivity System 065-7429 32.1.2.12.2 redistribute ospf <1-65535> { match | metric | } S w i t c h ( c o n f i g S w i t c h ( c o n f i g - - - - r o u t e r ) # r e d i s t r i b u t e o s p f 2...
Page 93
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g - r o u t e r ) # r e d i s t r i b u t e o s p f 2 m e t r i c ? <...
Page 94
Signamax Connectivity System 065-7429 32.1.2.13 timer basic < Interval between updates > < Invalid > < Holddown > < Flush > <Sleep time> I n t e r v a l b e t w e e n u p d a t e s I n t e r v a l b e t w e e n u p d a t e s : : : : <...
Signamax Connectivity System 065-7429 a c r o s s - i n t e r f a c e s U s e d i f f e r e n t i n t e r f a c e s f o r e q u a l - c o s t p a t h s S w i t c h ( c o n f i g - r o u t e r ) # n o t r a f f i c - s h a r e m i n a c r o s s - i n t e r f a c e s ? <...
Signamax Connectivity System 065-7429 32.1.3.1 ip rip authentication { key-chain | mode } c o n f i g u r a t i o n c o n f i g u r a t i o n c o n f i g u r a t i o n c o n f i g u r a t i o n :...
Signamax Connectivity System 065-7429 32.1.3.5 ip rip split-horizon { poison-reverse | } S w i t c h ( c o n f S w i t c h ( c o n f i g i g i g i g - - - - i f ) # i p...
Page 99
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # k e y c h a i n ? W O R D K e y - c h a i n n a m e S w i t c h ( c o n f i g ) # k e y c h a i n d f d f ? <...
Signamax Connectivity System 065-7429 N e i g h b o r ( s ) : 1 7 2 . 1 6 . 1 3 . 2 5 4 1 7 2 . 1 6 . 1 3 . 1...
Page 102
Signamax Connectivity System 065-7429 33.1.1 IP standard access list c o n f i g u r a t i o n c o n f i g u r a t i o n c o n f i g u r a t i o n c o n f i g u r a t i o n :...
Page 103
Signamax Connectivity System 065-7429 < c r > S w i t c h ( c o n f i g ) # a c c e s s - l i s t 1 p e r m i t a n y ? <...
Page 104
Signamax Connectivity System 065-7429 A . B . C . D S o u r c e a d d r e s s a n y A n y s o u r c e h o s t...
Page 105
Signamax Connectivity System 065-7429 S w i t c h ( c o n f i g ) # a c c e s s - l i s t 1 0 1 d e n y 0 a n y 1 9 2 . 1 6 8 . 4 . 0 ? A .
Page 106
Signamax Connectivity System 065-7429 33.1.2.1.9 host A single Source host → host A single Destination host N S w i t c h ( c o n f i g ) # a c c e s s - l i s t 1 0 1 d e n y 0 h o s t 1 . 1 . 1 . 1 h o s t ? A .
Signamax Connectivity System 065-7429 33.1.2.13 access-list 101 deny pcp Configruration connent as same as <0-255> 33.1.2.14 access-list 101 deny pim Configruration connent as same as <0-255> 33.1.2.15 access-list 101 deny tcp S w i t c h ( c o n f i g ) # a c c e s s - l i s t 1 0 1 d e n y t c p ? A .
Signamax Connectivity System 065-7429 33.1.2.15.2 A.B.C.D Source address → any Any destination host Format content as same as < A . B . C . D S o u r c e a d d r e s s A . B . C . D S o u r c e a d d r e s s → → → → A . B . C . D D e s t i n a t i o n a d d r e s s A .
Signamax Connectivity System 065-7429 p e r m i t S p e c i f y p a c k e t s t o f o r w a r d S w i t c h ( c o n f i g ) # a c c e s s - l i s t 2 0 1 d e n y ? <...
Signamax Connectivity System 065-7429 33.2.1.3 show access-list type { standard_IP | extended_IP | standard_MAC | extended_MAC | type_code } S w i t c h # s h o w a c c e s s - l i s t t y p e ?
Signamax Connectivity System 065-7429 34 ACL— — — — QoS stctic 43.1 configuration 34.1.1 policy-map access-group <1-1199> c o n f i g u r a t i o n c o n f i g u r a t i o n : : : :...
Page 116
Signamax Connectivity System 065-7429 34.1.1.1.1 counter S w i t c h ( c o n f i g - p m a p ) # c o u n t e r ? W O R D C o u n t e r n a m e S w i t c h ( c o n f i g - p m a p ) # c o u n t e r t e s t ? <...