- 论坛徽章:
- 0
|
sh config
Preparing to Display Configuration...
Another show or save in progress. Please try the command later.
Passport-8606:5# sh tech
config
Preparing to Display Configuration...
#
# TUE MAR 02 18:47:06 2004 UTC
# box type : Passport-8006
# software version : 3.5.0.0
# monitor version : 3.5.0.0/058
#
#
# Asic Info :
# SlotNum|Name |CardType |MdaType |Parts Description
#
# Slot 1 -- 0x00000001 0x00000000
# Slot 2 8616SXE 0x20320110 0x00000000 BFM: OP=3 TMUX=2 RARU=4 CPLD=9
# Slot 3 8616GTE 0x20220110 0x00000000 BFM: OP=3 TMUX=2 RARU=4 CPLD=9
# Slot 4 8608GBE 0x20325108 0x00000000 IOM: GMAC=5 BFM: OP=3 TMUX=2 RARU=4 CPLD=5
# Slot 5 8691SF 0x200e0100 0x00000000 CPU: CPLD=19 SFM: OP=3 TMUX=2 SWIP=3 FAD=1 CF=16
# Slot 6 8691SF 0x200e0100 0x00000000 CPU: CPLD=19 SFM: OP=3 TMUX=2 SWIP=3 FAD=1 CF=16
#
#!flags m-mode false
#!flags enhanced-operational-mode false
#!flags vlan-optimization-mode false
#!record-reservation filter 4096
#!record-reservation ipmc 500
--More-- (q = quit) #!record-reservation local 2000
#!record-reservation mac 2000
#!record-reservation static-route 200
#!record-reservation vrrp 500
#!end
#
config
mac-flap-time-limit 500
#
# CLI CONFIGURATION
#
#
# SYSTEM CONFIGURATION
#
sys set snmp trap-recv 192.168.3.37 v1 public
sys set snmp trap-recv 192.168.11.2 v1 public
sys set snmp trap-recv 192.168.11.4 v1 public
sys set snmp trap-recv 192.168.12.1 v1 public
sys set snmp trap-recv 192.168.254.20 v1 public
--More-- (q = quit) sys set snmp trap-recv 192.168.254.30 v1 public
sys set snmp trap-recv 192.168.254.200 v1 public
sys set snmp trap-recv 192.168.254.201 v1 public
sys set snmp trap-recv 192.168.254.206 v1 public
sys set snmp trap-recv 192.168.254.207 v1 public
sys set snmp trap-recv 218.195.224.2 v1 public
sys set snmp trap-recv 218.195.224.3 v1 public
sys set snmp trap-recv 218.195.227.2 v1 public
sys set snmp trap-recv 218.195.227.5 v1 public
sys set snmp trap-recv 218.195.228.1 v1 optivity101_autotrap
sys set snmp trap-recv 218.195.228.2 v1 public
sys set snmp trap-recv 218.195.228.4 v1 public
sys set snmp trap-recv 218.195.228.15 v1 public
sys set snmp trap-recv 218.195.236.238 v1 public
#
# LOG CONFIGURATION
#
#
# LINK-FLAP-DETECT CONFIGURATION
#
--More-- (q = quit)
#
# IEEE VLAN AGING CONFIGURATION
#
#
# ACCESS-POLICY CONFIGURATION
#
sys access-policy enable true
sys access-policy policy 1 precedence 10
sys access-policy policy 1 network 192.168.254.0/255.255.255.0
sys access-policy policy 2 create
sys access-policy policy 2 access-strict true
sys access-policy policy 2 name "dd"
sys access-policy policy 2 network 218.195.228.0/255.255.255.252
sys access-policy policy 2 service http enable
sys access-policy policy 2 service rlogin enable
sys access-policy policy 2 service ssh enable
sys access-policy policy 2 service telnet enable
sys access-policy policy 2 service tftp enable
--More-- (q = quit) sys access-policy policy 2 service ftp enable
sys access-policy policy 5 create
sys access-policy policy 5 network 218.195.236.238/255.255.255.255
sys access-policy policy 5 service http enable
sys access-policy policy 5 service rlogin enable
sys access-policy policy 5 service ssh enable
sys access-policy policy 5 service telnet enable
sys access-policy policy 5 service tftp enable
sys access-policy policy 5 service ftp enable
sys access-policy policy 6 create
sys access-policy policy 6 mode deny
sys access-policy policy 6 service http enable
sys access-policy policy 6 service rlogin enable
sys access-policy policy 6 service ssh enable
sys access-policy policy 6 service telnet enable
sys access-policy policy 6 service tftp enable
sys access-policy policy 6 service ftp enable
#
# SSH CONFIGURATION
#
#
--More-- (q = quit) # MCAST SOFTWARE FORWARDING CONFIGURATION
#
#
# SNMP V3 GROUP MEMBERSHIP CONFIGURATION
#
#
# SNMP V3 GROUP ACCESS CONFIGURATION
#
#
# SNMP V3 MIB VIEW CONFIGURATION
#
#
# SNMP V3 COMMUNITY TABLE CONFIGURATION
#
--More-- (q = quit)
#
# SLOT CONFIGURATION
#
#
# WEB CONFIGURATION
#
web-server enable
#
# RMON CONFIGURATION
#
rmon util-method full
#
# QOS CONFIGURATION
#
--More-- (q = quit) #
# TRAFFIC-FILTER CONFIGURATION
#
ip traffic-filter create destination dst-ip 218.195.224.0/255.255.255.128 src-ip 0.0.0.0/0.0.0.0 id 6
ip traffic-filter filter 6 action mode drop
ip traffic-filter filter 6 name "deny vlan100"
ip traffic-filter create destination dst-ip 218.195.224.128/255.255.255.128 src-ip 0.0.0.0/0.0.0.0 id 7
ip traffic-filter filter 7 action mode drop
ip traffic-filter filter 7 name "deny vlan2"
ip traffic-filter create destination dst-ip 218.195.225.0/255.255.255.128 src-ip 0.0.0.0/0.0.0.0 id 3
ip traffic-filter filter 3 action mode drop
ip traffic-filter filter 3 name "deny vlan3"
ip traffic-filter create destination dst-ip 218.195.225.128/255.255.255.128 src-ip 0.0.0.0/0.0.0.0 id 1
ip traffic-filter filter 1 action mode drop
ip traffic-filter filter 1 name "deny vlan4"
ip traffic-filter create destination dst-ip 218.195.226.0/255.255.255.128 src-ip 0.0.0.0/0.0.0.0 id 4
ip traffic-filter filter 4 action mode drop
ip traffic-filter filter 4 name "deny vlan5"
ip traffic-filter create destination dst-ip 218.195.226.128/255.255.255.128 src-ip 0.0.0.0/0.0.0.0 id 5
ip traffic-filter filter 5 action mode drop
ip traffic-filter filter 5 name "deny vlan6"
ip traffic-filter create destination dst-ip 218.195.227.0/255.255.255.128 src-ip 0.0.0.0/0.0.0.0 id 2
--More-- (q = quit) ip traffic-filter filter 2 action mode drop
ip traffic-filter filter 2 name "deny vlan7"
ip traffic-filter set 300 create name "deny vlan4"
ip traffic-filter set 300 add-filter 1
ip traffic-filter set 301 create name "deny vlan7"
ip traffic-filter set 301 add-filter 2
ip traffic-filter set 302 create name "deny vlna3"
ip traffic-filter set 302 add-filter 3
ip traffic-filter set 303 create name "deny vlan5"
ip traffic-filter set 303 add-filter 4
ip traffic-filter set 304 create name "deny vlan6"
ip traffic-filter set 304 add-filter 5
ip traffic-filter set 305 create name "deny vlan 100"
ip traffic-filter set 305 add-filter 6
ip traffic-filter set 306 create name "deny vlan 2"
ip traffic-filter set 306 add-filter 7
#
# DVMRP CONFIGURATION
#
ip dvmrp enable
--More-- (q = quit) #
# PIM CONFIGURATION
#
#
# IP PREFIX LIST CONFIGURATION
#
#
# SVLAN-CONFIGURATION
#
#
# PORT CONFIGURATION - PHASE I
#
ethernet 2/1 perform-tagging enable
ethernet 2/2 perform-tagging enable
ethernet 2/3 perform-tagging enable
ethernet 2/4 perform-tagging enable
--More-- (q = quit) ethernet 2/5 perform-tagging enable
ethernet 2/6 perform-tagging enable
ethernet 2/7 perform-tagging enable
ethernet 2/8 perform-tagging enable
ethernet 2/9 perform-tagging enable
ethernet 2/10 perform-tagging enable
ethernet 2/11 perform-tagging enable
ethernet 2/12 perform-tagging enable
ethernet 2/13 perform-tagging enable
ethernet 2/14 perform-tagging enable
#
# MLT CONFIGURATION
#
#
# STG CONFIGURATION
#
stg 1 priority 0
#
--More-- (q = quit) # VLAN CONFIGURATION
#
vlan 1 ports remove 2/15-2/16,4/1-4/2 member portmember
vlan 1 qos-level 5
vlan 1 ip create 192.168.254.254/255.255.255.0 mac_offset 0
vlan 1 ip dhcp-relay enable
vlan 2 create byport 1 name "class2" color 1
vlan 2 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 2 ports add 2/1-2/14 member portmember
vlan 2 ip create 218.195.224.254/255.255.255.128 mac_offset 1
vlan 2 ip dhcp-relay enable
vlan 3 create byport 1 name "class3" color 2
vlan 3 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 3 ports add 2/1-2/14 member portmember
vlan 3 ip create 218.195.225.126/255.255.255.128 mac_offset 2
vlan 3 ip dhcp-relay enable
vlan 4 create byport 1 name "class4" color 3
vlan 4 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 4 ports add 2/1-2/14 member portmember
vlan 4 ip create 218.195.225.254/255.255.255.128 mac_offset 3
vlan 4 ip dhcp-relay enable
vlan 5 create byport 1 name "class5" color 4
--More-- (q = quit) vlan 5 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 5 ports add 2/1-2/14 member portmember
vlan 5 ip create 218.195.226.126/255.255.255.128 mac_offset 4
vlan 5 ip dhcp-relay enable
vlan 6 create byport 1 name "class6" color 5
vlan 6 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 6 ports add 2/1-2/14 member portmember
vlan 6 ip create 218.195.226.254/255.255.255.128 mac_offset 5
vlan 6 ip dhcp-relay enable
vlan 7 create byport 1 name "class7" color 3
vlan 7 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 7 ports add 2/1-2/14 member portmember
vlan 7 ip create 218.195.227.126/255.255.255.128 mac_offset 6
vlan 7 ip dhcp-relay enable
vlan 8 create byport 1 name "class8" color 7
vlan 8 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 8 ports add 2/1-2/14 member portmember
vlan 8 ip create 192.168.8.254/255.255.255.0 mac_offset 7
vlan 8 ip dhcp-relay enable
vlan 9 create byport 1 name "class9" color 8
vlan 9 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 9 ports add 2/1-2/14 member portmember
vlan 9 ip create 192.168.9.254/255.255.255.0 mac_offset 8
--More-- (q = quit) vlan 9 ip dhcp-relay enable
vlan 10 create byport 1 name "class10" color 9
vlan 10 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 10 ports add 2/1-2/14 member portmember
vlan 10 ip create 218.195.227.254/255.255.255.128 mac_offset 9
vlan 10 ip igmp snoop enable
vlan 10 ip igmp proxy-snoop disable
vlan 10 ip dhcp-relay enable
vlan 11 create byport 1 name "class11" color 10
vlan 11 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 11 ports add 2/1-2/14 member portmember
vlan 11 ip create 192.168.11.254/255.255.255.0 mac_offset 10
vlan 11 ip dhcp-relay enable
vlan 12 create byport 1 name "office" color 11
vlan 12 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 12 ports add 2/1-2/14 member portmember
vlan 12 ip create 218.195.228.62/255.255.255.192 mac_offset 11
vlan 12 ip dhcp-relay enable
vlan 13 create byport 1 name "server+jk" color 12
vlan 13 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 13 ports add 2/1-2/14 member portmember
vlan 13 ip create 218.195.228.126/255.255.255.192 mac_offset 12
vlan 13 ip dhcp-relay enable
--More-- (q = quit) vlan 14 create byport 1 name "class14" color 13
vlan 14 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 14 ports add 2/1-2/14 member portmember
vlan 14 ip create 192.168.14.254/255.255.255.0 mac_offset 13
vlan 14 ip dhcp-relay enable
vlan 23 create byport 1 name "wan" color 14
vlan 23 ports remove 2/1-2/16,3/1-3/16,4/3-4/8 member portmember
vlan 23 ports add 4/1-4/2 member portmember
vlan 23 ip create 202.201.189.6/255.255.255.252 mac_offset 15
vlan 100 create byport 1 name "class1" color 1
vlan 100 ports remove 2/15-2/16,3/1-3/16,4/1-4/8 member portmember
vlan 100 ports add 2/1-2/14 member portmember
vlan 100 ip create 218.195.224.126/255.255.255.128 mac_offset 14
vlan 100 ip dhcp-relay enable
#
# PORT CONFIGURATION - PHASE II
#
ethernet 2/10 stg 1 pathcost 1
ethernet 3/1 qos-level 5
ethernet 3/2 qos-level 5
ethernet 3/3 qos-level 5
--More-- (q = quit) ethernet 3/4 qos-level 5
ethernet 3/5 qos-level 5
ethernet 3/6 qos-level 5
ethernet 3/7 qos-level 5
ethernet 3/8 qos-level 5
ethernet 3/9 qos-level 5
ethernet 3/10 qos-level 5
ethernet 3/11 qos-level 5
ethernet 3/12 qos-level 5
ethernet 3/13 qos-level 5
ethernet 3/14 qos-level 5
ethernet 3/15 qos-level 5
ethernet 3/16 qos-level 5
ethernet 4/1 qos-level 5
ethernet 4/1 ip traffic-filter create
ethernet 4/1 ip traffic-filter add set 300
ethernet 4/1 ip traffic-filter add set 301
ethernet 4/1 ip traffic-filter add set 303
ethernet 4/1 ip traffic-filter add set 304
ethernet 4/1 ip traffic-filter default-action forward
ethernet 4/1 ip traffic-filter enable
ethernet 4/2 qos-level 5
ethernet 4/3 qos-level 5
--More-- (q = quit) ethernet 4/4 qos-level 5
ethernet 4/5 qos-level 5
ethernet 4/6 qos-level 5
ethernet 4/7 qos-level 5
ethernet 4/8 qos-level 5
#
# IPX CONFIGURATION
#
#
# IP & RIP CONFIGURATION
#
#
# IP AS LIST CONFIGURATION
#
#
# IP COMMUNITY LIST CONFIGURATION
--More-- (q = quit) #
#
# IP ROUTE POLICY CONFIGURATION
#
ip static-route create 0.0.0.0/0.0.0.0 next-hop 202.201.189.5 cost 1 preference 5
ip static-route create 192.168.250.0/255.255.255.0 next-hop 202.201.189.5 cost 1 preference 5
ip static-route create 218.195.228.192/255.255.255.192 next-hop 202.201.189.5 cost 1 preference 5
ip static-route create 218.195.229.0/255.255.255.0 next-hop 202.201.189.5 cost 1 preference 5
#
# CIRCUITLESS IP INTERFACE CONFIGURATION
#
#
# DHCP CONFIGURATION
#
--More-- (q = quit)
ip dhcp-relay create-fwd-path agent 192.168.8.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 192.168.9.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 192.168.11.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 192.168.14.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 192.168.254.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.224.126 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.224.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.225.126 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.225.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.226.126 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.226.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.227.126 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.227.254 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.228.62 server 192.168.254.20 mode bootp_dhcp state enable
ip dhcp-relay create-fwd-path agent 218.195.228.126 server 192.168.254.20 mode bootp_dhcp state enable
#
# IGMP CONFIGURATION
#
#
--More-- (q = quit) # PIM RP CONFIGURATION
#
#
# PIM STATIC RP CONFIGURATION
#
#
# OSPF CONFIGURATION
#
#
# MROUTE CONFIGURATION
#
#
# MCAST RESOURCE USAGE CONFIGURATION
#
--More-- (q = quit)
#
# PGM CONFIGURATION
#
#
# MCAST MLT DISTRIBUTION CONFIGURATION
#
#
# TIMED PRUNE CONFIGURATION
#
#
# BGP CONFIGURATION
#
#
# IP REDISTRIBUTION CONFIGURATION
--More-- (q = quit) #
#
# OSPF ACCEPT CONFIGURATION
#
#
# RIP POLICY CONFIGURATION
#
#
# DVMRP POLICY CONFIGURATION
#
#
# UDP FWD CONFIGURATION
#
--More-- (q = quit) #
# VRRP CONFIGURATION
#
#
# POS CONFIGURATION
#
#
# ATM CONFIGURATION
#
#
# DIAG CONFIGURATION
#
#
# RADIUS CONFIGURATION
#
--More-- (q = quit)
#
# NTP CONFIGURATION
#
back
Passport-8606:5# |
|