找回密码
 注册
查看: 3763|回复: 2

cisco 3560设备tag标签网络配置

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-11-4 17:58:35 | 显示全部楼层 |阅读模式
购买主题 本主题需向作者支付 10 金钱 才能浏览

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2018-11-4 19:07:27 | 显示全部楼层

3 |9 O% Z3 T5 h0 }6 zSwitch#configure terminal
- r4 a% x- v- i6 dEnter configuration commands, one per line.  End with CNTL/Z.. ~7 @3 a: j6 m7 P  Z
Switch(config)#interface range f
( I- E3 l# c7 ?8 W- I6 n: vSwitch(config-if-range)#exit
9 w; N4 x; Y& q$ dSwitch(config)#exit" v  [% w* v5 `0 d5 A2 l& I
Switch#wr. ?/ W5 s! v7 V- u1 Z# [+ A

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2018-11-4 19:33:08 | 显示全部楼层
Switch#configure terminal 4 X, Y4 j, B% O- R5 J& T1 Z
Enter configuration commands, one per line.  End with CNTL/Z.
7 [$ S, c% J4 X0 w4 C" J
( c" ^* Z0 z1 b2 m6 u/ F1 D$ |Switch(config)#exit2 @' m7 z* e" {2 s; A( e* {
Switch#wr
5 R% f2 x6 ]4 V% r1 mBuilding configuration...
3 e$ I: c' w! s: e- X" Z[OK]
" E& Y% n# y8 ^/ T( I1 c8 FSwitch#
0 a4 U/ r# _% \8 B- H: m  g7 ?) M02:05:46: %SYS-5-CONFIG_I: Configured from console by consoles- B5 x1 U2 G6 i/ U9 z
% Type "show ?" for a list of subcommands3 A* V% S9 E/ I. F8 V; \
; I! D7 A! ^$ s1 x6 S4 s# K& Y
. m" x% D4 }; F3 H. p2 t
Using 1915 out of 524288 bytes
* s2 z1 w1 K, s7 `' f!
% M" X8 B7 T1 y9 K( rversion 12.27 D7 l; f. Z( F! e2 z
no service pad& {; `; w0 c' S$ G6 @3 y
service timestamps debug uptime
" M0 k+ m7 n  N/ |service timestamps log uptime# Z! Q# u, g" z! `' k4 J" P
no service password-encryption& x2 `4 q6 j2 p, T) T" b9 M) D
!
: Q6 w, R8 D; {2 Z4 X+ ?5 J4 H4 C/ ?hostname Switch% o+ l* b6 t2 |6 ]- _! }. @
!' ^6 |& T6 O( H
!( `5 ]7 I% @: m
no aaa new-model3 b2 w- l6 h+ i& X2 U) A) y$ J
ip subnet-zero/ v9 h* r" h& y) y. z; ~
ip routing, O# y0 W1 n& }5 z1 t- E& ?/ J
no ip domain-lookup5 ]; B: p) [. I  x: G: h
!
! `1 M9 z7 ~+ O/ B- aip dhcp pool vlan20
: k. ^. l+ r6 U. V! R   network 10.10.20.0 255.255.255.0
# Z8 b; l! O  R" e% t   dns-server 10.10.20.1 , e- _& a* ?/ h8 U$ R, r: v% ~7 C
   default-router 10.10.20.1
/ x2 O& a# h; [; Z7 w, e!7 B1 n" a- i5 {% @* U4 m
ip dhcp pool vlan10
3 ]% m1 ]: Y( a7 g* X" B5 {   network 10.10.19.0 255.255.255.0' d. {' X/ s' E2 b# q
   dns-server 10.10.19.1
: \  o' J& Y2 f2 F0 x   default-router 10.10.19.1 ; ]* i9 M+ C% H5 j
!         
: P& n( @! q# H, ~1 |9 x% i!         
% {0 {# }6 Z' i9 N!         
5 S9 k4 s4 q+ |!         
& s3 ]( A. [8 w1 l- [" w, P+ j/ m& }no file verify auto. p* c: o( |- Y( @8 @% d- h
spanning-tree mode pvst: h$ ?6 B3 H0 f
spanning-tree extend system-id: H( [. a3 O; ?/ _7 G  |: X4 J4 |4 b- h
!         
0 f( B* s, ?( Dvlan internal allocation policy ascending* v2 Y0 ~: ]3 \
!         6 h  {/ _3 d  ]0 o/ U& d" i
interface FastEthernet0/1
2 S% |( T' ]( G- }  R switchport trunk allowed vlan 2-300
- P7 X# X5 }% x2 s1 L/ _6 p( I switchport mode dot1q-tunnel
4 W4 m  s9 e. ?" H) r# B no cdp enable
& q% v+ h. V5 H  L& t spanning-tree portfast! `- N! s6 R2 X
!         6 l4 \! J( d4 S. r7 {2 R
interface FastEthernet0/29 J0 l4 x6 e3 Y& B, n- Q
switchport trunk allowed vlan 2-300
' G7 W: r# S+ F1 @% _2 i0 B switchport mode dot1q-tunnel
1 t# S' v) b- q3 d. y no cdp enable
7 s/ G# R3 a% O+ Q% A/ f spanning-tree portfast" {1 N( C3 M7 \
!         & o7 ^8 H) t1 z: Z! s$ M) E/ m
interface FastEthernet0/3
  x! f7 T/ ]; L7 y switchport access vlan 10
+ n6 S  X5 e8 [7 a! | switchport mode dot1q-tunnel& `- V0 H6 J$ w2 X) O8 O
spanning-tree portfast
1 }9 |! K9 s5 K!         
: J. ], P; ~% `( ^) pinterface FastEthernet0/4
/ A" Z" Z) {  ?% E switchport access vlan 10
& @3 ]3 D1 ]2 F& a6 T, t/ j switchport mode dot1q-tunnel
7 Y) s5 Q! X3 e2 A) { spanning-tree portfast
7 c* S2 l8 \* R- E5 T  c" A!         
" ]- o# ?( P# \interface FastEthernet0/5% j( G  X- y1 p$ W  x# t
!         ( Z0 X" C7 T3 Y% P4 W
interface FastEthernet0/6* y) }6 T: ]( h/ u. b
!         , `3 Y! L7 g! l, m! P( W& z
interface FastEthernet0/7
. J' w3 u6 R7 }% k/ X6 y& g!         : X& f% c. U9 L: a
interface FastEthernet0/8
- X1 ]- W0 N2 ~' m8 A* d0 H! F! {7 `* D, S! G$ t% Z( q
Switch#reload4 F9 ?- I+ [$ ]/ B! V3 h
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:20 , Processed in 0.020576 second(s), 26 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表