Chinaunix首页 | 论坛 | 博客
  • 博客访问: 723889
  • 博文数量: 245
  • 博客积分: 10037
  • 博客等级: 上将
  • 技术积分: 2512
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-16 17:16
文章分类

全部博文(245)

文章存档

2008年(7)

2007年(238)

我的朋友

分类: 系统运维

2007-04-16 18:44:11

3512xl#show running-config
Building configuration...

Current configuration:


version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption

hostname 3512xl

no logging console
enable password mysecret





ip subnet-zero



interface FastEthernet0/1


If 802.1Q is configured,
you will instead see the following output
under interface FastEthernet0/1:
interface FastEthernet0/1
tchport trunk encapsulation dot1q
tchport mode trunk


interface FastEthernet0/2
spanning-tree portfast

interface FastEthernet0/3
spanning-tree portfast

interface FastEthernet0/4

interface FastEthernet0/5

interface FastEthernet0/6

interface FastEthernet0/7

interface FastEthernet0/8

interface FastEthernet0/9

interface FastEthernet0/10

interface FastEthernet0/11

interface FastEthernet0/12

interface GigabitEthernet0/1

interface GigabitEthernet0/2

interface VLAN1
ip address 10.10.10.2 255.255.255.0
no ip directed-broadcast
no ip route-cache

ip default-gateway 10.10.10.1

line con 0
transport input none
stopbits 1
line vty 0 4
password mysecret
login
line vty 5 15
login

end

路由器配置

Current configuration:

version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption

hostname c2600

no logging console
enable password mysecret





ip subnet-zero










interface FastEthernet0/0
no ip address
duplex auto
speed auto

interface FastEthernet0/0.1
encapsulation isl 1
ip address 10.10.10.1 255.255.255.0
no ip redirects


If 802.1Q is configured,
you will instead see the following output
under interface FastEthernet0/0.1:
interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 10.10.10.1 255.255.255.0



interface FastEthernet0/0.2
encapsulation isl 2
ip address 10.10.11.1 255.255.255.0
no ip redirects


If 802.1Q is configured,
you will instead see the following output
under interface FastEthernet0/0.2:
interface FastEthernet0/0.2
encapsulation dot1Q 2
ip address 10.10.11.1 255.255.255.0


interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto

ip classless
no ip http server



line con 0
transport input none
line aux 0
line vty 0 4
password mysecret
login

no scheduler allocate
end

阅读(2183) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~