华为 S5516配置
[s5516]int g 1/1) l t2 N+ L4 |+ h0 u/ v; w 本文出自 51CTO.COM技术博客[s5516-GigabitEthernet1/1]?; A1 q& K% f% A" d1 X" z" a Gigabitethernet interface view commands: description Describe the interface6 d9 k" r' N u( k display Display current system information dot1x Specify 802.1x configuration information. f1 y- z, w) O7 b duplex Status of duplex enable Enable function flow-control Flow control command garp Generic Attribute Registration Protocol gmrp GARP Multicast Registration Protocol gvrp GARP VLAN Registration Protocol igmp Igmp command2 |0 v& G( V. p9 c' N0 |% G4 B jumboframe Jumboframe command. o$ E; [" r+ S$ [. L& K" C loopback Specify loopback of current port) |9 t, u5 d) E4 T# h mac-address Specify configuration about mac-address8 v" I. C$ q9 V9 H. L mdi Specify mdi type ndp Neighbor discovery protocol. ]! B* @: e6 t ntdp Specify NTDP configuration information# Q) I8 n+ S$ \& ~0 m/ ^# d' M t ping Ping function port Specify Port link-type characteristics- [( x, L) Q' k9 ~" m( @, j2 K9 K7 K* ~ priority Specify priority& }% J) r9 q* ~ [s5516]dis cu #2 x5 {# @) ]% S sysname s5516 # radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646" N% b- l" W- O5 Y% J user-name-format without-domain 9 _9 Z1 j# z+ F7 o; I% n( L domain system radius-scheme system% C, J8 f" p' s" Q3 J8 G$ l access-limit disable state active idle-cut disable H0 j- l8 ]; e* i8 S" ]) h: F; }& g/ M self-service-url disable messenger time disable domain default enable system # local-server nas-ip 127.0.0.1 key huawei% d R0 M" M% I% } #$ C( T P! P0 F stp enable6 g) g6 |* _3 F8 Z* ^# ` #6 ^2 I( W/ l+ ^- X: G acl number 100 rule 1 deny ip source 192.168.3.0 0.0.0.255 destination 192.168.1.0 0.0.0.255 rule 2 deny ip source 192.168.3.0 0.0.0.255 destination 192.168.0.0 0.0.0.255 rule 3 deny ip source 192.168.9.0 0.0.0.255 destination 192.168.0.0 0.0.0.255# g; Q( T+ t s) ?: }) ~) [ rule 4 deny ip source 192.168.9.0 0.0.0.255 destination 192.168.1.0 0.0.0.255+ z9 B/ d4 ?) M' h+ \ #1 M1 Z2 n+ R6 h, C1 b( q vlan 16 b O. d; i% {, i # vlan 27 _; A& {; l; T! G8 ]$ | ## P4 K A" {, e vlan 33 p3 g4 k* n+ h* r # vlan 4 # vlan 5 #! h1 K4 v- ?4 F3 n ?# P vlan 7& b$ Z$ |+ v& S+ K( c A1 n #' o- y; P0 f+ r b* f& y vlan 8 #0 L/ K& _7 j h6 r: c interface Vlan-interface1 description manage_switch: F: F. l% i( K% M! ?. ^ ip address 192.168.12.254 255.255.255.0" O) P7 t+ H6 f4 b. l- f1 C" w( H #9 ?0 F4 u& y* `1 p( D interface Vlan-interface2 ]+ }' d5 l1 J+ u description servers- M, W$ ?$ b7 H% D! B+ Z7 ^ ip address 192.168.0.254 255.255.255.0' J6 C5 L& v9 Z. D2 ?9 F4 H #9 X+ A/ l+ {! I, `2 h/ N% l: {& U- w interface Vlan-interface3 description caiwu" \$ s; Q! y9 Y$ [$ f2 _ ip address 192.168.2.254 255.255.255.0 #" l* H) h$ x* p3 i7 n# }' @ interface Vlan-interface4! K- w6 @, x% q& o, z7 Q description internet) n2 j3 g2 N+ N6 J1 w5 L- K ip address 192.168.3.254 255.255.255.0' g% g7 S/ P! v# P8 B # interface Vlan-interface5 description nuiwang ip address 192.168.1.254 255.255.255.0 # interface Vlan-interface7 description internet_firewall ip address 192.168.10.254 255.255.255.0# N# T. q# z3 F # F$ ^' Q: l* E) b$ a' ~. d interface Vlan-interface8 description vpn_firewall" H1 z r' x5 } ip address 192.168.11.254 255.255.255.0 #9 ^+ l( m- D; H3 R9 r interface Aux0/0 #- n' d" ~1 R! ^ interface GigabitEthernet1/1+ z& I1 }. h9 ^+ O1 I1 F4 `$ h- u port access vlan 2& I1 `+ W0 b, n6 d; S8 k; i #7 M/ @% k+ e' W8 g! Z: E interface GigabitEthernet1/2& P" X3 ~+ ?3 k) J. x5 i3 U port access vlan 2 #- a5 @6 u$ h4 `& g interface GigabitEthernet1/31 b1 U9 w+ S, f/ g. E port access vlan 2 # interface GigabitEthernet1/4 port access vlan 2+ {3 x: `$ D7 ^4 Q) ? #" ^7 \. ^3 G( m/ }4 x interface GigabitEthernet2/19 J: b& [( D. t% r2 {' y port access vlan 24 T- s" j3 a1 \7 A # interface GigabitEthernet2/25 D, h4 L7 A3 ?" j; Q: y( b port access vlan 20 c& ^& p9 }! P% e # interface GigabitEthernet2/3 port access vlan 23 ^9 ]6 z/ y" C3 n6 H# k # interface GigabitEthernet2/4 port access vlan 2( I+ _, W1 ^' ?# K9 Q ## U' K5 \1 {5 v* h) z L! b interface GigabitEthernet3/1 port link-type trunk5 X8 H' M$ z: W3 x) p e/ X port trunk permit vlan all # interface GigabitEthernet3/2 port link-type trunk port trunk permit vlan all # a' S4 } i6 _8 J4 x l- q5 |9 P interface GigabitEthernet3/3 port link-type trunk6 q& g" T; `! z4 k port trunk permit vlan all # interface GigabitEthernet3/4 port link-type trunk port trunk permit vlan all! l% W) }, H) V/ k) D # interface GigabitEthernet4/1 port access vlan 2 # interface GigabitEthernet4/2- Z. q7 G2 M& q( e0 ?+ X description vpv_firewall/ I8 c+ x0 @3 _( ~! X: c port access vlan 8 # interface GigabitEthernet4/3 description internet_firewall! J/ k0 a; |7 K- O) _) n3 ]+ v port access vlan 7 #' Y* d1 U. m5 v) @ interface GigabitEthernet4/4$ `% u6 Q& m/ k* E' G6 | port access vlan 2 #6 k1 {1 L9 z: \$ F1 v, c# e interface NULL0 #, p3 D( v0 }. P rip network 192.168.0.0 network 192.168.1.0& g5 q3 C \) u$ m5 K6 y% r network 192.168.2.0# f- m( c# h7 l" ~ network 192.168.3.0 network 172.16.0.04 ^( Z5 Y2 o% I' ~8 @6 ^4 a- G" t network 192.168.10.0 network 192.168.11.0 network 192.168.12.0 # packet-filter ip-group 100 rule 1& w5 I" w. a* E. C X3 w# U# t packet-filter ip-group 100 rule 2! M; ^& U1 d/ S( h" w: G8 W packet-filter ip-group 100 rule 3- a! G8 T. u Y: ]0 `; s9 B. ~ packet-filter ip-group 100 rule 4 #6 _1 _- l* a2 W g8 S2 l9 R8 v/ E ip route-static 0.0.0.0 0.0.0.0 192.168.10.253 preference 60 ip route-static 192.168.4.0 255.255.255.0 192.168.11.253 preference 60 ip route-static 192.168.5.0 255.255.255.0 192.168.11.253 preference 60$ x3 g& {$ f" K! r ip route-static 192.168.6.0 255.255.255.0 192.168.11.253 preference 60 ip route-static 192.168.7.0 255.255.255.0 192.168.11.253 preference 60( o% r) S9 c$ G' n7 F7 J( a { ip route-static 192.168.8.0 255.255.255.0 192.168.11.253 preference 60 ip route-static 192.168.9.0 255.255.255.0 192.168.11.253 preference 60 h! W4 T, q' [ R #% h0 p4 J, x- C- S: @5 g% R: H user-interface aux 0/ B8 g) J6 i) @* f+ d9 @ user-interface vty 0 4 user privilege level 3 set authentication password simple cisco8 N! a8 n& k& |% N6 ~ # return ( R, E8 k! m4 L; P <s5516>sys Enter system view , return user view with Ctrl+Z.$ O9 R1 y/ x( P: K3 Q8 ?! @+ k [s5516]dis ver! ^( D) d3 F1 e+ W' Y: e Huawei Versatile Routing Platform Software* ?* p3 z: g) X; q VRP (R) Software, Version 3.10(CN), RELEASE 0027 Copyright (c) 2000-2003 HUAWEI TECH CO., LTD.; N1 p, q' n" N5 O+ J# c9 {- i Quidway S5516 uptime is 0 week,1 day,1 hour,1 minute # {. q4 }; a. I4 ?$ f& c w Quidway S5516 with 1 MPC 860 Processor) o3 x3 o& ^ |& ~ 128M bytes SDRAM 8M bytes Flash Memory Config Register points to FLASH& k, G5 y% o! z Hardware Version : REV.0) v6 Y) @, O" y0 A* } Logic Version : (U11)001(U25)001 Bootrom Version : 730 [Subslot 0] MAIN Hardware Version is REV.0, Bootrom Version is 730 [Subslot 1] 4 GS4L Hardware Version is REV.0, Bootrom Version is NULL [Subslot 2] 4 GS4L Hardware Version is REV.0, Bootrom Version is NULL& M h) u9 r: J( u7 }( y6 J [Subslot 3] 4 GS4L Hardware Version is REV.0, Bootrom Version is NULL [Subslot 4] 4 GT4U Hardware Version is REV.0, Bootrom Version is NULL n$ T, J6 c- A1 F- i 7 T) R! r9 n* d8 h2 L% _ [s5516] |


swver
博客统计信息
热门文章
最新评论
友情链接
