Cat 6509 NAT 实例

6509 NAT 示例

Console> (enable) show config all

begin

!

# ***** ALL (DEFAULT and NON-DEFAULT) CONFIGURATION *****

!

!

#time: Sun Oct 21 2001, 21:36:49

!

#version 6.2(2)

!

set password $2$FMFQ$HfZR5DUszVHIRhrz4h6V70

set enablepass $2$FMFQ$HfZR5DUszVHIRhrz4h6V70

set prompt Console>

set length 24 default

set logout 20

set config mode binary

set banner motd ^C^C

!

#test

set test diaglevel minimal

!

#errordetection

set errordetection inband disable

set errordetection memory disable

set errordetection portcounter enable

!

#system

set system baud 9600

set system modem disable

set system name

set system location

set system contact

set system countrycode

set traffic monitor 100

set system highavailability disable

set system highavailability versioning disable

set system core-dump disable

set system core-file slot0:crashinfo

set feature log-command enable

set feature supmon enable

!

#power

set power redundancy enable

!

#frame distribution method

set port channel all distribution ip both

!

#mac address reduction

set spantree macreduction disable

!

#default portcost mode

set spantree defaultcostmode short

!

#snmp

set snmp community read-only public

set snmp community read-write private

set snmp community read-write-all secret

set snmp rmon disable

set snmp rmonmemory 85

set snmp trap disable module

set snmp trap disable chassis

set snmp trap disable bridge

set snmp trap disable repeater

set snmp trap disable vtp

set snmp trap disable auth

set snmp trap disable ippermit

set snmp trap disable vmps

set snmp trap disable entity

set snmp trap disable config

set snmp trap disable stpx

set snmp trap disable syslog

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

!

#tacacs+

set tacacs attempts 3

set tacacs directedrequest disable

set tacacs timeout 5

!

#radius

set radius deadtime 0

set radius timeout 5

set radius retransmit 2

!

#kerberos

!

#authentication

set authentication login tacacs disable console

set authentication login tacacs disable telnet

set authentication login tacacs disable http

set authentication enable tacacs disable console

set authentication enable tacacs disable telnet

set authentication enable tacacs disable http

set authentication login radius disable console

set authentication login radius disable telnet

set authentication login radius disable http

set authentication enable radius disable console

set authentication enable radius disable telnet

set authentication enable radius disable http

set authentication login local enable console

set authentication login local enable telnet

set authentication login local enable http

set authentication enable local enable console

set authentication enable local enable telnet

set authentication enable local enable http

set authentication login kerberos disable console

set authentication login kerberos disable telnet

set authentication login kerberos disable http

set authentication enable kerberos disable console

set authentication enable kerberos disable telnet

set authentication enable kerberos disable http

set authentication login attempt 3 console

set authentication login attempt 3 telnet

set authentication login lockout 0 console

set authentication login lockout 0 telnet

set authentication enable attempt 3 console

set authentication enable attempt 3 telnet

set authentication enable lockout 0 console

set authentication enable lockout 0 telnet

!

#stp mode

set spantree mode pvst+

!

#vtp

set vtp domain hbu

set vtp mode server

set vtp v2 disable

set vtp pruning disable

set vtp pruneeligible 2-1000

clear vtp pruning 1001-1005

set vlan 1 name default type ethernet mtu 1500 said 100001 state active

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set vlan 99 name wh type ethernet mtu 1500 said 100099 state active

set vlan 101 name xinzhongxin type ethernet mtu 1500 said 100101 state active

set vlan 102 name laozhongxin type ethernet mtu 1500 said 100102 state active

set vlan 103 name chukou type ethernet mtu 1500 said 100103 state active

set vlan 510 name 02x type ethernet mtu 1500 said 100510 state active

set vlan 511 name 02d type ethernet mtu 1500 said 100511 state active

set vlan 512 name 04x type ethernet mtu 1500 said 100512 state active

set vlan 513 name 06x type ethernet mtu 1500 said 100513 state active

set vlan 514 name 06d type ethernet mtu 1500 said 100514 state active

set vlan 515 name 09x type ethernet mtu 1500 said 100515 state active

set vlan 516 name 09d type ethernet mtu 1500 said 100516 state active

set vlan 517 name 12x type ethernet mtu 1500 said 100517 state active

set vlan 518 name 12d type ethernet mtu 1500 said 100518 state active

set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active

set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state acti

set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active s

set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state act

set dot1q-all-tagged disable

!

#ip

set feature mdg enable

set feature psync-recovery no-powerdown

set interface sc0 1 10.186.240.100/255.0.0.0 10.255.255.255

set interface sc0 up

set interface sl0 0.0.0.0 0.0.0.0

set interface sl0 up

set arp agingtime 1200

set ip redirect enable

set ip unreachable enable

set ip fragmentation enable

set ip alias default 0.0.0.0

!

#command alias

!

#vmps

set vmps server retry 3

set vmps server reconfirminterval 60

set vmps downloadmethod tftp

set vmps downloadserver 0.0.0.0 vmps-config-database.1

set vmps state disable

!

#rcp

set rcp username

!

#dns

set ip dns disable

!

#spantree

#uplinkfast groups

set spantree uplinkfast disable

#backbonefast

set spantree backbonefast disable

#portfast

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set spantree portfast bpdu-guard disable

set spantree portfast bpdu-filter disable

#bpdu-skewing

set spantree bpdu-skewing disable

#vlan 1003

set spantree enable 1003

set spantree fwddelay 4 1003

set spantree hello 2 1003

set spantree maxage 10 1003

set spantree priority 32768 1003

#vlan 1005

set spantree enable 1005

set spantree fwddelay 4 1005

set spantree hello 2 1005

set spantree maxage 10 1005

set spantree priority 32768 1005

#vlan(defaults)

set spantree enable 1,99,101-103,510-518

set spantree fwddelay 15 1,99,101-103,510-518

set spantree hello 2 1,99,101-103,510-518

set spantree maxage 20 1,99,101-103,510-518

set spantree priority 32768 1,99,101-103,510-518

!

#syslog

set logging console enable

set logging telnet enable

set logging server disable

set logging level cdp 4 default

set logging level mcast 2 default

set logging level dtp 5 default

set logging level earl 2 default

set logging level ip 2 default

set logging level pruning 2 default

set logging level snmp 2 default

set logging level spantree 2 default

set logging level sys 5 default

set logging level tac 2 default

set logging level tcp 2 default

set logging level telnet 2 default

set logging level tftp 2 default

set logging level vtp 2 default

set logging level vmps 2 default

set logging level kernel 2 default

set logging level filesys 2 default

set logging level pagp 5 default

set logging level mgmt 5 default

set logging level mls 5 default

set logging level protfilt 2 default

set logging level security 2 default

set logging level radius 2 default

set logging level udld 4 default

set logging level gvrp 2 default

set logging level cops 3 default

set logging level qos 3 default

set logging level acl 5 default

set logging level rsvp 3 default

set logging level ld 3 default

set logging level privatevlan 3 default

set logging server facility LOCAL7

set logging server severity 4

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set logging timestamp enable

set logging buffer 500

set logging history 1

!

#ntp

set ntp broadcastclient disable

set ntp broadcastdelay 3000

set ntp client disable

set ntp authentication disable

clear timezone

set summertime disable

set summertime recurring

!

#set boot command

set boot config-register 0x2

set boot config-register auto-config overwrite

set boot config-register auto-config sync disable

set boot system flash bootflash:cat6000-sup.6-2-2.bin

set config acl nvram

!

#permit list

set ip permit disable telnet

set ip permit disable ssh

set ip permit disable snmp

!

#permanent arp entries

!

#igmp

set igmp disable

set igmp fastleave disable

!

#rgmp

set rgmp disable

!

#protocolfilter

set protocolfilter disable

!

#mls

set mls flow destination

set mls nde version 7

set mls agingtime 256

set mls agingtime ipx 256

set mls agingtime fast 0 0

set mls nde disable

!

#vlan mapping

!

#gmrp

set gmrp disable

!

#garp

set garp timer all 200 600 10000

!

#cdp

set cdp interval 60

set cdp holdtime 180

set cdp enable

set cdp version v2

!

#dot1x

set dot1x system-auth-control enable

set dot1x quiet-period 60

set dot1x tx-period 30

set dot1x supptimeout 30

set dot1x servertimeout 30

set dot1x maxreq 2

set dot1x re-authperiod 3600

set dot1x re-authentication disable

!

#qos

set qos disable

set qos drop-threshold 1q4t rx queue 1 50 60 80 100

set qos map 2q2t tx 1 1 cos 0

set qos map 2q2t tx 1 1 cos 1

set qos map 2q2t tx 1 2 cos 2

set qos map 2q2t tx 1 2 cos 3

set qos map 2q2t tx 2 1 cos 4

set qos map 2q2t tx 2 1 cos 5

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set qos map 2q2t tx 2 2 cos 6

set qos map 2q2t tx 2 2 cos 7

set qos drop-threshold 2q2t tx queue 1 80 100

set qos drop-threshold 2q2t tx queue 2 80 100

set qos wrr 2q2t 5 255

set qos txq-ratio 2q2t 80 20

set qos map 1p1q4t rx 1 1 cos 0

set qos map 1p1q4t rx 1 1 cos 1

set qos map 1p1q4t rx 1 2 cos 2

set qos map 1p1q4t rx 1 2 cos 3

set qos map 1p1q4t rx 1 3 cos 4

set qos map 1p1q4t rx 2 1 cos 5

set qos map 1p1q4t rx 1 3 cos 6

set qos map 1p1q4t rx 1 4 cos 7

set qos drop-threshold 1p1q4t rx queue 1 50 60 80 100

set qos map 1p2q2t tx 1 1 cos 0

set qos map 1p2q2t tx 1 1 cos 1

set qos map 1p2q2t tx 1 2 cos 2

set qos map 1p2q2t tx 1 2 cos 3

set qos map 1p2q2t tx 2 1 cos 4

set qos map 1p2q2t tx 3 1 cos 5

set qos map 1p2q2t tx 2 1 cos 6

set qos map 1p2q2t tx 2 2 cos 7

set qos wrr 1p2q2t 5 255

set qos txq-ratio 1p2q2t 70 15 15

set qos wred 1p2q2t tx queue 1 40:70 70:100

set qos wred 1p2q2t tx queue 2 40:70 70:100

set qos map 1p3q1t tx 1 1 cos 0

set qos map 1p3q1t tx 1 1 cos 1

set qos map 1p3q1t tx 2 1 cos 2

set qos map 1p3q1t tx 2 1 cos 3

set qos map 1p3q1t tx 2 1 cos 4

set qos map 1p3q1t tx 4 1 cos 5

set qos map 1p3q1t tx 3 1 cos 6

set qos map 1p3q1t tx 3 1 cos 7

set qos wrr 1p3q1t 100 150 200

set qos wred 1p3q1t tx queue 1 70:100

set qos wred 1p3q1t tx queue 2 70:100

set qos wred 1p3q1t tx queue 3 70:100

set qos map 1p1q0t rx 1 cos 0

set qos map 1p1q0t rx 1 cos 1

set qos map 1p1q0t rx 1 cos 2

set qos map 1p1q0t rx 1 cos 3

set qos map 1p1q0t rx 1 cos 4

set qos map 1p1q0t rx 2 cos 5

set qos map 1p1q0t rx 1 cos 6

set qos map 1p1q0t rx 1 cos 7

set qos rxq-ratio 1p1q0t 80 20

set qos map 1p2q1t tx 1 1 cos 0

set qos map 1p2q1t tx 1 1 cos 1

set qos map 1p2q1t tx 2 1 cos 2

set qos map 1p2q1t tx 2 1 cos 3

set qos map 1p2q1t tx 1 1 cos 4

set qos map 1p2q1t tx 3 1 cos 5

set qos map 1p2q1t tx 2 1 cos 6

set qos map 1p2q1t tx 1 1 cos 7

set qos wrr 1p2q1t 5 255

set qos txq-ratio 1p2q1t 70 15 15

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set qos wred 1p2q1t tx queue 1 0:100

set qos wred 1p2q1t tx queue 2 0:100

set qos rxq-ratio 1p1q8t 80 20

set qos wred 1p1q8t rx queue 1 0:100 0:100 0:100 0:100 0:100 0:100 0:100 0:100

set qos bridged-microflow-policing disable 1-1000,1025-4094

set qos cos-dscp-map 0 8 16 24 32 40 48 56

set qos ipprec-dscp-map 0 8 16 24 32 40 48 56

set qos dscp-cos-map 0-7:0

set qos dscp-cos-map 8-15:1

set qos dscp-cos-map 16-23:2

set qos dscp-cos-map 24-31:3

set qos dscp-cos-map 32-39:4

set qos dscp-cos-map 40-47:5

set qos dscp-cos-map 48-55:6

set qos dscp-cos-map 56-63:7

set qos policed-dscp-map 0:0

set qos policed-dscp-map 1:1

set qos policed-dscp-map 2:2

set qos policed-dscp-map 3:3

set qos policed-dscp-map 4:4

set qos policed-dscp-map 5:5

set qos policed-dscp-map 6:6

set qos policed-dscp-map 7:7

set qos policed-dscp-map 8:8

set qos policed-dscp-map 9:9

set qos policed-dscp-map 10:10

set qos policed-dscp-map 11:11

set qos policed-dscp-map 12:12

set qos policed-dscp-map 13:13

set qos policed-dscp-map 14:14

set qos policed-dscp-map 15:15

set qos policed-dscp-map 16:16

set qos policed-dscp-map 17:17

set qos policed-dscp-map 18:18

set qos policed-dscp-map 19:19

set qos policed-dscp-map 20:20

set qos policed-dscp-map 21:21

set qos policed-dscp-map 22:22

set qos policed-dscp-map 23:23

set qos policed-dscp-map 24:24

set qos policed-dscp-map 25:25

set qos policed-dscp-map 26:26

set qos policed-dscp-map 27:27

set qos policed-dscp-map 28:28

set qos policed-dscp-map 29:29

set qos policed-dscp-map 30:30

set qos policed-dscp-map 31:31

set qos policed-dscp-map 32:32

set qos policed-dscp-map 33:33

set qos policed-dscp-map 34:34

set qos policed-dscp-map 35:35

set qos policed-dscp-map 36:36

set qos policed-dscp-map 37:37

set qos policed-dscp-map 38:38

set qos policed-dscp-map 39:39

set qos policed-dscp-map 40:40

set qos policed-dscp-map 41:41

set qos policed-dscp-map 42:42

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set qos policed-dscp-map 43:43

set qos policed-dscp-map 44:44

set qos policed-dscp-map 45:45

set qos policed-dscp-map 46:46

set qos policed-dscp-map 47:47

set qos policed-dscp-map 48:48

set qos policed-dscp-map 49:49

set qos policed-dscp-map 50:50

set qos policed-dscp-map 51:51

set qos policed-dscp-map 52:52

set qos policed-dscp-map 53:53

set qos policed-dscp-map 54:54

set qos policed-dscp-map 55:55

set qos policed-dscp-map 56:56

set qos policed-dscp-map 57:57

set qos policed-dscp-map 58:58

set qos policed-dscp-map 59:59

set qos policed-dscp-map 60:60

set qos policed-dscp-map 61:61

set qos policed-dscp-map 62:62

set qos policed-dscp-map 63:63

set qos acl default-action ip dscp 0

set qos acl default-action ipx dscp 0

set qos acl default-action mac dscp 0

set qos policy-source local

set qos rsvp disable

set qos rsvp policy-timeout 30

set qos rsvp local-policy forward

!

#cops

set cops retry-interval 30 30 300

!

#udld

set udld disable

set udld interval 15

!

#port channel

set port channel 1/1-2 25

set port channel 2/1-4 26

set port channel 2/5-8 27

set port channel 3/1-4 28

set port channel 3/5-8 29

!

#security ACLs

!

#accounting

set accounting exec disable

set accounting connect disable

set accounting system disable

set accounting commands disable

set accounting suppress null-username disable

set accounting update new-info

!

#errdisable timeout

set errdisable-timeout disable other

set errdisable-timeout disable udld

set errdisable-timeout disable duplex-mismatch

set errdisable-timeout disable bpdu-guard

set errdisable-timeout disable channel-misconfig

set errdisable-timeout interval 300

!

#http configuration

set ip http server disable

set ip http port 80

!

#private vlans

!

#crypto key

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

!

#qos statistics data export

set qos statistics export disable

set qos statistics export interval 300

set qos statistics export destination 0.0.0.0 0

!

# default port status is enable

!

!

#module 1 : 2-port 1000BaseX Supervisor

set module name 1

set vlan 101 1/2

set vlan 102 1/1

set port enable 1/1-2

set port trap 1/1-2 disable

set port name 1/1 laozhongxin

set port name 1/2 xinzhongxin

set port dot1x 1/1-2 port-control force-authorized

set port dot1x 1/1-2 multiple-host disable

set port security 1/1-2 disable age 0 maximum 1 shutdown 0 violation shutdown

set port broadcast 1/1-2 100.00% multicast disable unicast disable

set port membership 1/1-2 static

set port protocol 1/1-2 ip on

set port protocol 1/1-2 ipx auto

set port protocol 1/1-2 group auto

set port negotiation 1/1-2 enable

set port flowcontrol 1/1-2 send desired

set port flowcontrol 1/1-2 receive off

set cdp enable 1/1-2

set udld enable 1/1-2

set udld aggressive-mode disable 1/1-2

set trunk 1/1 auto negotiate 1-1005,1025-4094

set trunk 1/2 auto negotiate 1-1005,1025-4094

set spantree portfast 1/1-2 disable

set spantree portcost 1/1-2 4

set spantree portpri 1/1-2 32

set spantree portvlanpri 1/1 0

set spantree portvlanpri 1/2 0

set spantree portvlancost 1/1 cost 3

set spantree portvlancost 1/2 cost 3

set spantree guard none 1/1-2

set port qos 1/1-2 cos 0

set port qos 1/1-2 trust untrusted

set port qos 1/1-2 port-based

set port qos 1/1-2 policy-source cops

set port rsvp 1/1-2 dsbm-election disable 128

set port gvrp 1/1-2 disable

set gvrp registration normal 1/1-2

set gvrp applicant normal 1/1-2

set port gmrp 1/1-2 enable

set gmrp registration normal 1/1-2

set gmrp fwdall disable 1/1-2

set port channel 1/1-2 mode auto silent

set port jumbo 1/1-2 disable

set port dot1qtunnel 1/1-2 disable

set qos statistics export port 1/1 disable

set qos statistics export port 1/2 disable

!

#module 2 : 8-port 1000BaseX Ethernet

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set module name 2

set module enable 2

set vlan 1 2/4

set vlan 510 2/1

set vlan 511 2/2

set vlan 512 2/3

set vlan 513 2/5

set vlan 514 2/6

set vlan 515 2/7

set vlan 516 2/8

set port enable 2/1-8

set port trap 2/1-8 disable

set port name 2/1 02x

set port name 2/2 02d

set port name 2/3 04x

set port name 2/5 06x

set port name 2/6 06d

set port name 2/7 09x

set port name 2/8 09d

set port name 2/4

set port dot1x 2/1-8 port-control force-authorized

set port dot1x 2/1-8 multiple-host disable

set port security 2/1-8 disable age 0 maximum 1 shutdown 0 violation shutdown

set port broadcast 2/1-8 100.00% multicast disable unicast disable

set port membership 2/1-8 static

set port protocol 2/1-8 ip on

set port protocol 2/1-8 ipx auto

set port protocol 2/1-8 group auto

set port negotiation 2/1-8 enable

set port flowcontrol 2/1-8 send desired

set port flowcontrol 2/1-8 receive off

set cdp enable 2/1-8

set udld enable 2/1-8

set udld aggressive-mode disable 2/1-8

set trunk 2/1 auto negotiate 1-1005,1025-4094

set trunk 2/2 auto negotiate 1-1005,1025-4094

set trunk 2/3 off dot1q 1-1005,1025-4094

set trunk 2/4 auto negotiate 1-1005,1025-4094

set trunk 2/5 auto negotiate 1-1005,1025-4094

set trunk 2/6 auto negotiate 1-1005,1025-4094

set trunk 2/7 auto dot1q 1-1005,1025-4094

set trunk 2/8 auto negotiate 1-1005,1025-4094

set spantree portfast 2/1-8 disable

set spantree portcost 2/1-8 4

set spantree portpri 2/1-8 32

set spantree portvlanpri 2/1 0

set spantree portvlanpri 2/2 0

set spantree portvlanpri 2/3 0

set spantree portvlanpri 2/4 0

set spantree portvlanpri 2/5 0

set spantree portvlanpri 2/6 0

set spantree portvlanpri 2/7 0

set spantree portvlanpri 2/8 0

set spantree portvlancost 2/1 cost 3

set spantree portvlancost 2/2 cost 3

set spantree portvlancost 2/3 cost 3

set spantree portvlancost 2/4 cost 3

set spantree portvlancost 2/5 cost 3

set spantree portvlancost 2/6 cost 3

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set spantree portvlancost 2/7 cost 3

set spantree portvlancost 2/8 cost 3

set spantree guard none 2/1-8

set port qos 2/1-8 cos 0

set port qos 2/1-8 trust untrusted

set port qos 2/1-8 port-based

set port qos 2/1-8 policy-source cops

set port rsvp 2/1-8 dsbm-election disable 128

set port gvrp 2/1-8 disable

set gvrp registration normal 2/1-8

set gvrp applicant normal 2/1-8

set port gmrp 2/1-8 enable

set gmrp registration normal 2/1-8

set gmrp fwdall disable 2/1-8

set port channel 2/1-8 mode auto silent

set port jumbo 2/1-8 disable

set port dot1qtunnel 2/1-8 disable

set qos statistics export port 2/1 disable

set qos statistics export port 2/2 disable

set qos statistics export port 2/3 disable

set qos statistics export port 2/4 disable

set qos statistics export port 2/5 disable

set qos statistics export port 2/6 disable

set qos statistics export port 2/7 disable

set qos statistics export port 2/8 disable

!

#module 3 : 8-port 1000BaseX Ethernet

set module name 3

set module enable 3

set vlan 1 3/3-6

set vlan 101 3/7-8

set vlan 517 3/1

set vlan 518 3/2

set port enable 3/1-8

set port trap 3/1-8 disable

set port name 3/1 12x

set port name 3/2 12d

set port name 3/7 fuwu1

set port name 3/8 fuwu2

set port name 3/3-6

set port dot1x 3/1-8 port-control force-authorized

set port dot1x 3/1-8 multiple-host disable

set port security 3/1-8 disable age 0 maximum 1 shutdown 0 violation shutdown

set port broadcast 3/1-8 100.00% multicast disable unicast disable

set port membership 3/1-8 static

set port protocol 3/1-8 ip on

set port protocol 3/1-8 ipx auto

set port protocol 3/1-8 group auto

set port negotiation 3/1-8 enable

set port flowcontrol 3/1-8 send desired

set port flowcontrol 3/1-8 receive off

set cdp enable 3/1-8

set udld enable 3/1-2

set udld aggressive-mode disable 3/1-8

set trunk 3/1 auto negotiate 1-1005,1025-4094

set trunk 3/2 auto negotiate 1-1005,1025-4094

set trunk 3/3 auto negotiate 1-1005,1025-4094

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set trunk 3/4 auto negotiate 1-1005,1025-4094

set trunk 3/5 auto negotiate 1-1005,1025-4094

set trunk 3/6 auto negotiate 1-1005,1025-4094

set trunk 3/7 auto negotiate 1-1005,1025-4094

set trunk 3/8 auto negotiate 1-1005,1025-4094

set spantree portfast 3/1-8 disable

set spantree portcost 3/1-8 4

set spantree portpri 3/1-8 32

set spantree portvlanpri 3/1 0

set spantree portvlanpri 3/2 0

set spantree portvlanpri 3/3 0

set spantree portvlanpri 3/4 0

set spantree portvlanpri 3/5 0

set spantree portvlanpri 3/6 0

set spantree portvlanpri 3/7 0

set spantree portvlanpri 3/8 0

set spantree portvlancost 3/1 cost 3

set spantree portvlancost 3/2 cost 3

set spantree portvlancost 3/3 cost 3

set spantree portvlancost 3/4 cost 3

set spantree portvlancost 3/5 cost 3

set spantree portvlancost 3/6 cost 3

set spantree portvlancost 3/7 cost 3

set spantree portvlancost 3/8 cost 3

set spantree guard none 3/1-8

set port qos 3/1-8 cos 0

set port qos 3/1-8 trust untrusted

set port qos 3/1-8 port-based

set port qos 3/1-8 policy-source cops

set port rsvp 3/1-8 dsbm-election disable 128

set port gvrp 3/1-8 disable

set gvrp registration normal 3/1-8

set gvrp applicant normal 3/1-8

set port gmrp 3/1-8 enable

set gmrp registration normal 3/1-8

set gmrp fwdall disable 3/1-8

set port channel 3/1-8 mode auto silent

set port jumbo 3/1-8 disable

set port dot1qtunnel 3/1-8 disable

set qos statistics export port 3/1 disable

set qos statistics export port 3/2 disable

set qos statistics export port 3/3 disable

set qos statistics export port 3/4 disable

set qos statistics export port 3/5 disable

set qos statistics export port 3/6 disable

set qos statistics export port 3/7 disable

set qos statistics export port 3/8 disable

!

#module 4 empty

!

#module 5 empty

!

#module 6 empty

!

#module 15 : 1-port Multilayer Switch Feature Card

set module name 15

set module enable 15

set vlan 1 15/1

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

set port trap 15/1 disable

set port name 15/1

set cdp enable 15/1

set udld disable 15/1

set udld aggressive-mode disable 15/1

set trunk 15/1 nonegotiate isl 1-1005,1025-4094

set spantree portcost 15/1 4

set spantree portpri 15/1 32

set spantree portvlanpri 15/1 0

set spantree portvlancost 15/1 cost 3

set spantree guard none 15/1

set port gmrp 15/1 enable

set gmrp registration normal 15/1

set gmrp fwdall disable 15/1

!

#module 16 empty

!

#switch port analyzer

!

#cam

set cam agingtime 1,99,101-103,510-518,1003,1005 300

!

#gvrp

set gvrp dynamic-vlan-creation disable

set gvrp disable

!

#local director acceleration

set lda disable

!

#authorization

set authorization exec disable console

set authorization exec disable telnet

set authorization enable disable console

set authorization enable disable telnet

set authorization commands disable console

set authorization commands disable telnet

end

三层的例子:

R6500#show run

Building configuration...

Current configuration : 1557 bytes

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname R6500

!

boot system flash bootflash:c6msfc-psv-mz.121-7a.E1

enable password ××××

!

ip subnet-zero

!

!

no ip finger

!

ip multicast-routing

!

!

!

interface Vlan101

ip address ×××。×××。×××。××× 255.255.255.0 secondary

ip address ×××。×××。××××。××× 255.255.255.0

ip pim sparse-dense-mode

!

interface Vlan102

ip address 10.1.1.1 255.255.255.252 secondary

ip address 10.186.240.253 255.255.255.0

ip pim sparse-dense-mode

!

interface Vlan510

ip address 10.186.128.254 255.255.252.0

ip pim sparse-dense-mode

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页  

文章录入:csh    责任编辑:csh 

!

interface Vlan511

ip address 10.186.192.254 255.255.252.0

ip pim sparse-dense-mode

!

interface Vlan512

ip address 10.186.136.254 255.255.252.0

ip pim sparse-dense-mode

!

interface Vlan513

ip address 10.186.144.254 255.255.252.0

ip pim sparse-dense-mode

!

interface Vlan514

ip address 10.186.152.254 255.255.252.0

ip pim sparse-dense-mode

!

interface Vlan515

ip address 10.186.160.254 255.255.252.0

ip pim sparse-dense-mode

!

interface Vlan516

ip address 10.186.204.254 255.255.252.0

ip pim sparse-dense-mode

!

interface Vlan517

ip address 10.186.168.254 255.255.252.0

ip pim sparse-dense-mode

!

interface Vlan518

ip address 10.186.176.254 255.255.252.0

ip pim sparse-dense-mode

!

ip classless

ip route 0.0.0.0 0.0.0.0 10.186.240.252

ip route ×××.×××.0.0 255.255.128.0 10.1.1.2

ip route ×××。×××。×××。××× 255.255.255.0 10.1.1.2

ip http server

!

!

!

line con 0

transport input none

line vty 0 4

password ××××××

login

!

end

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 

文章录入:csh    责任编辑:csh

(0)

相关推荐

  • Cat 6509 NAT 实例

    6509 NAT 示例 Console> (enable) show config all begin ! # ***** ALL (DEFAULT and NON-DEFAULT) CONFIGURATION ***** ! ! #time: Sun Oct 21 2001, 21:36:49 ! #version 6.2(2) ! set password $2$FMFQ$HfZR5DUszVHIRhrz4h6V70 set enablepass $2$FMFQ$HfZR5DUszVHIRh

  • javascript面向对象快速入门实例

    本文深入浅出的讲述了javascript面向对象快速入门实例.分享给大家供大家参考.具体如下: javascript面向对象入门案例: 复制代码 代码如下: <script language="javascript" type="text/javascript"> function Cat(){//js中对象的定义与函数一样,不同点在于怎么样调用. } var cat1 = new Cat();//创建类实例 //js中类属性可以动态添加,并不需要写在原

  • Linux命令之mkdir,cat,touch,vi/vim的详解

    目录 mkdir命令语法 命令格式 命令功能 命令参数 mkdir命令示例 实例1:创建一个空目录 实例2:递归创建多个目录 实例3:创建权限为777的目录 实例4:创建新目录都显示信息 实例五:一个命令创建项目的目录结构 cat命令语法 命令格式 命令功能 命令参数 cat命令示例 实例一:把 log2012.log 的文件内容加上行号后输入 log2013.log 这个文件里 实例二:把 log2012.log 和 log2013.log 的文件内容加上行号(空白行不加)之后将内容附加到 l

  • 第4章 数据处理-php正则表达式-郑阿奇(续)

    1.正则表达式基础知识 含义:由普通字符和(a-z)和一些特殊字符组成的字符串模式 功能:有效性验证. 替换文本. 从一个字符串提取一个子字符串. 分类:POSIX和Perl POSIX风格更容易掌握,但不能用于二进制模式,而perl相对比较复杂. 2.POSIX风格的正则表达式 1.编写正则表达式 表4.3 POSIX正则表达式语法格式列表 字 符 描 述 \ 转义字符,用于转义特殊字符.例如,'.'匹配单个字符,'\.'匹配一个点号.'\-'匹配连字符'-','\\'匹配符号'\' ^ 匹配

  • javascript类继承机制的原理分析

    目前 javascript的实现继承方式并不是通过"extend"关键字来实现的,而是通过 constructor function和prototype属性来实现继承.首先我们创建一个animal 类 js 代码 复制代码 代码如下: var animal = function (){ //这就是constructor function 了 this .name = 'pipi'; this .age = 10; this .height = 0; } //建立一个动物的实例 var

  • Python中动态获取对象的属性和方法的教程

    首先通过一个例子来看一下本文中可能用到的对象和相关概念. #coding: UTF-8 import sys # 模块,sys指向这个模块对象 import inspect def foo(): pass # 函数,foo指向这个函数对象 class Cat(object): # 类,Cat指向这个类对象 def __init__(self, name='kitty'): self.name = name def sayHi(self): # 实例方法,sayHi指向这个方法对象,使用类或实例.

  • java必学必会之static关键字

    一.static关键字 原来一个类里面的成员变量,每new一个对象,这个对象就有一份自己的成员变量,因为这些成员变量都不是静态成员变量.对于static成员变量来说,这个成员变量只有一份,而且这一份是这个类所有的对象共享. 1.1.静态成员变量与非静态成员变量的区别 以下面的例子为例说明 package cn.galc.test; public class Cat { /** * 静态成员变量 */ private static int sid = 0; private String name;

  • php 中的closure用法详解

    Closure,匿名函数,是php5.3的时候引入的,又称为Anonymous functions.字面意思也就是没有定义名字的函数.比如以下代码(文件名是do.php) <?php function A() { return 100; }; function B(Closure $callback) { return $callback(); } $a = B(A()); print_r($a);//输出:Fatal error: Uncaught TypeError: Argument 1

  • Python中的自省(反射)详解

    首先通过一个例子来看一下本文中可能用到的对象和相关概念. 复制代码 代码如下: #coding:  UTF-8 import sys #  模块,sys指向这个模块对象 import inspect def foo(): pass #  函数,foo指向这个函数对象   class Cat(object): #  类,Cat指向这个类对象     def __init__(self,  name='kitty'):         self.name = name     def sayHi(s

  • javascript面向对象之对象的深入理解

    本文进一步分析讲述了javascript面向对象之对象的深入理解.分享给大家供大家参考.具体分析如下: javacript面向对象程序设计中,可以理解为一切都是对象.实例代码如下: 复制代码 代码如下: <script language="javascript" type="text/javascript"> function Cat(){ } var cat1 = new Cat();//创建类实例 cat1.name = "小狗"

随机推荐